Skip to content

Failed

simulation_libraries_msl32.Modelica.Mechanics.MultiBody.Examples.Constraints.PrismaticConstraint.mos (from (result.xml))

Failing for the past 178 builds (Since #3532 )
Took 23 sec.

Stacktrace

Output mismatch (see stdout for details)

Standard Output

 + Modelica.Mechanics.MultiBody.Examples.Constraints.PrismaticConstraint             ... equation mismatch [time: 23]

==== Log C:\Windows\TEMP/omc-rtest-OpenModelica/simulation/libraries/msl32/Modelica.Mechanics.MultiBody.Examples.Constraints.PrismaticConstraint.mos_temp9170/log-Modelica.Mechanics.MultiBody.Examples.Constraints.PrismaticConstraint.mos
"true
"
""
OpenModelicaModelTesting.Kind.VerifiedSimulation
Modelica.Mechanics.MultiBody.Examples.Constraints.PrismaticConstraint
{"bodyOfJoint.v_0[2]","bodyOfJoint.v_0[3]","bodyOfJoint.body.frame_a.r_0[2]","bodyOfJoint.body.frame_a.r_0[3]","bodyOfConstraint.v_0[2]","bodyOfConstraint.v_0[3]","bodyOfConstraint.body.frame_a.r_0[2]","bodyOfConstraint.body.frame_a.r_0[3]"}
Simulation options: startTime = 0.0, stopTime = 10.0, numberOfIntervals = 500, tolerance = 1e-6, method = 'dassl', fileNamePrefix = 'Modelica.Mechanics.MultiBody.Examples.Constraints.PrismaticConstraint', options = '', outputFormat = 'mat', variableFilter = 'time|bodyOfJoint.v_0.2.|bodyOfJoint.v_0.3.|bodyOfJoint.body.frame_a.r_0.2.|bodyOfJoint.body.frame_a.r_0.3.|bodyOfConstraint.v_0.2.|bodyOfConstraint.v_0.3.|bodyOfConstraint.body.frame_a.r_0.2.|bodyOfConstraint.body.frame_a.r_0.3.', cflags = '', simflags = ' -abortSlowSimulation -alarm=360 -emit_protected'
Result file: Modelica.Mechanics.MultiBody.Examples.Constraints.PrismaticConstraint_res.mat
Messages: LOG_SUCCESS       | info    | The initialization finished successfully without homotopy method.
LOG_SUCCESS       | info    | The simulation finished successfully.

Files Equal!
Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts.
Warning: The linear system: 
1 : bodyOfConstraint.v_0[1] = 0.21486551488510403 * freeMotionScalarInit.v_rel_a_1 + (-0.5318108111446445) * freeMotionScalarInit.v_rel_a_2 + 0.8191520442889918 * freeMotionScalarInit.v_rel_a_3
2 : 0.0 = 0.8191520442889918 * bodyOfConstraint.v_0[1] + (-0.0996005029250512) * bodyOfConstraint.v_0[2] + 0.5648625214636234 * bodyOfConstraint.v_0[3]
3 : bodyOfConstraint.v_0[3] = (-0.14119408087712543) * freeMotionScalarInit.v_rel_a_1 + 0.8130157214783864 * freeMotionScalarInit.v_rel_a_2 + 0.5648625214636234 * freeMotionScalarInit.v_rel_a_3
4 : bodyOfConstraint.v_0[2] = 0.9663834860128886 * freeMotionScalarInit.v_rel_a_1 + 0.23702889650558212 * freeMotionScalarInit.v_rel_a_2 + (-0.0996005029250512) * freeMotionScalarInit.v_rel_a_3
[
  0.0 , -0.21486551488510403 , 0.0 , 1.0 ;
  0.0996005029250512 , 0.0 , -0.5648625214636234 , -0.8191520442889918 ;
  0.0 , 0.14119408087712543 , 1.0 , 0.0 ;
  1.0 , -0.9663834860128886 , 0.0 , 0.0
]
  *
[
  bodyOfConstraint.v_0[2] ;
  freeMotionScalarInit.v_rel_a_1 ;
  bodyOfConstraint.v_0[3] ;
  bodyOfConstraint.v_0[1]
]
  =
[
  (-0.5318108111446445) * freeMotionScalarInit.v_rel_a_2 + 0.8191520442889918 * freeMotionScalarInit.v_rel_a_3 ;
  -0.0 ;
  0.8130157214783864 * freeMotionScalarInit.v_rel_a_2 + 0.5648625214636234 * freeMotionScalarInit.v_rel_a_3 ;
  0.23702889650558212 * freeMotionScalarInit.v_rel_a_2 + (-0.0996005029250512) * freeMotionScalarInit.v_rel_a_3
]
 might be structurally or numerically singular for variable bodyOfConstraint.v_0[1] since U(4,4) = 0.0. It might be hard to solve. Compilation continues anyway.

"true
"
""
'' 
Equation mismatch: diff says: 
--- "C:\\Windows\\TEMP/omc-rtest-OpenModelica/simulation/libraries/msl32/Modelica.Mechanics.MultiBody.Examples.Constraints.PrismaticConstraint.mos_temp9170/equations-expected"2024-04-19 16:55:42.294827800 +0200
+++ "C:\\Windows\\TEMP/omc-rtest-OpenModelica/simulation/libraries/msl32/Modelica.Mechanics.MultiBody.Examples.Constraints.PrismaticConstraint.mos_temp9170/equations-got"2024-04-19 16:56:05.390422100 +0200
@@ -2,16 +2,42 @@
 "
 ""
 OpenModelicaModelTesting.Kind.VerifiedSimulation
 Modelica.Mechanics.MultiBody.Examples.Constraints.PrismaticConstraint
 {"bodyOfJoint.v_0[2]","bodyOfJoint.v_0[3]","bodyOfJoint.body.frame_a.r_0[2]","bodyOfJoint.body.frame_a.r_0[3]","bodyOfConstraint.v_0[2]","bodyOfConstraint.v_0[3]","bodyOfConstraint.body.frame_a.r_0[2]","bodyOfConstraint.body.frame_a.r_0[3]"}
-Simulation options: startTime = 0.0, stopTime = 10.0, numberOfIntervals = 500, tolerance = 1e-06, method = 'dassl', fileNamePrefix = 'Modelica.Mechanics.MultiBody.Examples.Constraints.PrismaticConstraint', options = '', outputFormat = 'mat', variableFilter = 'time|bodyOfJoint.v_0.2.|bodyOfJoint.v_0.3.|bodyOfJoint.body.frame_a.r_0.2.|bodyOfJoint.body.frame_a.r_0.3.|bodyOfConstraint.v_0.2.|bodyOfConstraint.v_0.3.|bodyOfConstraint.body.frame_a.r_0.2.|bodyOfConstraint.body.frame_a.r_0.3.', cflags = '', simflags = ' -abortSlowSimulation -alarm=360 -emit_protected'
+Simulation options: startTime = 0.0, stopTime = 10.0, numberOfIntervals = 500, tolerance = 1e-6, method = 'dassl', fileNamePrefix = 'Modelica.Mechanics.MultiBody.Examples.Constraints.PrismaticConstraint', options = '', outputFormat = 'mat', variableFilter = 'time|bodyOfJoint.v_0.2.|bodyOfJoint.v_0.3.|bodyOfJoint.body.frame_a.r_0.2.|bodyOfJoint.body.frame_a.r_0.3.|bodyOfConstraint.v_0.2.|bodyOfConstraint.v_0.3.|bodyOfConstraint.body.frame_a.r_0.2.|bodyOfConstraint.body.frame_a.r_0.3.', cflags = '', simflags = ' -abortSlowSimulation -alarm=360 -emit_protected'
 Result file: Modelica.Mechanics.MultiBody.Examples.Constraints.PrismaticConstraint_res.mat
 Messages: LOG_SUCCESS       | info    | The initialization finished successfully without homotopy method.
 LOG_SUCCESS       | info    | The simulation finished successfully.
 
 Files Equal!
 Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts.
+Warning: The linear system: 
+1 : bodyOfConstraint.v_0[1] = 0.21486551488510403 * freeMotionScalarInit.v_rel_a_1 + (-0.5318108111446445) * freeMotionScalarInit.v_rel_a_2 + 0.8191520442889918 * freeMotionScalarInit.v_rel_a_3
+2 : 0.0 = 0.8191520442889918 * bodyOfConstraint.v_0[1] + (-0.0996005029250512) * bodyOfConstraint.v_0[2] + 0.5648625214636234 * bodyOfConstraint.v_0[3]
+3 : bodyOfConstraint.v_0[3] = (-0.14119408087712543) * freeMotionScalarInit.v_rel_a_1 + 0.8130157214783864 * freeMotionScalarInit.v_rel_a_2 + 0.5648625214636234 * freeMotionScalarInit.v_rel_a_3
+4 : bodyOfConstraint.v_0[2] = 0.9663834860128886 * freeMotionScalarInit.v_rel_a_1 + 0.23702889650558212 * freeMotionScalarInit.v_rel_a_2 + (-0.0996005029250512) * freeMotionScalarInit.v_rel_a_3
+[
+0.0 , -0.21486551488510403 , 0.0 , 1.0 ;
+0.0996005029250512 , 0.0 , -0.5648625214636234 , -0.8191520442889918 ;
+0.0 , 0.14119408087712543 , 1.0 , 0.0 ;
+1.0 , -0.9663834860128886 , 0.0 , 0.0
+]
+*
+[
+bodyOfConstraint.v_0[2] ;
+freeMotionScalarInit.v_rel_a_1 ;
+bodyOfConstraint.v_0[3] ;
+bodyOfConstraint.v_0[1]
+]
+=
+[
+(-0.5318108111446445) * freeMotionScalarInit.v_rel_a_2 + 0.8191520442889918 * freeMotionScalarInit.v_rel_a_3 ;
+-0.0 ;
+0.8130157214783864 * freeMotionScalarInit.v_rel_a_2 + 0.5648625214636234 * freeMotionScalarInit.v_rel_a_3 ;
+0.23702889650558212 * freeMotionScalarInit.v_rel_a_2 + (-0.0996005029250512) * freeMotionScalarInit.v_rel_a_3
+]
+might be structurally or numerically singular for variable bodyOfConstraint.v_0[1] since U(4,4) = 0.0. It might be hard to solve. Compilation continues anyway.
 
 "true
 "
 ""
'' 
Equation mismatch: omc-diff says: 
Line 14: Lexical token differs:
expected: 

got:      Warning: The linear system: 

== 1 out of 1 tests failed [simulation/libraries/msl32/Modelica.Mechanics.MultiBody.Examples.Constraints.PrismaticConstraint.mos_temp9170, time: 23]