Failed
tests / 01 testsuite-gcc 1/3 / simulation_modelica_initialization.bug_3052.mos (from (result.xml))
Stacktrace
Output mismatch (see stdout for details)
Standard Output
+ bug_3052 ... equation mismatch [time: 1] ==== Log /tmp/omc-rtest-omtmpuser/simulation/modelica/initialization/bug_3052.mos_temp9578/log-bug_3052.mos true "" record SimulationResult resultFile = "", simulationOptions = "startTime = 0.0, stopTime = 1.0, numberOfIntervals = 500, tolerance = 1e-6, method = 'dassl', fileNamePrefix = 'initializationTests.bug_3052', options = '', outputFormat = 'mat', variableFilter = '.*', cflags = '', simflags = '-lv=LOG_INIT_V'", messages = "Failed to build model: initializationTests.bug_3052" 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/initialization/bug_3052.mos_temp9578/equations-expected2024-04-20 01:40:36.946161361 +0000 +++ /tmp/omc-rtest-omtmpuser/simulation/modelica/initialization/bug_3052.mos_temp9578/equations-got2024-04-20 01:40:37.026160471 +0000 @@ -1,29 +1,14 @@ true "" record SimulationResult -resultFile = "initializationTests.bug_3052_res.mat", -simulationOptions = "startTime = 0.0, stopTime = 1.0, numberOfIntervals = 500, tolerance = 1e-06, method = 'dassl', fileNamePrefix = 'initializationTests.bug_3052', 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 a(start=0, fixed=false) = 2 -| | | | | | [2] parameter Real b(start=0, fixed=false) = 2.8 -LOG_SOTI | info | ### SOLUTION OF THE INITIALIZATION ### -| | | | | other real variables -| | | | | | [1] Real x(start=0, nominal=1) = 1 (pre: 1) -LOG_INIT | info | ### END INITIALIZATION ### -LOG_SUCCESS | info | The initialization finished successfully without homotopy method. -LOG_SUCCESS | info | The simulation finished successfully. -" +resultFile = "", +simulationOptions = "startTime = 0.0, stopTime = 1.0, numberOfIntervals = 500, tolerance = 1e-6, method = 'dassl', fileNamePrefix = 'initializationTests.bug_3052', options = '', outputFormat = 'mat', variableFilter = '.*', cflags = '', simflags = '-lv=LOG_INIT_V'", +messages = "Failed to build model: initializationTests.bug_3052" 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 +" + "" -2.0 -"" -2.8 + "" Equation mismatch: omc-diff says: Failed 'i' '"' Line 4: Text differs: expected: resultFile = "initializationTests.bug_ got: resultFile = "", == 1 out of 1 tests failed [simulation/modelica/initialization/bug_3052.mos_temp9578, time: 1]