Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Systems.RobotR3.FullRobot.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.001967/0.001967, allocations: 96.03 kB / 21.25 MB, free: 428 kB / 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.00267/0.00267, allocations: 188.4 kB / 24.53 MB, free: 3.75 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.691/1.691, allocations: 225.7 MB / 253.4 MB, free: 12.78 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.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.0.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.0.0_Modelica.Mechanics.MultiBody.Examples.Systems.RobotR3.FullRobot") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.628e-05/2.628e-05, allocations: 2.281 kB / 371.8 MB, free: 9.152 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Systems.RobotR3.FullRobot): time 0.3082/0.3083, allocations: 51.14 MB / 422.9 MB, free: 3.516 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.04705/0.3553, allocations: 15.77 MB / 438.7 MB, free: 3.758 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0207/0.376, allocations: 437.8 kB / 439.1 MB, free: 3.328 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02219/0.3982, allocations: 8.332 MB / 447.4 MB, free: 10.96 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.02685/0.425, allocations: 5.709 MB / 453.1 MB, free: 5.223 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01574/0.4408, allocations: 5.159 MB / 458.3 MB, free: 60 kB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.04857/0.4894, allocations: 25.67 MB / 484 MB, free: 6.324 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.03845/0.5278, allocations: 17.51 MB / 0.4897 GB, free: 4.645 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.02123/0.549, allocations: 8.245 MB / 0.4978 GB, free: 12.38 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01917/0.5682, allocations: 7.799 MB / 0.5054 GB, free: 4.543 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.009445/0.5777, allocations: 2.129 MB / 0.5075 GB, free: 2.414 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01251/0.5902, allocations: 2.757 MB / 0.5101 GB, free: 15.65 MB / 430.1 MB Notification: Performance of combineBinaries: time 0.0488/0.639, allocations: 29.16 MB / 0.5386 GB, free: 2.238 MB / 446.1 MB Notification: Performance of replaceArrayConstructors: time 0.3627/1.002, allocations: 17.09 MB / 0.5553 GB, free: 66.06 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01125/1.013, allocations: 1.14 MB / 0.5564 GB, free: 66.06 MB / 446.1 MB Notification: Performance of FrontEnd: time 0.00499/1.018, allocations: 0.7394 MB / 0.5572 GB, free: 66.06 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: 4558 (3168) * Number of variables: 4558 (2860) Notification: Performance of [SIM] Bindings: time 0.1245/1.142, allocations: 70.88 MB / 0.6264 GB, free: 29.57 MB / 446.1 MB Notification: Performance of [SIM] FunctionAlias: time 0.02229/1.165, allocations: 9.68 MB / 0.6358 GB, free: 22.01 MB / 446.1 MB Notification: Performance of [SIM] Early Inline: time 0.1034/1.268, allocations: 51.35 MB / 0.686 GB, free: 5.379 MB / 478.1 MB Notification: Performance of [SIM] Simplify 1: time 0.02929/1.297, allocations: 7.336 MB / 0.6931 GB, free: 14.02 MB / 494.1 MB Notification: Performance of [SIM] Alias: time 0.7509/2.048, allocations: 67.88 MB / 0.7594 GB, free: 87.07 MB / 0.4982 GB Notification: Performance of [SIM] Simplify 2: time 0.01425/2.062, allocations: 5.171 MB / 0.7645 GB, free: 86.03 MB / 0.4982 GB Notification: Performance of [SIM] Remove Stream: time 0.007026/2.07, allocations: 2.905 MB / 0.7673 GB, free: 85.62 MB / 0.4982 GB Notification: Performance of [SIM] Detect States: time 0.01454/2.084, allocations: 7.962 MB / 0.7751 GB, free: 82.98 MB / 0.4982 GB Notification: Performance of [SIM] Events: time 0.005843/2.09, allocations: 2.717 MB / 0.7777 GB, free: 81.69 MB / 0.4982 GB Notification: Performance of [SIM] Partitioning: time 0.03974/2.13, allocations: 14.26 MB / 0.7917 GB, free: 73.09 MB / 0.4982 GB Error: Internal error NBDifferentiate.differentiateReduction failed because of non-call expression: max($FUN_2[$i14] for $i14 in 1:6) " [Timeout remaining time 658] [Calling sys.exit(0), Time elapsed: 4.836690169991925] 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.1934411349939182 2.20145222 1.180690056 Calling exit ...