Skip to content

Failed

tests / 02 testsuite-gcc 2/3 / openmodelica_cruntime_optimization_basic.reduce1.mos (from (result.xml))

Failing for the past 11 builds (Since #10 )
Took 2 sec.

Stacktrace

Output mismatch (see stdout for details)

Standard Output

 + reduce1                                                                           ... equation mismatch [time: 2]

==== Log /tmp/omc-rtest-omtmpuser/openmodelica/cruntime/optimization/basic/reduce1.mos_temp5209/log-reduce1.mos
true
""
true
""
record SimulationResult
    resultFile = "",
    simulationOptions = "startTime = 0.0, stopTime = 1.0, numberOfIntervals = 50, tolerance = 1e-8, method = 'optimization', fileNamePrefix = 'reduceEx1', options = '', outputFormat = 'mat', variableFilter = '.*', cflags = '', simflags = '-lv LOG_IPOPT_ERROR -optimizerNP 3'",
    messages = "Failed to run the optimize command: reduceEx1"
end SimulationResult;
"[BackEnd/Initialization.mo:0:0-0:0:writable] Error: Internal error DAEUtil.getStartAttr failed because type Real has no default start value.
Error: No system for the symbolic initialization was generated
"
"Error in compareSimulationResults"
"Warning: 'compareSimulationResults' is deprecated. It is recommended to use 'diffSimulationResults' instead.
Error: Failed to open simulation result reduceEx1_res.mat: No such file or directory
Error: Error opening file: reduceEx1_res.mat
"
true
""
record SimulationResult
    resultFile = "",
    simulationOptions = "startTime = 0.0, stopTime = 1.0, numberOfIntervals = 50, tolerance = 1e-8, method = 'optimization', fileNamePrefix = 'reduceEx1', options = '', outputFormat = 'mat', variableFilter = '.*', cflags = '', simflags = '-lv LOG_IPOPT_ERROR -optimizerNP 3'",
    messages = "Failed to run the optimize command: reduceEx1"
end SimulationResult;
"[BackEnd/Initialization.mo:0:0-0:0:writable] Error: Internal error DAEUtil.getStartAttr failed because type Real has no default start value.
Error: No system for the symbolic initialization was generated
"
"Error in compareSimulationResults"
"Warning: 'compareSimulationResults' is deprecated. It is recommended to use 'diffSimulationResults' instead.
Error: Failed to open simulation result reduceEx1_res.mat: No such file or directory
Error: Error opening file: reduceEx1_res.mat
"

Equation mismatch: diff says:
--- /tmp/omc-rtest-omtmpuser/openmodelica/cruntime/optimization/basic/reduce1.mos_temp5209/equations-expected2024-04-20 01:49:03.740040774 +0000
+++ /tmp/omc-rtest-omtmpuser/openmodelica/cruntime/optimization/basic/reduce1.mos_temp5209/equations-got2024-04-20 01:49:05.248040842 +0000
@@ -1,92 +1,32 @@
 true
 ""
 true
 ""
 record SimulationResult
-resultFile = "reduceEx1_res.mat",
-simulationOptions = "startTime = 0.0, stopTime = 1.0, numberOfIntervals = 50, tolerance = 1e-08, method = 'optimization', fileNamePrefix = 'reduceEx1', options = '', outputFormat = 'mat', variableFilter = '.*', cflags = '', simflags = '-lv LOG_IPOPT_ERROR -optimizerNP 3'",
-messages = "LOG_SUCCESS       | info    | The initialization finished successfully without homotopy method.
-
-Optimizer Variables
-========================================================
-State[0]:x1(start = 0, nominal = 1, min = -Inf, max = +Inf, init = 0)
-State[1]:x2(start = 0, nominal = 1, min = -Inf, max = +Inf, init = 0)
-State[2]:x3(start = 0, nominal = 1, min = -Inf, max = +Inf, init = 0)
-State[3]:x4(start = 0, nominal = 1, min = -Inf, max = +Inf, init = 0)
-State[4]:y(start = 1, nominal = 2, min = -Inf, max = +Inf, init = 1)
-Input[5]:u(start = 0, nominal = 3, min = -3, max = 3)
---------------------------------------------------------
-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_IPOPT_ERROR   | info    | max error is 4.44089e-16 for the approximation of the state y(time = 0.00310102)
-LOG_IPOPT_ERROR   | info    | max error is 4.64394e-05 for the approximation of the state y(time = 0.412899)
-LOG_IPOPT_ERROR   | info    | max error is 0.00183911 for the approximation of the state y(time = 0.332899)
-LOG_IPOPT_ERROR   | info    | max error is 0.00189787 for the approximation of the state y(time = 0.472899)
-LOG_IPOPT_ERROR   | info    | max error is 0.00124182 for the approximation of the state y(time = 0.34)
-LOG_IPOPT_ERROR   | info    | max error is 0.00052515 for the approximation of the state y(time = 0.66)
-LOG_IPOPT_ERROR   | info    | max error is 0.000130639 for the approximation of the state y(time = 0.972899)
-LOG_IPOPT_ERROR   | info    | max error is 4.18708e-05 for the approximation of the state y(time = 0.992899)
-LOG_IPOPT_ERROR   | info    | max error is 1.73594e-06 for the approximation of the state y(time = 0.98)
-LOG_IPOPT_ERROR   | info    | max error is 1.09311e-08 for the approximation of the state y(time = 1)
-LOG_IPOPT_ERROR   | info    | max error is 3.68416e-06 for the approximation of the state y(time = 1)
-LOG_IPOPT_ERROR   | info    | max error is 7.03983e-07 for the approximation of the state y(time = 1)
-LOG_IPOPT_ERROR   | info    | max error is 6.96787e-08 for the approximation of the state y(time = 1)
-LOG_IPOPT_ERROR   | info    | max error is 9.86034e-10 for the approximation of the state y(time = 1)
-LOG_SUCCESS       | info    | The simulation finished successfully.
-"
+resultFile = "",
+simulationOptions = "startTime = 0.0, stopTime = 1.0, numberOfIntervals = 50, tolerance = 1e-8, method = 'optimization', fileNamePrefix = 'reduceEx1', options = '', outputFormat = 'mat', variableFilter = '.*', cflags = '', simflags = '-lv LOG_IPOPT_ERROR -optimizerNP 3'",
+messages = "Failed to run the optimize command: reduceEx1"
 end SimulationResult;
-"Warning: The initial conditions are not fully specified. For more information set -d=initialization. In OMEdit Tools->Options->Simulation->Show additional information from the initialization process, in OMNotebook call setCommandLineOptions(\"-d=initialization\").
+"[BackEnd/Initialization.mo:0:0-0:0:writable] Error: Internal error DAEUtil.getStartAttr failed because type Real has no default start value.
+Error: No system for the symbolic initialization was generated
 "
-{"Files Equal!"}
+"Error in compareSimulationResults"
 "Warning: 'compareSimulationResults' is deprecated. It is recommended to use 'diffSimulationResults' instead.
+Error: Failed to open simulation result reduceEx1_res.mat: No such file or directory
+Error: Error opening file: reduceEx1_res.mat
 "
 true
 ""
 record SimulationResult
-resultFile = "reduceEx1_res.mat",
-simulationOptions = "startTime = 0.0, stopTime = 1.0, numberOfIntervals = 50, tolerance = 1e-08, method = 'optimization', fileNamePrefix = 'reduceEx1', options = '', outputFormat = 'mat', variableFilter = '.*', cflags = '', simflags = '-lv LOG_IPOPT_ERROR -optimizerNP 3'",
-messages = "LOG_SUCCESS       | info    | The initialization finished successfully without homotopy method.
-
-Optimizer Variables
-========================================================
-State[0]:y(start = 1, nominal = 2, min = -Inf, max = +Inf, init = 1)
-Input[1]:u(start = 0, nominal = 3, min = -3, max = 3)
---------------------------------------------------------
-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_IPOPT_ERROR   | info    | max error is 4.44089e-16 for the approximation of the state y(time = 0.00310102)
-LOG_IPOPT_ERROR   | info    | max error is 4.64394e-05 for the approximation of the state y(time = 0.412899)
-LOG_IPOPT_ERROR   | info    | max error is 0.00183911 for the approximation of the state y(time = 0.332899)
-LOG_IPOPT_ERROR   | info    | max error is 0.00189787 for the approximation of the state y(time = 0.472899)
-LOG_IPOPT_ERROR   | info    | max error is 0.00123963 for the approximation of the state y(time = 0.34)
-LOG_IPOPT_ERROR   | info    | max error is 0.000515132 for the approximation of the state y(time = 0.64)
-LOG_IPOPT_ERROR   | info    | max error is 0.000134445 for the approximation of the state y(time = 0.972899)
-LOG_IPOPT_ERROR   | info    | max error is 4.283e-05 for the approximation of the state y(time = 0.992899)
-LOG_IPOPT_ERROR   | info    | max error is 2.66096e-06 for the approximation of the state y(time = 0.98)
-LOG_IPOPT_ERROR   | info    | max error is 1.00932e-08 for the approximation of the state y(time = 1)
-LOG_IPOPT_ERROR   | info    | max error is 3.72096e-06 for the approximation of the state y(time = 1)
-LOG_IPOPT_ERROR   | info    | max error is 7.13136e-07 for the approximation of the state y(time = 1)
-LOG_IPOPT_ERROR   | info    | max error is 7.11342e-08 for the approximation of the state y(time = 1)
-LOG_IPOPT_ERROR   | info    | max error is 1.02648e-09 for the approximation of the state y(time = 1)
-LOG_SUCCESS       | info    | The simulation finished successfully.
-"
+resultFile = "",
+simulationOptions = "startTime = 0.0, stopTime = 1.0, numberOfIntervals = 50, tolerance = 1e-8, method = 'optimization', fileNamePrefix = 'reduceEx1', options = '', outputFormat = 'mat', variableFilter = '.*', cflags = '', simflags = '-lv LOG_IPOPT_ERROR -optimizerNP 3'",
+messages = "Failed to run the optimize command: reduceEx1"
 end SimulationResult;
-"Warning: The initial conditions are not fully specified. For more information set -d=initialization. In OMEdit Tools->Options->Simulation->Show additional information from the initialization process, in OMNotebook call setCommandLineOptions(\"-d=initialization\").
+"[BackEnd/Initialization.mo:0:0-0:0:writable] Error: Internal error DAEUtil.getStartAttr failed because type Real has no default start value.
+Error: No system for the symbolic initialization was generated
 "
-{"Files Equal!"}
+"Error in compareSimulationResults"
 "Warning: 'compareSimulationResults' is deprecated. It is recommended to use 'diffSimulationResults' instead.
+Error: Failed to open simulation result reduceEx1_res.mat: No such file or directory
+Error: Error opening file: reduceEx1_res.mat
 "

Equation mismatch: omc-diff says:
Failed 'r' '"'
Line 6: Text differs:
expected: resultFile = "reduceEx
got:      resultFile = "",

== 1 out of 1 tests failed [openmodelica/cruntime/optimization/basic/reduce1.mos_temp5209, time: 2]