Skip to content

Regression

simulation_modelica_nonlinear_system.nonlinearDelayTest.mos (from (result.xml))

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

Stacktrace

Output mismatch (see stdout for details)

Standard Output

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

==== Log C:\Windows\TEMP/omc-rtest-OpenModelica/simulation/modelica/nonlinear_system/nonlinearDelayTest.mos_temp7160/log-nonlinearDelayTest.mos
true
""
true
""

Nonlinear iteration variables with default zero start attribute in NLSJac0. (1)
========================================
1: x1:VARIABLE()  type: Real

Info: Only non-linear iteration variables in non-linear eqation systems require start values. All other start values have no influence on convergence and are ignored. Use "-d=dumpLoops" to show all loops. In OMEdit Tools->Options->Simulation->Additional Translation Flags, in OMNotebook call setCommandLineOptions("-d=dumpLoops")

record SimulationResult
    resultFile = "",
    simulationOptions = "startTime = 0.0, stopTime = 1.0, numberOfIntervals = 500, tolerance = 1e-6, method = 'dassl', fileNamePrefix = 'nonlinear_system.nonlinearDelayTest', options = '', outputFormat = 'mat', variableFilter = '.*', cflags = '', simflags = ''",
    messages = "Failed to build model: nonlinear_system.nonlinearDelayTest"
end SimulationResult;
"Warning: Assuming fixed start value for the following 1 variables:
         y:VARIABLE(fixed = true )  type: Real
Error: Error building simulator. Build log: make: Entering directory '/c/dev/jenkins/ws/Windows/OM_Win/TESTSU~1/SIMULA~1/modelica/NONLIN~1/NO1A76~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=nonlinear_system_nonlinearDelayTest -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=1 -DOMC_NDELAY_EXPRESSIONS=2 -DOMC_NVAR_STRING=0  -c -o nonlinear_system.nonlinearDelayTest.o nonlinear_system.nonlinearDelayTest.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=nonlinear_system_nonlinearDelayTest -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=1 -DOMC_NDELAY_EXPRESSIONS=2 -DOMC_NVAR_STRING=0 -c -o nonlinear_system.nonlinearDelayTest.o nonlinear_system.nonlinearDelayTest.c
1.C:/dev/jenkins/ws/Windows/OM_Win/build/include/omc/c/util/omc_error.h:116:12: current parser token ','
Exception Code: 0xC000001D
0x00007FFB4909B736 <unknown module>
0x00007FFB89B3E6D5 <unknown module>
0x0000001B00000003 <unknown module>
0x00000003000E0000 <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/nonlinear_system-aa5afa.c
clang: note: diagnostic msg: C:/Windows/TEMP/nonlinear_system-aa5afa.sh
clang: note: diagnostic msg: 

********************
make: *** [<builtin>: nonlinear_system.nonlinearDelayTest.o] Error 1
make: Leaving directory '/c/dev/jenkins/ws/Windows/OM_Win/TESTSU~1/SIMULA~1/modelica/NONLIN~1/NO1A76~1.MOS'
RESULT: 2
"



'' 
Equation mismatch: diff says: 
--- "C:\\Windows\\TEMP/omc-rtest-OpenModelica/simulation/modelica/nonlinear_system/nonlinearDelayTest.mos_temp7160/equations-expected"2024-06-13 15:16:58.410344200 +0200
+++ "C:\\Windows\\TEMP/omc-rtest-OpenModelica/simulation/modelica/nonlinear_system/nonlinearDelayTest.mos_temp7160/equations-got"2024-06-13 15:17:00.800384800 +0200
@@ -8,17 +8,47 @@
 1: x1:VARIABLE()  type: Real
 
 Info: Only non-linear iteration variables in non-linear eqation systems require start values. All other start values have no influence on convergence and are ignored. Use "-d=dumpLoops" to show all loops. In OMEdit Tools->Options->Simulation->Additional Translation Flags, in OMNotebook call setCommandLineOptions("-d=dumpLoops")
 
 record SimulationResult
-resultFile = "nonlinear_system.nonlinearDelayTest_res.mat",
-simulationOptions = "startTime = 0.0, stopTime = 1.0, numberOfIntervals = 500, tolerance = 1e-06, method = 'dassl', fileNamePrefix = 'nonlinear_system.nonlinearDelayTest', 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 = 'nonlinear_system.nonlinearDelayTest', options = '', outputFormat = 'mat', variableFilter = '.*', cflags = '', simflags = ''",
+messages = "Failed to build model: nonlinear_system.nonlinearDelayTest"
 end SimulationResult;
 "Warning: Assuming fixed start value for the following 1 variables:
 y:VARIABLE(fixed = true )  type: Real
+Error: Error building simulator. Build log: make: Entering directory '/c/dev/jenkins/ws/Windows/OM_Win/TESTSU~1/SIMULA~1/modelica/NONLIN~1/NO1A76~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=nonlinear_system_nonlinearDelayTest -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=1 -DOMC_NDELAY_EXPRESSIONS=2 -DOMC_NVAR_STRING=0  -c -o nonlinear_system.nonlinearDelayTest.o nonlinear_system.nonlinearDelayTest.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=nonlinear_system_nonlinearDelayTest -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=1 -DOMC_NDELAY_EXPRESSIONS=2 -DOMC_NVAR_STRING=0 -c -o nonlinear_system.nonlinearDelayTest.o nonlinear_system.nonlinearDelayTest.c
+1. C:/dev/jenkins/ws/Windows/OM_Win/build/include/omc/c/util/omc_error.h:116:12: current parser token ','
+Exception Code: 0xC000001D
+0x00007FFB4909B736 <unknown module>
+0x00007FFB89B3E6D5 <unknown module>
+0x0000001B00000003 <unknown module>
+0x00000003000E0000 <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/nonlinear_system-aa5afa.c
+clang: note: diagnostic msg: C:/Windows/TEMP/nonlinear_system-aa5afa.sh
+clang: note: diagnostic msg: 
+
+********************
+make: *** [<builtin>: nonlinear_system.nonlinearDelayTest.o] Error 1
+make: Leaving directory '/c/dev/jenkins/ws/Windows/OM_Win/TESTSU~1/SIMULA~1/modelica/NONLIN~1/NO1A76~1.MOS'
+RESULT: 2
 "
-{1.572302755514847,1.618421380238098,1.738059371463845,1.818945608412304,1.907039392827518}
-{-0.7861513777574233,-0.7500029985869119,-0.6996133736697597,-0.609294856314359,-0.4995556640036673}
-{0.0,0.201552919327918,0.4383459284777347,0.7178289496303617,1.04466743649189}
+
+
+
'' 
Equation mismatch: omc-diff says: 
Failed 'n' '"'
Line 13: Text differs:
expected: resultFile = "nonlinear_system.nonlinearDelayTest_res.mat",
got:      resultFile = "",

== 1 out of 1 tests failed [simulation/modelica/nonlinear_system/nonlinearDelayTest.mos_temp7160, time: 20]