Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.SphericalSpherical2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001656/0.001656, allocations: 109 kB / 20.54 MB, free: 1.91 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002015/0.002015, allocations: 189.1 kB / 23.72 MB, free: 5.262 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.294/1.294, allocations: 225.6 MB / 252.3 MB, free: 13.35 MB / 206.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2076/0.2076, allocations: 44.93 MB / 352.4 MB, free: 12.21 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.MultiBody.Joints.SphericalSpherical2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5034,variableFilter="time|body.Q.1.|body.Q.2.|body.Q.3.|body.Q.4.|body.w_a.1.|body.w_a.2.|body.w_a.3.|bodyBox.body.Q.1.|bodyBox.body.Q.2.|bodyBox.body.Q.3.|bodyBox.body.Q.4.|bodyBox.body.frame_a.r_0.1.|bodyBox.body.frame_a.r_0.2.|bodyBox.body.frame_a.r_0.3.|bodyBox.body.w_a.1.|bodyBox.body.w_a.2.|bodyBox.body.w_a.3.|bodyBox1.body.Q.1.|bodyBox1.body.Q.2.|bodyBox1.body.Q.3.|bodyBox1.body.Q.4.|bodyBox1.body.w_a.1.|bodyBox1.body.w_a.2.|bodyBox1.body.w_a.3.|bodyBox2.body.Q.1.|bodyBox2.body.Q.2.|bodyBox2.body.Q.3.|bodyBox2.body.Q.4.|bodyBox2.body.frame_a.r_0.1.|bodyBox2.body.frame_a.r_0.2.|bodyBox2.body.frame_a.r_0.3.|bodyBox2.body.w_a.1.|bodyBox2.body.w_a.2.|bodyBox2.body.w_a.3.|bodyBox2.v_0.1.|bodyBox2.v_0.2.|bodyBox2.v_0.3.|sphericalSpherical.v_CM_0.1.|sphericalSpherical.v_CM_0.2.|sphericalSpherical.v_CM_0.3.|sphericalSpherical1.v_CM_0.1.|sphericalSpherical1.v_CM_0.2.|sphericalSpherical1.v_CM_0.3.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.SphericalSpherical2") translateModel(ModelicaTest.MultiBody.Joints.SphericalSpherical2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5034,variableFilter="time|body.Q.1.|body.Q.2.|body.Q.3.|body.Q.4.|body.w_a.1.|body.w_a.2.|body.w_a.3.|bodyBox.body.Q.1.|bodyBox.body.Q.2.|bodyBox.body.Q.3.|bodyBox.body.Q.4.|bodyBox.body.frame_a.r_0.1.|bodyBox.body.frame_a.r_0.2.|bodyBox.body.frame_a.r_0.3.|bodyBox.body.w_a.1.|bodyBox.body.w_a.2.|bodyBox.body.w_a.3.|bodyBox1.body.Q.1.|bodyBox1.body.Q.2.|bodyBox1.body.Q.3.|bodyBox1.body.Q.4.|bodyBox1.body.w_a.1.|bodyBox1.body.w_a.2.|bodyBox1.body.w_a.3.|bodyBox2.body.Q.1.|bodyBox2.body.Q.2.|bodyBox2.body.Q.3.|bodyBox2.body.Q.4.|bodyBox2.body.frame_a.r_0.1.|bodyBox2.body.frame_a.r_0.2.|bodyBox2.body.frame_a.r_0.3.|bodyBox2.body.w_a.1.|bodyBox2.body.w_a.2.|bodyBox2.body.w_a.3.|bodyBox2.v_0.1.|bodyBox2.v_0.2.|bodyBox2.v_0.3.|sphericalSpherical.v_CM_0.1.|sphericalSpherical.v_CM_0.2.|sphericalSpherical.v_CM_0.3.|sphericalSpherical1.v_CM_0.1.|sphericalSpherical1.v_CM_0.2.|sphericalSpherical1.v_CM_0.3.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.SphericalSpherical2") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 1.964e-05/1.964e-05, allocations: 2.281 kB / 495.9 MB, free: 1.891 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.SphericalSpherical2): time 0.02794/0.02796, allocations: 27.38 MB / 0.5111 GB, free: 6.391 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.2172/0.2452, allocations: 8.549 MB / 0.5194 GB, free: 14.12 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00663/0.2518, allocations: 233.3 kB / 0.5196 GB, free: 14.12 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02314/0.275, allocations: 13.8 MB / 0.5331 GB, free: 13.79 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01248/0.2875, allocations: 3.985 MB / 0.537 GB, free: 12.48 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01023/0.2977, allocations: 5.194 MB / 0.5421 GB, free: 9.648 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.01894/0.3166, allocations: 14.53 MB / 0.5563 GB, free: 2.285 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01437/0.331, allocations: 8.59 MB / 0.5647 GB, free: 9.805 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.009594/0.3406, allocations: 4.868 MB / 0.5694 GB, free: 5.238 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01163/0.3522, allocations: 7.039 MB / 0.5763 GB, free: 14.83 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003169/0.3554, allocations: 0.8789 MB / 0.5771 GB, free: 13.95 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006657/0.362, allocations: 1.973 MB / 0.5791 GB, free: 12.05 MB / 414.1 MB Notification: Performance of combineBinaries: time 0.01762/0.3797, allocations: 13.73 MB / 0.5925 GB, free: 15.02 MB / 430.1 MB Notification: Performance of replaceArrayConstructors: time 0.007593/0.3873, allocations: 7.314 MB / 0.5996 GB, free: 8.055 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003645/0.3909, allocations: 0.9271 MB / 0.6005 GB, free: 7.125 MB / 430.1 MB Notification: Performance of FrontEnd: time 0.001772/0.3927, allocations: 261.6 kB / 0.6008 GB, free: 6.883 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4369 (1856) * Number of variables: 4369 (1220) Notification: Performance of Bindings: time 0.04052/0.4332, allocations: 29.63 MB / 0.6297 GB, free: 10.61 MB / 462.1 MB Notification: Performance of FunctionAlias: time 0.006556/0.4398, allocations: 4.157 MB / 0.6338 GB, free: 6.691 MB / 462.1 MB Notification: Performance of Early Inline: time 1.105/1.545, allocations: 408.1 MB / 1.032 GB, free: 105.3 MB / 0.6231 GB Notification: Performance of Simplify 1: time 0.1215/1.666, allocations: 57.2 MB / 1.088 GB, free: 85.1 MB / 0.6231 GB Notification: Performance of Alias: time 0.5002/2.166, allocations: 123.1 MB / 1.208 GB, free: 128.6 MB / 0.6544 GB Notification: Performance of Simplify 2: time 0.09612/2.262, allocations: 56.66 MB / 1.264 GB, free: 128.2 MB / 0.6544 GB Notification: Performance of Remove Stream: time 0.08141/2.344, allocations: 39.8 MB / 1.303 GB, free: 124.6 MB / 0.6544 GB Notification: Performance of Detect States: time 0.1126/2.456, allocations: 76.31 MB / 1.377 GB, free: 76.67 MB / 0.6544 GB Notification: Performance of Events: time 0.5943/3.051, allocations: 281.6 MB / 1.652 GB, free: 45.75 MB / 0.6544 GB Notification: Performance of Partitioning: time 0.02481/3.076, allocations: 17.94 MB / 1.67 GB, free: 29.25 MB / 0.6544 GB Error: Internal error NBResolveSingularities.noIndexReduction failed. (26|40) Unmatched Variables ***************************** [ALGB] (3) flow Real[3] sphericalSpherical.frame_a.f slice: {0} [DER-] (4) Real[4] $DER.bodyBox1.body.Q slice: {0} [ALGB] (1) Real sphericalSpherical1.f_rod [ALGB] (3) flow Real[3] bodyBox.frame_a.f slice: {1} [DER-] (3) Real[3] $DER.freeMotionScalarInit.derv.u slice: {0, 2} [ALGB] (3) Real[3] rs3.v_rel [ALGB] (3) Real[3] rs2.v_rel [ALGB] (3) Real[3] rs1.v_rel [ALGB] (3) flow Real[3] world.frame_b.f slice: {1} [ALGB] (3) Real[3] body.z_a (fixed = {false for $f1 in 1:3}, start = Modelica.Mechanics.MultiBody.Frames.resolve2(body.R_start, body.z_0_start)) slice: {0} [ALGB] (3) Real[3] body.a_0 (start = {0.0, 0.0, 0.0}) slice: {0} [ALGB] (3) flow Real[3] bodyBox2.frame_a.f slice: {2} [ALGB] (1) Real freeMotionScalarInit1.v_rel_a_1 (start = 0.0, StateSelect = never) [ALGB] (3) flow Real[3] sphericalSpherical1.frame_b.f slice: {1} [DER-] (4) Real[4] $DER.body.Q slice: {0} [ALGB] (3) Real[3] bodyBox.a_0 (start = {0.0, 0.0, 0.0}) [ALGB] (3) flow Real[3] fixedTranslation.frame_b.f slice: {0} [ALGB] (3) Real[3] bodyBox1.a_0 (start = {0.0, 0.0, 0.0}) [ALGB] (3) Real[3] bodyBox2.a_0 (start = {0.0, 0.0, 0.0}) [ALGB] (3) flow Real[3] body.frame_a.t slice: {1, 2} [ALGB] (3) Real[3] bodyBox2.body.a_0 (start = {0.0, 0.0, 0.0}) slice: {0} [ALGB] (3) protected Real[3] freeMotionScalarInit1.derv.y slice: {1} [DER-] (4) Real[4] $DER.bodyBox2.body.Q slice: {0} [ALGB] (1) Real freeMotionScalarInit.v_rel_a_2 (fixed = true, start = 0.0, StateSelect = never) [DER-] (4) Real[4] $DER.bodyBox.body.Q slice: {0} [ALGB] (1) Real freeMotionScalarInit1.v_rel_a_3 (fixed = true, start = 0.0, StateSelect = never) (38|40) Unmatched Equations ***************************** [SCAL] (1) 0.0 = (-1.0) + bodyBox2.body.Q * bodyBox2.body.Q ($RES_SIM_2428) [SCAL] (1) 0.0 = (-1.0) + body.Q * body.Q ($RES_SIM_2413) [SCAL] (1) bodyBox.r_0[1] = bodyBox.body.r_0[1] ($RES_SIM_1220) [SCAL] (1) bodyBox.r_0[2] = bodyBox.body.r_0[2] ($RES_SIM_1218) [SCAL] (1) bodyBox.r_0[3] = bodyBox.body.r_0[3] ($RES_SIM_1216) [SCAL] (1) 0.0 = (-1.0) + bodyBox1.body.Q * bodyBox1.body.Q ($RES_SIM_2398) [SCAL] (1) freeMotionScalarInit1.initPosition.r_a_0[3] = world.frame_b.r_0[3] ($RES_SIM_519) [SCAL] (1) freeMotionScalarInit1.initPosition.r_a_0[2] = world.frame_b.r_0[2] ($RES_SIM_524) [SCAL] (1) freeMotionScalarInit1.initPosition.r_a_0[1] = world.frame_b.r_0[1] ($RES_SIM_529) [SCAL] (1) 0.0 = (-1.0) + bodyBox.body.Q * bodyBox.body.Q ($RES_SIM_2349) [SCAL] (1) bodyBox.body.frame_a.R.T[2, 2] = (-1.0) + 2.0 * (bodyBox.body.Q[2] * bodyBox.body.Q[2] + bodyBox.body.Q[4] * bodyBox.body.Q[4]) ($RES_SIM_2342) [SCAL] (1) bodyBox1.r_0[1] = bodyBox1.body.r_0[1] ($RES_SIM_1177) [SCAL] (1) bodyBox1.r_0[2] = bodyBox1.body.r_0[2] ($RES_SIM_1175) [SCAL] (1) bodyBox1.r_0[3] = bodyBox1.body.r_0[3] ($RES_SIM_1173) [SCAL] (1) rs1.transformVector_v_rel.frame_a.R.T[3, 3] = rs1.relativePosition.frame_a.R.T[3, 3] ($RES_SIM_1350) [SCAL] (1) bodyBox.body.frame_a.R.T[1, 1] = (-1.0) + 2.0 * (bodyBox.body.Q[1] * bodyBox.body.Q[1] + bodyBox.body.Q[4] * bodyBox.body.Q[4]) ($RES_SIM_2337) [SCAL] (1) body.frame_a.R.T[1, 3] = fixedTranslation.frame_b.R.T[1, 3] ($RES_SIM_374) [SCAL] (1) body.frame_a.R.T[1, 3] = fixedTranslation1.frame_a.R.T[1, 3] ($RES_SIM_375) [SCAL] (1) body.frame_a.R.T[1, 2] = fixedTranslation.frame_b.R.T[1, 2] ($RES_SIM_376) [SCAL] (1) body.frame_a.R.T[1, 2] = fixedTranslation1.frame_a.R.T[1, 2] ($RES_SIM_377) [SCAL] (1) body.frame_a.R.T[1, 1] = fixedTranslation.frame_b.R.T[1, 1] ($RES_SIM_378) [SCAL] (1) body.frame_a.R.T[1, 1] = fixedTranslation1.frame_a.R.T[1, 1] ($RES_SIM_379) [SCAL] (1) freeMotionScalarInit1.frame_a.R.T[2, 2] = world.frame_b.R.T[2, 2] ($RES_SIM_569) [ARRY] (3) freeMotionScalarInit1.initPosition.r_b_0 = freeMotionScalarInit1.initPosition.r_a_0 + Modelica.Mechanics.MultiBody.Frames.resolve1(freeMotionScalarInit1.initPosition.R_a, {freeMotionScalarInit1.initPosition.r_rel_a[1], freeMotionScalarInit1.initPosition.r_rel_a[2], freeMotionScalarInit1.initPosition.r_rel_a[3]}) ($RES_SIM_15) slice: {2} [SCAL] (1) freeMotionScalarInit1.frame_a.R.T[2, 1] = world.frame_b.R.T[2, 1] ($RES_SIM_574) [SCAL] (1) freeMotionScalarInit1.frame_a.R.T[1, 3] = sphericalSpherical1.frame_a.R.T[1, 3] ($RES_SIM_577) [SCAL] (1) freeMotionScalarInit1.frame_a.R.T[1, 3] = world.frame_b.R.T[1, 3] ($RES_SIM_579) [SCAL] (1) bodyBox2.r_0[1] = bodyBox2.body.r_0[1] ($RES_SIM_1134) [SCAL] (1) bodyBox2.r_0[2] = bodyBox2.body.r_0[2] ($RES_SIM_1132) [SCAL] (1) bodyBox2.r_0[3] = bodyBox2.body.r_0[3] ($RES_SIM_1130) [SCAL] (1) freeMotionScalarInit1.frame_a.R.T[1, 2] = sphericalSpherical1.frame_a.R.T[1, 2] ($RES_SIM_582) [SCAL] (1) freeMotionScalarInit1.frame_a.R.T[1, 2] = world.frame_b.R.T[1, 2] ($RES_SIM_584) [SCAL] (1) freeMotionScalarInit1.frame_a.R.T[1, 1] = sphericalSpherical1.frame_a.R.T[1, 1] ($RES_SIM_587) [SCAL] (1) freeMotionScalarInit1.frame_a.R.T[1, 1] = world.frame_b.R.T[1, 1] ($RES_SIM_589) [SCAL] (1) bodyBox2.r_0[3] = bodyBox2.frameTranslation.shape.r[3] ($RES_SIM_1129) [SCAL] (1) 0.0 = sphericalSpherical.rRod_0 * sphericalSpherical.rRod_0 - sphericalSpherical.rodLength * sphericalSpherical.rodLength ($RES_BND_1636) [ARRY] (3) rs2.relativePosition.relativePosition.frame_a.R.w = rs2.relativePosition.frame_a.R.w ($RES_SIM_1114) [SCAL] (1) 0.0 = sphericalSpherical1.rRod_0 * sphericalSpherical1.rRod_0 - sphericalSpherical1.rodLength * sphericalSpherical1.rodLength ($RES_BND_1802) " [Timeout remaining time 657] [Calling sys.exit(0), Time elapsed: 5.778954912908375]