Skip to content

Regression

simulation_modelica_others.StringTest.mos (from (result.xml))

Failing for the past 1 build (Since #3812 )
Took 10 sec.

Stacktrace

Output mismatch (see stdout for details)

Standard Output

 + StringTest                                                                        ... equation mismatch [time: 0]

==== Log C:\Windows\TEMP/omc-rtest-OpenModelica/simulation/modelica/others/StringTest.mos_temp8194/log-StringTest.mos

record SimulationResult
    resultFile = "",
    simulationOptions = "startTime = 0.0, stopTime = 1.0, numberOfIntervals = 100, tolerance = 1e-5, method = 'dassl', fileNamePrefix = 'STest1', options = '', outputFormat = 'mat', variableFilter = '.*', cflags = '', simflags = ''",
    messages = "Simulation Failed. Model: STest1 does not exist! Please load it first before simulation."
end SimulationResult;
'' 
Equation mismatch: diff says: 
--- "C:\\Windows\\TEMP/omc-rtest-OpenModelica/simulation/modelica/others/StringTest.mos_temp8194/equations-expected"2024-06-13 15:23:54.490414300 +0200
+++ "C:\\Windows\\TEMP/omc-rtest-OpenModelica/simulation/modelica/others/StringTest.mos_temp8194/equations-got"2024-06-13 15:23:54.870414300 +0200
@@ -1,12 +1,6 @@
-true
+
 record SimulationResult
 resultFile = "",
-simulationOptions = "startTime = 0.0, stopTime = 1.0, numberOfIntervals = 100, tolerance = 1e-05, method = 'dassl', fileNamePrefix = 'STest1', options = '', outputFormat = 'mat', variableFilter = '.*', cflags = '', simflags = ''",
-messages = "Simulation execution failed for model: STest1
-LOG_SUCCESS       | info    | The initialization finished successfully without homotopy method.
-LOG_ASSERT        | info    | [simulation/modelica/others/StringTest.mo:8:1-14:56:writable]
-|                 | |       | The following assertion has been violated at time 0.110000
-|                 | |       | ((x < 0.1)) --> \"x reached 0.11 at time 0.11 b =true i =     66\"
-LOG_ASSERT        | error   | No event found, but assert was triggered. Throwing now!
-"
+simulationOptions = "startTime = 0.0, stopTime = 1.0, numberOfIntervals = 100, tolerance = 1e-5, method = 'dassl', fileNamePrefix = 'STest1', options = '', outputFormat = 'mat', variableFilter = '.*', cflags = '', simflags = ''",
+messages = "Simulation Failed. Model: STest1 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/others/StringTest.mos_temp8194, time: 10]