Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Systems.RobotR3.FullRobot.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.001639/0.001639, 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.002075/0.002075, allocations: 208.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.644/1.644, allocations: 230.7 MB / 258.3 MB, free: 7.797 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.Systems.RobotR3.FullRobot,tolerance=1e-06,outputFormat="mat",numberOfIntervals=4737,variableFilter="time|axis1.controller.PI.x|axis1.gear.spring.phi_rel|axis1.gear.spring.w_rel|axis1.motor.C.v|axis1.motor.La.i|axis2.controller.PI.x|axis2.gear.spring.phi_rel|axis2.gear.spring.w_rel|axis2.motor.C.v|axis2.motor.La.i|axis3.controller.PI.x|axis3.gear.spring.phi_rel|axis3.gear.spring.w_rel|axis3.motor.C.v|axis3.motor.La.i|axis4.controller.PI.x|axis4.motor.C.v|axis4.motor.La.i|axis5.controller.PI.x|axis5.motor.C.v|axis5.motor.La.i|axis6.controller.PI.x|axis6.motor.C.v|axis6.motor.La.i|mechanics.b2.body.w_a.1.|mechanics.r1.phi|mechanics.r1.w|mechanics.r2.phi|mechanics.r3.phi|mechanics.r3.w|mechanics.r4.phi|mechanics.r4.w|mechanics.r5.phi|mechanics.r5.w|mechanics.r6.phi|mechanics.r6.w|axis1.gear.bearingFriction.mode|axis2.gear.bearingFriction.mode|axis3.gear.bearingFriction.mode|axis4.gear.bearingFriction.mode|axis5.gear.bearingFriction.mode|axis6.gear.bearingFriction.mode",fileNamePrefix="Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Systems.RobotR3.FullRobot") translateModel(Modelica.Mechanics.MultiBody.Examples.Systems.RobotR3.FullRobot,tolerance=1e-06,outputFormat="mat",numberOfIntervals=4737,variableFilter="time|axis1.controller.PI.x|axis1.gear.spring.phi_rel|axis1.gear.spring.w_rel|axis1.motor.C.v|axis1.motor.La.i|axis2.controller.PI.x|axis2.gear.spring.phi_rel|axis2.gear.spring.w_rel|axis2.motor.C.v|axis2.motor.La.i|axis3.controller.PI.x|axis3.gear.spring.phi_rel|axis3.gear.spring.w_rel|axis3.motor.C.v|axis3.motor.La.i|axis4.controller.PI.x|axis4.motor.C.v|axis4.motor.La.i|axis5.controller.PI.x|axis5.motor.C.v|axis5.motor.La.i|axis6.controller.PI.x|axis6.motor.C.v|axis6.motor.La.i|mechanics.b2.body.w_a.1.|mechanics.r1.phi|mechanics.r1.w|mechanics.r2.phi|mechanics.r3.phi|mechanics.r3.w|mechanics.r4.phi|mechanics.r4.w|mechanics.r5.phi|mechanics.r5.w|mechanics.r6.phi|mechanics.r6.w|axis1.gear.bearingFriction.mode|axis2.gear.bearingFriction.mode|axis3.gear.bearingFriction.mode|axis4.gear.bearingFriction.mode|axis5.gear.bearingFriction.mode|axis6.gear.bearingFriction.mode",fileNamePrefix="Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Systems.RobotR3.FullRobot") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 3.206e-05/3.206e-05, allocations: 2.281 kB / 379.1 MB, free: 2.453 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Systems.RobotR3.FullRobot): time 0.3866/0.3866, allocations: 51.17 MB / 430.3 MB, free: 9.953 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0538/0.4404, allocations: 15.95 MB / 446.2 MB, free: 10 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0238/0.4642, allocations: 433.7 kB / 446.6 MB, free: 9.578 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02511/0.4893, allocations: 8.331 MB / 455 MB, free: 1.215 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.02961/0.5189, allocations: 5.721 MB / 460.7 MB, free: 11.46 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01713/0.5361, allocations: 5.197 MB / 465.9 MB, free: 6.258 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0509/0.587, allocations: 26.21 MB / 492.1 MB, free: 11.98 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0442/0.6312, allocations: 17.58 MB / 0.4977 GB, free: 10.23 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.02427/0.6555, allocations: 8.284 MB / 0.5058 GB, free: 1.926 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.02006/0.6755, allocations: 7.838 MB / 0.5135 GB, free: 10.05 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.01056/0.6861, allocations: 2.144 MB / 0.5156 GB, free: 7.906 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01358/0.6996, allocations: 2.768 MB / 0.5183 GB, free: 5.137 MB / 430.1 MB Notification: Performance of combineBinaries: time 0.6818/1.381, allocations: 29.23 MB / 0.5468 GB, free: 55.32 MB / 446.1 MB Notification: Performance of replaceArrayConstructors: time 0.02595/1.407, allocations: 17.14 MB / 0.5636 GB, free: 51.71 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01865/1.426, allocations: 1.137 MB / 0.5647 GB, free: 51.71 MB / 446.1 MB Notification: Performance of FrontEnd: time 0.006788/1.433, allocations: 0.7431 MB / 0.5654 GB, free: 51.71 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4570 (3174) * Number of variables: 4570 (2866) Notification: Performance of [SIM] Bindings: time 0.1439/1.577, allocations: 71.11 MB / 0.6348 GB, free: 10.72 MB / 446.1 MB Notification: Performance of [SIM] FunctionAlias: time 0.01994/1.597, allocations: 9.814 MB / 0.6444 GB, free: 3.082 MB / 446.1 MB Notification: Performance of [SIM] Early Inline: time 0.1102/1.707, allocations: 51.94 MB / 0.6951 GB, free: 32 kB / 494.1 MB Notification: Performance of [SIM] Simplify 1: time 0.02969/1.737, allocations: 7.401 MB / 0.7024 GB, free: 8.605 MB / 0.4982 GB Notification: Performance of [SIM] Alias: time 0.6281/2.365, allocations: 68.01 MB / 0.7688 GB, free: 91.89 MB / 0.5138 GB Notification: Performance of [SIM] Simplify 2: time 0.01556/2.38, allocations: 5.234 MB / 0.7739 GB, free: 90.83 MB / 0.5138 GB Notification: Performance of [SIM] Remove Stream: time 0.01058/2.391, allocations: 2.966 MB / 0.7768 GB, free: 90.43 MB / 0.5138 GB Notification: Performance of [SIM] Detect States: time 0.01963/2.41, allocations: 8.09 MB / 0.7847 GB, free: 86.95 MB / 0.5138 GB Notification: Performance of [SIM] Events: time 0.006896/2.417, allocations: 2.862 MB / 0.7875 GB, free: 85.61 MB / 0.5138 GB Notification: Performance of [SIM] Partitioning: time 0.04301/2.46, allocations: 14.57 MB / 0.8017 GB, free: 76.63 MB / 0.5138 GB Error: Internal error NBDifferentiate.differentiateReduction failed because of non-call expression: max($FUN_2[$i14] for $i14 in 1:6) " [Timeout remaining time 657] [Calling sys.exit(0), Time elapsed: 5.116253641957883] Failed to read output from testmodel.py, exit status != 0: ['time', 'axis1.controller.PI.x', 'axis1.gear.spring.phi_rel', 'axis1.gear.spring.w_rel', 'axis1.motor.C.v', 'axis1.motor.La.i', 'axis2.controller.PI.x', 'axis2.gear.spring.phi_rel', 'axis2.gear.spring.w_rel', 'axis2.motor.C.v', 'axis2.motor.La.i', 'axis3.controller.PI.x', 'axis3.gear.spring.phi_rel', 'axis3.gear.spring.w_rel', 'axis3.motor.C.v', 'axis3.motor.La.i', 'axis4.controller.PI.x', 'axis4.motor.C.v', 'axis4.motor.La.i', 'axis5.controller.PI.x', 'axis5.motor.C.v', 'axis5.motor.La.i', 'axis6.controller.PI.x', 'axis6.motor.C.v', 'axis6.motor.La.i', 'mechanics.b2.body.w_a[1]', 'mechanics.r1.phi', 'mechanics.r1.w', 'mechanics.r2.phi', 'mechanics.r3.phi', 'mechanics.r3.w', 'mechanics.r4.phi', 'mechanics.r4.w', 'mechanics.r5.phi', 'mechanics.r5.w', 'mechanics.r6.phi', 'mechanics.r6.w', 'axis1.gear.bearingFriction.mode', 'axis2.gear.bearingFriction.mode', 'axis3.gear.bearingFriction.mode', 'axis4.gear.bearingFriction.mode', 'axis5.gear.bearingFriction.mode', 'axis6.gear.bearingFriction.mode'] 2.547477298998274 2.558461026 1.1221339289999999 Calling exit ...