Failed
tests / 04 testsuite-clang 1/3 / simulation_modelica_nonlinear_system.bug_3527.mos (from (result.xml))
Stacktrace
Output mismatch (see stdout for details)
Standard Output
+ bug_3527 ... equation mismatch [time: 3] ==== Log /tmp/omc-rtest-omtmpuser/simulation/modelica/nonlinear_system/bug_3527.mos_temp8974/log-bug_3527.mos true "" true "" record SimulationResult resultFile = "inlineFunctionLoop_res.mat", simulationOptions = "startTime = 0.0, stopTime = 1.0, numberOfIntervals = 500, tolerance = 1e-6, method = 'dassl', fileNamePrefix = 'inlineFunctionLoop', 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; "Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 ('-d=stateselection' for list of states) * Number of discrete variables: 0 ('-d=discreteinfo' for list of discrete vars) * Number of discrete states: 0 ('-d=discreteinfo' for list of discrete states) * Number of clocked states: 0 ('-d=discreteinfo' for list of clocked states) * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,1)} [BackEnd/SymbolicJacobian.mo:0:0-0:0:writable] Error: Internal error function generateSparsePattern failed Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 ('-d=stateselection' for list of states) * Number of discrete variables: 0 ('-d=discreteinfo' for list of discrete vars) * Number of discrete states: 0 ('-d=discreteinfo' for list of discrete states) * Number of clocked states: 0 ('-d=discreteinfo' for list of clocked states) * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} " {0.0,-0.7061414637186959} {0.5707963267948966,1.5206694131329987} {0.0,0.28964750602119593} Equation mismatch: diff says: --- /tmp/omc-rtest-omtmpuser/simulation/modelica/nonlinear_system/bug_3527.mos_temp8974/equations-expected2024-05-04 02:02:20.119047842 +0000 +++ /tmp/omc-rtest-omtmpuser/simulation/modelica/nonlinear_system/bug_3527.mos_temp8974/equations-got2024-05-04 02:02:23.707070406 +0000 @@ -2,11 +2,11 @@ "" true "" record SimulationResult resultFile = "inlineFunctionLoop_res.mat", -simulationOptions = "startTime = 0.0, stopTime = 1.0, numberOfIntervals = 500, tolerance = 1e-06, method = 'dassl', fileNamePrefix = 'inlineFunctionLoop', options = '', outputFormat = 'mat', variableFilter = '.*', cflags = '', simflags = ''", +simulationOptions = "startTime = 0.0, stopTime = 1.0, numberOfIntervals = 500, tolerance = 1e-6, method = 'dassl', fileNamePrefix = 'inlineFunctionLoop', 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; "Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: @@ -37,10 +37,11 @@ * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,1)} +[BackEnd/SymbolicJacobian.mo:0:0-0:0:writable] Error: Internal error function generateSparsePattern failed Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 ('-d=stateselection' for list of states) * Number of discrete variables: 0 ('-d=discreteinfo' for list of discrete vars) * Number of discrete states: 0 ('-d=discreteinfo' for list of discrete states) @@ -66,7 +67,7 @@ * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} " {0.0,-0.7061414637186959} -{0.5707963267948966,1.520669413132999} -{0.0,0.2896475060211959} +{0.5707963267948966,1.5206694131329987} +{0.0,0.28964750602119593} Equation mismatch: omc-diff says: Failed 'N' '[' Line 42: Text differs: expected: Notification: Model statistics after passing the back got: [BackEnd/SymbolicJacobian.mo: == 1 out of 1 tests failed [simulation/modelica/nonlinear_system/bug_3527.mos_temp8974, time: 3]