Skip to content

Regression

openmodelica_cruntime_optimization_basic.TFC.mos (from (result.xml))

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

Stacktrace

Output mismatch (see stdout for details)

Standard Output

 + testFinalCon                                                                      ... equation mismatch [time: 4]

==== Log C:\Windows\TEMP/omc-rtest-OpenModelica/openmodelica/cruntime/optimization/basic/TFC.mos_temp1882/log-TFC.mos
true
""
true
""
record SimulationResult
    resultFile = "",
    simulationOptions = "startTime = 0.0, stopTime = 5.0, numberOfIntervals = 50, tolerance = 1e-8, method = 'optimization', fileNamePrefix = 'testFinalCon', options = '', outputFormat = 'mat', variableFilter = '.*', cflags = '', simflags = ''",
    messages = "Failed to build model: testFinalCon"
end SimulationResult;
"Error: Error building simulator. Build log: make: Entering directory '/c/dev/jenkins/ws/Windows/OM_Win/TESTSU~1/OPENMO~1/cruntime/OPTIMI~1/basic/TFC~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=testFinalCon -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 testFinalCon.o testFinalCon.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=testFinalCon -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 testFinalCon_functions.o testFinalCon_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=testFinalCon -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 testFinalCon_records.o testFinalCon_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=testFinalCon -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 testFinalCon_01exo.o testFinalCon_01exo.c
LLVM ERROR: out of memory
Allocation failed
PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script.
Stack dump:
0.Program arguments: C:\\\\OMDevUCRT\\\\tools\\\\msys\\\\ucrt64\\\\bin\\\\clang.exe -municode -O0 -DOM_HAVE_PTHREADS -Wno-parentheses-equality -falign-functions -mstackrealign -msse2 -mfpmath=sse -IC:/dev/jenkins/ws/Windows/OM_Win/build/include/omc/c -IC:/dev/jenkins/ws/Windows/OM_Win/build/include/omc -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=testFinalCon -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 testFinalCon_01exo.o testFinalCon_01exo.c
1.C:/OMDevUCRT/tools/msys/ucrt64/lib/clang/17/include/avx512fintrin.h:8119:1: current parser token '{'
Exception Code: 0xC000001D
0x00007FFB4909B736 <unknown module>
0x00007FFB89B3E6D5 <unknown module>
0x0000000000000003 <unknown module>
0x00007FFB00000000 <unknown module>
0x0000000000000016 <unknown module>
clang: error: clang frontend command failed due to signal (use -v to see invocation)
clang version 17.0.6
Target: x86_64-w64-windows-gnu
Thread model: posix
InstalledDir: C:/OMDevUCRT/tools/msys/ucrt64/bin
clang: note: diagnostic msg: 
********************

PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT:
Preprocessed source(s) and associated run script(s) are located at:
clang: note: diagnostic msg: C:/Windows/TEMP/testFinalCon_01exo-fd1cf1.c
clang: note: diagnostic msg: C:/Windows/TEMP/testFinalCon_01exo-fd1cf1.sh
clang: note: diagnostic msg: 

********************
make: *** [<builtin>: testFinalCon_01exo.o] Error 1
make: Leaving directory '/c/dev/jenkins/ws/Windows/OM_Win/TESTSU~1/OPENMO~1/cruntime/OPTIMI~1/basic/TFC~1.MOS'
RESULT: 2
"
"Error in compareSimulationResults"
"Warning: 'compareSimulationResults' is deprecated. It is recommended to use 'diffSimulationResults' instead.
Error: Failed to open simulation result testFinalCon_res.mat: No such file or directory
Error: Error opening file: testFinalCon_res.mat
"
'' 
Equation mismatch: diff says: 
--- "C:\\Windows\\TEMP/omc-rtest-OpenModelica/openmodelica/cruntime/optimization/basic/TFC.mos_temp1882/equations-expected"2024-06-13 15:27:44.785666700 +0200
+++ "C:\\Windows\\TEMP/omc-rtest-OpenModelica/openmodelica/cruntime/optimization/basic/TFC.mos_temp1882/equations-got"2024-06-13 15:27:48.425483900 +0200
@@ -1,35 +1,50 @@
 true
 ""
 true
 ""
 record SimulationResult
