Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GearConstraint.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.001859/0.001859, allocations: 108.8 kB / 22 MB, free: 5.227 MB / 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.002024/0.002024, allocations: 209.5 kB / 25.3 MB, free: 2.898 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.863/1.863, allocations: 207.7 MB / 236.2 MB, free: 9.766 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GearConstraint,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|gearConstraint.actuatedRevolute_b.phi|gearConstraint.actuatedRevolute_b.w|inertia2.phi|inertia2.w",fileNamePrefix="Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GearConstraint") translateModel(Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GearConstraint,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|gearConstraint.actuatedRevolute_b.phi|gearConstraint.actuatedRevolute_b.w|inertia2.phi|inertia2.w",fileNamePrefix="Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GearConstraint") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 3.552e-05/3.552e-05, allocations: 2.281 kB / 348.5 MB, free: 9.383 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GearConstraint): time 0.02914/0.02918, allocations: 12.4 MB / 360.9 MB, free: 12.91 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.01487/0.04405, allocations: 4.471 MB / 365.4 MB, free: 8.43 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004722/0.04877, allocations: 111.4 kB / 365.5 MB, free: 8.32 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.009875/0.05865, allocations: 4.108 MB / 369.6 MB, free: 4.199 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009214/0.06786, allocations: 2.335 MB / 371.9 MB, free: 1.855 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003152/0.07101, allocations: 0.9437 MB / 372.9 MB, free: 0.9102 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.01214/0.08315, allocations: 6.468 MB / 379.4 MB, free: 10.43 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006653/0.0898, allocations: 2.813 MB / 382.2 MB, free: 7.555 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005319/0.09512, allocations: 1.989 MB / 384.2 MB, free: 5.559 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00752/0.1026, allocations: 2.873 MB / 387 MB, free: 2.676 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001676/0.1043, allocations: 280 kB / 387.3 MB, free: 2.402 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004246/0.1086, allocations: 0.9205 MB / 388.2 MB, free: 1.48 MB / 318.1 MB Notification: Performance of combineBinaries: time 0.3264/0.4349, allocations: 6.671 MB / 394.9 MB, free: 20.32 MB / 318.1 MB Notification: Performance of replaceArrayConstructors: time 0.007396/0.4423, allocations: 4.085 MB / 399 MB, free: 18.37 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0038/0.4461, allocations: 190.1 kB / 399.2 MB, free: 18.37 MB / 318.1 MB Notification: Performance of FrontEnd: time 0.001301/0.4474, allocations: 114.2 kB / 399.3 MB, free: 18.34 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1846 (650) * Number of variables: 1846 (569) Notification: Performance of [SIM] Bindings: time 0.03511/0.4825, allocations: 17.48 MB / 416.8 MB, free: 11.41 MB / 318.1 MB Notification: Performance of [SIM] FunctionAlias: time 0.004573/0.4871, allocations: 1.991 MB / 418.8 MB, free: 10.32 MB / 318.1 MB Notification: Performance of [SIM] Early Inline: time 3.396/3.883, allocations: 1.074 GB / 1.483 GB, free: 2.465 MB / 0.5294 GB Notification: Performance of [SIM] Simplify 1: time 2.391/6.274, allocations: 0.6126 GB / 2.096 GB, free: 35 MB / 0.7169 GB Notification: Performance of [SIM] Alias: time 1.2/7.474, allocations: 266.8 MB / 2.356 GB, free: 210.4 MB / 0.7169 GB Notification: Performance of [SIM] Simplify 2: time 1.872/9.346, allocations: 0.6124 GB / 2.969 GB, free: 163.8 MB / 0.7169 GB Notification: Performance of [SIM] Remove Stream: time 0.1109/9.457, allocations: 39.09 MB / 3.007 GB, free: 163.6 MB / 0.7169 GB Notification: Performance of [SIM] Detect States: time 0.259/9.716, allocations: 112.7 MB / 3.117 GB, free: 102.8 MB / 0.7169 GB Notification: Performance of [SIM] Events: time 0.7822/10.5, allocations: 315.8 MB / 3.425 GB, free: 123.8 MB / 0.7169 GB Notification: Performance of [SIM] Partitioning: time 0.05415/10.55, allocations: 24.66 MB / 3.45 GB, free: 113 MB / 0.7169 GB Error: Internal error NBResolveSingularities.indexReduction failed because slicing during index reduction is not yet supported. needed sliced dummy: [STAT] (3) Real[3] cyl1.body.z_a (fixed = {false for $f1 in 1:3}, start = Modelica.Mechanics.MultiBody.Frames.resolve2(cyl1.body.R_start, cyl1.body.z_0_start)) slice: {0, 1} " [Timeout remaining time 649] [Calling sys.exit(0), Time elapsed: 13.398681902966928] Failed to read output from testmodel.py, exit status != 0: ['time', 'gearConstraint.actuatedRevolute_b.phi', 'gearConstraint.actuatedRevolute_b.w', 'inertia2.phi', 'inertia2.w'] 10.591757107002195 10.599504736 10.149130176 Calling exit ...