Skip to content

Regression

simulation_modelica_asserts.AssertTest7.mos (from (result.xml))

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

Stacktrace

Output mismatch (see stdout for details)

Standard Output

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

==== Log C:\Windows\TEMP/omc-rtest-OpenModelica/simulation/modelica/asserts/AssertTest7.mos_temp7991/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 = "Failed to build model: Test7"
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\").
Error: Error building simulator. Build log: make: Entering directory '/c/dev/jenkins/ws/Windows/OM_Win/TESTSU~1/SIMULA~1/modelica/asserts/AS65DD~1.MOS'
clang -municode  -O0 -DOM_HAVE_PTHREADS -Wno-parentheses-equality -falign-functions -mstackrealign -msse2 -mfpmath=sse     -I\"C:/dev/jenkins/ws/Windows/OM_Win/build/include/omc/c\" -I\"C:/dev/jenkins/ws/Windows/OM_Win/build/include/omc\" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=Test7 -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0  -c -o Test7.o Test7.c
clang -municode  -O0 -DOM_HAVE_PTHREADS -Wno-parentheses-equality -falign-functions -mstackrealign -msse2 -mfpmath=sse     -I\"C:/dev/jenkins/ws/Windows/OM_Win/build/include/omc/c\" -I\"C:/dev/jenkins/ws/Windows/OM_Win/build/include/omc\" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=Test7 -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0  -c -o Test7_functions.o Test7_functions.c
Mingw-w64 runtime failure:
  VirtualProtect failed with code 0x5afmake: *** [<builtin>: Test7_functions.o] Error 127
make: Leaving directory '/c/dev/jenkins/ws/Windows/OM_Win/TESTSU~1/SIMULA~1/modelica/asserts/AS65DD~1.MOS'
RESULT: 2
"
'' 
Equation mismatch: diff says: 
--- "C:\\Windows\\TEMP/omc-rtest-OpenModelica/simulation/modelica/asserts/AssertTest7.mos_temp7991/equations-expected"2024-06-13 15:27:26.360324000 +0200
+++ "C:\\Windows\\TEMP/omc-rtest-OpenModelica/simulation/modelica/asserts/AssertTest7.mos_temp7991/equations-got"2024-06-13 15:27:28.529748500 +0200
@@ -1,131 +1,16 @@
 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 = ''",
-messages = "Simulation execution failed for model: Test7
-LOG_SUCCESS       | info    | The initialization finished successfully without homotopy method.
-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)
-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
-"
+simulationOptions = "startTime = 0.0, stopTime = 1.0, numberOfIntervals = 7, tolerance = 1e-6, method = 'dassl', fileNamePrefix = 'Test7', options = '', outputFormat = 'mat', variableFilter = '.*', cflags = '', simflags = ''",
+messages = "Failed to build model: Test7"
 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\").
+Error: Error building simulator. Build log: make: Entering directory '/c/dev/jenkins/ws/Windows/OM_Win/TESTSU~1/SIMULA~1/modelica/asserts/AS65DD~1.MOS'
+clang -municode  -O0 -DOM_HAVE_PTHREADS -Wno-parentheses-equality -falign-functions -mstackrealign -msse2 -mfpmath=sse     -I\"C:/dev/jenkins/ws/Windows/OM_Win/build/include/omc/c\" -I\"C:/dev/jenkins/ws/Windows/OM_Win/build/include/omc\" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=Test7 -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0  -c -o Test7.o Test7.c
+clang -municode  -O0 -DOM_HAVE_PTHREADS -Wno-parentheses-equality -falign-functions -mstackrealign -msse2 -mfpmath=sse     -I\"C:/dev/jenkins/ws/Windows/OM_Win/build/include/omc/c\" -I\"C:/dev/jenkins/ws/Windows/OM_Win/build/include/omc\" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=Test7 -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0  -c -o Test7_functions.o Test7_functions.c
+Mingw-w64 runtime failure:
+VirtualProtect failed with code 0x5afmake: *** [<builtin>: Test7_functions.o] Error 127
+make: Leaving directory '/c/dev/jenkins/ws/Windows/OM_Win/TESTSU~1/SIMULA~1/modelica/asserts/AS65DD~1.MOS'
+RESULT: 2
 "
'' 
Equation mismatch: omc-diff says: 
Failed 'S' 'F'
Line 6: Text differs:
expected: messages = "Simulation execution failed for model: Test
got:      messages = "Failed to build model: Test

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