-resultFile = "testFinalCon_res.mat",
-simulationOptions = "startTime = 0.0, stopTime = 5.0, numberOfIntervals = 50, tolerance = 1e-08, method = 'optimization', fileNamePrefix = 'testFinalCon', options = '', outputFormat = 'mat', variableFilter = '.*', cflags = '', simflags = ''",
-messages = "LOG_ASSERT        | warning | The following assertion has been violated at time 0.000000
-|                 | |       | (($finalCon$final_con2 >= 0.0 and $finalCon$final_con2 <= 0.0)) --> \"Variable violating min/max constraint: 0.0 <= $finalCon$final_con2 <= 0.0, has value: -4\"
-LOG_ASSERT        | warning | The following assertion has been violated at time 0.000000
-|                 | |       | (($finalCon$final_con1 >= 0.0 and $finalCon$final_con1 <= 0.0)) --> \"Variable violating min/max constraint: 0.0 <= $finalCon$final_con1 <= 0.0, has value: -1\"
-LOG_SUCCESS       | info    | The initialization finished successfully without homotopy method.
-
-Optimizer Variables
-========================================================
-State[0]:x1(start = 1, nominal = 2, min = -Inf, max = +Inf, init = 1)
-State[1]:x2(start = -1, nominal = 2, min = -Inf, max = +Inf, init = -1)
-Input[2]:u(start = 0, nominal = 1, min = -Inf, max = +Inf)
---------------------------------------------------------
-number of nonlinear constraints: 0
-========================================================
+resultFile = "",
+simulationOptions = "startTime = 0.0, stopTime = 5.0, numberOfIntervals = 50, tolerance = 1e-8, method = 'optimization', fileNamePrefix = 'testFinalCon', options = '', outputFormat = 'mat', variableFilter = '.*', cflags = '', simflags = ''",
+messages = "Failed to build model: testFinalCon"
+end SimulationResult;
+"Error: Error building simulator. Build log: make: Entering directory '/c/dev/jenkins/ws/Windows/OM_Win/TESTSU~1/OPENMO~1/cruntime/OPTIMI~1/basic/TFC~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=testFinalCon -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 testFinalCon.o testFinalCon.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=testFinalCon -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 testFinalCon_functions.o testFinalCon_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=testFinalCon -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 testFinalCon_records.o testFinalCon_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=testFinalCon -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 testFinalCon_01exo.o testFinalCon_01exo.c
+LLVM ERROR: out of memory
+Allocation failed
+PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script.
+Stack dump:
+0. Program arguments: C:\\\\OMDevUCRT\\\\tools\\\\msys\\\\ucrt64\\\\bin\\\\clang.exe -municode -O0 -DOM_HAVE_PTHREADS -Wno-parentheses-equality -falign-functions -mstackrealign -msse2 -mfpmath=sse -IC:/dev/jenkins/ws/Windows/OM_Win/build/include/omc/c -IC:/dev/jenkins/ws/Windows/OM_Win/build/include/omc -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=testFinalCon -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 testFinalCon_01exo.o testFinalCon_01exo.c
+1. C:/OMDevUCRT/tools/msys/ucrt64/lib/clang/17/include/avx512fintrin.h:8119:1: current parser token '{'
+Exception Code: 0xC000001D
+0x00007FFB4909B736 <unknown module>
+0x00007FFB89B3E6D5 <unknown module>
+0x0000000000000003 <unknown module>
+0x00007FFB00000000 <unknown module>
+0x0000000000000016 <unknown module>
+clang: error: clang frontend command failed due to signal (use -v to see invocation)
+clang version 17.0.6
+Target: x86_64-w64-windows-gnu
+Thread model: posix
+InstalledDir: C:/OMDevUCRT/tools/msys/ucrt64/bin
+clang: note: diagnostic msg: 
+********************
 
-******************************************************************************
-This program contains Ipopt, a library for large-scale nonlinear optimization.
-Ipopt is released as open source code under the Eclipse Public License (EPL).
-For more information visit https://github.com/coin-or/Ipopt
-******************************************************************************
+PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT:
+Preprocessed source(s) and associated run script(s) are located at:
+clang: note: diagnostic msg: C:/Windows/TEMP/testFinalCon_01exo-fd1cf1.c
+clang: note: diagnostic msg: C:/Windows/TEMP/testFinalCon_01exo-fd1cf1.sh
+clang: note: diagnostic msg: 
 
-LOG_SUCCESS       | info    | The simulation finished successfully.
+********************
+make: *** [<builtin>: testFinalCon_01exo.o] Error 1
+make: Leaving directory '/c/dev/jenkins/ws/Windows/OM_Win/TESTSU~1/OPENMO~1/cruntime/OPTIMI~1/basic/TFC~1.MOS'
+RESULT: 2
 "
-end SimulationResult;
-""
-{"Files Equal!"}
+"Error in compareSimulationResults"
 "Warning: 'compareSimulationResults' is deprecated. It is recommended to use 'diffSimulationResults' instead.
+Error: Failed to open simulation result testFinalCon_res.mat: No such file or directory
+Error: Error opening file: testFinalCon_res.mat
 "
'' 
Equation mismatch: omc-diff says: 
Failed 't' '"'
Line 6: Text differs:
expected: resultFile = "testFinalCon_res.mat",
got:      resultFile = "",

== 1 out of 1 tests failed [openmodelica/cruntime/optimization/basic/TFC.mos_temp1882, time: 21]