Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GearConstraint.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.002242/0.002242, allocations: 104 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.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.001779/0.001779, allocations: 191.7 kB / 24.53 MB, free: 3.852 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.706/1.706, allocations: 225.7 MB / 253.4 MB, free: 12.8 MB / 206.1 MB " [Timeout remaining time 178] 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(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.0.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.0.0_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GearConstraint") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 3.283e-05/3.283e-05, allocations: 2.281 kB / 371.7 MB, free: 9.156 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GearConstraint): time 0.3374/0.3374, allocations: 11.84 MB / 383.6 MB, free: 13.07 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.01509/0.3525, allocations: 4.362 MB / 387.9 MB, free: 12.26 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004296/0.3568, allocations: 110.2 kB / 388 MB, free: 12.22 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0097/0.3665, allocations: 4.095 MB / 392.1 MB, free: 10.48 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009566/0.3761, allocations: 2.258 MB / 394.4 MB, free: 9.41 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003159/0.3793, allocations: 0.9224 MB / 395.3 MB, free: 9.012 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.01319/0.3924, allocations: 6.623 MB / 401.9 MB, free: 5.453 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004807/0.3973, allocations: 2.741 MB / 404.7 MB, free: 3.48 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005114/0.4024, allocations: 1.926 MB / 406.6 MB, free: 2.371 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006204/0.4086, allocations: 3.145 MB / 409.7 MB, free: 472 kB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008604/0.4094, allocations: 271.3 kB / 410 MB, free: 396 kB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003708/0.4131, allocations: 0.9283 MB / 410.9 MB, free: 15.46 MB / 318.1 MB Notification: Performance of combineBinaries: time 0.009204/0.4223, allocations: 6.345 MB / 417.3 MB, free: 9.059 MB / 318.1 MB Notification: Performance of replaceArrayConstructors: time 0.006265/0.4286, allocations: 3.872 MB / 421.2 MB, free: 5.145 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001836/0.4304, allocations: 184 kB / 421.3 MB, free: 4.965 MB / 318.1 MB Notification: Performance of FrontEnd: time 0.000802/0.4312, allocations: 107.2 kB / 421.4 MB, free: 4.859 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: 1760 (616) * Number of variables: 1760 (533) Notification: Performance of [SIM] Bindings: time 0.02681/0.4581, allocations: 16.65 MB / 438.1 MB, free: 3.809 MB / 334.1 MB Notification: Performance of [SIM] FunctionAlias: time 0.003591/0.4616, allocations: 1.826 MB / 439.9 MB, free: 1.906 MB / 334.1 MB Notification: Performance of [SIM] Early Inline: time 7.148/7.61, allocations: 1.857 GB / 2.287 GB, free: 1.332 MB / 0.6387 GB Notification: Performance of [SIM] Simplify 1: time 4.42/12.03, allocations: 1.019 GB / 3.306 GB, free: 159.2 MB / 0.8575 GB Notification: Performance of [SIM] Alias: time 2.004/14.03, allocations: 464.1 MB / 3.759 GB, free: 209.7 MB / 0.8575 GB Notification: Performance of [SIM] Simplify 2: time 3.606/17.64, allocations: 1.019 GB / 4.778 GB, free: 127.1 MB / 0.8575 GB Notification: Performance of [SIM] Remove Stream: time 0.2146/17.85, allocations: 69.05 MB / 4.845 GB, free: 124.3 MB / 0.8575 GB Notification: Performance of [SIM] Detect States: time 1.052/18.91, allocations: 199 MB / 5.04 GB, free: 284.3 MB / 0.8575 GB Notification: Performance of [SIM] Events: time 1.37/20.28, allocations: 0.513 GB / 5.553 GB, free: 138.1 MB / 0.8575 GB Notification: Performance of [SIM] Partitioning: time 0.09382/20.37, allocations: 38.15 MB / 5.59 GB, free: 121.9 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 640] [Calling sys.exit(0), Time elapsed: 23.04972996196011] Failed to read output from testmodel.py, exit status != 0: ['time', 'gearConstraint.actuatedRevolute_b.phi', 'gearConstraint.actuatedRevolute_b.w', 'inertia2.phi', 'inertia2.w'] 20.403266031993553 20.412849584 19.978771894 Calling exit ...