Failed
openmodelica_cruntime_optimization_basic.testAlgLoop11.mos (from (result.xml))
Stacktrace
Output mismatch (see stdout for details)
Standard Output
+ testAlgLoop11 ... equation mismatch [time: 15] ==== Log C:\WINDOWS\TEMP/omc-rtest-OpenModelica/openmodelica/cruntime/optimization/basic/testAlgLoop11.mos_temp5416/log-testAlgLoop11.mos true "" true "" record SimulationResult resultFile = "", simulationOptions = "startTime = 0.0, stopTime = 0.5, numberOfIntervals = 100, tolerance = 1e-12, method = 'optimization', fileNamePrefix = 'testAlgLoop11', options = '', outputFormat = 'mat', variableFilter = '.*', cflags = '', simflags = '-lv LOG_IPOPT_ERROR -optimizerNP 1 -ipopt_max_iter -1 -iif ReferenceFiles/testAlgLoop7_ref.mat -ipopt_init FILE -iim none'", messages = "Simulation execution failed for model: testAlgLoop11 LOG_ASSERT | debug | Initialization file \"ReferenceFiles/testAlgLoop7_ref.mat\" doesn't exist. " end SimulationResult; "" "Error in compareSimulationResults" "Warning: 'compareSimulationResults' is deprecated. It is recommended to use 'diffSimulationResults' instead. Error: Failed to open simulation result testAlgLoop11_res.mat: No such file or directory Error: Error opening file: testAlgLoop11_res.mat " '' Equation mismatch: diff says: --- "C:\\WINDOWS\\TEMP/omc-rtest-OpenModelica/openmodelica/cruntime/optimization/basic/testAlgLoop11.mos_temp5416/equations-expected"2024-06-12 20:15:56.880546300 +0200 +++ "C:\\WINDOWS\\TEMP/omc-rtest-OpenModelica/openmodelica/cruntime/optimization/basic/testAlgLoop11.mos_temp5416/equations-got"2024-06-12 20:16:11.220546000 +0200 @@ -1,36 +1,17 @@ true "" true "" record SimulationResult -resultFile = "testAlgLoop11_res.mat", +resultFile = "", simulationOptions = "startTime = 0.0, stopTime = 0.5, numberOfIntervals = 100, tolerance = 1e-12, method = 'optimization', fileNamePrefix = 'testAlgLoop11', options = '', outputFormat = 'mat', variableFilter = '.*', cflags = '', simflags = '-lv LOG_IPOPT_ERROR -optimizerNP 1 -ipopt_max_iter -1 -iif ReferenceFiles/testAlgLoop7_ref.mat -ipopt_init FILE -iim none'", -messages = "LOG_ASSERT | warning | The following assertion has been violated at time 0.000000 -| | | | (($EqCon$y2 >= 0.0 and $EqCon$y2 <= 0.0)) --> \"Variable violating min/max constraint: 0.0 <= $EqCon$y2 <= 0.0, has value: -1\" -LOG_ASSERT | warning | The following assertion has been violated at time 0.000000 -| | | | (($EqCon$x2 >= 0.0 and $EqCon$x2 <= 0.0)) --> \"Variable violating min/max constraint: 0.0 <= $EqCon$x2 <= 0.0, has value: 3\" -LOG_ASSERT | warning | The following assertion has been violated at time 0.000000 -| | | | (($EqCon$x1 >= 0.0 and $EqCon$x1 <= 0.0)) --> \"Variable violating min/max constraint: 0.0 <= $EqCon$x1 <= 0.0, has value: 0.864672\" -LOG_SUCCESS | info | The initialization finished successfully without homotopy method. - -Optimizer Variables -======================================================== -State[0]:x1(start = 1, nominal = 2, min = -2, max = 2, init = 1) -State[1]:x2(start = -1, nominal = 2, min = -2, max = 2, init = -1) -Input[2]:$x1(start = 0, nominal = 1, min = -Inf, max = +Inf) -Input[3]:$x2(start = 0, nominal = 1, min = -Inf, max = +Inf) -Input[4]:$y1(start = 0, nominal = 1, min = -Inf, max = +Inf) -Input[5]:$y2(start = 0, nominal = 1, min = -Inf, max = +Inf) -Input[6]:u(start = 0.864672, nominal = 1, min = -1, max = 1) --------------------------------------------------------- -number of nonlinear constraints: 5 -======================================================== -LOG_STDOUT | info | Using values from file as initial guess. - -max_iter = -1LOG_SUCCESS | info | The simulation finished successfully. +messages = "Simulation execution failed for model: testAlgLoop11 +LOG_ASSERT | debug | Initialization file \"ReferenceFiles/testAlgLoop7_ref.mat\" doesn't exist. " end SimulationResult; "" -{"Files Equal!"} +"Error in compareSimulationResults" "Warning: 'compareSimulationResults' is deprecated. It is recommended to use 'diffSimulationResults' instead. +Error: Failed to open simulation result testAlgLoop11_res.mat: No such file or directory +Error: Error opening file: testAlgLoop11_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/testAlgLoop11.mos_temp5416, time: 15]