From 81f99e2cc94ef96c37a2685af8f68d74e7196e32 Mon Sep 17 00:00:00 2001 From: Alan Garny Date: Tue, 24 Nov 2026 17:25:33 +1300 Subject: [PATCH 1/4] Analyser: report states without a rate equation as underconstrained. --- src/analyser.cpp | 21 ++++++++++++++++ tests/analyser/analyser.cpp | 16 ++++++++++++ .../underconstrained_coupled_rates.cellml | 25 +++++++++++++++++++ 3 files changed, 62 insertions(+) create mode 100644 tests/resources/analyser/underconstrained_coupled_rates.cellml diff --git a/src/analyser.cpp b/src/analyser.cpp index 58f1dfaf01..5d0a775b97 100644 --- a/src/analyser.cpp +++ b/src/analyser.cpp @@ -2583,11 +2583,32 @@ void Analyser::AnalyserImpl::analyseModel(const ModelPtr &model) } } + // Make sure that all our states have an equation that computes their rate. + // Note: this is not the case when the rates of states are defined in terms of one another. This should change the + // day we rely on a symbolic math library to compute the rates of states that are defined in terms of one + // another. + + if (mAnalyser->errorCount() == 0) { + for (const auto &internalVariable : mInternalVariables) { + if ((internalVariable->mType == AnalyserInternalVariable::Type::STATE) + && std::none_of(mInternalEquations.begin(), mInternalEquations.end(), [&](const auto &ie) { + return std::find(ie->mUnknownVariables.begin(), ie->mUnknownVariables.end(), internalVariable) != ie->mUnknownVariables.end(); + })) { + internalVariable->mType = AnalyserInternalVariable::Type::UNDERCONSTRAINED; + + addInvalidVariableIssue(internalVariable, Issue::ReferenceRule::ANALYSER_VARIABLE_UNDERCONSTRAINED); + } + } + } + + // Make sure that our model is valid. + if (mAnalyser->errorCount() != 0) { auto hasUnderconstrainedVariables = std::any_of(mInternalVariables.begin(), mInternalVariables.end(), [](const auto &iv) { switch (iv->mType) { case AnalyserInternalVariable::Type::UNKNOWN: case AnalyserInternalVariable::Type::SHOULD_BE_STATE: + case AnalyserInternalVariable::Type::UNDERCONSTRAINED: return true; default: return false; diff --git a/tests/analyser/analyser.cpp b/tests/analyser/analyser.cpp index ecc9db714b..2b8ae5c473 100644 --- a/tests/analyser/analyser.cpp +++ b/tests/analyser/analyser.cpp @@ -346,6 +346,22 @@ TEST(Analyser, underconstrained) EXPECT_EQ(libcellml::AnalyserModel::Type::UNDERCONSTRAINED, analyser->analyserModel()->type()); } +TEST(Analyser, underconstrainedCoupledRates) +{ + auto parser = libcellml::Parser::create(); + auto model = parser->parseModel(fileContents("analyser/underconstrained_coupled_rates.cellml")); + + EXPECT_EQ(size_t(0), parser->issueCount()); + + auto analyser = libcellml::Analyser::create(); + + analyser->analyseModel(model); + + EXPECT_NE(size_t(0), analyser->errorCount()); + EXPECT_EQ(libcellml::AnalyserModel::Type::UNDERCONSTRAINED, analyser->analyserModel()->type()); + EXPECT_EQ(libcellml::Issue::ReferenceRule::ANALYSER_VARIABLE_UNDERCONSTRAINED, analyser->error(0)->referenceRule()); +} + TEST(Analyser, overconstrained) { auto parser = libcellml::Parser::create(); diff --git a/tests/resources/analyser/underconstrained_coupled_rates.cellml b/tests/resources/analyser/underconstrained_coupled_rates.cellml new file mode 100644 index 0000000000..997b27b3c9 --- /dev/null +++ b/tests/resources/analyser/underconstrained_coupled_rates.cellml @@ -0,0 +1,25 @@ + + + + + + + + + + tx + + 1 + ty + + + + ty + + 2 + tx + + + + + From ea89637cc3d845577a5a8969a85ed5e75f77c423 Mon Sep 17 00:00:00 2001 From: Alan Garny Date: Tue, 24 Nov 2026 18:19:28 +1300 Subject: [PATCH 2/4] Analyser: check for missing state rates even when other errors exist. --- src/analyser.cpp | 18 +++++----- tests/analyser/analyser.cpp | 15 ++++++++ ...nsuitably_constrained_coupled_rates.cellml | 34 +++++++++++++++++++ 3 files changed, 57 insertions(+), 10 deletions(-) create mode 100644 tests/resources/analyser/unsuitably_constrained_coupled_rates.cellml diff --git a/src/analyser.cpp b/src/analyser.cpp index 5d0a775b97..f24e733ffb 100644 --- a/src/analyser.cpp +++ b/src/analyser.cpp @@ -2588,16 +2588,14 @@ void Analyser::AnalyserImpl::analyseModel(const ModelPtr &model) // day we rely on a symbolic math library to compute the rates of states that are defined in terms of one // another. - if (mAnalyser->errorCount() == 0) { - for (const auto &internalVariable : mInternalVariables) { - if ((internalVariable->mType == AnalyserInternalVariable::Type::STATE) - && std::none_of(mInternalEquations.begin(), mInternalEquations.end(), [&](const auto &ie) { - return std::find(ie->mUnknownVariables.begin(), ie->mUnknownVariables.end(), internalVariable) != ie->mUnknownVariables.end(); - })) { - internalVariable->mType = AnalyserInternalVariable::Type::UNDERCONSTRAINED; - - addInvalidVariableIssue(internalVariable, Issue::ReferenceRule::ANALYSER_VARIABLE_UNDERCONSTRAINED); - } + for (const auto &internalVariable : mInternalVariables) { + if ((internalVariable->mType == AnalyserInternalVariable::Type::STATE) + && std::none_of(mInternalEquations.begin(), mInternalEquations.end(), [&](const auto &ie) { + return std::find(ie->mUnknownVariables.begin(), ie->mUnknownVariables.end(), internalVariable) != ie->mUnknownVariables.end(); + })) { + internalVariable->mType = AnalyserInternalVariable::Type::UNDERCONSTRAINED; + + addInvalidVariableIssue(internalVariable, Issue::ReferenceRule::ANALYSER_VARIABLE_UNDERCONSTRAINED); } } diff --git a/tests/analyser/analyser.cpp b/tests/analyser/analyser.cpp index 2b8ae5c473..d4f40accac 100644 --- a/tests/analyser/analyser.cpp +++ b/tests/analyser/analyser.cpp @@ -421,6 +421,21 @@ TEST(Analyser, unsuitablyConstrained) EXPECT_EQ(libcellml::AnalyserModel::Type::UNSUITABLY_CONSTRAINED, analyser->analyserModel()->type()); } +TEST(Analyser, unsuitablyConstrainedCoupledRates) +{ + auto parser = libcellml::Parser::create(); + auto model = parser->parseModel(fileContents("analyser/unsuitably_constrained_coupled_rates.cellml")); + + EXPECT_EQ(size_t(0), parser->issueCount()); + + auto analyser = libcellml::Analyser::create(); + + analyser->analyseModel(model); + + EXPECT_EQ(size_t(3), analyser->errorCount()); + EXPECT_EQ(libcellml::AnalyserModel::Type::UNSUITABLY_CONSTRAINED, analyser->analyserModel()->type()); +} + TEST(Analyser, addSameExternalVariableAsVariable) { auto parser = libcellml::Parser::create(); diff --git a/tests/resources/analyser/unsuitably_constrained_coupled_rates.cellml b/tests/resources/analyser/unsuitably_constrained_coupled_rates.cellml new file mode 100644 index 0000000000..5fb3e46598 --- /dev/null +++ b/tests/resources/analyser/unsuitably_constrained_coupled_rates.cellml @@ -0,0 +1,34 @@ + + + + + + + + + + + tx + + 1 + ty + + + + ty + + 2 + tx + + + + z + 1 + + + z + 3 + + + + From 91bfdbcd65440d327f192555a9da6e95be040cee Mon Sep 17 00:00:00 2001 From: Alan Garny Date: Tue, 24 Nov 2026 19:01:22 +1300 Subject: [PATCH 3/4] Analyser: clarify the missing state rate comment and tighten its tests. --- src/analyser.cpp | 10 +- tests/analyser/analyser.cpp | 38 ++++++- .../underconstrained_coupled_rates.cellml | 78 ++++++++++----- ...nsuitably_constrained_coupled_rates.cellml | 98 ++++++++++++------- 4 files changed, 161 insertions(+), 63 deletions(-) diff --git a/src/analyser.cpp b/src/analyser.cpp index f24e733ffb..d32d9354d7 100644 --- a/src/analyser.cpp +++ b/src/analyser.cpp @@ -2584,9 +2584,13 @@ void Analyser::AnalyserImpl::analyseModel(const ModelPtr &model) } // Make sure that all our states have an equation that computes their rate. - // Note: this is not the case when the rates of states are defined in terms of one another. This should change the - // day we rely on a symbolic math library to compute the rates of states that are defined in terms of one - // another. + // Note #1: this may not be the case when the rates of states are defined in terms of one another (e.g., + // dx/dt = 1 + dy/dt and dy/dt = 2 - dx/dt), in which case those states are considered as underconstrained. + // This should change the day we rely on a symbolic math library to compute the rates of states that are + // defined in terms of one another. + // Note #2: this check is done even if some errors have already been reported, so that the type of our model + // reflects all of its issues (e.g., a model with both overconstrained variables and states without a rate + // equation is unsuitably constrained, not just overconstrained). for (const auto &internalVariable : mInternalVariables) { if ((internalVariable->mType == AnalyserInternalVariable::Type::STATE) diff --git a/tests/analyser/analyser.cpp b/tests/analyser/analyser.cpp index d4f40accac..36b12603c6 100644 --- a/tests/analyser/analyser.cpp +++ b/tests/analyser/analyser.cpp @@ -353,13 +353,23 @@ TEST(Analyser, underconstrainedCoupledRates) EXPECT_EQ(size_t(0), parser->issueCount()); + const std::vector expectedIssues = { + "Variable 'y' in component 'my_component' is underconstrained.", + "Variable 'x' in component 'my_component' is underconstrained.", + }; + auto analyser = libcellml::Analyser::create(); analyser->analyseModel(model); - EXPECT_NE(size_t(0), analyser->errorCount()); + EXPECT_EQ_ISSUES_CELLMLELEMENTTYPES_LEVELS_REFERENCERULES_URLS(expectedIssues, + expectedCellmlElementTypes(expectedIssues.size(), libcellml::CellmlElementType::VARIABLE), + expectedLevels(expectedIssues.size(), libcellml::Issue::Level::ERROR), + expectedReferenceRules(expectedIssues.size(), libcellml::Issue::ReferenceRule::ANALYSER_VARIABLE_UNDERCONSTRAINED), + expectedUrls(expectedIssues.size(), "https://libcellml.org/documentation/guides/latest/runtime_codes/index?issue=ANALYSER_VARIABLE_UNDERCONSTRAINED"), + analyser); + EXPECT_EQ(libcellml::AnalyserModel::Type::UNDERCONSTRAINED, analyser->analyserModel()->type()); - EXPECT_EQ(libcellml::Issue::ReferenceRule::ANALYSER_VARIABLE_UNDERCONSTRAINED, analyser->error(0)->referenceRule()); } TEST(Analyser, overconstrained) @@ -428,11 +438,33 @@ TEST(Analyser, unsuitablyConstrainedCoupledRates) EXPECT_EQ(size_t(0), parser->issueCount()); + const std::vector expectedIssues = { + "Variable 'z' in component 'my_component' is overconstrained.", + "Variable 'y' in component 'my_component' is underconstrained.", + "Variable 'x' in component 'my_component' is underconstrained.", + }; + const std::vector expectedReferenceRules = { + libcellml::Issue::ReferenceRule::ANALYSER_VARIABLE_OVERCONSTRAINED, + libcellml::Issue::ReferenceRule::ANALYSER_VARIABLE_UNDERCONSTRAINED, + libcellml::Issue::ReferenceRule::ANALYSER_VARIABLE_UNDERCONSTRAINED, + }; + const std::vector expectedUrls = { + "https://libcellml.org/documentation/guides/latest/runtime_codes/index?issue=ANALYSER_VARIABLE_OVERCONSTRAINED", + "https://libcellml.org/documentation/guides/latest/runtime_codes/index?issue=ANALYSER_VARIABLE_UNDERCONSTRAINED", + "https://libcellml.org/documentation/guides/latest/runtime_codes/index?issue=ANALYSER_VARIABLE_UNDERCONSTRAINED", + }; + auto analyser = libcellml::Analyser::create(); analyser->analyseModel(model); - EXPECT_EQ(size_t(3), analyser->errorCount()); + EXPECT_EQ_ISSUES_CELLMLELEMENTTYPES_LEVELS_REFERENCERULES_URLS(expectedIssues, + expectedCellmlElementTypes(expectedIssues.size(), libcellml::CellmlElementType::VARIABLE), + expectedLevels(expectedIssues.size(), libcellml::Issue::Level::ERROR), + expectedReferenceRules, + expectedUrls, + analyser); + EXPECT_EQ(libcellml::AnalyserModel::Type::UNSUITABLY_CONSTRAINED, analyser->analyserModel()->type()); } diff --git a/tests/resources/analyser/underconstrained_coupled_rates.cellml b/tests/resources/analyser/underconstrained_coupled_rates.cellml index 997b27b3c9..fee51ff943 100644 --- a/tests/resources/analyser/underconstrained_coupled_rates.cellml +++ b/tests/resources/analyser/underconstrained_coupled_rates.cellml @@ -1,25 +1,55 @@ - - - - - - - - - - tx - - 1 - ty - - - - ty - - 2 - tx - - - - + + + + + + + + + + + + + + + + t + + x + + + + 1 + + + + t + + y + + + + + + + + + t + + y + + + + 2 + + + + t + + x + + + + + diff --git a/tests/resources/analyser/unsuitably_constrained_coupled_rates.cellml b/tests/resources/analyser/unsuitably_constrained_coupled_rates.cellml index 5fb3e46598..e10a84bc37 100644 --- a/tests/resources/analyser/unsuitably_constrained_coupled_rates.cellml +++ b/tests/resources/analyser/unsuitably_constrained_coupled_rates.cellml @@ -1,34 +1,66 @@ - - - - - - - - - - - tx - - 1 - ty - - - - ty - - 2 - tx - - - - z - 1 - - - z - 3 - - - + + + + + + + + + + + + + + + + + t + + x + + + + 1 + + + + t + + y + + + + + + + + + t + + y + + + + 2 + + + + t + + x + + + + + + z + 1 + + + + z + 3 + + + From e6f37506ab643a85a319b9604968fef9c8e6eec3 Mon Sep 17 00:00:00 2001 From: Alan Garny Date: Thu, 26 Nov 2026 11:16:17 +1300 Subject: [PATCH 4/4] Analyser: check NLA systems even when some variables are invalid. --- src/analyser.cpp | 92 ++++++------ tests/analyser/analyser.cpp | 43 ++++++ ...rained_coupled_rates_and_nla_system.cellml | 134 ++++++++++++++++++ 3 files changed, 222 insertions(+), 47 deletions(-) create mode 100644 tests/resources/analyser/unsuitably_constrained_coupled_rates_and_nla_system.cellml diff --git a/src/analyser.cpp b/src/analyser.cpp index c6fc70b785..1a7ce6732a 100644 --- a/src/analyser.cpp +++ b/src/analyser.cpp @@ -2603,63 +2603,43 @@ void Analyser::AnalyserImpl::analyseModel(const ModelPtr &model) } } - // Make sure that our model is valid. + // Keep track of whether our variables are valid. + // Note: if they are not, then we still want to check our NLA systems (see below), so that the type of our model + // reflects all of its issues (e.g., a model with both states without a rate equation and an overconstrained + // NLA system is unsuitably constrained, not just underconstrained). - if (mAnalyser->errorCount() != 0) { - auto hasUnderconstrainedVariables = std::any_of(mInternalVariables.begin(), mInternalVariables.end(), [](const auto &iv) { - switch (iv->mType) { - case AnalyserInternalVariable::Type::UNKNOWN: - case AnalyserInternalVariable::Type::SHOULD_BE_STATE: - case AnalyserInternalVariable::Type::UNDERCONSTRAINED: - return true; - default: - return false; - } - }); - auto hasOverconstrainedVariables = std::any_of(mInternalVariables.begin(), mInternalVariables.end(), [](const auto &iv) { - return iv->mType == AnalyserInternalVariable::Type::OVERCONSTRAINED; - }); - - if (hasUnderconstrainedVariables) { - if (hasOverconstrainedVariables) { - mAnalyserModel->mPimpl->mType = AnalyserModel::Type::UNSUITABLY_CONSTRAINED; - } else { - mAnalyserModel->mPimpl->mType = AnalyserModel::Type::UNDERCONSTRAINED; - } - } else { - mAnalyserModel->mPimpl->mType = AnalyserModel::Type::OVERCONSTRAINED; - } - - return; - } + auto hasInvalidVariables = mAnalyser->errorCount() != 0; // Make sure that variables that are initialised using another variable are // not initialised using an algebraic variable. + // Note: this only makes sense if our variables are valid. - for (const auto &internalVariable : mInternalVariables) { - if ((internalVariable->mInitialisingVariable != nullptr) - && !isCellMLReal(internalVariable->mInitialisingVariable->initialValue())) { - auto initialisingInternalVariable = Analyser::AnalyserImpl::internalVariable(owningComponent(internalVariable->mInitialisingVariable)->variable(internalVariable->mInitialisingVariable->initialValue())); + if (!hasInvalidVariables) { + for (const auto &internalVariable : mInternalVariables) { + if ((internalVariable->mInitialisingVariable != nullptr) + && !isCellMLReal(internalVariable->mInitialisingVariable->initialValue())) { + auto initialisingInternalVariable = Analyser::AnalyserImpl::internalVariable(owningComponent(internalVariable->mInitialisingVariable)->variable(internalVariable->mInitialisingVariable->initialValue())); - if (initialisingInternalVariable->mType == AnalyserInternalVariable::Type::ALGEBRAIC_VARIABLE) { - auto issue = Issue::IssueImpl::create(); + if (initialisingInternalVariable->mType == AnalyserInternalVariable::Type::ALGEBRAIC_VARIABLE) { + auto issue = Issue::IssueImpl::create(); - issue->mPimpl->setDescription("Variable '" + internalVariable->mVariable->name() - + "' in component '" + owningComponent(internalVariable->mVariable)->name() - + "' is initialised using variable '" + initialisingInternalVariable->mVariable->name() - + "', which is an algebraic variable. Only a reference to a constant, a computed constant, a state variable, or a computable non-linear algebraic variable is allowed."); - issue->mPimpl->setReferenceRule(Issue::ReferenceRule::ANALYSER_VARIABLE_INITIALISED_USING_ALGEBRAIC_VARIABLE); - issue->mPimpl->mItem->mPimpl->setVariable(internalVariable->mVariable); + issue->mPimpl->setDescription("Variable '" + internalVariable->mVariable->name() + + "' in component '" + owningComponent(internalVariable->mVariable)->name() + + "' is initialised using variable '" + initialisingInternalVariable->mVariable->name() + + "', which is an algebraic variable. Only a reference to a constant, a computed constant, a state variable, or a computable non-linear algebraic variable is allowed."); + issue->mPimpl->setReferenceRule(Issue::ReferenceRule::ANALYSER_VARIABLE_INITIALISED_USING_ALGEBRAIC_VARIABLE); + issue->mPimpl->mItem->mPimpl->setVariable(internalVariable->mVariable); - addIssue(issue); + addIssue(issue); + } } } - } - if (mAnalyser->errorCount() != 0) { - mAnalyserModel->mPimpl->mType = AnalyserModel::Type::INVALID; + if (mAnalyser->errorCount() != 0) { + mAnalyserModel->mPimpl->mType = AnalyserModel::Type::INVALID; - return; + return; + } } // Make sure that our equations are valid. @@ -2824,9 +2804,27 @@ void Analyser::AnalyserImpl::analyseModel(const ModelPtr &model) } } + // Make sure that our model is valid. + // Note: we determine the type of our model based on the type of all of our variables, so that it reflects all of + // its issues, be they related to our variables or to our NLA systems. + if (mAnalyser->errorCount() != 0) { - if (!underconstrainedVariables.empty()) { - if (!overconstrainedVariables.empty()) { + auto hasUnderconstrainedVariables = std::any_of(mInternalVariables.begin(), mInternalVariables.end(), [](const auto &iv) { + switch (iv->mType) { + case AnalyserInternalVariable::Type::UNKNOWN: + case AnalyserInternalVariable::Type::SHOULD_BE_STATE: + case AnalyserInternalVariable::Type::UNDERCONSTRAINED: + return true; + default: + return false; + } + }); + auto hasOverconstrainedVariables = std::any_of(mInternalVariables.begin(), mInternalVariables.end(), [](const auto &iv) { + return iv->mType == AnalyserInternalVariable::Type::OVERCONSTRAINED; + }); + + if (hasUnderconstrainedVariables) { + if (hasOverconstrainedVariables) { mAnalyserModel->mPimpl->mType = AnalyserModel::Type::UNSUITABLY_CONSTRAINED; } else { mAnalyserModel->mPimpl->mType = AnalyserModel::Type::UNDERCONSTRAINED; diff --git a/tests/analyser/analyser.cpp b/tests/analyser/analyser.cpp index 36b12603c6..75d66bb16a 100644 --- a/tests/analyser/analyser.cpp +++ b/tests/analyser/analyser.cpp @@ -468,6 +468,49 @@ TEST(Analyser, unsuitablyConstrainedCoupledRates) EXPECT_EQ(libcellml::AnalyserModel::Type::UNSUITABLY_CONSTRAINED, analyser->analyserModel()->type()); } +TEST(Analyser, unsuitablyConstrainedCoupledRatesAndNlaSystem) +{ + auto parser = libcellml::Parser::create(); + auto model = parser->parseModel(fileContents("analyser/unsuitably_constrained_coupled_rates_and_nla_system.cellml")); + + EXPECT_EQ(size_t(0), parser->issueCount()); + + const std::vector expectedIssues = { + "Variable 'y' in component 'my_component' is underconstrained.", + "Variable 'x' in component 'my_component' is underconstrained.", + "Variable 'z' in component 'my_algebraic_system' is overconstrained.", + "Variable 'y' in component 'my_algebraic_system' is overconstrained.", + "Variable 'x' in component 'my_algebraic_system' is overconstrained.", + }; + const std::vector expectedReferenceRules = { + libcellml::Issue::ReferenceRule::ANALYSER_VARIABLE_UNDERCONSTRAINED, + libcellml::Issue::ReferenceRule::ANALYSER_VARIABLE_UNDERCONSTRAINED, + libcellml::Issue::ReferenceRule::ANALYSER_VARIABLE_OVERCONSTRAINED, + libcellml::Issue::ReferenceRule::ANALYSER_VARIABLE_OVERCONSTRAINED, + libcellml::Issue::ReferenceRule::ANALYSER_VARIABLE_OVERCONSTRAINED, + }; + const std::vector expectedUrls = { + "https://libcellml.org/documentation/guides/latest/runtime_codes/index?issue=ANALYSER_VARIABLE_UNDERCONSTRAINED", + "https://libcellml.org/documentation/guides/latest/runtime_codes/index?issue=ANALYSER_VARIABLE_UNDERCONSTRAINED", + "https://libcellml.org/documentation/guides/latest/runtime_codes/index?issue=ANALYSER_VARIABLE_OVERCONSTRAINED", + "https://libcellml.org/documentation/guides/latest/runtime_codes/index?issue=ANALYSER_VARIABLE_OVERCONSTRAINED", + "https://libcellml.org/documentation/guides/latest/runtime_codes/index?issue=ANALYSER_VARIABLE_OVERCONSTRAINED", + }; + + auto analyser = libcellml::Analyser::create(); + + analyser->analyseModel(model); + + EXPECT_EQ_ISSUES_CELLMLELEMENTTYPES_LEVELS_REFERENCERULES_URLS(expectedIssues, + expectedCellmlElementTypes(expectedIssues.size(), libcellml::CellmlElementType::VARIABLE), + expectedLevels(expectedIssues.size(), libcellml::Issue::Level::ERROR), + expectedReferenceRules, + expectedUrls, + analyser); + + EXPECT_EQ(libcellml::AnalyserModel::Type::UNSUITABLY_CONSTRAINED, analyser->analyserModel()->type()); +} + TEST(Analyser, addSameExternalVariableAsVariable) { auto parser = libcellml::Parser::create(); diff --git a/tests/resources/analyser/unsuitably_constrained_coupled_rates_and_nla_system.cellml b/tests/resources/analyser/unsuitably_constrained_coupled_rates_and_nla_system.cellml new file mode 100644 index 0000000000..423dca411c --- /dev/null +++ b/tests/resources/analyser/unsuitably_constrained_coupled_rates_and_nla_system.cellml @@ -0,0 +1,134 @@ + + + + + + + + + + + + + + + + t + + x + + + + 1 + + + + t + + y + + + + + + + + + t + + y + + + + 2 + + + + t + + x + + + + + + + + + + + + + + + x + y + z + + 2 + + + + + + + + 6 + x + + + + -4 + y + + + + 5 + z + + + 31 + + + + + + + + 5 + x + + + + 2 + y + + + + 2 + z + + + 31 + + + + + + + + -2 + x + + y + + + 3 + z + + + -5 + + + +