Skip to content

Regression

simulation_modelica_commonSubExp.cseFunctionCall4d.mos (from (result.xml))

Failing for the past 1 build (Since #3850 )
Took 25 sec.

Stacktrace

Output mismatch (see stdout for details)

Standard Output

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

==== Log C:\Users\OPENMO~1\AppData\Local\Temp/omc-rtest-OpenModelica/simulation/modelica/commonSubExp/cseFunctionCall4d.mos_temp7684/log-cseFunctionCall4d.mos
true
""
true
""
true
""



###############################################################
Final Results
###############################################################

########### Updated Variable List (simulation) (2)
========================================
1: y:VARIABLE()  type: Real
2: $cse1:VARIABLE(protected = true )  type: Real unreplaceable


########### Updated Equation List (simulation) (2, 2)
========================================
1/1 (1): $cse1 = CSE.f3(time)   [unknown |0|0|0|0|]
2/2 (1): y = CSE.f4(time, $cse1)   [unknown |0|0|0|0|]


########### CSE Replacements (2/43)
========================================
1: y - CSE.f4(time, $cse1) - {}
2: $cse1 - CSE.f3(time) - {}
record SimulationResult
    resultFile = "",
    simulationOptions = "startTime = 0.0, stopTime = 1.0, numberOfIntervals = 500, tolerance = 1e-6, method = 'dassl', fileNamePrefix = 'CSE.FunctionCallTest4', options = '', outputFormat = 'mat', variableFilter = '.*', cflags = '', simflags = ''",
    messages = "Failed to build model: CSE.FunctionCallTest4"
end SimulationResult;
"Error: Error building simulator. Build log: make: Entering directory '/c/dev/jenkins/ws/Windows/OM_Win/TESTSU~1/SIMULA~1/modelica/COMMON~1/CS8950~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=CSE_FunctionCallTest4 -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 CSE.FunctionCallTest4.o CSE.FunctionCallTest4.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=CSE_FunctionCallTest4 -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 CSE.FunctionCallTest4_functions.o CSE.FunctionCallTest4_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=CSE_FunctionCallTest4 -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 CSE.FunctionCallTest4_records.o CSE.FunctionCallTest4_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=CSE_FunctionCallTest4 -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 CSE.FunctionCallTest4_01exo.o CSE.FunctionCallTest4_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=CSE_FunctionCallTest4 -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 CSE.FunctionCallTest4_01exo.o CSE.FunctionCallTest4_01exo.c
1.C:/OMDevUCRT/tools/msys/ucrt64/include/psdk_inc/intrin-impl.h:469:2: current parser token 'undef'
Exception Code: 0xC000001D
#0 0x00007fff95ffb736 (C:\\OMDevUCRT\\tools\\msys\\ucrt64\\bin\\libLLVM-17.dll+0x1b736)
#1 0x00007ff830eae6d5 (C:\\WINDOWS\\System32\\ucrtbase.dll+0x7e6d5)
#2 0x0000004300000003 
#3 0x0000022ea63e0000 
#4 0x0000000000000016 
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:/Users/OPENMO~1/AppData/Local/Temp/CSE-0dd545.c
clang: note: diagnostic msg: C:/Users/OPENMO~1/AppData/Local/Temp/CSE-0dd545.sh
clang: note: diagnostic msg: 

********************
make: *** [<builtin>: CSE.FunctionCallTest4_01exo.o] Error 1
make: Leaving directory '/c/dev/jenkins/ws/Windows/OM_Win/TESTSU~1/SIMULA~1/modelica/COMMON~1/CS8950~1.MOS'
RESULT: 2
"
'' 
Equation mismatch: diff says: 
--- "C:\\Users\\OPENMO~1\\AppData\\Local\\Temp/omc-rtest-OpenModelica/simulation/modelica/commonSubExp/cseFunctionCall4d.mos_temp7684/equations-expected"2024-07-01 14:48:40.995466400 +0200
+++ "C:\\Users\\OPENMO~1\\AppData\\Local\\Temp/omc-rtest-OpenModelica/simulation/modelica/commonSubExp/cseFunctionCall4d.mos_temp7684/equations-got"2024-07-01 14:48:44.270465500 +0200
@@ -26,12 +26,45 @@
 ########### CSE Replacements (2/43)
 ========================================
 1: y - CSE.f4(time, $cse1) - {}
 2: $cse1 - CSE.f3(time) - {}
 record SimulationResult
-resultFile = "CSE.FunctionCallTest4_res.mat",
-simulationOptions = "startTime = 0.0, stopTime = 1.0, numberOfIntervals = 500, tolerance = 1e-06, method = 'dassl', fileNamePrefix = 'CSE.FunctionCallTest4', options = '', outputFormat = 'mat', variableFilter = '.*', cflags = '', simflags = ''",
-messages = "LOG_SUCCESS       | info    | The initialization finished successfully without homotopy method.
-LOG_SUCCESS       | info    | The simulation finished successfully.
-"
+resultFile = "",
+simulationOptions = "startTime = 0.0, stopTime = 1.0, numberOfIntervals = 500, tolerance = 1e-6, method = 'dassl', fileNamePrefix = 'CSE.FunctionCallTest4', options = '', outputFormat = 'mat', variableFilter = '.*', cflags = '', simflags = ''",
+messages = "Failed to build model: CSE.FunctionCallTest4"
 end SimulationResult;
-""
+"Error: Error building simulator. Build log: make: Entering directory '/c/dev/jenkins/ws/Windows/OM_Win/TESTSU~1/SIMULA~1/modelica/COMMON~1/CS8950~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=CSE_FunctionCallTest4 -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 CSE.FunctionCallTest4.o CSE.FunctionCallTest4.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=CSE_FunctionCallTest4 -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 CSE.FunctionCallTest4_functions.o CSE.FunctionCallTest4_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=CSE_FunctionCallTest4 -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 CSE.FunctionCallTest4_records.o CSE.FunctionCallTest4_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=CSE_FunctionCallTest4 -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 CSE.FunctionCallTest4_01exo.o CSE.FunctionCallTest4_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=CSE_FunctionCallTest4 -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 CSE.FunctionCallTest4_01exo.o CSE.FunctionCallTest4_01exo.c
+1. C:/OMDevUCRT/tools/msys/ucrt64/include/psdk_inc/intrin-impl.h:469:2: current parser token 'undef'
+Exception Code: 0xC000001D
+#0 0x00007fff95ffb736 (C:\\OMDevUCRT\\tools\\msys\\ucrt64\\bin\\libLLVM-17.dll+0x1b736)
+#1 0x00007ff830eae6d5 (C:\\WINDOWS\\System32\\ucrtbase.dll+0x7e6d5)
+#2 0x0000004300000003 
+#3 0x0000022ea63e0000 
+#4 0x0000000000000016 
+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:/Users/OPENMO~1/AppData/Local/Temp/CSE-0dd545.c
+clang: note: diagnostic msg: C:/Users/OPENMO~1/AppData/Local/Temp/CSE-0dd545.sh
+clang: note: diagnostic msg: 
+
+********************
+make: *** [<builtin>: CSE.FunctionCallTest4_01exo.o] Error 1
+make: Leaving directory '/c/dev/jenkins/ws/Windows/OM_Win/TESTSU~1/SIMULA~1/modelica/COMMON~1/CS8950~1.MOS'
+RESULT: 2
+"
'' 
Equation mismatch: omc-diff says: 
Failed 'C' '"'
Line 31: Text differs:
expected: resultFile = "CSE.FunctionCallTest
got:      resultFile = "",

== 1 out of 1 tests failed [simulation/modelica/commonSubExp/cseFunctionCall4d.mos_temp7684, time: 25]