Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.RelativeSensor.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.001255/0.001255, 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.001255/0.001255, allocations: 187.1 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.317/1.317, allocations: 225.6 MB / 252.3 MB, free: 13.36 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.2071/0.2071, 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.Sensors.RelativeSensor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|relative_a1.r_rel.3.|relative_a1.v_rel.3.|relative_a1.a_rel.3.|relative_a1.angles.3.|relative_a1.w_rel.3.|relative_a2.r_rel.3.|relative_a2.v_rel.3.|relative_a2.a_rel.3.|relative_a2.angles.3.|relative_a2.w_rel.3.|relative_a2.z_rel.3.|relative_b2.r_rel.3.|relative_b2.v_rel.3.|relative_b2.angles.3.|relative_b2.w_rel.3.|relative_b2.z_rel.3.|relative_b1.r_rel.3.|relative_b1.v_rel.3.|relative_b1.a_rel.3.|relative_b1.angles.3.|relative_b1.w_rel.3.|relative_b1.z_rel.3.|relativeSensor.r_rel.3.|relativeSensor.angles.3.|relative_a1.r_rel.2.|relative_a1.v_rel.2.|relative_a1.a_rel.2.|relative_a1.angles.2.|relative_a1.w_rel.2.|relative_a2.r_rel.2.|relative_a2.v_rel.2.|relative_a2.a_rel.2.|relative_a2.angles.2.|relative_a2.w_rel.2.|relative_a2.z_rel.2.|relative_b2.r_rel.2.|relative_b2.v_rel.2.|relative_b2.angles.2.|relative_b2.w_rel.2.|relative_b2.z_rel.2.|relative_b1.r_rel.2.|relative_b1.v_rel.2.|relative_b1.a_rel.2.|relative_b1.angles.2.|relative_b1.w_rel.2.|relative_b1.z_rel.2.|relativeSensor.r_rel.2.|relativeSensor.angles.2.|relative_a1.r_rel.1.|relative_a1.v_rel.1.|relative_a1.a_rel.1.|relative_a1.angles.1.|relative_a1.w_rel.1.|relative_a2.r_rel.1.|relative_a2.v_rel.1.|relative_a2.a_rel.1.|relative_a2.angles.1.|relative_a2.w_rel.1.|relative_a2.z_rel.1.|relative_b2.r_rel.1.|relative_b2.v_rel.1.|relative_b2.angles.1.|relative_b2.w_rel.1.|relative_b2.z_rel.1.|relative_b1.r_rel.1.|relative_b1.v_rel.1.|relative_b1.a_rel.1.|relative_b1.angles.1.|relative_b1.w_rel.1.|relative_b1.z_rel.1.|relativeSensor.r_rel.1.|relativeSensor.angles.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.RelativeSensor") translateModel(ModelicaTest.MultiBody.Sensors.RelativeSensor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|relative_a1.r_rel.3.|relative_a1.v_rel.3.|relative_a1.a_rel.3.|relative_a1.angles.3.|relative_a1.w_rel.3.|relative_a2.r_rel.3.|relative_a2.v_rel.3.|relative_a2.a_rel.3.|relative_a2.angles.3.|relative_a2.w_rel.3.|relative_a2.z_rel.3.|relative_b2.r_rel.3.|relative_b2.v_rel.3.|relative_b2.angles.3.|relative_b2.w_rel.3.|relative_b2.z_rel.3.|relative_b1.r_rel.3.|relative_b1.v_rel.3.|relative_b1.a_rel.3.|relative_b1.angles.3.|relative_b1.w_rel.3.|relative_b1.z_rel.3.|relativeSensor.r_rel.3.|relativeSensor.angles.3.|relative_a1.r_rel.2.|relative_a1.v_rel.2.|relative_a1.a_rel.2.|relative_a1.angles.2.|relative_a1.w_rel.2.|relative_a2.r_rel.2.|relative_a2.v_rel.2.|relative_a2.a_rel.2.|relative_a2.angles.2.|relative_a2.w_rel.2.|relative_a2.z_rel.2.|relative_b2.r_rel.2.|relative_b2.v_rel.2.|relative_b2.angles.2.|relative_b2.w_rel.2.|relative_b2.z_rel.2.|relative_b1.r_rel.2.|relative_b1.v_rel.2.|relative_b1.a_rel.2.|relative_b1.angles.2.|relative_b1.w_rel.2.|relative_b1.z_rel.2.|relativeSensor.r_rel.2.|relativeSensor.angles.2.|relative_a1.r_rel.1.|relative_a1.v_rel.1.|relative_a1.a_rel.1.|relative_a1.angles.1.|relative_a1.w_rel.1.|relative_a2.r_rel.1.|relative_a2.v_rel.1.|relative_a2.a_rel.1.|relative_a2.angles.1.|relative_a2.w_rel.1.|relative_a2.z_rel.1.|relative_b2.r_rel.1.|relative_b2.v_rel.1.|relative_b2.angles.1.|relative_b2.w_rel.1.|relative_b2.z_rel.1.|relative_b1.r_rel.1.|relative_b1.v_rel.1.|relative_b1.a_rel.1.|relative_b1.angles.1.|relative_b1.w_rel.1.|relative_b1.z_rel.1.|relativeSensor.r_rel.1.|relativeSensor.angles.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.RelativeSensor") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.575e-05/2.575e-05, allocations: 2.281 kB / 495.9 MB, free: 1.918 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.RelativeSensor): time 0.02771/0.02773, allocations: 25.55 MB / 0.5093 GB, free: 8.258 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.2423/0.27, allocations: 8.48 MB / 0.5175 GB, free: 14.64 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006784/0.2768, allocations: 218.1 kB / 0.5177 GB, free: 14.64 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0338/0.3106, allocations: 22.31 MB / 0.5395 GB, free: 12.93 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01088/0.3215, allocations: 3.965 MB / 0.5434 GB, free: 10.98 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.008864/0.3303, allocations: 4.919 MB / 0.5482 GB, free: 8.137 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.01673/0.3471, allocations: 13.24 MB / 0.5611 GB, free: 15.32 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02305/0.3701, allocations: 14.75 MB / 0.5755 GB, free: 0.7305 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01251/0.3826, allocations: 6.216 MB / 0.5816 GB, free: 10.86 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01398/0.3966, allocations: 8.053 MB / 0.5895 GB, free: 3.453 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.004498/0.4011, allocations: 1.43 MB / 0.5909 GB, free: 2.023 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007307/0.4084, allocations: 2.581 MB / 0.5934 GB, free: 15.53 MB / 430.1 MB Notification: Performance of combineBinaries: time 0.01973/0.4281, allocations: 16.43 MB / 0.6094 GB, free: 15.9 MB / 446.1 MB Notification: Performance of replaceArrayConstructors: time 0.008493/0.4366, allocations: 8.084 MB / 0.6173 GB, free: 8.215 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0035/0.4401, allocations: 1.142 MB / 0.6184 GB, free: 7.07 MB / 446.1 MB Notification: Performance of FrontEnd: time 0.00134/0.4415, allocations: 238.4 kB / 0.6187 GB, free: 6.848 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5720 (2704) * Number of variables: 5720 (1465) Notification: Performance of Bindings: time 0.04752/0.489, allocations: 38.11 MB / 0.6559 GB, free: 0.7344 MB / 478.1 MB Notification: Performance of FunctionAlias: time 0.009186/0.4982, allocations: 6.339 MB / 0.6621 GB, free: 10.39 MB / 494.1 MB Notification: Performance of Early Inline: time 1.152/1.65, allocations: 416.7 MB / 1.069 GB, free: 69.07 MB / 0.6075 GB Notification: Performance of Simplify 1: time 0.1091/1.759, allocations: 58.44 MB / 1.126 GB, free: 15.99 MB / 0.6075 GB Notification: Performance of Alias: time 0.5373/2.297, allocations: 127.1 MB / 1.25 GB, free: 129.6 MB / 0.67 GB Notification: Performance of Simplify 2: time 0.1073/2.404, allocations: 58.08 MB / 1.307 GB, free: 119.1 MB / 0.67 GB Notification: Performance of Remove Stream: time 0.07786/2.482, allocations: 41.24 MB / 1.347 GB, free: 94.78 MB / 0.67 GB Notification: Performance of Detect States: time 0.1111/2.593, allocations: 77.9 MB / 1.423 GB, free: 38.7 MB / 0.67 GB Notification: Performance of Events: time 0.5955/3.189, allocations: 282 MB / 1.699 GB, free: 7.883 MB / 0.6856 GB Notification: Performance of Partitioning: time 0.2969/3.486, allocations: 21.85 MB / 1.72 GB, free: 232 MB / 0.6856 GB Error: Internal error NBResolveSingularities.noIndexReduction failed. (24|43) Unmatched Variables ***************************** [ALGB] (3) Real[3] relative_a2.a_rel [ALGB] (3) Real[3] relative_b1.a_rel [ALGB] (3) Real[3] relative_b2.a_rel [ALGB] (3) flow Real[3] revolute1.frame_a.f slice: {2} [ALGB] (3) flow Real[3] BodyBox2.frame_a.f slice: {0, 2} [ALGB] (3) flow Real[3] world.frame_b.f slice: {2} [ALGB] (18) Real[18] err1.u2 slice: {16} [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] (1) protected Real revolute.constantTorque.w [ALGB] (3) flow Real[3] BodyBox2.frame_a.t slice: {0} [ALGB] (3) flow Real[3] BodyBox1.frame_a.t slice: {0} [ALGB] (3) flow Real[3] revolute.frame_a.f slice: {1} [ALGB] (3) Real[3] BodyBox1.body.a_0 (start = {0.0, 0.0, 0.0}) slice: {0} [ALGB] (1) Real revolute.a (fixed = false, start = 0.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} [ALGB] (18) Real[18] err2.u1 slice: {16} [ALGB] (3) Real[3] relative_a2.z_rel slice: {0, 2} [ALGB] (3) Real[3] relative_b1.z_rel slice: {0, 2} [ALGB] (3) Real[3] relative_b2.z_rel slice: {1} [DER-] (1) Real $DER.revolute1.constantTorque.phi [DER-] (1) Real $DER.revolute1.w [ALGB] (18) Real[18] err2.y slice: {15, 17} [ALGB] (18) Real[18] err1.y slice: {6, 7, 8, 15, 16, 17} (38|43) Unmatched Equations ***************************** [SCAL] (1) fixed.r[3] = BodyBox2.r_0[3] ($RES_SIM_660) [SCAL] (1) fixed.r[2] = BodyBox2.r_0[2] ($RES_SIM_662) [SCAL] (1) fixed.r[1] = BodyBox2.r_0[1] ($RES_SIM_664) [SCAL] (1) revolute1.constantTorque.phi = revolute1.angle ($RES_SIM_301) [SCAL] (1) revolute.constantTorque.phi = revolute.angle ($RES_SIM_342) [SCAL] (1) BodyBox1.r_0[1] = BodyBox1.body.r_0[1] ($RES_SIM_2505) [SCAL] (1) BodyBox1.r_0[2] = BodyBox1.body.r_0[2] ($RES_SIM_2503) [SCAL] (1) BodyBox1.r_0[3] = BodyBox1.body.r_0[3] ($RES_SIM_2501) [SCAL] (1) BodyBox2.frame_a.R.w[1] = BodyBox2.body.frame_a.R.w[1] ($RES_SIM_2467) [SCAL] (1) BodyBox2.frame_a.R.w[2] = BodyBox2.body.frame_a.R.w[2] ($RES_SIM_2465) [SCAL] (1) BodyBox2.frame_a.R.w[3] = BodyBox2.body.frame_a.R.w[3] ($RES_SIM_2463) [SCAL] (1) BodyBox2.r_0[1] = BodyBox2.body.r_0[1] ($RES_SIM_2461) [ARRY] (9) revolute.R_rel.T = ((identity(3) - promote(revolute.e, 2) * transpose(promote(revolute.e, 2))) .* cos(revolute.angle) + promote(revolute.e, 2) * transpose(promote(revolute.e, 2))) - {{0.0, -revolute.e[3], revolute.e[2]}, {revolute.e[3], 0.0, -revolute.e[1]}, {-revolute.e[2], revolute.e[1], 0.0}} .* sin(revolute.angle) ($RES_SIM_3288) slice: {7, 8} [SCAL] (1) BodyBox2.r_0[2] = BodyBox2.body.r_0[2] ($RES_SIM_2459) [SCAL] (1) BodyBox2.r_0[3] = BodyBox2.body.r_0[3] ($RES_SIM_2457) [ARRY] (9) BodyBox2.frameTranslation.frame_b.R.T = BodyBox2.frame_b.R.T ($RES_SIM_2449) slice: {7, 8} [ARRY] (3) BodyBox2.frameTranslation.frame_b.R.w = BodyBox2.frame_b.R.w ($RES_SIM_2448) slice: {1, 2} [SCAL] (1) relative_b2.transformVector_z_rel.frame_resolve.R.T[3, 2] = relative_b2.relativePosition.frame_resolve.R.T[3, 2] ($RES_SIM_1227) [SCAL] (1) world.frame_b.r_0[3] = revolute.cylinder.r[3] ($RES_SIM_565) [SCAL] (1) world.frame_b.r_0[2] = revolute.cylinder.r[2] ($RES_SIM_567) [SCAL] (1) world.frame_b.r_0[1] = revolute.cylinder.r[1] ($RES_SIM_569) [SCAL] (1) world.frame_b.R.w[1] = revolute.frame_a.R.w[1] ($RES_SIM_575) [SCAL] (1) world.frame_b.R.T[3, 3] = revolute.frame_a.R.T[3, 3] ($RES_SIM_577) [SCAL] (1) world.frame_b.R.T[3, 1] = revolute.frame_a.R.T[3, 1] ($RES_SIM_581) [SCAL] (1) world.frame_b.R.T[2, 3] = revolute.frame_a.R.T[2, 3] ($RES_SIM_583) [SCAL] (1) world.frame_b.R.T[2, 2] = revolute.frame_a.R.T[2, 2] ($RES_SIM_585) [SCAL] (1) world.frame_b.R.T[2, 1] = revolute.frame_a.R.T[2, 1] ($RES_SIM_587) [SCAL] (1) world.frame_b.R.T[1, 3] = revolute.frame_a.R.T[1, 3] ($RES_SIM_589) [SCAL] (1) world.frame_b.R.T[1, 2] = revolute.frame_a.R.T[1, 2] ($RES_SIM_591) [SCAL] (1) world.frame_b.R.T[1, 1] = revolute.frame_a.R.T[1, 1] ($RES_SIM_593) [SCAL] (1) relative_b1.transformVector_z_rel.frame_a.r_0[2] = relative_b1.arrow.r[2] ($RES_SIM_969) [SCAL] (1) relative_a2.transformVector_z_rel.frame_a.R.T[2, 3] = relative_a2.relativeAngularVelocity.frame_a.R.T[2, 3] ($RES_SIM_1932) [SCAL] (1) relative_a2.transformVector_z_rel.frame_a.R.w[2] = relative_a2.frame_a.R.w[2] ($RES_SIM_1900) [ARRY] (9) relative_b2.relativeAngularVelocity.relativeAngularVelocity.R_rel.T = relative_b2.relativeAngularVelocity.relativeAngularVelocity.frame_b.R.T * transpose(relative_b2.relativeAngularVelocity.relativeAngularVelocity.frame_a.R.T) ($RES_SIM_3518) slice: {8} [ARRY] (9) relative_b1.relativeAngularVelocity.relativeAngularVelocity.frame_b.R.T = relative_b1.relativeAngularVelocity.frame_b.R.T ($RES_SIM_1144) slice: {6, 7, 8} [SCAL] (1) relative_b2.transformVector_z_rel.frame_a.R.T[1, 2] = relative_b2.frame_a.R.T[1, 2] ($RES_SIM_1508) [SCAL] (1) relative_b2.transformVector_z_rel.frame_a.R.T[1, 3] = relative_b2.frame_a.R.T[1, 3] ($RES_SIM_1501) [SCAL] (1) relative_a1.transformVector_z_rel.frame_a.R.T[1, 2] = relative_a1.frame_a.R.T[1, 2] ($RES_SIM_2322) " [Timeout remaining time 656] [Calling sys.exit(0), Time elapsed: 6.0861325562000275]