Skip to content

Regression

simulation_modelica_events.ChatteringEventsTest2.mos (from (result.xml))

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

Stacktrace

Output mismatch (see stdout for details)

Standard Output

 + ChatteringEvents2                                                                 ... equation mismatch [time: 3]

==== Log C:\Windows\TEMP/omc-rtest-OpenModelica/simulation/modelica/events/ChatteringEventsTest2.mos_temp7841/log-ChatteringEventsTest2.mos
true
record SimulationResult
    resultFile = "",
    simulationOptions = "startTime = 0.0, stopTime = 1.0, numberOfIntervals = 500, tolerance = 1e-6, method = 'dassl', fileNamePrefix = 'Chattering.ChatteringEvents2', options = '', outputFormat = 'mat', variableFilter = '.*', cflags = '', simflags = '-abortSlowSimulation'",
    messages = "Failed to build model: Chattering.ChatteringEvents2"
end SimulationResult;
'' 
Equation mismatch: diff says: 
--- "C:\\Windows\\TEMP/omc-rtest-OpenModelica/simulation/modelica/events/ChatteringEventsTest2.mos_temp7841/equations-expected"2024-06-13 15:28:23.838367500 +0200
+++ "C:\\Windows\\TEMP/omc-rtest-OpenModelica/simulation/modelica/events/ChatteringEventsTest2.mos_temp7841/equations-got"2024-06-13 15:28:26.587622000 +0200
@@ -1,10 +1,6 @@
 true
 record SimulationResult
 resultFile = "",
-simulationOptions = "startTime = 0.0, stopTime = 1.0, numberOfIntervals = 500, tolerance = 1e-06, method = 'dassl', fileNamePrefix = 'Chattering.ChatteringEvents2', options = '', outputFormat = 'mat', variableFilter = '.*', cflags = '', simflags = '-abortSlowSimulation'",
-messages = "Simulation execution failed for model: Chattering.ChatteringEvents2
-LOG_SUCCESS       | info    | The initialization finished successfully without homotopy method.
-LOG_STDOUT        | info    | Chattering detected around time 0.422197395603..0.422197406875 (100 state events in a row with a total time delta less than the step size 0.002). This can be a performance bottleneck. Use -lv LOG_EVENTS for more information. The zero-crossing was: x > 0.0
-LOG_ASSERT        | debug   | Aborting simulation due to chattering being detected and the simulation flags requesting we do not continue further.
-"
+simulationOptions = "startTime = 0.0, stopTime = 1.0, numberOfIntervals = 500, tolerance = 1e-6, method = 'dassl', fileNamePrefix = 'Chattering.ChatteringEvents2', options = '', outputFormat = 'mat', variableFilter = '.*', cflags = '', simflags = '-abortSlowSimulation'",
+messages = "Failed to build model: Chattering.ChatteringEvents2"
 end SimulationResult;
'' 
Equation mismatch: omc-diff says: 
Failed 'S' 'F'
Line 5: Text differs:
expected: messages = "Simulation execution failed for model: Chattering.ChatteringEvents
got:      messages = "Failed to build model: Chattering.ChatteringEvents

== 1 out of 1 tests failed [simulation/modelica/events/ChatteringEventsTest2.mos_temp7841, time: 20]