Regression
openmodelica_cruntime_optimization_basic.testAlgLoop4.mos (from (result.xml))
Stacktrace
Output mismatch (see stdout for details)
Standard Output
+ testAlgLoop4 ... equation mismatch [time: 1] ==== Log C:\Windows\TEMP/omc-rtest-OpenModelica/openmodelica/cruntime/optimization/basic/testAlgLoop4.mos_temp7514/log-testAlgLoop4.mos true "" true "" record SimulationResult resultFile = "", simulationOptions = "startTime = 0.0, stopTime = 1.0, numberOfIntervals = 50, tolerance = 1e-8, method = 'optimization', fileNamePrefix = 'testAlgLoop4', options = '', outputFormat = 'mat', variableFilter = '.*', cflags = '', simflags = '-lv LOG_IPOPT_ERROR -optimizerNP 3'", messages = "Failed to build model: testAlgLoop4" 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/TEE503~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=testAlgLoop4 -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=1 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o testAlgLoop4.o testAlgLoop4.c 0 [main] make (5389768) child_copy: cygheap read copy failed, 0x0..0x800009928, done 0, windows pid 5389768, Win32 error 299 0 [main] make 25173 dofork: child -1 - forked process 5389768 died unexpectedly, retry 0, exit code 0xC0000142, errno 11 make: *** [<builtin>: testAlgLoop4.o] Error 127 make: Leaving directory '/c/dev/jenkins/ws/Windows/OM_Win/TESTSU~1/OPENMO~1/cruntime/OPTIMI~1/basic/TEE503~1.MOS' RESULT: 2 " "Error in compareSimulationResults" "Warning: 'compareSimulationResults' is deprecated. It is recommended to use 'diffSimulationResults' instead. Error: Failed to open simulation result testAlgLoop4_res.mat: No such file or directory Error: Error opening file: testAlgLoop4_res.mat " '' Equation mismatch: diff says: --- "C:\\Windows\\TEMP/omc-rtest-OpenModelica/openmodelica/cruntime/optimization/basic/testAlgLoop4.mos_temp7514/equations-expected"2024-06-13 15:30:54.061170500 +0200 +++ "C:\\Windows\\TEMP/omc-rtest-OpenModelica/openmodelica/cruntime/optimization/basic/testAlgLoop4.mos_temp7514/equations-got"2024-06-13 15:30:55.609170700 +0200 @@ -1,42 +1,22 @@ true "" true "" record SimulationResult -resultFile = "testAlgLoop4_res.mat", -simulationOptions = "startTime = 0.0, stopTime = 1.0, numberOfIntervals = 50, tolerance = 1e-08, method = 'optimization', fileNamePrefix = 'testAlgLoop4', options = '', outputFormat = 'mat', variableFilter = '.*', cflags = '', simflags = '-lv LOG_IPOPT_ERROR -optimizerNP 3'", -messages = "LOG_ASSERT | warning | [<interactive>:5:3-5:18:writable] -| | | | The following assertion has been violated at time 0.000000 -| | | | ((y >= 5.0)) --> \"Variable violating min constraint: 5.0 <= y, has value: 0\" -LOG_SUCCESS | info | The initialization finished successfully without homotopy method. - -Optimizer Variables -======================================================== -Input[0]:$y(start = 5, nominal = 5, min = 5, max = +Inf) -Input[1]:$y1(start = 0, nominal = 1, min = -Inf, max = +Inf) -Input[2]:$y2(start = 0, nominal = 1, min = -Inf, max = +Inf) --------------------------------------------------------- -number of nonlinear constraints: 3 -======================================================== - -****************************************************************************** -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_IPOPT_ERROR | info | max violation is 1 for the constraint $EqCon$y1(time = 1) -LOG_IPOPT_ERROR | info | max violation is 0.999806 for the constraint $EqCon$y(time = 0.00310102) -LOG_IPOPT_ERROR | info | max violation is 0.946572 for the constraint $EqCon$y(time = 0.012899) -LOG_IPOPT_ERROR | info | max violation is 0.992574 for the constraint $EqCon$y(time = 0.012899) -LOG_IPOPT_ERROR | info | max violation is 0.414963 for the constraint $EqCon$y(time = 0.012899) -LOG_IPOPT_ERROR | info | max violation is 0.0281784 for the constraint $EqCon$y(time = 0.012899) -LOG_IPOPT_ERROR | info | max violation is 7.46345e-06 for the constraint $EqCon$y(time = 0.012899) -LOG_IPOPT_ERROR | info | max violation is 1.16403e-15 for the constraint $EqCon$y(time = 0.012899) -LOG_SUCCESS | info | The simulation finished successfully. -" +resultFile = "", +simulationOptions = "startTime = 0.0, stopTime = 1.0, numberOfIntervals = 50, tolerance = 1e-8, method = 'optimization', fileNamePrefix = 'testAlgLoop4', options = '', outputFormat = 'mat', variableFilter = '.*', cflags = '', simflags = '-lv LOG_IPOPT_ERROR -optimizerNP 3'", +messages = "Failed to build model: testAlgLoop4" 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/TEE503~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=testAlgLoop4 -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=1 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o testAlgLoop4.o testAlgLoop4.c +0 [main] make (5389768) child_copy: cygheap read copy failed, 0x0..0x800009928, done 0, windows pid 5389768, Win32 error 299 +0 [main] make 25173 dofork: child -1 - forked process 5389768 died unexpectedly, retry 0, exit code 0xC0000142, errno 11 +make: *** [<builtin>: testAlgLoop4.o] Error 127 +make: Leaving directory '/c/dev/jenkins/ws/Windows/OM_Win/TESTSU~1/OPENMO~1/cruntime/OPTIMI~1/basic/TEE503~1.MOS' +RESULT: 2 +" +"Error in compareSimulationResults" "Warning: 'compareSimulationResults' is deprecated. It is recommended to use 'diffSimulationResults' instead. +Error: Failed to open simulation result testAlgLoop4_res.mat: No such file or directory +Error: Error opening file: testAlgLoop4_res.mat " '' Equation mismatch: omc-diff says: Failed 't' '"' Line 6: Text differs: expected: resultFile = "testAlgLoop got: resultFile = "", == 1 out of 1 tests failed [openmodelica/cruntime/optimization/basic/testAlgLoop4.mos_temp7514, time: 26]