Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.GearConstraint.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.001398/0.001398, 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.001604/0.001604, allocations: 189.7 kB / 23.72 MB, free: 5.266 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.361/1.361, allocations: 225.6 MB / 252.3 MB, free: 13.32 MB / 206.1 MB " [Timeout remaining time 178] 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.2101/0.2101, 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.GearConstraint,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|gearConstraint.actuatedRevolute_b.phi|gearConstraint.actuatedRevolute_b.w|inertia2.phi|inertia2.w",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.GearConstraint") translateModel(ModelicaTest.MultiBody.Joints.GearConstraint,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|gearConstraint.actuatedRevolute_b.phi|gearConstraint.actuatedRevolute_b.w|inertia2.phi|inertia2.w",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.GearConstraint") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.43e-05/2.43e-05, allocations: 2.281 kB / 495.9 MB, free: 1.918 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.GearConstraint): time 0.02134/0.02136, allocations: 18.84 MB / 0.5027 GB, free: 14.99 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01188/0.03324, allocations: 5.368 MB / 0.508 GB, free: 9.605 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002503/0.03574, allocations: 123.6 kB / 0.5081 GB, free: 9.484 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.008348/0.04409, allocations: 4.863 MB / 0.5128 GB, free: 4.605 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007593/0.05168, allocations: 3.187 MB / 0.5159 GB, free: 1.406 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002033/0.05372, allocations: 0.9164 MB / 0.5168 GB, free: 500 kB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.2093/0.263, allocations: 8.773 MB / 0.5254 GB, free: 15.17 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004786/0.2678, allocations: 2.802 MB / 0.5281 GB, free: 14.96 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00591/0.2737, allocations: 2.638 MB / 0.5307 GB, free: 14.61 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007201/0.2809, allocations: 4.265 MB / 0.5349 GB, free: 14.19 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001169/0.2821, allocations: 342.5 kB / 0.5352 GB, free: 14.19 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003639/0.2857, allocations: 1.153 MB / 0.5363 GB, free: 14.11 MB / 382.1 MB Notification: Performance of combineBinaries: time 0.006815/0.2925, allocations: 8.619 MB / 0.5447 GB, free: 9.586 MB / 382.1 MB Notification: Performance of replaceArrayConstructors: time 0.003979/0.2965, allocations: 4.885 MB / 0.5495 GB, free: 6.711 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001379/0.2979, allocations: 0.5505 MB / 0.55 GB, free: 6.395 MB / 382.1 MB Notification: Performance of FrontEnd: time 0.0009993/0.2989, allocations: 182.2 kB / 0.5502 GB, free: 6.336 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3026 (948) * Number of variables: 3026 (861) Notification: Performance of Bindings: time 0.01783/0.3167, allocations: 18.19 MB / 0.568 GB, free: 7.941 MB / 398.1 MB Notification: Performance of FunctionAlias: time 0.002305/0.319, allocations: 1.952 MB / 0.5699 GB, free: 6.137 MB / 398.1 MB Notification: Performance of Early Inline: time 2.834/3.153, allocations: 1.134 GB / 1.704 GB, free: 86.91 MB / 0.7794 GB Notification: Performance of Simplify 1: time 0.2838/3.437, allocations: 162.2 MB / 1.863 GB, free: 1.094 MB / 0.7794 GB Notification: Performance of Alias: time 1.444/4.881, allocations: 319.1 MB / 2.174 GB, free: 139.3 MB / 0.8419 GB Notification: Performance of Simplify 2: time 0.3009/5.182, allocations: 161.8 MB / 2.332 GB, free: 132.4 MB / 0.8419 GB Notification: Performance of Remove Stream: time 0.2247/5.407, allocations: 112.2 MB / 2.442 GB, free: 78.41 MB / 0.8419 GB Notification: Performance of Detect States: time 0.719/6.126, allocations: 218.1 MB / 2.655 GB, free: 105 MB / 0.8419 GB Notification: Performance of Events: time 1.528/7.654, allocations: 0.8463 GB / 3.501 GB, free: 13 MB / 0.8419 GB Notification: Performance of Partitioning: time 0.3281/7.982, allocations: 25.62 MB / 3.526 GB, free: 363.1 MB / 0.8419 GB Error: Internal error NBResolveSingularities.noIndexReduction failed. (18|63) Unmatched Variables ***************************** [ALGB] (27) protected input Real[3, 3, 3] fixedFrame2.z_label.cylinders.R.T = {fixedFrame2.z_label.R.T, fixedFrame2.z_label.R.T, fixedFrame2.z_label.R.T} slice: {3, 4, 5, 12, 13, 14, 21, 22, 23} [ALGB] (27) protected input Real[3, 3, 3] fixedFrame1.z_label.cylinders.R.T = {fixedFrame1.z_label.R.T, fixedFrame1.z_label.R.T, fixedFrame1.z_label.R.T} slice: {3, 4, 5, 12, 13, 14, 21, 22, 23} [ALGB] (3) flow Real[3] gearConstraint.fixedTranslation2.frame_b.t slice: {1} [ALGB] (3) Real[3] cyl1.body.a_0 (start = {0.0, 0.0, 0.0}) [DER-] (1) Real $DER.gearConstraint.w_b [ALGB] (9) protected Real[3, 3] fixedFrame1.z_label.cylinders.r = {fixedFrame1.z_label.r_abs + Modelica.Mechanics.MultiBody.Frames.TransformationMatrices.resolve1(fixedFrame1.z_label.R_lines, {fixedFrame1.z_label.lines[(1:3)[$cylinders1], 1, 1], fixedFrame1.z_label.lines[(1:3)[$cylinders1], 1, 2], 0.0}) for $cylinders1 in 1:3} slice: {2} [ALGB] (18) protected input Real[2, 3, 3] fixedFrame2.y_label.cylinders.R.T = {fixedFrame2.y_label.R.T, fixedFrame2.y_label.R.T} slice: {5, 6, 7, 13, 14, 15} [ALGB] (3) Real[3] cyl2.a_0 (start = {0.0, 0.0, 0.0}) [ALGB] (3) Real[3] cyl1.a_0 (start = {0.0, 0.0, 0.0}) [ALGB] (3) Real[3] cyl1.body.z_a (fixed = {false for $f1 in 1:3}, start = Modelica.Mechanics.MultiBody.Frames.resolve2(cyl1.body.R_start, cyl1.body.z_0_start)) slice: {2} [DER-] (1) Real $DER.gearConstraint.actuatedRevolute_a.w [ALGB] (1) Real gearConstraint.actuatedRevolute_b.a (start = 0.0) [ALGB] (6) protected input Real[2, 3] fixedFrame1.y_label.cylinders.R.w = {fixedFrame1.y_label.R.w, fixedFrame1.y_label.R.w} [ALGB] (3) flow Real[3] cyl2.frame_a.t slice: {0, 1} [ALGB] (18) protected input Real[2, 3, 3] fixedFrame2.x_label.cylinders.R.T = {fixedFrame2.x_label.R.T, fixedFrame2.x_label.R.T} slice: {5, 6, 7, 13, 14, 15} [ALGB] (18) protected input Real[2, 3, 3] fixedFrame1.x_label.cylinders.R.T = {fixedFrame1.x_label.R.T, fixedFrame1.x_label.R.T} slice: {5, 6, 7, 13, 14, 15} [ALGB] (1) Real inertia2.a [ALGB] (3) flow Real[3] world.frame_b.f (19|63) Unmatched Equations ***************************** [SCAL] (1) gearConstraint.idealGear.phi_b = gearConstraint.phi_b ($RES_SIM_93) [SCAL] (1) gearConstraint.actuatedRevolute_b.w = $DER.gearConstraint.phi_b ($RES_SIM_103) [SCAL] (1) cyl1.r_0[3] = cyl1.body.r_0[3] ($RES_SIM_329) [SCAL] (1) cyl1.r_0[2] = cyl1.body.r_0[2] ($RES_SIM_331) [SCAL] (1) cyl1.r_0[1] = cyl1.body.r_0[1] ($RES_SIM_333) [SCAL] (1) cyl2.r_0[3] = cyl2.body.r_0[3] ($RES_SIM_286) [SCAL] (1) cyl2.r_0[2] = cyl2.body.r_0[2] ($RES_SIM_288) [SCAL] (1) cyl2.r_0[1] = cyl2.body.r_0[1] ($RES_SIM_290) [FOR-] (36) ($RES_BND_1078) [----] for $i1 in 1:3 loop [----] [RECD] (12) fixedFrame1.z_label.cylinders[$i1].R = fixedFrame1.z_label.R ($RES_BND_1079) [----] end for; slice: {27, 28, 29, 30, 31, 32, 33, 34, 35} [FOR-] (24) ($RES_BND_1073) [----] for $i1 in 1:2 loop [----] [RECD] (12) fixedFrame1.y_label.cylinders[$i1].R = fixedFrame1.y_label.R ($RES_BND_1074) [----] end for; slice: {18, 19, 20, 21, 22, 23} [FOR-] (24) ($RES_BND_1068) [----] for $i1 in 1:2 loop [----] [RECD] (12) fixedFrame1.x_label.cylinders[$i1].R = fixedFrame1.x_label.R ($RES_BND_1069) [----] end for; slice: {18, 19, 20, 21, 22, 23} [FOR-] (36) ($RES_BND_1063) [----] for $i1 in 1:3 loop [----] [RECD] (12) fixedFrame2.z_label.cylinders[$i1].R = fixedFrame2.z_label.R ($RES_BND_1064) [----] end for; slice: {27, 28, 29, 30, 31, 32, 33, 34, 35} [FOR-] (24) ($RES_BND_1058) [----] for $i1 in 1:2 loop [----] [RECD] (12) fixedFrame2.y_label.cylinders[$i1].R = fixedFrame2.y_label.R ($RES_BND_1059) [----] end for; slice: {18, 19, 20, 21, 22, 23} [FOR-] (24) ($RES_BND_1053) [----] for $i1 in 1:2 loop [----] [RECD] (12) fixedFrame2.x_label.cylinders[$i1].R = fixedFrame2.x_label.R ($RES_BND_1054) [----] end for; slice: {18, 19, 20, 21, 22, 23} [SCAL] (1) idealGear.phi_b = mounting1D.phi0 - idealGear.phi_support ($RES_SIM_15) [SCAL] (1) world.frame_b.R.T[1, 2] = 0.0 ($RES_SIM_1127) [SCAL] (1) world.frame_b.R.T[1, 1] = 1.0 ($RES_SIM_1126) [ARRY] (9) gearConstraint.actuatedRevolute_b.R_rel.T = ((identity(3) - promote(-gearConstraint.actuatedRevolute_b.e, 2) * transpose(promote(-gearConstraint.actuatedRevolute_b.e, 2))) .* cos(gearConstraint.phi_b) + promote(-gearConstraint.actuatedRevolute_b.e, 2) * transpose(promote(-gearConstraint.actuatedRevolute_b.e, 2))) - {{0.0, -(-gearConstraint.actuatedRevolute_b.e)[3], (-gearConstraint.actuatedRevolute_b.e)[2]}, {(-gearConstraint.actuatedRevolute_b.e)[3], 0.0, -(-gearConstraint.actuatedRevolute_b.e)[1]}, {-(-gearConstraint.actuatedRevolute_b.e)[2], (-gearConstraint.actuatedRevolute_b.e)[1], 0.0}} .* sin(gearConstraint.phi_b) ($RES_SIM_1120) slice: {1, 2, 3, 5, 6, 7, 8} [ARRY] (3) cyl2.body.w_a = cyl2.body.frame_a.R.w ($RES_SIM_47) " [Timeout remaining time 652] [Calling sys.exit(0), Time elapsed: 10.560498924925923]