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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001839/0.001839, allocations: 103.6 kB / 21.25 MB, free: 420 kB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002466/0.002466, allocations: 203.2 kB / 24.55 MB, free: 3.727 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.53/1.53, allocations: 230.6 MB / 258.3 MB, free: 7.789 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.2501/0.2501, allocations: 44.93 MB / 359.7 MB, free: 6.051 MB / 286.1 MB " [Timeout remaining time 179] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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 4.045e-05/4.045e-05, allocations: 2.281 kB / 0.4943 GB, free: 10.05 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.RelativeSensor): time 0.02813/0.02817, allocations: 21.31 MB / 0.5152 GB, free: 4.645 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.3445/0.3727, allocations: 8.182 MB / 0.5231 GB, free: 14.59 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.008296/0.381, allocations: 249.9 kB / 0.5234 GB, free: 14.58 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.04186/0.4228, allocations: 21.19 MB / 0.5441 GB, free: 9.895 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01331/0.4361, allocations: 3.828 MB / 0.5478 GB, free: 7.57 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01199/0.4481, allocations: 4.728 MB / 0.5524 GB, free: 4.809 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.02283/0.471, allocations: 13.08 MB / 0.5652 GB, free: 12.1 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.03499/0.506, allocations: 14.73 MB / 0.5796 GB, free: 13.2 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01534/0.5213, allocations: 6.176 MB / 0.5856 GB, free: 7.008 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01556/0.5369, allocations: 7.24 MB / 0.5927 GB, free: 15.75 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.006282/0.5431, allocations: 1.422 MB / 0.5941 GB, free: 14.32 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.009915/0.553, allocations: 2.381 MB / 0.5964 GB, free: 11.94 MB / 430.1 MB Notification: Performance of combineBinaries: time 0.02978/0.5828, allocations: 17.56 MB / 0.6136 GB, free: 10.25 MB / 446.1 MB Notification: Performance of replaceArrayConstructors: time 0.01493/0.5978, allocations: 9.333 MB / 0.6227 GB, free: 0.8164 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.006598/0.6044, allocations: 0.625 MB / 0.6233 GB, free: 196 kB / 446.1 MB Notification: Performance of FrontEnd: time 0.002081/0.6064, allocations: 210.7 kB / 0.6235 GB, free: 15.98 MB / 462.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5575 (2664) * Number of variables: 5575 (1420) Notification: Performance of [SIM] Bindings: time 0.1018/0.7083, allocations: 51.74 MB / 0.674 GB, free: 11.52 MB / 0.4981 GB Notification: Performance of [SIM] FunctionAlias: time 0.01979/0.7281, allocations: 9.397 MB / 0.6832 GB, free: 1.355 MB / 0.4981 GB Notification: Performance of [SIM] Early Inline: time 6.486/7.214, allocations: 1.94 GB / 2.623 GB, free: 9.504 MB / 0.7794 GB Notification: Performance of [SIM] Simplify 1: time 4.319/11.53, allocations: 1.116 GB / 3.739 GB, free: 268.5 MB / 1.029 GB Notification: Performance of [SIM] Alias: time 1.846/13.38, allocations: 487.6 MB / 4.215 GB, free: 326.9 MB / 1.029 GB Notification: Performance of [SIM] Simplify 2: time 2.664/16.04, allocations: 1.115 GB / 5.33 GB, free: 24.91 MB / 1.029 GB Notification: Performance of [SIM] Remove Stream: time 0.1802/16.22, allocations: 72.03 MB / 5.401 GB, free: 24.15 MB / 1.029 GB Notification: Performance of [SIM] Detect States: time 1.165/17.39, allocations: 205.4 MB / 5.601 GB, free: 288 MB / 1.029 GB Notification: Performance of [SIM] Events: time 1.299/18.69, allocations: 0.5538 GB / 6.155 GB, free: 125.8 MB / 1.029 GB Notification: Performance of [SIM] Partitioning: time 0.1298/18.82, allocations: 51.77 MB / 6.206 GB, free: 102.5 MB / 1.029 GB Error: Internal error NBResolveSingularities.indexReduction failed because slicing during index reduction is not yet supported. needed sliced dummy: [STAT] (3) protected Real[3] relative_a2.transformVector_v_rel.basicTransformVector.frame_a.R.w slice: {0, 1} " [Timeout remaining time 641] [Calling sys.exit(0), Time elapsed: 22.440917123982217] Failed to read output from testmodel.py, exit status != 0: ['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]'] 19.41885497100884 19.42762865 18.818082825 Calling exit ...