Skip to content

Failed

simulation_modelica_parameters.parameterTest2.mos (from (result.xml))

Failing for the past 3 builds (Since #3809 )
Took 8 sec.

Stacktrace

Output mismatch (see stdout for details)

Standard Output

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

==== Log C:\WINDOWS\TEMP/omc-rtest-OpenModelica/simulation/modelica/parameters/parameterTest2.mos_temp1160/log-parameterTest2.mos
true
""
true
""

BEGINNING of preOptModule 'evaluateParameters'
********************************************************************************


########################################
DAE before evaluating parameters
########################################


unknown partition
========================================

no matching



BackendDAEType: simulation


Known variables only depending on parameters and constants - globalKnownVars (5)
========================================
1: e:PARAM()  = 5.0 + b  type: Real
2: d:PARAM()  = a + b  type: Real
3: c:PARAM()  = 2.0 * b  type: Real
4: b:PARAM()  = 5.0  type: Real
5: a:PARAM(final = true )  = b + c + e  type: Real



Structural parameters, final parameters and parameters with annotation(Evaluate=true) will be evaluated.

START evaluating parameters:
================================================================================
Number of parameters: 5
Number of parameters selected for evaluation: 1
Selected parameters for evaluation:
5

Adjacency Matrix (row: equation)
========================================
number of rows: 5
1: 4
2: 5 4
3: 4
4:
5: 4 3 1

Transposed Adjacency Matrix (row: variable)
========================================
number of rows: 5
1: 5 1
2: 2
3: 5 3
4: 5 4 3 2 1
5: 5 2


After evaluating the selected parameters:
================================================================================

All replacements:
Replacements: (4)
========================================
b -> 5.0
c -> 10.0
e -> 10.0
a -> 25.0

Replacements that will be replaced in the DAE:
Replacements: (4)
========================================
b -> 5.0
c -> 10.0
e -> 10.0
a -> 25.0

globalKnownVars (5)
========================================
1: e:PARAM(final = true )  = 5.0 + b  type: Real
2: d:PARAM()  = a + b  type: Real
3: c:PARAM(final = true )  = 2.0 * b  type: Real
4: b:PARAM(final = true )  = 5.0  type: Real
5: a:PARAM(final = true )  = 25.0  type: Real


mark: 1
markarr: 1,-1,1,1,1


After sorting parameters:
================================================================================
Order:
4
3
1
5
2


After replacing the evaluated parameters in parameter bindings:
================================================================================
All replacements:
Replacements: (5)
========================================
b -> 5.0
c -> 10.0
e -> 10.0
a -> 25.0
d -> 30.0

Replacements that will be replaced in the DAE:
Replacements: (5)
========================================
b -> 5.0
c -> 10.0
e -> 10.0
a -> 25.0
d -> 30.0

globalKnownVars (5)
========================================
1: e:PARAM(final = true )  = 10.0  type: Real
2: d:PARAM(final = true )  = 30.0  type: Real
3: c:PARAM(final = true )  = 10.0  type: Real
4: b:PARAM(final = true )  = 5.0  type: Real
5: a:PARAM(final = true )  = 25.0  type: Real


mark: 1
markarr: 1,-1,1,1,1


After replacing the evaluated parameters in variable bindings and start attributes:
================================================================================
All replacements:
Replacements: (5)
========================================
b -> 5.0
c -> 10.0
e -> 10.0
a -> 25.0
d -> 30.0

Replacements that will be replaced in the DAE:
Replacements: (5)
========================================
b -> 5.0
c -> 10.0
e -> 10.0
a -> 25.0
d -> 30.0

globalKnownVars (5)
========================================
1: e:PARAM(final = true )  = 10.0  type: Real
2: d:PARAM(final = true )  = 30.0  type: Real
3: c:PARAM(final = true )  = 10.0  type: Real
4: b:PARAM(final = true )  = 5.0  type: Real
5: a:PARAM(final = true )  = 25.0  type: Real


mark: 1
markarr: 1,-1,1,1,1


########################################
DAE after replacing the evaluated parameters
########################################


unknown partition
========================================

no matching



BackendDAEType: simulation


Known variables only depending on parameters and constants - globalKnownVars (5)
========================================
1: e:PARAM(final = true )  = 10.0  type: Real
2: d:PARAM(final = true )  = 30.0  type: Real
3: c:PARAM(final = true )  = 10.0  type: Real
4: b:PARAM(final = true )  = 5.0  type: Real
5: a:PARAM(final = true )  = 25.0  type: Real



END of preOptModule 'evaluateParameters'
********************************************************************************

record SimulationResult
    resultFile = "",
    simulationOptions = "startTime = 0.0, stopTime = 1.0, numberOfIntervals = 500, tolerance = 1e-6, method = 'dassl', fileNamePrefix = 'parameterTest2', options = '', outputFormat = 'mat', variableFilter = '.*', cflags = '', simflags = ''",
    messages = "Failed to build model: parameterTest2"
end SimulationResult;
"Error: Error building simulator. Build log: make: Entering directory '/c/dev/jenkins/ws/Windows/OM_Win/TESTSU~1/SIMULA~1/modelica/PARAME~1/PAC87D~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=parameterTest2 -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 parameterTest2.o parameterTest2.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=parameterTest2 -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 parameterTest2_functions.o parameterTest2_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=parameterTest2 -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 parameterTest2_records.o parameterTest2_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=parameterTest2 -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 parameterTest2_01exo.o parameterTest2_01exo.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=parameterTest2 -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 parameterTest2_02nls.o parameterTest2_02nls.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=parameterTest2 -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 parameterTest2_03lsy.o parameterTest2_03lsy.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=parameterTest2 -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 parameterTest2_03lsy.o parameterTest2_03lsy.c
1.C:/OMDevUCRT/tools/msys/ucrt64/lib/clang/17/include/mmintrin.h:220:43: current parser token '('
2.C:/OMDevUCRT/tools/msys/ucrt64/lib/clang/17/include/mmintrin.h:219:1: parsing function body '_mm_unpackhi_pi8'
3.C:/OMDevUCRT/tools/msys/ucrt64/lib/clang/17/include/mmintrin.h:219:1: in compound statement ('{}')
Exception Code: 0xC000001D
#0 0x00007ff95fefb736 (C:\\OMDevUCRT\\tools\\msys\\ucrt64\\bin\\libLLVM-17.dll+0x1b736)
#1 0x00007ff99720e6d5 (C:\\WINDOWS\\System32\\ucrtbase.dll+0x7e6d5)
#2 0x0000001f00000003 
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/parameterTest2_03lsy-3c98d3.c
clang: note: diagnostic msg: C:/WINDOWS/TEMP/parameterTest2_03lsy-3c98d3.sh
clang: note: diagnostic msg: 

********************
make: *** [<builtin>: parameterTest2_03lsy.o] Error 1
make: Leaving directory '/c/dev/jenkins/ws/Windows/OM_Win/TESTSU~1/SIMULA~1/modelica/PARAME~1/PAC87D~1.MOS'
RESULT: 2
"
'' 
Equation mismatch: diff says: 
--- "C:\\WINDOWS\\TEMP/omc-rtest-OpenModelica/simulation/modelica/parameters/parameterTest2.mos_temp1160/equations-expected"2024-06-13 14:23:20.946304600 +0200
+++ "C:\\WINDOWS\\TEMP/omc-rtest-OpenModelica/simulation/modelica/parameters/parameterTest2.mos_temp1160/equations-got"2024-06-13 14:23:24.369305200 +0200
@@ -195,12 +195,47 @@
 
 END of preOptModule 'evaluateParameters'
 ********************************************************************************
 
 record SimulationResult
-resultFile = "parameterTest2_res.mat",
-simulationOptions = "startTime = 0.0, stopTime = 1.0, numberOfIntervals = 500, tolerance = 1e-06, method = 'dassl', fileNamePrefix = 'parameterTest2', 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 = 'parameterTest2', options = '', outputFormat = 'mat', variableFilter = '.*', cflags = '', simflags = ''",
+messages = "Failed to build model: parameterTest2"
 end SimulationResult;
-""
+"Error: Error building simulator. Build log: make: Entering directory '/c/dev/jenkins/ws/Windows/OM_Win/TESTSU~1/SIMULA~1/modelica/PARAME~1/PAC87D~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=parameterTest2 -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 parameterTest2.o parameterTest2.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=parameterTest2 -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 parameterTest2_functions.o parameterTest2_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=parameterTest2 -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 parameterTest2_records.o parameterTest2_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=parameterTest2 -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 parameterTest2_01exo.o parameterTest2_01exo.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=parameterTest2 -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 parameterTest2_02nls.o parameterTest2_02nls.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=parameterTest2 -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 parameterTest2_03lsy.o parameterTest2_03lsy.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=parameterTest2 -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 parameterTest2_03lsy.o parameterTest2_03lsy.c
+1. C:/OMDevUCRT/tools/msys/ucrt64/lib/clang/17/include/mmintrin.h:220:43: current parser token '('
+2. C:/OMDevUCRT/tools/msys/ucrt64/lib/clang/17/include/mmintrin.h:219:1: parsing function body '_mm_unpackhi_pi8'
+3. C:/OMDevUCRT/tools/msys/ucrt64/lib/clang/17/include/mmintrin.h:219:1: in compound statement ('{}')
+Exception Code: 0xC000001D
+#0 0x00007ff95fefb736 (C:\\OMDevUCRT\\tools\\msys\\ucrt64\\bin\\libLLVM-17.dll+0x1b736)
+#1 0x00007ff99720e6d5 (C:\\WINDOWS\\System32\\ucrtbase.dll+0x7e6d5)
+#2 0x0000001f00000003 
+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/parameterTest2_03lsy-3c98d3.c
+clang: note: diagnostic msg: C:/WINDOWS/TEMP/parameterTest2_03lsy-3c98d3.sh
+clang: note: diagnostic msg: 
+
+********************
+make: *** [<builtin>: parameterTest2_03lsy.o] Error 1
+make: Leaving directory '/c/dev/jenkins/ws/Windows/OM_Win/TESTSU~1/SIMULA~1/modelica/PARAME~1/PAC87D~1.MOS'
+RESULT: 2
+"
'' 
Equation mismatch: omc-diff says: 
Failed 'p' '"'
Line 200: Text differs:
expected: resultFile = "parameterTest
got:      resultFile = "",

== 1 out of 1 tests failed [simulation/modelica/parameters/parameterTest2.mos_temp1160, time: 8]