Skip to content

Failed

tests / 01 testsuite-gcc 1/3 / openmodelica_cruntime_optimization_basic.VDP.mos (from (result.xml))

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

Stacktrace

Output mismatch (see stdout for details)

Standard Output

 + VDP                                                                               ... equation mismatch [time: 1]

==== Log /tmp/omc-rtest-omtmpuser/openmodelica/cruntime/optimization/basic/VDP.mos_temp7432/log-VDP.mos
true
""
true
""
record SimulationResult
    resultFile = "",
    simulationOptions = "startTime = 0.0, stopTime = 20.0, numberOfIntervals = 50, tolerance = 1e-8, method = 'optimization', fileNamePrefix = 'nmpcVDP', options = '', outputFormat = 'mat', variableFilter = '.*', cflags = '', simflags = ''",
    messages = "Failed to run the optimize command: nmpcVDP"
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 nmpcVDP_res.mat: No such file or directory
Error: Error opening file: nmpcVDP_res.mat
"

Equation mismatch: diff says:
--- /tmp/omc-rtest-omtmpuser/openmodelica/cruntime/optimization/basic/VDP.mos_temp7432/equations-expected2024-04-20 01:40:22.942317249 +0000
+++ /tmp/omc-rtest-omtmpuser/openmodelica/cruntime/optimization/basic/VDP.mos_temp7432/equations-got2024-04-20 01:40:23.322313021 +0000
@@ -1,32 +1,17 @@
 true
 ""
 true
 ""
 record SimulationResult
-resultFile = "nmpcVDP_res.mat",
-simulationOptions = "startTime = 0.0, stopTime = 20.0, numberOfIntervals = 50, tolerance = 1e-08, method = 'optimization', fileNamePrefix = 'nmpcVDP', options = '', outputFormat = 'mat', variableFilter = '.*', cflags = '', simflags = ''",
-messages = "LOG_SUCCESS       | info    | The initialization finished successfully without homotopy method.
-
-Optimizer Variables
-========================================================
-State[0]:cost(start = 10, nominal = 11, min = -Inf, max = +Inf, init = 10)
-State[1]:x1(start = 0, nominal = 1, min = -Inf, max = +Inf, init = 0)
-State[2]:x2(start = 1, nominal = 2, min = -Inf, max = +Inf, init = 1)
-Input[3]:u(start = 0, nominal = 1, min = -0.5, max = 1)
---------------------------------------------------------
-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_SUCCESS       | info    | The simulation finished successfully.
-"
+resultFile = "",
+simulationOptions = "startTime = 0.0, stopTime = 20.0, numberOfIntervals = 50, tolerance = 1e-8, method = 'optimization', fileNamePrefix = 'nmpcVDP', options = '', outputFormat = 'mat', variableFilter = '.*', cflags = '', simflags = ''",
+messages = "Failed to run the optimize command: nmpcVDP"
 end SimulationResult;
-""
-{"Files Equal!"}
+"[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 nmpcVDP_res.mat: No such file or directory
+Error: Error opening file: nmpcVDP_res.mat
 "

Equation mismatch: omc-diff says:
Failed 'n' '"'
Line 6: Text differs:
expected: resultFile = "nmpcVDP_res.mat",
got:      resultFile = "",

== 1 out of 1 tests failed [openmodelica/cruntime/optimization/basic/VDP.mos_temp7432, time: 1]