Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.Distance2.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.001483/0.001483, allocations: 110.4 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.001494/0.001494, allocations: 190.9 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.322/1.322, allocations: 225.6 MB / 252.3 MB, free: 13.34 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.2067/0.2067, allocations: 44.91 MB / 352.4 MB, free: 12.23 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.Sensors.Distance2,tolerance=1e-10,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|distance1.distance|distance2.distance",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.Distance2") translateModel(ModelicaTest.MultiBody.Sensors.Distance2,tolerance=1e-10,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|distance1.distance|distance2.distance",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.Distance2") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.022e-05/2.022e-05, allocations: 6.219 kB / 495.9 MB, free: 1.926 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.Distance2): time 0.01051/0.01053, allocations: 9.323 MB / 0.4934 GB, free: 8.551 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.006765/0.01729, allocations: 3.629 MB / 0.4969 GB, free: 4.91 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009552/0.01825, allocations: 47.88 kB / 0.497 GB, free: 4.863 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003687/0.02194, allocations: 1.962 MB / 0.4989 GB, free: 2.895 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006124/0.02806, allocations: 1.681 MB / 0.5005 GB, free: 1.207 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001982/0.03004, allocations: 0.5692 MB / 0.5011 GB, free: 0.6367 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.007665/0.03771, allocations: 3.927 MB / 0.5049 GB, free: 12.7 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002533/0.04024, allocations: 1.211 MB / 0.5061 GB, free: 11.47 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003346/0.04359, allocations: 1.125 MB / 0.5072 GB, free: 10.34 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004403/0.04799, allocations: 2.006 MB / 0.5092 GB, free: 8.328 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008659/0.04885, allocations: 148 kB / 0.5093 GB, free: 8.184 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003334/0.05219, allocations: 0.9398 MB / 0.5102 GB, free: 7.242 MB / 382.1 MB Notification: Performance of combineBinaries: time 0.004212/0.0564, allocations: 3.857 MB / 0.514 GB, free: 3.352 MB / 382.1 MB Notification: Performance of replaceArrayConstructors: time 0.001985/0.05839, allocations: 2.177 MB / 0.5161 GB, free: 1.148 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005478/0.05893, allocations: 247.2 kB / 0.5164 GB, free: 0.9062 MB / 382.1 MB Notification: Performance of FrontEnd: time 0.000457/0.05939, allocations: 83.23 kB / 0.5164 GB, free: 0.8242 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: 1269 (431) * Number of variables: 1269 (373) Notification: Performance of Bindings: time 0.2169/0.2763, allocations: 7.938 MB / 0.5242 GB, free: 21.54 MB / 382.1 MB Notification: Performance of FunctionAlias: time 0.001209/0.2775, allocations: 0.9089 MB / 0.5251 GB, free: 21.47 MB / 382.1 MB Notification: Performance of Early Inline: time 0.787/1.065, allocations: 389.2 MB / 0.9052 GB, free: 5.305 MB / 0.5606 GB Notification: Performance of Simplify 1: time 0.3685/1.433, allocations: 54.29 MB / 0.9582 GB, free: 130.7 MB / 0.6075 GB Notification: Performance of Alias: time 0.1817/1.615, allocations: 108 MB / 1.064 GB, free: 94.23 MB / 0.6075 GB Notification: Performance of Simplify 2: time 0.08949/1.704, allocations: 54.11 MB / 1.117 GB, free: 70.96 MB / 0.6075 GB Notification: Performance of Remove Stream: time 0.07431/1.779, allocations: 37.54 MB / 1.153 GB, free: 33.32 MB / 0.6075 GB Notification: Performance of Detect States: time 0.3637/2.142, allocations: 72.92 MB / 1.224 GB, free: 126.8 MB / 0.6075 GB Notification: Performance of Events: time 0.5411/2.683, allocations: 279.3 MB / 1.497 GB, free: 160.9 MB / 0.6231 GB Notification: Performance of Partitioning: time 0.01561/2.699, allocations: 9.331 MB / 1.506 GB, free: 155.3 MB / 0.6231 GB Error: Internal error NBResolveSingularities.noIndexReduction failed. (8|11) Unmatched Variables **************************** [ALGB] (3) Real[3] BodyBox1.body.a_0 (start = {0.0, 0.0, 0.0}) slice: {0} [ALGB] (3) Real[3] BodyBox1.a_0 (start = {0.0, 0.0, 0.0}) [DER-] (1) Real $DER.Revolute1.w [ALGB] (3) flow Real[3] Revolute1.frame_b.t slice: {0} [ALGB] (3) flow Real[3] Revolute1.frame_a.f slice: {0} [ALGB] (3) Real[3] BodyBox1.body.z_a (fixed = {false for $f1 in 1:3}, start = Modelica.Mechanics.MultiBody.Frames.resolve2(BodyBox1.body.R_start, BodyBox1.body.z_0_start)) slice: {0, 1} [ALGB] (1) Real Der1.y [DER-] (1) Real $DER.Revolute1.constantTorque.phi (9|11) Unmatched Equations **************************** [SCAL] (1) BodyBox1.r_0[3] = BodyBox1.body.r_0[3] ($RES_SIM_159) [SCAL] (1) Revolute1.constantTorque.phi = Revolute1.angle ($RES_SIM_46) [SCAL] (1) BodyBox1.r_0[2] = BodyBox1.body.r_0[2] ($RES_SIM_161) [SCAL] (1) BodyBox1.r_0[1] = BodyBox1.body.r_0[1] ($RES_SIM_163) [SCAL] (1) world.frame_b.R.T[3, 3] = 1.0 ($RES_SIM_511) [ARRY] (9) Revolute1.R_rel.T = ((identity(3) - promote(Revolute1.e, 2) * transpose(promote(Revolute1.e, 2))) .* cos(Revolute1.angle) + promote(Revolute1.e, 2) * transpose(promote(Revolute1.e, 2))) - {{0.0, -Revolute1.e[3], Revolute1.e[2]}, {Revolute1.e[3], 0.0, -Revolute1.e[1]}, {-Revolute1.e[2], Revolute1.e[1], 0.0}} .* sin(Revolute1.angle) ($RES_SIM_516) slice: {6, 7, 8} [SCAL] (1) Revolute1.cylinder.r[2] = world.frame_b.r_0[2] ($RES_SIM_117) [SCAL] (1) Revolute1.cylinder.r[3] = BodyBox1.r_0[3] ($RES_SIM_79) [SCAL] (1) Revolute1.cylinder.r[1] = world.frame_b.r_0[1] ($RES_SIM_119) " [Timeout remaining time 657] [Calling sys.exit(0), Time elapsed: 5.1903102695941925]