Skip to content

Failed

tests / 01 testsuite-gcc 1/3 / simulation_modelica_asserts.AssertTest7.mos (from (result.xml))

Failing for the past 86 builds (Since #1 )
Took 5 sec.

Stacktrace

Output mismatch (see stdout for details)

Standard Output

 + AssertTest7                                                                       ... equation mismatch [time: 5]

==== Log /tmp/omc-rtest-unknown/simulation/modelica/asserts/AssertTest7.mos_temp8586/log-AssertTest7.mos
true
""
record SimulationResult
    resultFile = "",
    simulationOptions = "startTime = 0.0, stopTime = 1.0, numberOfIntervals = 7, tolerance = 1e-6, method = 'dassl', fileNamePrefix = 'Test7', options = '', outputFormat = 'mat', variableFilter = '.*', cflags = '', simflags = ''",
    messages = "Simulation execution failed for model: Test7
LOG_SUCCESS       | info    | The initialization finished successfully without homotopy method.
Value of x(=0.475713)
Value of x(=0.51)
Value of x(=0.51)
Value of x(=0.509999)
Value of x(=0.509999)
Value of x(=0.509999)
Value of x(=0.509998)
Value of x(=0.509998)
Value of x(=0.509995)
Value of x(=0.509995)
Value of x(=0.509995)
Value of x(=0.509989)
Value of x(=0.509989)
Value of x(=0.509989)
Value of x(=0.509977)
Value of x(=0.509977)
Value of x(=0.509977)
Value of x(=0.509952)
Value of x(=0.509952)
Value of x(=0.509952)
Value of x(=0.509904)
Value of x(=0.509904)
Value of x(=0.509904)
Value of x(=0.509807)
Value of x(=0.509807)
Value of x(=0.509807)
Value of x(=0.509614)
Value of x(=0.509614)
Value of x(=0.509614)
Value of x(=0.509228)
Value of x(=0.509228)
Value of x(=0.509228)
Value of x(=0.508455)
Value of x(=0.508455)
Value of x(=0.508455)
Value of x(=0.506908)
Value of x(=0.506908)
Value of x(=0.506908)
Value of x(=0.503816)
Value of x(=0.503816)
Value of x(=0.503816)
Value of x(=0.50227)
Value of x(=0.50227)
Value of x(=0.50227)
Value of x(=0.501496)
Value of x(=0.501496)
Value of x(=0.501496)
Value of x(=0.50111)
Value of x(=0.50111)
Value of x(=0.50111)
Value of x(=0.500337)
Value of x(=0.500337)
Value of x(=0.500337)
Value of x(=0.50024)
Value of x(=0.50024)
Value of x(=0.50024)
Value of x(=0.500047)
Value of x(=0.500047)
Value of x(=0.500047)
Value of x(=0.500023)
Value of x(=0.500023)
Value of x(=0.500023)
Value of x(=0.500011)
Value of x(=0.500011)
Value of x(=0.500011)
Value of x(=0.500005)
Value of x(=0.500005)
Value of x(=0.500005)
Value of x(=0.500002)
Value of x(=0.500002)
Value of x(=0.500002)
Value of x(=0.5)
Value of x(=0.5)
Value of x(=0.5)
Value of x(=0.5)
Value of x(=0.5)
Value of x(=0.5)
Value of x(=0.5)
Value of x(=0.5)
Value of x(=0.5)
Value of x(=0.5)
Value of x(=0.5)
Value of x(=0.5)
Value of x(=0.5)
Value of x(=0.5)
Value of x(=0.5)
Value of x(=0.5)
Value of x(=0.5)
Value of x(=0.5)
Value of x(=0.5)
Value of x(=0.5)
Value of x(=0.5)
Value of x(=0.5)
Value of x(=0.5)
Value of x(=0.5)
Value of x(=0.5)
Value of x(=0.5)
Value of x(=0.5)
Value of x(=0.5)
Value of x(=0.5)
Value of x(=0.5)
Value of x(=0.5)
Value of x(=0.5)
Value of x(=0.5)
Value of x(=0.5)
Value of x(=0.5)
Value of x(=0.5)
Value of x(=0.5)
Value of x(=0.5)
Value of x(=0.5)
Value of x(=0.5)
Value of x(=0.5)
Value of x(=0.5)
Value of x(=0.5)
Value of x(=0.5)
Value of x(=0.5)
Value of x(=0.5)
Value of x(=0.5)
Value of x(=0.5)
Value of x(=0.5)
Value of x(=0.5)
Value of x(=0.5)
Value of x(=0.5)
Value of x(=0.5)
Value of x(=0.5)
Value of x(=0.5)
Value of x(=0.5)
Value of x(=0.5)
Value of x(=0.5)
Value of x(=0.5)
Value of x(=0.5)
DASKR--  AT T (=R1) AND STEPSIZE H (=R2) THE                                    
      In above,  R1 =   5.0000000000000E-01   R2 =   3.5157427188218E-16
DASKR--  NONLINEAR SYSTEM SOLVER COULD NOT CONVERGE                             
DASKR--  BECAUSE IRES WAS EQUAL TO MINUS ONE                                    
LOG_STDOUT        | warning | A Modelica assert prevents the integrator to continue. For more information use -lv LOG_SOLVER
LOG_STDOUT        | warning | can't continue. time = 0.500000
Value of x(=0.5)
LOG_STDOUT        | info    | model terminate | Integrator failed. | Simulation terminated at time 0.5
"
end SimulationResult;
"Warning: The initial conditions are not fully specified. For more information set -d=initialization. In OMEdit Tools->Options->Simulation->Show additional information from the initialization process, in OMNotebook call setCommandLineOptions(\"-d=initialization\").
"

Equation mismatch: diff says:
--- /tmp/omc-rtest-unknown/simulation/modelica/asserts/AssertTest7.mos_temp8586/equations-expected2024-01-20 04:09:31.664607337 +0000
+++ /tmp/omc-rtest-unknown/simulation/modelica/asserts/AssertTest7.mos_temp8586/equations-got2024-01-20 04:09:36.084494348 +0000
@@ -1,12 +1,13 @@
 true
 ""
 record SimulationResult
 resultFile = "",
-simulationOptions = "startTime = 0.0, stopTime = 1.0, numberOfIntervals = 7, tolerance = 1e-06, method = 'dassl', fileNamePrefix = 'Test7', options = '', outputFormat = 'mat', variableFilter = '.*', cflags = '', simflags = ''",
+simulationOptions = "startTime = 0.0, stopTime = 1.0, numberOfIntervals = 7, tolerance = 1e-6, method = 'dassl', fileNamePrefix = 'Test7', options = '', outputFormat = 'mat', variableFilter = '.*', cflags = '', simflags = ''",
 messages = "Simulation execution failed for model: Test7
 LOG_SUCCESS       | info    | The initialization finished successfully without homotopy method.
+Value of x(=0.475713)
 Value of x(=0.51)
 Value of x(=0.51)
 Value of x(=0.509999)
 Value of x(=0.509999)
 Value of x(=0.509999)
@@ -115,10 +116,28 @@
 Value of x(=0.5)
 Value of x(=0.5)
 Value of x(=0.5)
 Value of x(=0.5)
 Value of x(=0.5)
+Value of x(=0.5)
+Value of x(=0.5)
+Value of x(=0.5)
+Value of x(=0.5)
+Value of x(=0.5)
+Value of x(=0.5)
+Value of x(=0.5)
+Value of x(=0.5)
+Value of x(=0.5)
+Value of x(=0.5)
+Value of x(=0.5)
+Value of x(=0.5)
+Value of x(=0.5)
+Value of x(=0.5)
+Value of x(=0.5)
+Value of x(=0.5)
+Value of x(=0.5)
+Value of x(=0.5)
 DASKR--  AT T (=R1) AND STEPSIZE H (=R2) THE
 In above,  R1 =   5.0000000000000E-01   R2 =   3.5157427188218E-16
 DASKR--  NONLINEAR SYSTEM SOLVER COULD NOT CONVERGE
 DASKR--  BECAUSE IRES WAS EQUAL TO MINUS ONE
 LOG_STDOUT        | warning | A Modelica assert prevents the integrator to continue. For more information use -lv LOG_SOLVER

Equation mismatch: omc-diff says:
Line 8: Real 0.51 != 0.475713
  eps: 0.005000, actual diff: 0.034287

== 1 out of 1 tests failed [simulation/modelica/asserts/AssertTest7.mos_temp8586, time: 5]