Skip to content

Failed

tests / 03 testsuite-gcc 3/3 / simulation_modelica_others.TestSolve18.mos (from (result.xml))

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

Stacktrace

Output mismatch (see stdout for details)

Standard Output

 + Test ExpressionSolve fail                                                         ... equation mismatch [time: 0]

==== Log /tmp/omc-rtest-omtmpuser/simulation/modelica/others/TestSolve18.mos_temp7291/log-TestSolve18.mos
true
true
""
record SimulationResult
    resultFile = "",
    simulationOptions = "startTime = 0.0, stopTime = 1.0, numberOfIntervals = 500, tolerance = 0.001, method = 'dassl', fileNamePrefix = 'ModelTestSolve18', options = '', outputFormat = 'mat', variableFilter = '.*', cflags = '', simflags = ''",
    messages = "Failed to build model: ModelTestSolve18"
end SimulationResult;
"[BackEnd/Initialization.mo:0:0-0:0:writable] Error: Internal error DAEUtil.getStartAttr failed because type Real has no default start value.
Error: No system for the symbolic initialization was generated
"


Equation mismatch: diff says:
--- /tmp/omc-rtest-omtmpuser/simulation/modelica/others/TestSolve18.mos_temp7291/equations-expected2024-04-20 01:53:21.680051876 +0000
+++ /tmp/omc-rtest-omtmpuser/simulation/modelica/others/TestSolve18.mos_temp7291/equations-got2024-04-20 01:53:21.840051883 +0000
@@ -1,19 +1,12 @@
 true
 true
 ""
 record SimulationResult
-resultFile = "ModelTestSolve18_res.mat",
+resultFile = "",
 simulationOptions = "startTime = 0.0, stopTime = 1.0, numberOfIntervals = 500, tolerance = 0.001, method = 'dassl', fileNamePrefix = 'ModelTestSolve18', options = '', outputFormat = 'mat', variableFilter = '.*', cflags = '', simflags = ''",
-messages = "LOG_SUCCESS       | info    | The initialization finished successfully without homotopy method.
-LOG_SUCCESS       | info    | The simulation finished successfully.
-"
+messages = "Failed to build model: ModelTestSolve18"
 end SimulationResult;
-"[BackEnd/ExpressionSolve.mo:0:0-0:0:writable] Error: Internal error Failed to solve \"(-exp(if y > 0.0 then time else 2.0 * time)) * y = -1.0 - time\" w.r.t. \"y\"
-[BackEnd/ExpressionSolve.mo:0:0-0:0:writable] Error: Internal error Failed to solve \"/*Real*/(sign(1.0 + 2.0 * x)) = log(1.0 - (-0.2) * time)\" w.r.t. \"x\"
-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/ExpressionSolve.mo:0:0-0:0:writable] Error: Internal error Failed to solve \"time = -1.0 + y * exp(if y > 0.0 then time else 2.0 * time)\" w.r.t. \"y\"
-[BackEnd/ExpressionSolve.mo:0:0-0:0:writable] Error: Internal error Failed to solve \"time = 5.0 * (-1.0 + exp(/*Real*/(sign(1.0 + 2.0 * x))))\" w.r.t. \"x\"
-[BackEnd/Differentiate.mo:203:7-203:147:writable] Error: Derivative of expression \"der(z) - (x - y)\" w.r.t. \"z\" is non-existent.
-[BackEnd/ExpressionSolve.mo:0:0-0:0:writable] Error: Internal error Failed to solve \"der(z) = x - y\" w.r.t. \"z\"
+"[BackEnd/Initialization.mo:0:0-0:0:writable] Error: Internal error DAEUtil.getStartAttr failed because type Real has no default start value.
+Error: No system for the symbolic initialization was generated
 "
--1.5
+

Equation mismatch: omc-diff says:
Failed 'M' '"'
Line 5: Text differs:
expected: resultFile = "ModelTestSolve
got:      resultFile = "",

== 1 out of 1 tests failed [simulation/modelica/others/TestSolve18.mos_temp7291, time: 0]