Skip to content

Failed

simulation_modelica_NBackend_basics.partitioning.mos (from (result.xml))

Failing for the past 9 builds (Since #3695 )
Took 12 sec.

Stacktrace

Output mismatch (see stdout for details)

Standard Output

 + partitioning                                                                      ... equation mismatch [time: 12]

==== Log C:\Windows\TEMP/omc-rtest-OpenModelica/simulation/modelica/NBackend/basics/partitioning.mos_temp2080/log-partitioning.mos
true
""
true
""
##############################################

[dumpSynchronous] Partitioning result:

##############################################

===========================
CONTINUOUS 1 ODE System
===========================

Unknown Variables (2/2)
*************************
(1)       [ALGB] (1) Real z
(2)       [ALGB] (1) Real k


Equations Equations (2/2)
***************************
(1)       [SCAL] (1) k = cos(time) ($RES_$AUX_5)
(2)       [SCAL] (1) z = a ^ 2.0 * k ($RES_SIM_2)



===========================
CONTINUOUS 2 ODE System
===========================

Unknown Variables (3/3)
*************************
(1)       [ALGB] (1) Real y
(2)       [ALGB] (1) Real $FUN_2
(3)       [DER-] (1) Real $DER.x


Equations Equations (3/3)
***************************
(1)       [SCAL] (1) $DER.x = $FUN_2 ($RES_SIM_0)
(2)       [SCAL] (1) $FUN_2 = sin(time) ($RES_$AUX_4)
(3)       [SCAL] (1) y = x ^ 2.0 + a ($RES_SIM_1)



record SimulationResult
    resultFile = "partitioning_res.mat",
    simulationOptions = "startTime = 0.0, stopTime = 1.0, numberOfIntervals = 500, tolerance = 1e-6, method = 'dassl', fileNamePrefix = 'partitioning', options = '', outputFormat = 'mat', variableFilter = '.*', cflags = '', simflags = ''",
    messages = "LOG_SUCCESS       | info    | The initialization finished successfully without homotopy method.
LOG_SUCCESS       | info    | The simulation finished successfully.
"
end SimulationResult;
""
0.4596922009166694
'' 
Equation mismatch: diff says: 
--- "C:\\Windows\\TEMP/omc-rtest-OpenModelica/simulation/modelica/NBackend/basics/partitioning.mos_temp2080/equations-expected"2024-04-18 15:47:00.558412000 +0200
+++ "C:\\Windows\\TEMP/omc-rtest-OpenModelica/simulation/modelica/NBackend/basics/partitioning.mos_temp2080/equations-got"2024-04-18 15:47:12.730412400 +0200
@@ -18,12 +18,12 @@
 (2)       [ALGB] (1) Real k
 
 
 Equations Equations (2/2)
 ***************************
-(1)       [SCAL] (1) z = a ^ 2.0 * k ($RES_SIM_2)
-(2)       [SCAL] (1) k = cos(time) ($RES_$AUX_5)
+(1) [SCAL] (1) k = cos(time) ($RES_$AUX_5)
+(2) [SCAL] (1) z = a ^ 2.0 * k ($RES_SIM_2)
 
 
 
 ===========================
 CONTINUOUS 2 ODE System
@@ -36,13 +36,13 @@
 (3)       [DER-] (1) Real $DER.x
 
 
 Equations Equations (3/3)
 ***************************
-(1)       [SCAL] (1) y = x ^ 2.0 + a ($RES_SIM_1)
-(2)       [SCAL] (1) $DER.x = $FUN_2 ($RES_SIM_0)
-(3)       [SCAL] (1) $FUN_2 = sin(time) ($RES_$AUX_4)
+(1) [SCAL] (1) $DER.x = $FUN_2 ($RES_SIM_0)
+(2) [SCAL] (1) $FUN_2 = sin(time) ($RES_$AUX_4)
+(3) [SCAL] (1) y = x ^ 2.0 + a ($RES_SIM_1)
 
 
 
 record SimulationResult
 resultFile = "partitioning_res.mat",
@@ -50,6 +50,6 @@
 messages = "LOG_SUCCESS       | info    | The initialization finished successfully without homotopy method.
 LOG_SUCCESS       | info    | The simulation finished successfully.
 "
 end SimulationResult;
 ""
-0.45969220091667
+0.4596922009166694
'' 
Equation mismatch: omc-diff says: 
Failed 'z' 'k'
Line 23: Text differs:
expected: ) z = a ^ 
got:      ) k = cos(time) ($RES_$AUX_

== 1 out of 1 tests failed [simulation/modelica/NBackend/basics/partitioning.mos_temp2080, time: 12]