Skip to content

Failed

tests / 06 testsuite-clang 3/3 / openmodelica_cruntime_optimization_basic.TFC5.mos (from (result.xml))

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

Stacktrace

Output mismatch (see stdout for details)

Standard Output

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

==== Log /tmp/omc-rtest-omtmpuser/openmodelica/cruntime/optimization/basic/TFC5.mos_temp7515/log-TFC5.mos
true
""
true
""
true
Trying with maxSizeSolveLinearSystem=0
""
record SimulationResult
    resultFile = "",
    simulationOptions = "startTime = 0.0, stopTime = 5.0, numberOfIntervals = 20, tolerance = 1e-8, method = 'optimization', fileNamePrefix = 'testFinalCon5_', options = '', outputFormat = 'mat', variableFilter = '.*', cflags = '', simflags = '-optimizerNP=1 -iif=ReferenceFiles/testFinalCon5_ref.mat -ipopt_init=FILE'",
    messages = "Failed to run the optimize command: testFinalCon5_"
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 testFinalCon5__res.mat: No such file or directory
Error: Error opening file: testFinalCon5__res.mat
"
Trying with maxSizeSolveLinearSystem=20
true
""
record SimulationResult
    resultFile = "",
    simulationOptions = "startTime = 0.0, stopTime = 5.0, numberOfIntervals = 20, tolerance = 1e-8, method = 'optimization', fileNamePrefix = 'testFinalCon5', options = '', outputFormat = 'mat', variableFilter = '.*', cflags = '', simflags = '-optimizerNP=1'",
    messages = "Failed to run the optimize command: testFinalCon5"
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 testFinalCon5__res.mat: No such file or directory
Error: Error opening file: testFinalCon5__res.mat
"

Equation mismatch: diff says:
--- /tmp/omc-rtest-omtmpuser/openmodelica/cruntime/optimization/basic/TFC5.mos_temp7515/equations-expected2024-04-20 01:44:08.671724800 +0000
+++ /tmp/omc-rtest-omtmpuser/openmodelica/cruntime/optimization/basic/TFC5.mos_temp7515/equations-got2024-04-20 01:44:10.059690983 +0000
@@ -4,72 +4,33 @@
 ""
 true
 Trying with maxSizeSolveLinearSystem=0
 ""
 record SimulationResult
-resultFile = "testFinalCon5__res.mat",
-simulationOptions = "startTime = 0.0, stopTime = 5.0, numberOfIntervals = 20, tolerance = 1e-08, method = 'optimization', fileNamePrefix = 'testFinalCon5_', options = '', outputFormat = 'mat', variableFilter = '.*', cflags = '', simflags = '-optimizerNP=1 -iif=ReferenceFiles/testFinalCon5_ref.mat -ipopt_init=FILE'",
-messages = "LOG_ASSERT        | warning | The following assertion has been violated at time 0.000000
-|                 | |       | (($finalCon$final_con2 >= 0.0 and $finalCon$final_con2 <= 0.0)) --> \"Variable violating min/max constraint: 0.0 <= $finalCon$final_con2 <= 0.0, has value: -3\"
-LOG_ASSERT        | warning | The following assertion has been violated at time 0.000000
-|                 | |       | (($finalCon$final_con1 >= 0.0 and $finalCon$final_con1 <= 0.0)) --> \"Variable violating min/max constraint: 0.0 <= $finalCon$final_con1 <= 0.0, has value: -2\"
-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)
-Input[2]:u(start = 5.47918, nominal = 6.47918, min = -Inf, max = +Inf)
---------------------------------------------------------
-number of nonlinear constraints: 0
-========================================================
-LOG_STDOUT        | info    | Using values from file as initial guess.
-
-******************************************************************************
-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 = 5.0, numberOfIntervals = 20, tolerance = 1e-8, method = 'optimization', fileNamePrefix = 'testFinalCon5_', options = '', outputFormat = 'mat', variableFilter = '.*', cflags = '', simflags = '-optimizerNP=1 -iif=ReferenceFiles/testFinalCon5_ref.mat -ipopt_init=FILE'",
+messages = "Failed to run the optimize command: testFinalCon5_"
 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 testFinalCon5__res.mat: No such file or directory
+Error: Error opening file: testFinalCon5__res.mat
 "
 Trying with maxSizeSolveLinearSystem=20
 true
 ""
 record SimulationResult
-resultFile = "testFinalCon5_res.mat",
-simulationOptions = "startTime = 0.0, stopTime = 5.0, numberOfIntervals = 20, tolerance = 1e-08, method = 'optimization', fileNamePrefix = 'testFinalCon5', options = '', outputFormat = 'mat', variableFilter = '.*', cflags = '', simflags = '-optimizerNP=1'",
-messages = "LOG_ASSERT        | warning | The following assertion has been violated at time 0.000000
-|                 | |       | (($finalCon$final_con2 >= 0.0 and $finalCon$final_con2 <= 0.0)) --> \"Variable violating min/max constraint: 0.0 <= $finalCon$final_con2 <= 0.0, has value: -3\"
-LOG_ASSERT        | warning | The following assertion has been violated at time 0.000000
-|                 | |       | (($finalCon$final_con1 >= 0.0 and $finalCon$final_con1 <= 0.0)) --> \"Variable violating min/max constraint: 0.0 <= $finalCon$final_con1 <= 0.0, has value: -2\"
-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)
-Input[2]:u(start = 0, nominal = 1, min = -Inf, max = +Inf)
---------------------------------------------------------
-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 = 5.0, numberOfIntervals = 20, tolerance = 1e-8, method = 'optimization', fileNamePrefix = 'testFinalCon5', options = '', outputFormat = 'mat', variableFilter = '.*', cflags = '', simflags = '-optimizerNP=1'",
+messages = "Failed to run the optimize command: testFinalCon5"
 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 testFinalCon5__res.mat: No such file or directory
+Error: Error opening file: testFinalCon5__res.mat
 "

Equation mismatch: omc-diff says:
Failed 't' '"'
Line 9: Text differs:
expected: resultFile = "testFinalCon
got:      resultFile = "",

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