Failed
simulation_modelica_NBackend_basics.partitioning.mos (from (result.xml))
Stacktrace
Output mismatch (see stdout for details)
Standard Output
+ partitioning ... equation mismatch [time: 11] ==== Log C:\WINDOWS\TEMP/omc-rtest-OpenModelica/simulation/modelica/NBackend/basics/partitioning.mos_temp5755/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_temp5755/equations-expected"2024-04-26 18:45:19.781670600 +0200 +++ "C:\\WINDOWS\\TEMP/omc-rtest-OpenModelica/simulation/modelica/NBackend/basics/partitioning.mos_temp5755/equations-got"2024-04-26 18:45:30.952671600 +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_temp5755, time: 12]