Skip to content

Regression

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

Failing for the past 1 build (Since #3807 )
Took 1 min 2 sec.

Stacktrace

Output mismatch (see stdout for details)

Standard Output

 + TestAssertPackages                                                                ... equation mismatch [time: 60]

==== Log C:\Windows\TEMP/omc-rtest-OpenModelica/simulation/modelica/asserts/TestAssert.mos_temp2376/log-TestAssert.mos
true
""
record SimulationResult
    resultFile = "TestAssert.TestWarningConstant_res.mat",
    simulationOptions = "startTime = 0.0, stopTime = 1.0, numberOfIntervals = 500, tolerance = 1e-6, method = 'dassl', fileNamePrefix = 'TestAssert.TestWarningConstant', options = '', outputFormat = 'mat', variableFilter = '.*', cflags = '', simflags = ''",
    messages = "LOG_ASSERT        | warning | [<interactive>:7:5-7:76:writable]
|                 | |       | The following assertion has been violated during initialization at time 0.000000
|                 | |       | ((false)) --> \"Variable x is probably too big\"
LOG_ASSERT        | warning | [<interactive>:7:5-7:76:writable]
|                 | |       | The following assertion has been violated during initialization at time 0.000000
|                 | |       | ((false)) --> \"Variable x is probably too big\"
LOG_SUCCESS       | info    | The initialization finished successfully without homotopy method.
LOG_SUCCESS       | info    | The simulation finished successfully.
"
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\").
"
record SimulationResult
    resultFile = "TestAssert.TestWarningVariable_res.mat",
    simulationOptions = "startTime = 0.0, stopTime = 1.0, numberOfIntervals = 500, tolerance = 1e-6, method = 'dassl', fileNamePrefix = 'TestAssert.TestWarningVariable', options = '', outputFormat = 'mat', variableFilter = '.*', cflags = '', simflags = ''",
    messages = "LOG_SUCCESS       | info    | The initialization finished successfully without homotopy method.
LOG_ASSERT        | info    | [<interactive>:7:5-7:76:writable]
|                 | |       | The following assertion has been violated at time 0.834000
|                 | |       | ((m3.x < 5.0)) --> \"Variable x is probably too big\"
LOG_SUCCESS       | info    | The simulation finished successfully.
"
end SimulationResult;
""
record SimulationResult
    resultFile = "TestAssert.TestWarningRecurring_res.mat",
    simulationOptions = "startTime = 0.0, stopTime = 1.0, numberOfIntervals = 500, tolerance = 1e-6, method = 'dassl', fileNamePrefix = 'TestAssert.TestWarningRecurring', options = '', outputFormat = 'mat', variableFilter = '.*', cflags = '', simflags = ''",
    messages = "LOG_SUCCESS       | info    | The initialization finished successfully without homotopy method.
LOG_ASSERT        | info    | [<interactive>:7:5-7:76:writable]
|                 | |       | The following assertion has been violated at time 0.158000
|                 | |       | ((m3.x < 5.0)) --> \"Variable x is probably too big\"
LOG_SUCCESS       | info    | The simulation finished successfully.
"
end SimulationResult;
""
record SimulationResult
    resultFile = "",
    simulationOptions = "startTime = 0.0, stopTime = 1.0, numberOfIntervals = 500, tolerance = 1e-6, method = 'dassl', fileNamePrefix = 'TestAssert.TestErrorConstant', options = '', outputFormat = 'mat', variableFilter = '.*', cflags = '', simflags = ''",
    messages = "Simulation execution failed for model: TestAssert.TestErrorConstant
LOG_ASSERT        | error   | [<interactive>:6:5-6:44:writable]
|                 | |       | The following assertion has been violated during initialization at time 0.000000
|                 | |       | ((false)) --> \"Variable x is too big\"
LOG_ASSERT        | info    | simulation terminated by an assertion at initialization
"
end SimulationResult;
""
record SimulationResult
    resultFile = "",
    simulationOptions = "startTime = 0.0, stopTime = 1.0, numberOfIntervals = 500, tolerance = 1e-6, method = 'dassl', fileNamePrefix = 'TestAssert.TestErrorVariable', options = '', outputFormat = 'mat', variableFilter = '.*', cflags = '', simflags = ''",
    messages = "Failed to build model: TestAssert.TestErrorVariable"
end SimulationResult;
"Error: Error building simulator. Build log: make: Entering directory '/c/dev/jenkins/ws/Windows/OM_Win/TESTSU~1/SIMULA~1/modelica/asserts/TESTAS~3.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=TestAssert_TestErrorVariable -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 TestAssert.TestErrorVariable.o TestAssert.TestErrorVariable.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=TestAssert_TestErrorVariable -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 TestAssert.TestErrorVariable_functions.o TestAssert.TestErrorVariable_functions.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=TestAssert_TestErrorVariable -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 TestAssert.TestErrorVariable_records.o TestAssert.TestErrorVariable_records.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=TestAssert_TestErrorVariable -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 TestAssert.TestErrorVariable_01exo.o TestAssert.TestErrorVariable_01exo.c
/bin/sh: line 1: /ucrt64/bin/clang: Resource temporarily unavailable
make: *** [<builtin>: TestAssert.TestErrorVariable_01exo.o] Error 126
make: Leaving directory '/c/dev/jenkins/ws/Windows/OM_Win/TESTSU~1/SIMULA~1/modelica/asserts/TESTAS~3.MOS'
RESULT: 2
"
'' 
Equation mismatch: diff says: 
--- "C:\\Windows\\TEMP/omc-rtest-OpenModelica/simulation/modelica/asserts/TestAssert.mos_temp2376/equations-expected"2024-06-12 16:10:55.592115800 +0200
+++ "C:\\Windows\\TEMP/omc-rtest-OpenModelica/simulation/modelica/asserts/TestAssert.mos_temp2376/equations-got"2024-06-12 16:11:55.237603500 +0200
@@ -1,10 +1,10 @@
 true
 ""
 record SimulationResult
 resultFile = "TestAssert.TestWarningConstant_res.mat",
-simulationOptions = "startTime = 0.0, stopTime = 1.0, numberOfIntervals = 500, tolerance = 1e-06, method = 'dassl', fileNamePrefix = 'TestAssert.TestWarningConstant', options = '', outputFormat = 'mat', variableFilter = '.*', cflags = '', simflags = ''",
+simulationOptions = "startTime = 0.0, stopTime = 1.0, numberOfIntervals = 500, tolerance = 1e-6, method = 'dassl', fileNamePrefix = 'TestAssert.TestWarningConstant', options = '', outputFormat = 'mat', variableFilter = '.*', cflags = '', simflags = ''",
 messages = "LOG_ASSERT        | warning | [<interactive>:7:5-7:76:writable]
 |                 | |       | The following assertion has been violated during initialization at time 0.000000
 |                 | |       | ((false)) --> \"Variable x is probably too big\"
 LOG_ASSERT        | warning | [<interactive>:7:5-7:76:writable]
 |                 | |       | The following assertion has been violated during initialization at time 0.000000
@@ -15,51 +15,51 @@
 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\").
 "
 record SimulationResult
 resultFile = "TestAssert.TestWarningVariable_res.mat",
-simulationOptions = "startTime = 0.0, stopTime = 1.0, numberOfIntervals = 500, tolerance = 1e-06, method = 'dassl', fileNamePrefix = 'TestAssert.TestWarningVariable', options = '', outputFormat = 'mat', variableFilter = '.*', cflags = '', simflags = ''",
+simulationOptions = "startTime = 0.0, stopTime = 1.0, numberOfIntervals = 500, tolerance = 1e-6, method = 'dassl', fileNamePrefix = 'TestAssert.TestWarningVariable', options = '', outputFormat = 'mat', variableFilter = '.*', cflags = '', simflags = ''",
 messages = "LOG_SUCCESS       | info    | The initialization finished successfully without homotopy method.
 LOG_ASSERT        | info    | [<interactive>:7:5-7:76:writable]
 |                 | |       | The following assertion has been violated at time 0.834000
 |                 | |       | ((m3.x < 5.0)) --> \"Variable x is probably too big\"
 LOG_SUCCESS       | info    | The simulation finished successfully.
 "
 end SimulationResult;
 ""
 record SimulationResult
 resultFile = "TestAssert.TestWarningRecurring_res.mat",
-simulationOptions = "startTime = 0.0, stopTime = 1.0, numberOfIntervals = 500, tolerance = 1e-06, method = 'dassl', fileNamePrefix = 'TestAssert.TestWarningRecurring', options = '', outputFormat = 'mat', variableFilter = '.*', cflags = '', simflags = ''",
+simulationOptions = "startTime = 0.0, stopTime = 1.0, numberOfIntervals = 500, tolerance = 1e-6, method = 'dassl', fileNamePrefix = 'TestAssert.TestWarningRecurring', options = '', outputFormat = 'mat', variableFilter = '.*', cflags = '', simflags = ''",
 messages = "LOG_SUCCESS       | info    | The initialization finished successfully without homotopy method.
 LOG_ASSERT        | info    | [<interactive>:7:5-7:76:writable]
 |                 | |       | The following assertion has been violated at time 0.158000
 |                 | |       | ((m3.x < 5.0)) --> \"Variable x is probably too big\"
 LOG_SUCCESS       | info    | The simulation finished successfully.
 "
 end SimulationResult;
 ""
 record SimulationResult
 resultFile = "",
-simulationOptions = "startTime = 0.0, stopTime = 1.0, numberOfIntervals = 500, tolerance = 1e-06, method = 'dassl', fileNamePrefix = 'TestAssert.TestErrorConstant', options = '', outputFormat = 'mat', variableFilter = '.*', cflags = '', simflags = ''",
+simulationOptions = "startTime = 0.0, stopTime = 1.0, numberOfIntervals = 500, tolerance = 1e-6, method = 'dassl', fileNamePrefix = 'TestAssert.TestErrorConstant', options = '', outputFormat = 'mat', variableFilter = '.*', cflags = '', simflags = ''",
 messages = "Simulation execution failed for model: TestAssert.TestErrorConstant
 LOG_ASSERT        | error   | [<interactive>:6:5-6:44:writable]
 |                 | |       | The following assertion has been violated during initialization at time 0.000000
 |                 | |       | ((false)) --> \"Variable x is too big\"
 LOG_ASSERT        | info    | simulation terminated by an assertion at initialization
 "
 end SimulationResult;
 ""
 record SimulationResult
 resultFile = "",
-simulationOptions = "startTime = 0.0, stopTime = 1.0, numberOfIntervals = 500, tolerance = 1e-06, method = 'dassl', fileNamePrefix = 'TestAssert.TestErrorVariable', options = '', outputFormat = 'mat', variableFilter = '.*', cflags = '', simflags = ''",
-messages = "Simulation execution failed for model: TestAssert.TestErrorVariable
-LOG_SUCCESS       | info    | The initialization finished successfully without homotopy method.
-LOG_ASSERT        | info    | [<interactive>:7:5-7:76:writable]
-|                 | |       | The following assertion has been violated at time 0.250000
-|                 | |       | ((m2.x < 5.0)) --> \"Variable x is probably too big\"
-LOG_ASSERT        | info    | [<interactive>:6:5-6:44:writable]
-|                 | |       | The following assertion has been violated at time 0.500000
-|                 | |       | ((m2.x < 10.0)) --> \"Variable x is too big\"
-LOG_ASSERT        | error   | No event found, but assert was triggered. Throwing now!
-"
+simulationOptions = "startTime = 0.0, stopTime = 1.0, numberOfIntervals = 500, tolerance = 1e-6, method = 'dassl', fileNamePrefix = 'TestAssert.TestErrorVariable', options = '', outputFormat = 'mat', variableFilter = '.*', cflags = '', simflags = ''",
+messages = "Failed to build model: TestAssert.TestErrorVariable"
 end SimulationResult;
-""
+"Error: Error building simulator. Build log: make: Entering directory '/c/dev/jenkins/ws/Windows/OM_Win/TESTSU~1/SIMULA~1/modelica/asserts/TESTAS~3.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=TestAssert_TestErrorVariable -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 TestAssert.TestErrorVariable.o TestAssert.TestErrorVariable.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=TestAssert_TestErrorVariable -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 TestAssert.TestErrorVariable_functions.o TestAssert.TestErrorVariable_functions.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=TestAssert_TestErrorVariable -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 TestAssert.TestErrorVariable_records.o TestAssert.TestErrorVariable_records.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=TestAssert_TestErrorVariable -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 TestAssert.TestErrorVariable_01exo.o TestAssert.TestErrorVariable_01exo.c
+/bin/sh: line 1: /ucrt64/bin/clang: Resource temporarily unavailable
+make: *** [<builtin>: TestAssert.TestErrorVariable_01exo.o] Error 126
+make: Leaving directory '/c/dev/jenkins/ws/Windows/OM_Win/TESTSU~1/SIMULA~1/modelica/asserts/TESTAS~3.MOS'
+RESULT: 2
+"
'' 
Equation mismatch: omc-diff says: 
----------Failed 'S' 'F'
Line 54: Text differs:
expected: messages = "Simulation execution failed for model: TestAssert.TestErrorVariable
got:      messages = "Failed to build model: TestAssert.TestErrorVariable"

== 1 out of 1 tests failed [simulation/modelica/asserts/TestAssert.mos_temp2376, time: 62]