Regression
simulation_modelica_commonSubExp.wrapFunctionCalls3.mos (from (result.xml))
Stacktrace
Output mismatch (see stdout for details)
Standard Output
+ wrapFunctionCalls3 ... equation mismatch [time: 0] ==== Log C:\Windows\TEMP/omc-rtest-OpenModelica/simulation/modelica/commonSubExp/wrapFunctionCalls3.mos_temp2008/log-wrapFunctionCalls3.mos "Warning: Out of memory! Faking a stack overflow. Error: Stack overflow occurred while evaluating loadString(\" package CSE model wrapFunctionCalls3 function f1 input Real x1; output Real y1; output Real y2; output Real y3; algorithm y1 := x1; y2 := x1 + y1; y1 := y2+1.0; y2 := x1 * y2; y3 := x1 * y2 + y1; end f1; Real a; Real b; equation (,b,) = f1(time); a = f1(time) + 5.0; end wrapFunctionCalls3; end CSE; \"): [bt] [Symbols are not generated when running the test suite] " true "" record SimulationResult resultFile = "", simulationOptions = "startTime = 0.0, stopTime = 1.0, numberOfIntervals = 500, tolerance = 1e-6, method = 'dassl', fileNamePrefix = 'CSE.wrapFunctionCalls3', options = '', outputFormat = 'mat', variableFilter = '.*', cflags = '', simflags = ''", messages = "Simulation Failed. Model: CSE.wrapFunctionCalls3 does not exist! Please load it first before simulation." end SimulationResult; "" '' Equation mismatch: diff says: --- "C:\\Windows\\TEMP/omc-rtest-OpenModelica/simulation/modelica/commonSubExp/wrapFunctionCalls3.mos_temp2008/equations-expected"2024-06-13 15:27:08.112226200 +0200 +++ "C:\\Windows\\TEMP/omc-rtest-OpenModelica/simulation/modelica/commonSubExp/wrapFunctionCalls3.mos_temp2008/equations-got"2024-06-13 15:27:08.537228400 +0200 @@ -1,35 +1,36 @@ + +"Warning: Out of memory! Faking a stack overflow. +Error: Stack overflow occurred while evaluating loadString(\" +package CSE +model wrapFunctionCalls3 +function f1 +input Real x1; +output Real y1; +output Real y2; +output Real y3; +algorithm +y1 := x1; +y2 := x1 + y1; +y1 := y2+1.0; +y2 := x1 * y2; +y3 := x1 * y2 + y1; +end f1; + +Real a; +Real b; +equation +(,b,) = f1(time); +a = f1(time) + 5.0; +end wrapFunctionCalls3; +end CSE; +\"): +[bt] [Symbols are not generated when running the test suite] +" true "" -true -"" - - - -############################################################### -Final Results -############################################################### - -########### Updated Variable List (simulation) (3) -======================================== -1: b:VARIABLE() type: Real -2: a:VARIABLE() type: Real -3: $cse1:VARIABLE(protected = true ) type: Real unreplaceable - - -########### Updated Equation List (simulation) (2, 3) -======================================== -1/1 (1): a = 5.0 + $cse1 [dynamic |0|0|0|0|] -2/2 (2): ($cse1, b, _) = CSE.wrapFunctionCalls3.f1(time) [unknown |0|0|0|0|] - - -########### CSE Replacements (1/44) -======================================== -1: ($cse1, b, _) - CSE.wrapFunctionCalls3.f1(time) - {} record SimulationResult -resultFile = "CSE.wrapFunctionCalls3_res.mat", -simulationOptions = "startTime = 0.0, stopTime = 1.0, numberOfIntervals = 500, tolerance = 1e-06, method = 'dassl', fileNamePrefix = 'CSE.wrapFunctionCalls3', 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 = 'CSE.wrapFunctionCalls3', options = '', outputFormat = 'mat', variableFilter = '.*', cflags = '', simflags = ''", +messages = "Simulation Failed. Model: CSE.wrapFunctionCalls3 does not exist! Please load it first before simulation." end SimulationResult; "" '' Equation mismatch: omc-diff says: Line 1: Lexical token differs: expected: true got: == 1 out of 1 tests failed [simulation/modelica/commonSubExp/wrapFunctionCalls3.mos_temp2008, time: 17]