Skip to content

Regression

openmodelica_cruntime_optimization_basic.BRcon3.mos (from (result.xml))

Failing for the past 1 build (Since #3807 )
Took 17 sec.

Stacktrace

Output mismatch (see stdout for details)

Standard Output

 + BatchReactorCon3                                                                  ... equation mismatch [time: 14]

==== Log C:\Windows\TEMP/omc-rtest-OpenModelica/openmodelica/cruntime/optimization/basic/BRcon3.mos_temp3197/log-BRcon3.mos
true
""
true
""
true
""
record SimulationResult
    resultFile = "",
    simulationOptions = "startTime = 0.0, stopTime = 1.0, numberOfIntervals = 20, tolerance = 1e-8, method = 'optimization', fileNamePrefix = 'nmpcBatchReactorCon3', options = '', outputFormat = 'mat', variableFilter = '.*', cflags = '', simflags = ''",
    messages = "Simulation execution failed for model: nmpcBatchReactorCon3
LOG_ASSERT        | warning | The following assertion has been violated at time 0.000000
|                 | |       | (($con$2 >= -1e21 and $con$2 <= 0.0)) --> \"Variable violating min/max constraint: -1e21 <= $con$2 <= 0.0, 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: 5
========================================================

******************************************************************************
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
******************************************************************************

MUMPS returned INFO(1) =-13 - out of memory when trying to allocate 525000 bytes.
In some cases it helps to decrease the value of the option \"mumps_mem_percent\".
MUMPS returned INFO(1) =-13 - out of memory when trying to allocate 525000 bytes.
In some cases it helps to decrease the value of the option \"mumps_mem_percent\".
Restoration phase is called at point that is almost feasible,
  with constraint violation 4.585673e-14. Abort.
LOG_STDOUT        | warning | No optimal solution found!
|                 | |       | Use -lv=LOG_IPOPT for more information.
LOG_STDOUT        | info    | model terminate | optimization failed.
           0 :Error allocating BUFR:IERR=        5020
           0 :Error allocating BUFR:IERR=        5020
"
end SimulationResult;
""
{"Files not Equal!","y2","y1","x1","u","der(y2)","der(y1)","$OMC$objectLagrangeTerm"}
"Warning: 'compareSimulationResults' is deprecated. It is recommended to use 'diffSimulationResults' instead.
Warning: Files not Equal
"
'' 
Equation mismatch: diff says: 
--- "C:\\Windows\\TEMP/omc-rtest-OpenModelica/openmodelica/cruntime/optimization/basic/BRcon3.mos_temp3197/equations-expected"2024-06-12 16:23:53.963921000 +0200
+++ "C:\\Windows\\TEMP/omc-rtest-OpenModelica/openmodelica/cruntime/optimization/basic/BRcon3.mos_temp3197/equations-got"2024-06-12 16:24:07.705435800 +0200
@@ -3,14 +3,15 @@
 true
 ""
 true
 ""
 record SimulationResult
-resultFile = "nmpcBatchReactorCon3_res.mat",
-simulationOptions = "startTime = 0.0, stopTime = 1.0, numberOfIntervals = 20, tolerance = 1e-08, method = 'optimization', fileNamePrefix = 'nmpcBatchReactorCon3', options = '', outputFormat = 'mat', variableFilter = '.*', cflags = '', simflags = ''",
-messages = "LOG_ASSERT        | warning | The following assertion has been violated at time 0.000000
-|                 | |       | (($con$2 >= -1e+21 and $con$2 <= 0.0)) --> \"Variable violating min/max constraint: -1e+21 <= $con$2 <= 0.0, has value: 1\"
+resultFile = "",
+simulationOptions = "startTime = 0.0, stopTime = 1.0, numberOfIntervals = 20, tolerance = 1e-8, method = 'optimization', fileNamePrefix = 'nmpcBatchReactorCon3', options = '', outputFormat = 'mat', variableFilter = '.*', cflags = '', simflags = ''",
+messages = "Simulation execution failed for model: nmpcBatchReactorCon3
+LOG_ASSERT | warning | The following assertion has been violated at time 0.000000
+| | |       | (($con$2 >= -1e21 and $con$2 <= 0.0)) --> \"Variable violating min/max constraint: -1e21 <= $con$2 <= 0.0, 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)
@@ -24,12 +25,23 @@
 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.
+MUMPS returned INFO(1) =-13 - out of memory when trying to allocate 525000 bytes.
+In some cases it helps to decrease the value of the option \"mumps_mem_percent\".
+MUMPS returned INFO(1) =-13 - out of memory when trying to allocate 525000 bytes.
+In some cases it helps to decrease the value of the option \"mumps_mem_percent\".
+Restoration phase is called at point that is almost feasible,
+with constraint violation 4.585673e-14. Abort.
+LOG_STDOUT | warning | No optimal solution found!
+| | |       | Use -lv=LOG_IPOPT for more information.
+LOG_STDOUT | info    | model terminate | optimization failed.
+0 :Error allocating BUFR:IERR=        5020
+0 :Error allocating BUFR:IERR=        5020
 "
 end SimulationResult;
 ""
-{"Files Equal!"}
+{"Files not Equal!","y2","y1","x1","u","der(y2)","der(y1)","$OMC$objectLagrangeTerm"}
 "Warning: 'compareSimulationResults' is deprecated. It is recommended to use 'diffSimulationResults' instead.
+Warning: Files not Equal
 "
'' 
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/BRcon3.mos_temp3197, time: 17]