Failed
tests / 06 testsuite-clang 3/3 / simulation_modelica_parameters.parameterTest17.mos (from (result.xml))
Stacktrace
Output mismatch (see stdout for details)
Standard Output
+ parameterTest17 ... equation mismatch [time: 0] ==== Log /tmp/omc-rtest-omtmpuser/simulation/modelica/parameters/parameterTest17.mos_temp7906/log-parameterTest17.mos true "" true "" record SimulationResult resultFile = "", simulationOptions = "startTime = 0.0, stopTime = 1.0, numberOfIntervals = 500, tolerance = 1e-6, method = 'dassl', fileNamePrefix = 'parameterTest17', options = '', outputFormat = 'mat', variableFilter = '.*', cflags = '', simflags = ''", messages = "Failed to build model: parameterTest17" end SimulationResult; "[<interactive>:14:3-14:36:writable] Warning: Parameter p8 has no binding, and is fixed during initialization (fixed=true), using available start value (start=2 * p3) as default value. [<interactive>:13:3-13:39:writable] Warning: Parameter p7 has no binding, and is fixed during initialization (fixed=true), using available start value (start=1) as default value. [BackEnd/Initialization.mo:0:0-0:0:writable] Error: Internal error DAEUtil.getStartAttr failed because type Integer has no default start value. Error: No system for the symbolic initialization was generated " Equation mismatch: diff says: --- /tmp/omc-rtest-omtmpuser/simulation/modelica/parameters/parameterTest17.mos_temp7906/equations-expected2024-04-20 01:47:40.274544118 +0000 +++ /tmp/omc-rtest-omtmpuser/simulation/modelica/parameters/parameterTest17.mos_temp7906/equations-got2024-04-20 01:47:40.618535660 +0000 @@ -1,62 +1,20 @@ true "" true "" - - - -############################################################### -Final Results -############################################################### - -########### Updated Variable List (simulation) (1) -======================================== -1: b:DISCRETE() type: Integer - - -########### Updated Equation List (simulation) (1, 1) -======================================== -1/1 (1): /*Real*/(b) = /*Real*/(5 + a + 1) + $cse1 [dynamic |0|0|0|0|] - - -########### Updated globalKnownVars (simulation) (18) -======================================== -1: a:DISCRETE(fixed = true ) = sin(/*Real*/(p2)) + /*Real*/(p1) type: Integer -2: c:DISCRETE(fixed = false ) = 7 + p1 + p2 + p3 + p7 + p8 + pr1 + pr2 + c2 type: Integer -3: input x:VARIABLE(fixed = true ) type: Integer -4: p1:PARAM() = 1 type: Integer -5: p2:PARAM() = p1 type: Integer -6: p3:PARAM() = 5 type: Integer -7: p4:PARAM(fixed = false ) type: Integer -8: c1:CONST(final = true ) = 5 type: Integer -9: c2:CONST() type: Integer -10: p5:PARAM(final = true ) = 1 type: Integer -11: p6:PARAM(final = true ) = 1 type: Integer -12: p7:PARAM(start = 1 final = true ) type: Integer -13: p8:PARAM(start = 2 * p3 ) type: Integer -14: p9:PARAM(fixed = false ) = 2 * p4 type: Integer -15: pr1:PARAM(protected = true ) = 5 type: Integer -16: pr2:PARAM(protected = true ) = pr1 type: Integer -17: d:PARAM(fixed = false ) = p9 type: Integer -18: $cse1:PARAM(protected = true ) = sin(/*Real*/(p2)) type: Real unreplaceable - - -########### CSE Replacements (1/43) -======================================== -1: $cse1 - sin(/*Real*/(p2)) - {} record SimulationResult -resultFile = "parameterTest17_res.mat", -simulationOptions = "startTime = 0.0, stopTime = 1.0, numberOfIntervals = 500, tolerance = 1e-06, method = 'dassl', fileNamePrefix = 'parameterTest17', options = '', outputFormat = 'mat', variableFilter = '.*', cflags = '', simflags = ''", -messages = "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 = 'parameterTest17', options = '', outputFormat = 'mat', variableFilter = '.*', cflags = '', simflags = ''", +messages = "Failed to build model: parameterTest17" end SimulationResult; "[<interactive>:14:3-14:36:writable] Warning: Parameter p8 has no binding, and is fixed during initialization (fixed=true), using available start value (start=2 * p3) as default value. [<interactive>:13:3-13:39:writable] Warning: Parameter p7 has no binding, and is fixed during initialization (fixed=true), using available start value (start=1) as default value. +[BackEnd/Initialization.mo:0:0-0:0:writable] Error: Internal error DAEUtil.getStartAttr failed because type Integer has no default start value. +Error: No system for the symbolic initialization was generated " -1.0 -7.0 -42.0 -8.0 -4.0 -8.0 + + + + + + Equation mismatch: omc-diff says: Line 5: Lexical token differs: expected: got: record SimulationResult == 1 out of 1 tests failed [simulation/modelica/parameters/parameterTest17.mos_temp7906, time: 0]