Regression
simulation_modelica_algorithms_functions.whenDiscreteForLoop.mos (from (result.xml))
Stacktrace
Output mismatch (see stdout for details)
Standard Output
+ whenDiscreteForLoop ... equation mismatch [time: 21] ==== Log C:\Windows\TEMP/omc-rtest-OpenModelica/simulation/modelica/algorithms_functions/whenDiscreteForLoop.mos_temp720/log-whenDiscreteForLoop.mos true record SimulationResult resultFile = "", simulationOptions = "startTime = 0.0, stopTime = 1.0, numberOfIntervals = 500, tolerance = 1e-6, method = 'dassl', fileNamePrefix = 'testWhenLoopA', options = '', outputFormat = 'mat', variableFilter = '.*', cflags = '', simflags = ''", messages = "Failed to build model: testWhenLoopA" end SimulationResult; true record SimulationResult resultFile = "", simulationOptions = "startTime = 0.0, stopTime = 1.0, numberOfIntervals = 500, tolerance = 1e-6, method = 'dassl', fileNamePrefix = 'testWhenLoopA1', options = '', outputFormat = 'mat', variableFilter = '.*', cflags = '', simflags = ''", messages = "Failed to build model: testWhenLoopA1" end SimulationResult; true record SimulationResult resultFile = "", simulationOptions = "startTime = 0.0, stopTime = 1.0, numberOfIntervals = 500, tolerance = 1e-6, method = 'dassl', fileNamePrefix = 'testWhenLoopA2', options = '', outputFormat = 'mat', variableFilter = '.*', cflags = '', simflags = ''", messages = "Failed to build model: testWhenLoopA2" end SimulationResult; '' Equation mismatch: diff says: --- "C:\\Windows\\TEMP/omc-rtest-OpenModelica/simulation/modelica/algorithms_functions/whenDiscreteForLoop.mos_temp720/equations-expected"2024-06-13 15:16:22.216694100 +0200 +++ "C:\\Windows\\TEMP/omc-rtest-OpenModelica/simulation/modelica/algorithms_functions/whenDiscreteForLoop.mos_temp720/equations-got"2024-06-13 15:16:43.113344700 +0200 @@ -1,54 +1,48 @@ true record SimulationResult -resultFile = "testWhenLoopA_res.mat", -simulationOptions = "startTime = 0.0, stopTime = 1.0, numberOfIntervals = 500, tolerance = 1e-06, method = 'dassl', fileNamePrefix = 'testWhenLoopA', 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 = 'testWhenLoopA', options = '', outputFormat = 'mat', variableFilter = '.*', cflags = '', simflags = ''", +messages = "Failed to build model: testWhenLoopA" end SimulationResult; -1.0 -2.0 -3.0 -4.0 -5.0 + + + + + true record SimulationResult -resultFile = "testWhenLoopA1_res.mat", -simulationOptions = "startTime = 0.0, stopTime = 1.0, numberOfIntervals = 500, tolerance = 1e-06, method = 'dassl', fileNamePrefix = 'testWhenLoopA1', 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 = 'testWhenLoopA1', options = '', outputFormat = 'mat', variableFilter = '.*', cflags = '', simflags = ''", +messages = "Failed to build model: testWhenLoopA1" end SimulationResult; -1.0 -2.0 -3.0 -4.0 -5.0 -1.0 -2.0 -3.0 -4.0 -5.0 + + + + + + + + + + true record SimulationResult -resultFile = "testWhenLoopA2_res.mat", -simulationOptions = "startTime = 0.0, stopTime = 1.0, numberOfIntervals = 500, tolerance = 1e-06, method = 'dassl', fileNamePrefix = 'testWhenLoopA2', 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 = 'testWhenLoopA2', options = '', outputFormat = 'mat', variableFilter = '.*', cflags = '', simflags = ''", +messages = "Failed to build model: testWhenLoopA2" end SimulationResult; -1.0 -2.0 -3.0 -4.0 -5.0 -1.0 -2.0 -3.0 -4.0 -5.0 -2.0 -4.0 -6.0 -8.0 -10.0 + + + + + + + + + + + + + + + '' Equation mismatch: omc-diff says: Failed 't' '"' Line 3: Text differs: expected: resultFile = "testWhenLoopA_res.mat", got: resultFile = "", == 1 out of 1 tests failed [simulation/modelica/algorithms_functions/whenDiscreteForLoop.mos_temp720, time: 35]