Skip to content

Regression

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

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

Stacktrace

Output mismatch (see stdout for details)

Standard Output

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

==== Log C:\Windows\TEMP/omc-rtest-OpenModelica/simulation/modelica/commonSubExp/cseFunctionCall4c.mos_temp3088/log-cseFunctionCall4c.mos
true
""
true
""
true
""



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

########### Updated Variable List (simulation) (7)
========================================
1: y.r1[3]:VARIABLE()  type: Real [3]
2: y.r1[2]:VARIABLE()  type: Real [3]
3: y.r1[1]:VARIABLE()  type: Real [3]
4: $cse2:VARIABLE(protected = true )  type: Real unreplaceable
5: $cse1.r1[1]:VARIABLE(protected = true )  type: Real [3] unreplaceable
6: $cse1.r1[2]:VARIABLE(protected = true )  type: Real [3] unreplaceable
7: $cse1.r1[3]:VARIABLE(protected = true )  type: Real [3] unreplaceable


########### Updated Equation List (simulation) (3, 7)
========================================
1/1 (3): CSE.R({y.r1[1], y.r1[2], y.r1[3]}) = $cse1   [dynamic |0|0|0|0|]
2/4 (1): $cse2 = sin(time)   [unknown |0|0|0|0|]
3/5 (3): $cse1 = CSE.f3(time, $cse2)   [unknown |0|0|0|0|]


########### CSE Replacements (2/45)
========================================
1: $cse1 - CSE.f3(time, $cse2) - {}
2: $cse2 - sin(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/CSAD98~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
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_functions.o CSE.FunctionCallTest4_functions.c
1.C:/OMDevUCRT/tools/msys/ucrt64/lib/clang/17/include/avx512bwintrin.h:708:69: current parser token ')'
2.C:/OMDevUCRT/tools/msys/ucrt64/lib/clang/17/include/avx512bwintrin.h:707:1: parsing function body '_mm512_avg_epu8'
3.C:/OMDevUCRT/tools/msys/ucrt64/lib/clang/17/include/avx512bwintrin.h:707:1: in compound statement ('{}')
Exception Code: 0xC000001D
0x00007FFB4909B736 <unknown module>
0x00007FFB89B3E6D5 <unknown module>
0x0000000900000003 <unknown module>
0x0000002000000000 <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: Error generating preprocessed source(s).
make: *** [<builtin>: CSE.FunctionCallTest4_functions.o] Error 1
make: Leaving directory '/c/dev/jenkins/ws/Windows/OM_Win/TESTSU~1/SIMULA~1/modelica/COMMON~1/CSAD98~1.MOS'
RESULT: 2
"
'' 
Equation mismatch: diff says: 
--- "C:\\Windows\\TEMP/omc-rtest-OpenModelica/simulation/modelica/commonSubExp/cseFunctionCall4c.mos_temp3088/equations-expected"2024-06-13 15:17:38.370590700 +0200
+++ "C:\\Windows\\TEMP/omc-rtest-OpenModelica/simulation/modelica/commonSubExp/cseFunctionCall4c.mos_temp3088/equations-got"2024-06-13 15:17:40.631573700 +0200
@@ -32,12 +32,36 @@
 ########### CSE Replacements (2/45)
 ========================================
 1: $cse1 - CSE.f3(time, $cse2) - {}
 2: $cse2 - sin(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/CSAD98~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
+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_functions.o CSE.FunctionCallTest4_functions.c
+1. C:/OMDevUCRT/tools/msys/ucrt64/lib/clang/17/include/avx512bwintrin.h:708:69: current parser token ')'
+2. C:/OMDevUCRT/tools/msys/ucrt64/lib/clang/17/include/avx512bwintrin.h:707:1: parsing function body '_mm512_avg_epu8'
+3. C:/OMDevUCRT/tools/msys/ucrt64/lib/clang/17/include/avx512bwintrin.h:707:1: in compound statement ('{}')
+Exception Code: 0xC000001D
+0x00007FFB4909B736 <unknown module>
+0x00007FFB89B3E6D5 <unknown module>
+0x0000000900000003 <unknown module>
+0x0000002000000000 <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: Error generating preprocessed source(s).
+make: *** [<builtin>: CSE.FunctionCallTest4_functions.o] Error 1
+make: Leaving directory '/c/dev/jenkins/ws/Windows/OM_Win/TESTSU~1/SIMULA~1/modelica/COMMON~1/CSAD98~1.MOS'
+RESULT: 2
+"
'' 
Equation mismatch: omc-diff says: 
Failed 'C' '"'
Line 37: Text differs:
expected: resultFile = "CSE.FunctionCallTest
got:      resultFile = "",

== 1 out of 1 tests failed [simulation/modelica/commonSubExp/cseFunctionCall4c.mos_temp3088, time: 28]