Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_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.001777/0.001777, allocations: 103.6 kB / 21.25 MB, free: 0.5664 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.002358/0.002358, allocations: 211 kB / 24.55 MB, free: 3.824 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.707/1.707, allocations: 230.6 MB / 258.3 MB, free: 7.742 MB / 206.1 MB " [Timeout remaining time 178] 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(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_4.1.0_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_4.1.0_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GearConstraint") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.796e-05/2.796e-05, allocations: 2.281 kB / 379 MB, free: 2.438 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GearConstraint): time 0.3492/0.3493, allocations: 11.74 MB / 390.8 MB, free: 8.422 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.01561/0.3649, allocations: 4.374 MB / 395.2 MB, free: 5.629 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005154/0.37, allocations: 109.7 kB / 395.3 MB, free: 5.594 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.009649/0.3797, allocations: 4.066 MB / 399.3 MB, free: 3.871 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00852/0.3882, allocations: 2.196 MB / 401.5 MB, free: 2.617 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00307/0.3913, allocations: 0.9406 MB / 402.5 MB, free: 1.965 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.01239/0.4037, allocations: 6.695 MB / 409.2 MB, free: 14.22 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007329/0.411, allocations: 2.731 MB / 411.9 MB, free: 12.25 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005957/0.4169, allocations: 1.906 MB / 413.8 MB, free: 10.39 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007589/0.4245, allocations: 3.131 MB / 416.9 MB, free: 7.246 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001671/0.4262, allocations: 268 kB / 417.2 MB, free: 6.984 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004362/0.4306, allocations: 0.901 MB / 418.1 MB, free: 6.082 MB / 318.1 MB Notification: Performance of combineBinaries: time 0.01017/0.4407, allocations: 6.213 MB / 424.3 MB, free: 15.82 MB / 334.1 MB Notification: Performance of replaceArrayConstructors: time 0.005216/0.446, allocations: 3.792 MB / 428.1 MB, free: 11.98 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001905/0.4479, allocations: 180 kB / 428.3 MB, free: 11.8 MB / 334.1 MB Notification: Performance of FrontEnd: time 0.000963/0.4488, allocations: 103.2 kB / 428.4 MB, free: 11.7 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1731 (608) * Number of variables: 1731 (524) Notification: Performance of [SIM] Bindings: time 0.0282/0.477, allocations: 16.37 MB / 444.8 MB, free: 10.94 MB / 350.1 MB Notification: Performance of [SIM] FunctionAlias: time 0.003804/0.4808, allocations: 1.782 MB / 446.5 MB, free: 9.082 MB / 350.1 MB Notification: Performance of [SIM] Early Inline: time 7.037/7.518, allocations: 1.905 GB / 2.341 GB, free: 15.84 MB / 0.6544 GB Notification: Performance of [SIM] Simplify 1: time 4.349/11.87, allocations: 1.112 GB / 3.452 GB, free: 35.27 MB / 0.8575 GB Notification: Performance of [SIM] Alias: time 1.943/13.81, allocations: 463.9 MB / 3.906 GB, free: 140.3 MB / 0.8575 GB Notification: Performance of [SIM] Simplify 2: time 4.139/17.95, allocations: 1.112 GB / 5.017 GB, free: 105.3 MB / 0.8575 GB Notification: Performance of [SIM] Remove Stream: time 0.2006/18.15, allocations: 69.05 MB / 5.084 GB, free: 101.5 MB / 0.8575 GB Notification: Performance of [SIM] Detect States: time 1.071/19.22, allocations: 199 MB / 5.279 GB, free: 283 MB / 0.8575 GB Notification: Performance of [SIM] Events: time 1.351/20.57, allocations: 0.5527 GB / 5.831 GB, free: 121.6 MB / 0.8575 GB Notification: Performance of [SIM] Partitioning: time 0.1009/20.67, allocations: 38.13 MB / 5.869 GB, free: 105 MB / 0.8575 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 639] [Calling sys.exit(0), Time elapsed: 23.349738834949676] Failed to read output from testmodel.py, exit status != 0: ['time', 'gearConstraint.actuatedRevolute_b.phi', 'gearConstraint.actuatedRevolute_b.w', 'inertia2.phi', 'inertia2.w'] 20.70856385404477 20.718572257 20.266853607 Calling exit ...