Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint.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.001452/0.001452, allocations: 112.9 kB / 20.54 MB, free: 1.777 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.001501/0.001501, allocations: 192.6 kB / 23.71 MB, free: 5.402 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.312/1.312, 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.2033/0.2033, allocations: 44.91 MB / 352.4 MB, free: 12.24 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.CheckConstaintTorqueUniversalJoint,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|universal.phi_a|universal.phi_b|universal.w_a|universal.w_b",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint") translateModel(ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|universal.phi_a|universal.phi_b|universal.w_a|universal.w_b",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.46e-05/2.46e-05, allocations: 2.281 kB / 495.9 MB, free: 1.922 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint): time 0.01124/0.01127, allocations: 9.643 MB / 0.4937 GB, free: 8.23 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.007722/0.01899, allocations: 3.858 MB / 0.4975 GB, free: 4.359 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001537/0.02053, allocations: 55.81 kB / 0.4975 GB, free: 4.305 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004579/0.0251, allocations: 2.34 MB / 0.4998 GB, free: 1.957 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004226/0.02933, allocations: 1.693 MB / 0.5015 GB, free: 264 kB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001567/0.0309, allocations: 0.6901 MB / 0.5022 GB, free: 15.57 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.005661/0.03656, allocations: 4.068 MB / 0.5061 GB, free: 11.49 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00175/0.03831, allocations: 1.274 MB / 0.5074 GB, free: 10.2 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001751/0.04006, allocations: 1.164 MB / 0.5085 GB, free: 9.027 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00249/0.04255, allocations: 1.994 MB / 0.5105 GB, free: 7.027 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000281/0.04283, allocations: 152 kB / 0.5106 GB, free: 6.879 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001707/0.04454, allocations: 0.9437 MB / 0.5115 GB, free: 5.934 MB / 382.1 MB Notification: Performance of combineBinaries: time 0.003449/0.04799, allocations: 3.841 MB / 0.5153 GB, free: 2.059 MB / 382.1 MB Notification: Performance of replaceArrayConstructors: time 0.1881/0.2361, allocations: 2.244 MB / 0.5175 GB, free: 20.98 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000878/0.237, allocations: 268.2 kB / 0.5177 GB, free: 20.98 MB / 382.1 MB Notification: Performance of FrontEnd: time 0.0004393/0.2374, allocations: 83.8 kB / 0.5178 GB, free: 20.98 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: 1305 (419) * Number of variables: 1305 (387) Notification: Performance of Bindings: time 0.008037/0.2455, allocations: 8.14 MB / 0.5258 GB, free: 19.23 MB / 382.1 MB Notification: Performance of FunctionAlias: time 0.0009314/0.2464, allocations: 0.8242 MB / 0.5266 GB, free: 19.21 MB / 382.1 MB Notification: Performance of Early Inline: time 0.7441/0.9905, allocations: 389.1 MB / 0.9065 GB, free: 1.816 MB / 0.5606 GB Notification: Performance of Simplify 1: time 0.3561/1.347, allocations: 54.29 MB / 0.9595 GB, free: 132.7 MB / 0.6075 GB Notification: Performance of Alias: time 0.1759/1.523, allocations: 108.3 MB / 1.065 GB, free: 95.66 MB / 0.6075 GB Notification: Performance of Simplify 2: time 0.08509/1.608, allocations: 54.11 MB / 1.118 GB, free: 69.54 MB / 0.6075 GB Notification: Performance of Remove Stream: time 0.06409/1.672, allocations: 37.55 MB / 1.155 GB, free: 31.89 MB / 0.6075 GB Notification: Performance of Detect States: time 0.3852/2.057, allocations: 72.91 MB / 1.226 GB, free: 124.3 MB / 0.6075 GB Notification: Performance of Events: time 0.5761/2.633, allocations: 279.2 MB / 1.499 GB, free: 184.5 MB / 0.6387 GB Notification: Performance of Partitioning: time 0.01415/2.647, allocations: 9.253 MB / 1.508 GB, free: 179 MB / 0.6387 GB Error: Internal error NBResolveSingularities.noIndexReduction failed. (10|12) Unmatched Variables ***************************** [ALGB] (1) protected Real universal.revolute_b.constantTorque.w [DER-] (1) Real $DER.universal.revolute_a.constantTorque.phi [ALGB] (3) flow Real[3] bodyCylinder.frame_a.f slice: {0} [ALGB] (1) Real universal.a_b (start = 0.0) [ALGB] (1) Real universal.revolute_b.a (start = 0.0) [ALGB] (3) Real[3] bodyCylinder.body.z_a (fixed = {false for $f1 in 1:3}, start = Modelica.Mechanics.MultiBody.Frames.resolve2(bodyCylinder.body.R_start, bodyCylinder.body.z_0_start)) slice: {2} [ALGB] (3) Real[3] bodyCylinder.a_0 (start = {0.0, 0.0, 0.0}) [DER-] (1) Real $DER.universal.revolute_a.w [ALGB] (3) Real[3] bodyCylinder.body.a_0 (start = {0.0, 0.0, 0.0}) slice: {0} [DER-] (1) Real $DER.universal.w_a (10|12) Unmatched Equations ***************************** [SCAL] (1) universal.revolute_b.constantTorque.phi = universal.phi_b ($RES_SIM_17) [FOR-] (3) ($RES_SIM_469) [----] for $f1 in 1:3 loop [----] [SCAL] (1) world.frame_b.r_0[$f1] = 0.0 ($RES_SIM_470) [----] end for; slice: {2} [SCAL] (1) universal.revolute_a.constantTorque.phi = universal.phi_a ($RES_SIM_35) [SCAL] (1) universal.w_a = $DER.universal.phi_a ($RES_SIM_3) [SCAL] (1) universal.w_b = $DER.universal.phi_b ($RES_SIM_2) [SCAL] (1) bodyCylinder.r_0[3] = bodyCylinder.body.r_0[3] ($RES_SIM_179) [SCAL] (1) world.frame_b.r_0[1] = bodyCylinder.r_0[1] ($RES_SIM_102) [SCAL] (1) bodyCylinder.r_0[2] = bodyCylinder.body.r_0[2] ($RES_SIM_181) [SCAL] (1) bodyCylinder.r_0[1] = bodyCylinder.body.r_0[1] ($RES_SIM_183) [ARRY] (9) universal.revolute_b.R_rel.T = ((identity(3) - promote(universal.revolute_b.e, 2) * transpose(promote(universal.revolute_b.e, 2))) .* cos(universal.phi_b) + promote(universal.revolute_b.e, 2) * transpose(promote(universal.revolute_b.e, 2))) - {{0.0, -universal.revolute_b.e[3], universal.revolute_b.e[2]}, {universal.revolute_b.e[3], 0.0, -universal.revolute_b.e[1]}, {-universal.revolute_b.e[2], universal.revolute_b.e[1], 0.0}} .* sin(universal.phi_b) ($RES_SIM_527) slice: {6, 7, 8} " [Timeout remaining time 657] [Calling sys.exit(0), Time elapsed: 5.077237831428647]