Regression
openmodelica_cruntime_optimization_basic.BRscale.mos (from (result.xml))
Stacktrace
Output mismatch (see stdout for details)
Standard Output
+ BatchReactor_scaling ... equation mismatch [time: 1] Can't spawn "cmd.exe": No such file or directory at ../../../../../rtest line 336. Not enough memory resources are available to process this command. ==== Log C:\Windows\TEMP/omc-rtest-OpenModelica/openmodelica/cruntime/optimization/basic/BRscale.mos_temp4389/log-BRscale.mos true "" true "" record SimulationResult resultFile = "", simulationOptions = "startTime = 0.0, stopTime = 1.0, numberOfIntervals = 20, tolerance = 1e-8, method = 'optimization', fileNamePrefix = 'nmpcBatchReactor_scaling', options = '', outputFormat = 'mat', variableFilter = '.*', cflags = '', simflags = ''", messages = "Failed to build model: nmpcBatchReactor_scaling" 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/BRSCAL~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=nmpcBatchReactor_scaling -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 nmpcBatchReactor_scaling.o nmpcBatchReactor_scaling.c 0 [main] sh (5158180) child_copy: cygheap read copy failed, 0x0..0x80000D0C8, done 0, windows pid 5158180, Win32 error 299 make: *** [<builtin>: nmpcBatchReactor_scaling.o] Error 127 make: Leaving directory '/c/dev/jenkins/ws/Windows/OM_Win/TESTSU~1/OPENMO~1/cruntime/OPTIMI~1/basic/BRSCAL~1.MOS' RESULT: 2 " "Error in compareSimulationResults" "Warning: 'compareSimulationResults' is deprecated. It is recommended to use 'diffSimulationResults' instead. Error: Failed to open simulation result nmpcBatchReactor_scaling_res.mat: No such file or directory Error: Error opening file: nmpcBatchReactor_scaling_res.mat " '' Equation mismatch: diff says: --- "C:\\Windows\\TEMP/omc-rtest-OpenModelica/openmodelica/cruntime/optimization/basic/BRscale.mos_temp4389/equations-expected"2024-06-13 15:22:52.402443100 +0200 +++ "C:\\Windows\\TEMP/omc-rtest-OpenModelica/openmodelica/cruntime/optimization/basic/BRscale.mos_temp4389/equations-got"2024-06-13 15:22:53.625445300 +0200 @@ -1,31 +1,21 @@ true "" true "" record SimulationResult -resultFile = "nmpcBatchReactor_scaling_res.mat", -simulationOptions = "startTime = 0.0, stopTime = 1.0, numberOfIntervals = 20, tolerance = 1e-08, method = 'optimization', fileNamePrefix = 'nmpcBatchReactor_scaling', options = '', outputFormat = 'mat', variableFilter = '.*', cflags = '', simflags = ''", -messages = "LOG_SUCCESS | info | The initialization finished successfully without homotopy method. - -Optimizer Variables -======================================================== -State[0]:y1(start = 1e+10, nominal = 1e+10, min = 0, max = 1e+10, init = 1e+10) -State[1]:y2(start = 0, nominal = 1e-10, min = 0, max = 1e-10, init = 0) -Input[2]:u(start = 1, nominal = 1, min = 0, max = 5) --------------------------------------------------------- -number of nonlinear constraints: 0 -======================================================== - -****************************************************************************** -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 -****************************************************************************** - -LOG_SUCCESS | info | The simulation finished successfully. -" +resultFile = "", +simulationOptions = "startTime = 0.0, stopTime = 1.0, numberOfIntervals = 20, tolerance = 1e-8, method = 'optimization', fileNamePrefix = 'nmpcBatchReactor_scaling', options = '', outputFormat = 'mat', variableFilter = '.*', cflags = '', simflags = ''", +messages = "Failed to build model: nmpcBatchReactor_scaling" end SimulationResult; -"" -{"Files Equal!"} +"Error: Error building simulator. Build log: make: Entering directory '/c/dev/jenkins/ws/Windows/OM_Win/TESTSU~1/OPENMO~1/cruntime/OPTIMI~1/basic/BRSCAL~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=nmpcBatchReactor_scaling -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 nmpcBatchReactor_scaling.o nmpcBatchReactor_scaling.c +0 [main] sh (5158180) child_copy: cygheap read copy failed, 0x0..0x80000D0C8, done 0, windows pid 5158180, Win32 error 299 +make: *** [<builtin>: nmpcBatchReactor_scaling.o] Error 127 +make: Leaving directory '/c/dev/jenkins/ws/Windows/OM_Win/TESTSU~1/OPENMO~1/cruntime/OPTIMI~1/basic/BRSCAL~1.MOS' +RESULT: 2 +" +"Error in compareSimulationResults" "Warning: 'compareSimulationResults' is deprecated. It is recommended to use 'diffSimulationResults' instead. +Error: Failed to open simulation result nmpcBatchReactor_scaling_res.mat: No such file or directory +Error: Error opening file: nmpcBatchReactor_scaling_res.mat " '' == 1 out of 1 tests failed [openmodelica/cruntime/optimization/basic/BRscale.mos_temp4389, time: 10]