Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.InitializationConversion.Bodies.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.001362/0.001362, allocations: 95.66 kB / 21.25 MB, free: 428 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.001682/0.001682, allocations: 212.7 kB / 24.55 MB, free: 3.723 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.515/1.515, allocations: 230.7 MB / 258.4 MB, free: 7.781 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.2354/0.2354, allocations: 44.94 MB / 359.7 MB, free: 6.039 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.InitializationConversion.Bodies,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|body.Q.1.|body.Q.2.|body.Q.3.|body.Q.4.|body.frame_a.r_0.1.|body.frame_a.r_0.2.|body.frame_a.r_0.3.|body.v_0.1.|body.v_0.2.|body.v_0.3.|body.w_a.1.|body.w_a.2.|body.w_a.3.|body1.body.Q.1.|body1.body.Q.2.|body1.body.Q.3.|body1.body.Q.4.|body1.body.frame_a.r_0.1.|body1.body.frame_a.r_0.2.|body1.body.frame_a.r_0.3.|body1.body.w_a.1.|body1.body.w_a.2.|body1.body.w_a.3.|body1.v_0.1.|body1.v_0.2.|body1.v_0.3.|body2.body.Q.1.|body2.body.Q.2.|body2.body.Q.3.|body2.body.Q.4.|body2.body.frame_a.r_0.1.|body2.body.frame_a.r_0.2.|body2.body.frame_a.r_0.3.|body2.body.w_a.1.|body2.body.w_a.2.|body2.body.w_a.3.|body2.v_0.1.|body2.v_0.2.|body2.v_0.3.|body3.body.Q.1.|body3.body.Q.2.|body3.body.Q.3.|body3.body.Q.4.|body3.body.frame_a.r_0.1.|body3.body.frame_a.r_0.2.|body3.body.frame_a.r_0.3.|body3.body.w_a.1.|body3.body.w_a.2.|body3.body.w_a.3.|body3.v_0.1.|body3.v_0.2.|body3.v_0.3.|pointMass.r_0.1.|pointMass.r_0.2.|pointMass.r_0.3.|pointMass.v_0.1.|pointMass.v_0.2.|pointMass.v_0.3.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.InitializationConversion.Bodies") translateModel(ModelicaTest.MultiBody.InitializationConversion.Bodies,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|body.Q.1.|body.Q.2.|body.Q.3.|body.Q.4.|body.frame_a.r_0.1.|body.frame_a.r_0.2.|body.frame_a.r_0.3.|body.v_0.1.|body.v_0.2.|body.v_0.3.|body.w_a.1.|body.w_a.2.|body.w_a.3.|body1.body.Q.1.|body1.body.Q.2.|body1.body.Q.3.|body1.body.Q.4.|body1.body.frame_a.r_0.1.|body1.body.frame_a.r_0.2.|body1.body.frame_a.r_0.3.|body1.body.w_a.1.|body1.body.w_a.2.|body1.body.w_a.3.|body1.v_0.1.|body1.v_0.2.|body1.v_0.3.|body2.body.Q.1.|body2.body.Q.2.|body2.body.Q.3.|body2.body.Q.4.|body2.body.frame_a.r_0.1.|body2.body.frame_a.r_0.2.|body2.body.frame_a.r_0.3.|body2.body.w_a.1.|body2.body.w_a.2.|body2.body.w_a.3.|body2.v_0.1.|body2.v_0.2.|body2.v_0.3.|body3.body.Q.1.|body3.body.Q.2.|body3.body.Q.3.|body3.body.Q.4.|body3.body.frame_a.r_0.1.|body3.body.frame_a.r_0.2.|body3.body.frame_a.r_0.3.|body3.body.w_a.1.|body3.body.w_a.2.|body3.body.w_a.3.|body3.v_0.1.|body3.v_0.2.|body3.v_0.3.|pointMass.r_0.1.|pointMass.r_0.2.|pointMass.r_0.3.|pointMass.v_0.1.|pointMass.v_0.2.|pointMass.v_0.3.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.InitializationConversion.Bodies") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 3.104e-05/3.104e-05, allocations: 2.281 kB / 0.4943 GB, free: 10.07 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.InitializationConversion.Bodies): time 0.01415/0.01419, allocations: 10.71 MB / 0.5048 GB, free: 15.3 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01093/0.02512, allocations: 4.085 MB / 0.5088 GB, free: 11.2 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002809/0.02793, allocations: 103.4 kB / 0.5089 GB, free: 11.1 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005498/0.03343, allocations: 2.554 MB / 0.5114 GB, free: 8.539 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007184/0.04061, allocations: 2.292 MB / 0.5136 GB, free: 6.238 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002136/0.04275, allocations: 0.8776 MB / 0.5144 GB, free: 5.359 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.3251/0.3678, allocations: 7.499 MB / 0.5218 GB, free: 17.23 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003845/0.3717, allocations: 2.083 MB / 0.5238 GB, free: 17.13 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004245/0.3759, allocations: 1.82 MB / 0.5256 GB, free: 16.92 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006782/0.3827, allocations: 3.127 MB / 0.5286 GB, free: 16.67 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001005/0.3837, allocations: 229.2 kB / 0.5289 GB, free: 16.67 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004004/0.3877, allocations: 1.163 MB / 0.53 GB, free: 16.67 MB / 382.1 MB Notification: Performance of combineBinaries: time 0.008283/0.396, allocations: 5.945 MB / 0.5358 GB, free: 14.59 MB / 382.1 MB Notification: Performance of replaceArrayConstructors: time 0.004616/0.4006, allocations: 3.512 MB / 0.5392 GB, free: 12.6 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002002/0.4026, allocations: 155.3 kB / 0.5394 GB, free: 12.59 MB / 382.1 MB Notification: Performance of FrontEnd: time 0.0005928/0.4032, allocations: 99.03 kB / 0.5395 GB, free: 12.56 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: 1498 (489) * Number of variables: 1498 (431) Notification: Performance of [SIM] Bindings: time 0.01938/0.4226, allocations: 14.87 MB / 0.554 GB, free: 4.543 MB / 382.1 MB Notification: Performance of [SIM] FunctionAlias: time 0.002423/0.425, allocations: 1.619 MB / 0.5556 GB, free: 3.715 MB / 382.1 MB Notification: Performance of [SIM] Early Inline: time 6.052/6.476, allocations: 1.907 GB / 2.462 GB, free: 9.289 MB / 0.7325 GB Notification: Performance of [SIM] Simplify 1: time 3.343/9.819, allocations: 1.112 GB / 3.574 GB, free: 18.57 MB / 0.9669 GB Notification: Performance of [SIM] Alias: time 1.78/11.6, allocations: 463.3 MB / 4.027 GB, free: 177.1 MB / 0.9669 GB Notification: Performance of [SIM] Simplify 2: time 3.126/14.72, allocations: 1.112 GB / 5.139 GB, free: 18.24 MB / 0.9669 GB Notification: Performance of [SIM] Remove Stream: time 0.1635/14.89, allocations: 69.14 MB / 5.206 GB, free: 12.81 MB / 0.9669 GB Notification: Performance of [SIM] Detect States: time 0.9595/15.85, allocations: 199.3 MB / 5.401 GB, free: 275.5 MB / 0.9669 GB Notification: Performance of [SIM] Events: time 1.214/17.06, allocations: 0.5482 GB / 5.949 GB, free: 102.8 MB / 0.9669 GB Notification: Performance of [SIM] Partitioning: time 0.07589/17.14, allocations: 38.41 MB / 5.987 GB, free: 86.89 MB / 0.9669 GB Error: Internal error NBResolveSingularities.indexReduction failed because slicing during index reduction is not yet supported. needed sliced dummy: [STAT] (4) protected Real[4] body1.body.Q (start = body1.body.Q_start, StateSelect = avoid) slice: {3} " [Timeout remaining time 643] [Calling sys.exit(0), Time elapsed: 20.089066792977974] Failed to read output from testmodel.py, exit status != 0: ['time', 'body.Q[1]', 'body.Q[2]', 'body.Q[3]', 'body.Q[4]', 'body.frame_a.r_0[1]', 'body.frame_a.r_0[2]', 'body.frame_a.r_0[3]', 'body.v_0[1]', 'body.v_0[2]', 'body.v_0[3]', 'body.w_a[1]', 'body.w_a[2]', 'body.w_a[3]', 'body1.body.Q[1]', 'body1.body.Q[2]', 'body1.body.Q[3]', 'body1.body.Q[4]', 'body1.body.frame_a.r_0[1]', 'body1.body.frame_a.r_0[2]', 'body1.body.frame_a.r_0[3]', 'body1.body.w_a[1]', 'body1.body.w_a[2]', 'body1.body.w_a[3]', 'body1.v_0[1]', 'body1.v_0[2]', 'body1.v_0[3]', 'body2.body.Q[1]', 'body2.body.Q[2]', 'body2.body.Q[3]', 'body2.body.Q[4]', 'body2.body.frame_a.r_0[1]', 'body2.body.frame_a.r_0[2]', 'body2.body.frame_a.r_0[3]', 'body2.body.w_a[1]', 'body2.body.w_a[2]', 'body2.body.w_a[3]', 'body2.v_0[1]', 'body2.v_0[2]', 'body2.v_0[3]', 'body3.body.Q[1]', 'body3.body.Q[2]', 'body3.body.Q[3]', 'body3.body.Q[4]', 'body3.body.frame_a.r_0[1]', 'body3.body.frame_a.r_0[2]', 'body3.body.frame_a.r_0[3]', 'body3.body.w_a[1]', 'body3.body.w_a[2]', 'body3.body.w_a[3]', 'body3.v_0[1]', 'body3.v_0[2]', 'body3.v_0[3]', 'pointMass.r_0[1]', 'pointMass.r_0[2]', 'pointMass.r_0[3]', 'pointMass.v_0[1]', 'pointMass.v_0[2]', 'pointMass.v_0[3]'] 17.14996962295845 17.16134742 16.755510629 Calling exit ...