Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Constraints.UniversalConstraint.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Mechanics.MultiBody.Examples.Constraints.UniversalConstraint,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|bodyOfConstraint.body.w_a.1.|bodyOfConstraint.body.w_a.2.|bodyOfConstraint.body.w_a.3.|joint.phi_a|joint.phi_b|joint.w_a|joint.w_b",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Constraints.UniversalConstraint") translateModel(Modelica.Mechanics.MultiBody.Examples.Constraints.UniversalConstraint,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|bodyOfConstraint.body.w_a.1.|bodyOfConstraint.body.w_a.2.|bodyOfConstraint.body.w_a.3.|joint.phi_a|joint.phi_b|joint.w_a|joint.w_b",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Constraints.UniversalConstraint") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001628/0.001628, allocations: 104.5 kB / 19.05 MB, free: 3.664 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001454/0.001454, allocations: 214.5 kB / 20.03 MB, free: 2.684 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.204/1.204, allocations: 230.4 MB / 251.3 MB, free: 8.742 MB / 206.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.438e-05/1.438e-05, allocations: 2.281 kB / 368.8 MB, free: 6.605 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Constraints.UniversalConstraint): time 0.138/0.138, allocations: 20.36 MB / 389.2 MB, free: 3.453 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.01076/0.1488, allocations: 6.525 MB / 395.7 MB, free: 15.04 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003148/0.1519, allocations: 159.1 kB / 395.9 MB, free: 15.01 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01123/0.1631, allocations: 7.119 MB / 403 MB, free: 11.17 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005965/0.1691, allocations: 2.781 MB / 405.8 MB, free: 9.152 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004553/0.1737, allocations: 2.566 MB / 408.3 MB, free: 7.375 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.00948/0.1831, allocations: 8.131 MB / 416.5 MB, free: 1.023 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00609/0.1892, allocations: 5.049 MB / 421.5 MB, free: 11.88 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003937/0.1932, allocations: 2.893 MB / 424.4 MB, free: 8.977 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004464/0.1976, allocations: 3.344 MB / 427.7 MB, free: 5.621 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0009335/0.1986, allocations: 484 kB / 428.2 MB, free: 5.148 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00262/0.2012, allocations: 1.502 MB / 429.7 MB, free: 3.645 MB / 334.1 MB Notification: Performance of combineBinaries: time 0.005394/0.2066, allocations: 7.226 MB / 436.9 MB, free: 12.34 MB / 350.1 MB Notification: Performance of replaceArrayConstructors: time 0.00317/0.2097, allocations: 4.54 MB / 441.5 MB, free: 7.746 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008535/0.2106, allocations: 0.5997 MB / 442.1 MB, free: 7.145 MB / 350.1 MB Notification: Performance of FrontEnd: time 0.0006505/0.2113, allocations: 170.7 kB / 442.3 MB, free: 6.977 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2598 (1092) * Number of variables: 2546 (785) Notification: Performance of Bindings: time 0.01643/0.2277, allocations: 18.06 MB / 460.3 MB, free: 4.453 MB / 366.1 MB Notification: Performance of FunctionAlias: time 0.001971/0.2297, allocations: 2.314 MB / 462.6 MB, free: 2.133 MB / 366.1 MB Notification: Performance of Early Inline: time 0.7033/0.9329, allocations: 350 MB / 0.7936 GB, free: 75.75 MB / 0.5294 GB Notification: Performance of Simplify 1: time 0.07969/1.013, allocations: 55.48 MB / 0.8478 GB, free: 67.66 MB / 0.5294 GB Notification: Performance of Alias: time 0.3249/1.338, allocations: 116 MB / 0.961 GB, free: 108 MB / 0.5606 GB Notification: Performance of Simplify 2: time 0.07198/1.409, allocations: 55.18 MB / 1.015 GB, free: 107.7 MB / 0.5606 GB Notification: Performance of Remove Stream: time 0.05504/1.465, allocations: 38.46 MB / 1.052 GB, free: 96.11 MB / 0.5606 GB Notification: Performance of Detect States: time 0.07624/1.541, allocations: 74.3 MB / 1.125 GB, free: 41.95 MB / 0.5606 GB Notification: Performance of Events: time 0.6058/2.147, allocations: 289.9 MB / 1.408 GB, free: 203 MB / 0.5919 GB Notification: Performance of Partitioning: time 0.01389/2.16, allocations: 12.71 MB / 1.421 GB, free: 200.4 MB / 0.5919 GB Error: Internal error NBResolveSingularities.noIndexReduction failed. (19|29) Unmatched Variables ***************************** [DER-] (1) Real $DER.joint.w_b [ALGB] (1) Real joint.a_a (start = 0.0) [DER-] (1) Real $DER.joint.revolute_b.w [ALGB] (3) flow Real[3] bodyOfConstraint.frame_a.f slice: {2} [ALGB] (1) protected Real constraint.P [ALGB] (1) Real joint.revolute_a.a (start = 0.0) [DER-] (1) Real $DER.joint.revolute_b.constantTorque.phi [ALGB] (3) Real[3] bodyOfConstraint.a_0 (start = {0.0, 0.0, 0.0}) [ALGB] (3) flow Real[3] world.frame_b.t slice: {0, 2} [ALGB] (3) Real[3] bodyOfJoint.a_0 (start = {0.0, 0.0, 0.0}) [ALGB] (3) Real[3] bodyOfJoint.body.a_0 (start = {0.0, 0.0, 0.0}) slice: {0, 1} [ALGB] (1) protected Real joint.revolute_a.constantTorque.w [ALGB] (3) flow Real[3] bodyOfJoint.frame_a.f slice: {1} [DER-] (3) Real[3] $DER.freeMotionScalarInit.derd.u slice: {0, 2} [ALGB] (3) flow Real[3] world.frame_b.f slice: {0} [DER-] (3) Real[3] $DER.constraint.frame_a.r_0 slice: {0, 1} [ALGB] (3) Real[3] bodyOfConstraint.body.a_0 (start = {0.0, 0.0, 0.0}) slice: {0} [DER-] (3) Real[3] $DER.constraint.frame_b.r_0 [ALGB] (1) Real freeMotionScalarInit.angle_d_2 (start = 0.0, StateSelect = never) (21|29) Unmatched Equations ***************************** [SCAL] (1) bodyOfConstraint.r_0[3] = constraint.frame_b.r_0[3] ($RES_SIM_210) [SCAL] (1) bodyOfConstraint.r_0[2] = constraint.frame_b.r_0[2] ($RES_SIM_213) [SCAL] (1) bodyOfConstraint.r_0[1] = constraint.frame_b.r_0[1] ($RES_SIM_216) [SCAL] (1) freeMotionScalarInit.initAngle.angle[3] = freeMotionScalarInit.derd[3].u ($RES_SIM_504) [SCAL] (1) freeMotionScalarInit.initAngle.angle[2] = freeMotionScalarInit.derd[2].u ($RES_SIM_506) [SCAL] (1) freeMotionScalarInit.initAngle.angle[1] = freeMotionScalarInit.derd[1].u ($RES_SIM_508) [SCAL] (1) bodyOfJoint.r_0[2] = bodyOfJoint.body.r_0[2] ($RES_SIM_600) [SCAL] (1) bodyOfJoint.r_0[1] = bodyOfJoint.body.r_0[1] ($RES_SIM_602) [SCAL] (1) joint.revolute_b.w = $DER.joint.phi_b ($RES_SIM_168) [SCAL] (1) joint.revolute_b.constantTorque.phi = joint.phi_b ($RES_SIM_171) [SCAL] (1) joint.revolute_a.w = $DER.joint.phi_a ($RES_SIM_186) [SCAL] (1) joint.revolute_a.constantTorque.phi = joint.phi_a ($RES_SIM_189) [SCAL] (1) bodyOfConstraint.r_0[3] = bodyOfConstraint.body.r_0[3] ($RES_SIM_555) [SCAL] (1) bodyOfConstraint.r_0[2] = bodyOfConstraint.body.r_0[2] ($RES_SIM_557) [SCAL] (1) bodyOfConstraint.r_0[1] = bodyOfConstraint.body.r_0[1] ($RES_SIM_559) [SCAL] (1) fixedRotation.frame_b.r_0[3] = bodyOfJoint.r_0[3] ($RES_SIM_291) [SCAL] (1) fixedRotation.frame_b.r_0[2] = bodyOfJoint.r_0[2] ($RES_SIM_295) [SCAL] (1) fixedRotation.frame_b.r_0[1] = bodyOfJoint.r_0[1] ($RES_SIM_299) [SCAL] (1) bodyOfJoint.r_0[3] = bodyOfJoint.body.r_0[3] ($RES_SIM_598) [ARRY] (3) fixedRotation.frame_b.r_0 = fixedRotation.shape.r + Modelica.Mechanics.MultiBody.Frames.resolve1(fixedRotation.frame_a.R, {0.2, -0.3, 0.2}) ($RES_SIM_28) [RECD] (12) world.frame_b.R = Modelica.Mechanics.MultiBody.Frames.Orientation({{1.0, 0.0, 0.0}, {0.0, 1.0, 0.0}, {0.0, 0.0, 1.0}}, {0.0, 0.0, 0.0}) ($RES_SIM_29) slice: {0, 2, 4, 6, 8, 9, 11}