Regression
openmodelica_cruntime_optimization_basic.BRcon5.mos (from (result.xml))
Stacktrace
Output mismatch (see stdout for details)
Standard Output
+ BatchReactorCon5 ... equation mismatch [time: 1] ==== Log C:\Windows\TEMP/omc-rtest-OpenModelica/openmodelica/cruntime/optimization/basic/BRcon5.mos_temp408/log-BRcon5.mos true "" true "" true "" record SimulationResult resultFile = "", simulationOptions = "startTime = 0.0, stopTime = 1.0, numberOfIntervals = 20, tolerance = 1e-8, method = 'optimization', fileNamePrefix = 'nmpcBatchReactorCon4', options = '', outputFormat = 'mat', variableFilter = '.*', cflags = '', simflags = ''", messages = "Failed to build model: nmpcBatchReactorCon4" 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/BRCON5~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=nmpcBatchReactorCon4 -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 nmpcBatchReactorCon4.o nmpcBatchReactorCon4.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=nmpcBatchReactorCon4 -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 nmpcBatchReactorCon4.o nmpcBatchReactorCon4.c 1.C:/OMDevUCRT/tools/msys/ucrt64/lib/clang/17/include/avx512fp16intrin.h:3218:2: current parser token 'define' 2.C:/OMDevUCRT/tools/msys/ucrt64/lib/clang/17/include/avx512fp16intrin.h:3197:79: parsing function body '_mm512_maskz_fcmadd_pch' 3.C:/OMDevUCRT/tools/msys/ucrt64/lib/clang/17/include/avx512fp16intrin.h:3197:79: in compound statement ('{}') Exception Code: 0xC000001D #0 0x00007ff9fe97b736 (C:\\OMDevUCRT\\tools\\msys\\ucrt64\\bin\\libLLVM-17.dll+0x1b736) #1 0x00007ffa8954e695 (C:\\Windows\\System32\\ucrtbase.dll+0x7e695) #2 0x0000000000000003 #3 0x0000000100000000 #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:/Windows/TEMP/nmpcBatchReactorCon4-470404.c clang: note: diagnostic msg: C:/Windows/TEMP/nmpcBatchReactorCon4-470404.sh clang: note: diagnostic msg: ******************** make: *** [<builtin>: nmpcBatchReactorCon4.o] Error 1 make: Leaving directory '/c/dev/jenkins/ws/Windows/OM_Win/TESTSU~1/OPENMO~1/cruntime/OPTIMI~1/basic/BRCON5~1.MOS' RESULT: 2 " "Error in compareSimulationResults" "Warning: 'compareSimulationResults' is deprecated. It is recommended to use 'diffSimulationResults' instead. Error: Failed to open simulation result nmpcBatchReactorCon4_res.mat: No such file or directory Error: Error opening file: nmpcBatchReactorCon4_res.mat " '' Equation mismatch: diff says: --- "C:\\Windows\\TEMP/omc-rtest-OpenModelica/openmodelica/cruntime/optimization/basic/BRcon5.mos_temp408/equations-expected"2024-05-08 15:08:37.114246100 +0200 +++ "C:\\Windows\\TEMP/omc-rtest-OpenModelica/openmodelica/cruntime/optimization/basic/BRcon5.mos_temp408/equations-got"2024-05-08 15:08:38.829248500 +0200 @@ -3,33 +3,49 @@ true "" true "" record SimulationResult -resultFile = "nmpcBatchReactorCon4_res.mat", -simulationOptions = "startTime = 0.0, stopTime = 1.0, numberOfIntervals = 20, tolerance = 1e-08, method = 'optimization', fileNamePrefix = 'nmpcBatchReactorCon4', options = '', outputFormat = 'mat', variableFilter = '.*', cflags = '', simflags = ''", -messages = "LOG_ASSERT | warning | The following assertion has been violated at time 0.000000 -| | | | (($con$cc2 >= 0.0)) --> \"Variable violating min constraint: 0.0 <= $con$cc2, has value: -1\" -LOG_SUCCESS | info | The initialization finished successfully without homotopy method. - -Optimizer Variables -======================================================== -State[0]:y1(start = 1, nominal = 1, min = 0, max = 1, init = 1) -State[1]:y2(start = 0, nominal = 1, min = 0, max = 1, init = 0) -Input[2]:u(start = 1, nominal = 1, min = 0, max = 5) --------------------------------------------------------- -number of nonlinear constraints: 4 -======================================================== +resultFile = "", +simulationOptions = "startTime = 0.0, stopTime = 1.0, numberOfIntervals = 20, tolerance = 1e-8, method = 'optimization', fileNamePrefix = 'nmpcBatchReactorCon4', options = '', outputFormat = 'mat', variableFilter = '.*', cflags = '', simflags = ''", +messages = "Failed to build model: nmpcBatchReactorCon4" +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/BRCON5~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=nmpcBatchReactorCon4 -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 nmpcBatchReactorCon4.o nmpcBatchReactorCon4.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=nmpcBatchReactorCon4 -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 nmpcBatchReactorCon4.o nmpcBatchReactorCon4.c +1. C:/OMDevUCRT/tools/msys/ucrt64/lib/clang/17/include/avx512fp16intrin.h:3218:2: current parser token 'define' +2. C:/OMDevUCRT/tools/msys/ucrt64/lib/clang/17/include/avx512fp16intrin.h:3197:79: parsing function body '_mm512_maskz_fcmadd_pch' +3. C:/OMDevUCRT/tools/msys/ucrt64/lib/clang/17/include/avx512fp16intrin.h:3197:79: in compound statement ('{}') +Exception Code: 0xC000001D +#0 0x00007ff9fe97b736 (C:\\OMDevUCRT\\tools\\msys\\ucrt64\\bin\\libLLVM-17.dll+0x1b736) +#1 0x00007ffa8954e695 (C:\\Windows\\System32\\ucrtbase.dll+0x7e695) +#2 0x0000000000000003 +#3 0x0000000100000000 +#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: +******************** -****************************************************************************** -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/nmpcBatchReactorCon4-470404.c +clang: note: diagnostic msg: C:/Windows/TEMP/nmpcBatchReactorCon4-470404.sh +clang: note: diagnostic msg: -LOG_SUCCESS | info | The simulation finished successfully. +******************** +make: *** [<builtin>: nmpcBatchReactorCon4.o] Error 1 +make: Leaving directory '/c/dev/jenkins/ws/Windows/OM_Win/TESTSU~1/OPENMO~1/cruntime/OPTIMI~1/basic/BRCON5~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 nmpcBatchReactorCon4_res.mat: No such file or directory +Error: Error opening file: nmpcBatchReactorCon4_res.mat " '' Equation mismatch: omc-diff says: Failed 'n' '"' Line 8: Text differs: expected: resultFile = "nmpcBatchReactorCon got: resultFile = "", == 1 out of 1 tests failed [openmodelica/cruntime/optimization/basic/BRcon5.mos_temp408, time: 13]