Skip to content

Failed

tests / 04 testsuite-clang 1/3 / simulation_modelica_initialization.parameters.mos (from (result.xml))

Failing for the past 11 builds (Since #10 )
Took 0 ms.

Stacktrace

Output mismatch (see stdout for details)

Standard Output

 + parameters                                                                        ... equation mismatch [time: 0]

==== Log /tmp/omc-rtest-omtmpuser/simulation/modelica/initialization/parameters.mos_temp9810/log-parameters.mos
true
""
record SimulationResult
    resultFile = "",
    simulationOptions = "startTime = 0.0, stopTime = 1.0, numberOfIntervals = 500, tolerance = 1e-6, method = 'dassl', fileNamePrefix = 'initializationTests.parameters', options = '', outputFormat = 'mat', variableFilter = '.*', cflags = '', simflags = '-lv=LOG_INIT_V'",
    messages = "Failed to build model: initializationTests.parameters"
end SimulationResult;
"[<interactive>:18:5-18:33:writable] Warning: Parameter r3 has no binding, and is fixed during initialization (fixed=true), using available start value (start=3.0) as default value.
[<interactive>:19:5-19:34:writable] Warning: Parameter i3 has no binding, and is fixed during initialization (fixed=true), using available start value (start=3) as default value.
[<interactive>:20:5-20:37:writable] Warning: Parameter b3 has no binding, and is fixed during initialization (fixed=true), using available start value (start=true) as default value.
[<interactive>:21:5-21:39:writable] Warning: Parameter s3 has no binding, and is fixed during initialization (fixed=true), using available start value (start=\"three\") as default value.
[<interactive>:22:5-22:32:writable] Warning: Parameter e3 has no binding, and is fixed during initialization (fixed=true), using available start value (start=initializationTests.E.E3) as default value.
[<interactive>:21:5-21:39:writable] Warning: Parameter s3 has no binding, and is fixed during initialization (fixed=true), using available start value (start=\"three\") as default value.
[<interactive>:20:5-20:37:writable] Warning: Parameter b3 has no binding, and is fixed during initialization (fixed=true), using available start value (start=true) as default value.
[<interactive>:19:5-19:34:writable] Warning: Parameter i3 has no binding, and is fixed during initialization (fixed=true), using available start value (start=3) as default value.
[<interactive>:18:5-18:33:writable] Warning: Parameter r3 has no binding, and is fixed during initialization (fixed=true), using available start value (start=3.0) as default value.
[BackEnd/Initialization.mo:0:0-0:0:writable] Error: Internal error DAEUtil.getStartAttr failed because type Enumeration has no default start value.
Error: No system for the symbolic initialization was generated
"

Equation mismatch: diff says:
--- /tmp/omc-rtest-omtmpuser/simulation/modelica/initialization/parameters.mos_temp9810/equations-expected2024-04-20 01:41:59.824512677 +0000
+++ /tmp/omc-rtest-omtmpuser/simulation/modelica/initialization/parameters.mos_temp9810/equations-got2024-04-20 01:41:59.948515372 +0000
@@ -1,59 +1,19 @@
 true
 ""
 record SimulationResult
-resultFile = "initializationTests.parameters_res.mat",
+resultFile = "",
 simulationOptions = "startTime = 0.0, stopTime = 1.0, numberOfIntervals = 500, tolerance = 1e-6, method = 'dassl', fileNamePrefix = 'initializationTests.parameters', options = '', outputFormat = 'mat', variableFilter = '.*', cflags = '', simflags = '-lv=LOG_INIT_V'",
-messages = "LOG_INIT          | info    | ### START INITIALIZATION ###
-LOG_INIT          | info    | updating min-values
-LOG_INIT          | info    | updating max-values
-LOG_INIT          | info    | updating nominal-values
-LOG_INIT          | info    | updating primary start-values
-LOG_INIT          | info    | initialization method: symbolic        [solves the initialization problem symbolically - default]
-LOG_INIT_HOMOTOPY | info    | Model contains homotopy operator: Use adaptive homotopy method to solve initialization problem. To disable initialization with homotopy operator use \"-noHomotopyOnFirstTry\".
-LOG_INIT_V        | info    | parameter values
-|                 | |       | | real parameters
-|                 | |       | | | [1] parameter Real r1(start=0, fixed=true) = 0
-|                 | |       | | | [2] parameter Real r2(start=2, fixed=false) = 2
-|                 | |       | | | [3] parameter Real r3(start=3, fixed=true) = 3
-|                 | |       | | integer parameters
-|                 | |       | | | [1] parameter Integer e1(start=1, fixed=true) = 1
-|                 | |       | | | [2] parameter Integer e2(start=2, fixed=false) = 2
-|                 | |       | | | [3] parameter Integer e3(start=3, fixed=true) = 3
-|                 | |       | | | [4] parameter Integer i1(start=0, fixed=true) = 0
-|                 | |       | | | [5] parameter Integer i2(start=2, fixed=false) = 2
-|                 | |       | | | [6] parameter Integer i3(start=3, fixed=true) = 3
-|                 | |       | | boolean parameters
-|                 | |       | | | [1] parameter Boolean b1(start=false, fixed=true) = false
-|                 | |       | | | [2] parameter Boolean b2(start=true, fixed=false) = true
-|                 | |       | | | [3] parameter Boolean b3(start=true, fixed=true) = true
-|                 | |       | | string parameters
-|                 | |       | | | [1] parameter String s1(start=\"\") = \"\"
-|                 | |       | | | [2] parameter String s2(start=\"two\") = \"two\"
-|                 | |       | | | [3] parameter String s3(start=\"three\") = \"three\"
-LOG_SOTI          | info    | ### SOLUTION OF THE INITIALIZATION ###
-LOG_INIT          | info    | ### END INITIALIZATION ###
-LOG_SUCCESS       | info    | The initialization finished successfully without homotopy method.
-LOG_SUCCESS       | info    | The simulation finished successfully.
-"
+messages = "Failed to build model: initializationTests.parameters"
 end SimulationResult;
 "[<interactive>:18:5-18:33:writable] Warning: Parameter r3 has no binding, and is fixed during initialization (fixed=true), using available start value (start=3.0) as default value.
 [<interactive>:19:5-19:34:writable] Warning: Parameter i3 has no binding, and is fixed during initialization (fixed=true), using available start value (start=3) as default value.
 [<interactive>:20:5-20:37:writable] Warning: Parameter b3 has no binding, and is fixed during initialization (fixed=true), using available start value (start=true) as default value.
 [<interactive>:21:5-21:39:writable] Warning: Parameter s3 has no binding, and is fixed during initialization (fixed=true), using available start value (start=\"three\") as default value.
 [<interactive>:22:5-22:32:writable] Warning: Parameter e3 has no binding, and is fixed during initialization (fixed=true), using available start value (start=initializationTests.E.E3) as default value.
 [<interactive>:21:5-21:39:writable] Warning: Parameter s3 has no binding, and is fixed during initialization (fixed=true), using available start value (start=\"three\") as default value.
 [<interactive>:20:5-20:37:writable] Warning: Parameter b3 has no binding, and is fixed during initialization (fixed=true), using available start value (start=true) as default value.
 [<interactive>:19:5-19:34:writable] Warning: Parameter i3 has no binding, and is fixed during initialization (fixed=true), using available start value (start=3) as default value.
 [<interactive>:18:5-18:33:writable] Warning: Parameter r3 has no binding, and is fixed during initialization (fixed=true), using available start value (start=3.0) as default value.
-[<interactive>:16:5-16:39:writable] Warning: The parameter e2 has fixed = false and a binding equation e2 = initializationTests.E.E2, which is probably redundant.
-Setting fixed = false usually means there is an additional initial equation to determine the parameter value. The binding was ignored by old Modelica tools, but this is not according to the Modelica specification. Please remove the parameter binding, or bind the parameter to another parameter with fixed = false and no binding.
-[<interactive>:15:5-15:45:writable] Warning: The parameter s2 has fixed = false and a binding equation s2 = \"two\", which is probably redundant.
-Setting fixed = false usually means there is an additional initial equation to determine the parameter value. The binding was ignored by old Modelica tools, but this is not according to the Modelica specification. Please remove the parameter binding, or bind the parameter to another parameter with fixed = false and no binding.
-[<interactive>:14:5-14:45:writable] Warning: The parameter b2 has fixed = false and a binding equation b2 = true, which is probably redundant.
-Setting fixed = false usually means there is an additional initial equation to determine the parameter value. The binding was ignored by old Modelica tools, but this is not according to the Modelica specification. Please remove the parameter binding, or bind the parameter to another parameter with fixed = false and no binding.
-[<interactive>:13:5-13:42:writable] Warning: The parameter i2 has fixed = false and a binding equation i2 = 2, which is probably redundant.
-Setting fixed = false usually means there is an additional initial equation to determine the parameter value. The binding was ignored by old Modelica tools, but this is not according to the Modelica specification. Please remove the parameter binding, or bind the parameter to another parameter with fixed = false and no binding.
-[<interactive>:12:5-12:41:writable] Warning: The parameter r2 has fixed = false and a binding equation r2 = 2.0, which is probably redundant.
-Setting fixed = false usually means there is an additional initial equation to determine the parameter value. The binding was ignored by old Modelica tools, but this is not according to the Modelica specification. Please remove the parameter binding, or bind the parameter to another parameter with fixed = false and no binding.
-Warning: The initial conditions are not fully specified. For more information set -d=initialization. In OMEdit Tools->Options->Simulation->Show additional information from the initialization process, in OMNotebook call setCommandLineOptions(\"-d=initialization\").
+[BackEnd/Initialization.mo:0:0-0:0:writable] Error: Internal error DAEUtil.getStartAttr failed because type Enumeration has no default start value.
+Error: No system for the symbolic initialization was generated
 "

Equation mismatch: omc-diff says:
Failed 'i' '"'
Line 4: Text differs:
expected: resultFile = "initializationTests.parameters_res.mat",
got:      resultFile = "",

== 1 out of 1 tests failed [simulation/modelica/initialization/parameters.mos_temp9810, time: 0]