Regression
tests / 01 testsuite-gcc 1/3 / openmodelica_cruntime_optimization_basic.BRinitialGuess.mos (from (result.xml))
Stacktrace
Output mismatch (see stdout for details)
Standard Output
+ BatchReactorInitialGuess ... equation mismatch [time: 2] ==== Log /tmp/omc-rtest-omtmpuser/openmodelica/cruntime/optimization/basic/BRinitialGuess.mos_temp2173/log-BRinitialGuess.mos true "" true "" record SimulationResult resultFile = "nmpcBatchReactor_res.mat", simulationOptions = "startTime = 0.0, stopTime = 1.0, numberOfIntervals = 20, tolerance = 1e-8, method = 'optimization', fileNamePrefix = 'nmpcBatchReactor', options = '', outputFormat = 'mat', variableFilter = '.*', cflags = '', simflags = '-ipopt_max_iter=12 -csvInput ReferenceFiles/initInputForBR.csv -lv LOG_IPOPT_ERROR'", messages = "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 = 5, nominal = 1, min = 0, max = 5) -------------------------------------------------------- number of nonlinear constraints: 0 ======================================================== max_iter = 12 ****************************************************************************** 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 error is 0.0234335 for the approximation of the state y2(time = 0.05) LOG_IPOPT_ERROR | info | max error is 1.36669e-06 for the approximation of the state y1(time = 0.907753) LOG_IPOPT_ERROR | info | max error is 7.77482e-06 for the approximation of the state y1(time = 0.932247) LOG_IPOPT_ERROR | info | max error is 0.000570244 for the approximation of the state y1(time = 0.95) LOG_IPOPT_ERROR | info | max error is 0.000188891 for the approximation of the state y2(time = 0.95) LOG_IPOPT_ERROR | info | max error is 8.96126e-05 for the approximation of the state y1(time = 0.95) LOG_IPOPT_ERROR | info | max error is 4.04167e-05 for the approximation of the state y1(time = 0.95) LOG_IPOPT_ERROR | info | max error is 1.04278e-05 for the approximation of the state y1(time = 0.95) LOG_IPOPT_ERROR | info | max error is 2.48494e-06 for the approximation of the state y1(time = 0.95) LOG_IPOPT_ERROR | info | max error is 5.38459e-07 for the approximation of the state y1(time = 0.95) LOG_IPOPT_ERROR | info | max error is 8.01963e-08 for the approximation of the state y1(time = 0.95) LOG_IPOPT_ERROR | info | max error is 3.63281e-09 for the approximation of the state y1(time = 0.95) LOG_SUCCESS | info | The simulation finished successfully. " end SimulationResult; "" Equation mismatch: diff says: --- /tmp/omc-rtest-omtmpuser/openmodelica/cruntime/optimization/basic/BRinitialGuess.mos_temp2173/equations-expected2024-06-18 12:16:28.863372461 +0000 +++ /tmp/omc-rtest-omtmpuser/openmodelica/cruntime/optimization/basic/BRinitialGuess.mos_temp2173/equations-got2024-06-18 12:16:30.343355136 +0000 @@ -2,18 +2,18 @@ "" true "" record SimulationResult resultFile = "nmpcBatchReactor_res.mat", -simulationOptions = "startTime = 0.0, stopTime = 1.0, numberOfIntervals = 20, tolerance = 1e-08, method = 'optimization', fileNamePrefix = 'nmpcBatchReactor', options = '', outputFormat = 'mat', variableFilter = '.*', cflags = '', simflags = '-ipopt_max_iter=12 -csvInput ReferenceFiles/initInputForBR.csv -lv LOG_IPOPT_ERROR'", +simulationOptions = "startTime = 0.0, stopTime = 1.0, numberOfIntervals = 20, tolerance = 1e-8, method = 'optimization', fileNamePrefix = 'nmpcBatchReactor', options = '', outputFormat = 'mat', variableFilter = '.*', cflags = '', simflags = '-ipopt_max_iter=12 -csvInput ReferenceFiles/initInputForBR.csv -lv LOG_IPOPT_ERROR'", messages = "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 = 0.743547, nominal = 1, min = 0, max = 5) +Input[2]:u(start = 5, nominal = 1, min = 0, max = 5) -------------------------------------------------------- number of nonlinear constraints: 0 ======================================================== max_iter = 12 @@ -22,20 +22,20 @@ 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 error is 0.0234335 for the approximation of the state y2(time = 0.05) -LOG_IPOPT_ERROR | info | max error is 1.36655e-06 for the approximation of the state y1(time = 0.907753) -LOG_IPOPT_ERROR | info | max error is 7.77502e-06 for the approximation of the state y1(time = 0.932247) -LOG_IPOPT_ERROR | info | max error is 0.000570247 for the approximation of the state y1(time = 0.95) -LOG_IPOPT_ERROR | info | max error is 0.00018889 for the approximation of the state y2(time = 0.95) -LOG_IPOPT_ERROR | info | max error is 8.96125e-05 for the approximation of the state y1(time = 0.95) -LOG_IPOPT_ERROR | info | max error is 4.04166e-05 for the approximation of the state y1(time = 0.95) +LOG_IPOPT_ERROR | info | max error is 1.36669e-06 for the approximation of the state y1(time = 0.907753) +LOG_IPOPT_ERROR | info | max error is 7.77482e-06 for the approximation of the state y1(time = 0.932247) +LOG_IPOPT_ERROR | info | max error is 0.000570244 for the approximation of the state y1(time = 0.95) +LOG_IPOPT_ERROR | info | max error is 0.000188891 for the approximation of the state y2(time = 0.95) +LOG_IPOPT_ERROR | info | max error is 8.96126e-05 for the approximation of the state y1(time = 0.95) +LOG_IPOPT_ERROR | info | max error is 4.04167e-05 for the approximation of the state y1(time = 0.95) LOG_IPOPT_ERROR | info | max error is 1.04278e-05 for the approximation of the state y1(time = 0.95) -LOG_IPOPT_ERROR | info | max error is 2.48493e-06 for the approximation of the state y1(time = 0.95) -LOG_IPOPT_ERROR | info | max error is 5.38457e-07 for the approximation of the state y1(time = 0.95) -LOG_IPOPT_ERROR | info | max error is 8.0196e-08 for the approximation of the state y1(time = 0.95) -LOG_IPOPT_ERROR | info | max error is 3.63279e-09 for the approximation of the state y1(time = 0.95) +LOG_IPOPT_ERROR | info | max error is 2.48494e-06 for the approximation of the state y1(time = 0.95) +LOG_IPOPT_ERROR | info | max error is 5.38459e-07 for the approximation of the state y1(time = 0.95) +LOG_IPOPT_ERROR | info | max error is 8.01963e-08 for the approximation of the state y1(time = 0.95) +LOG_IPOPT_ERROR | info | max error is 3.63281e-09 for the approximation of the state y1(time = 0.95) LOG_SUCCESS | info | The simulation finished successfully. " end SimulationResult; "" Equation mismatch: omc-diff says: Line 14: Real 0.743547 != 5 eps: 0.005000, actual diff: 4.256453 == 1 out of 1 tests failed [openmodelica/cruntime/optimization/basic/BRinitialGuess.mos_temp2173, time: 2]