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.001327/0.001327, allocations: 107.6 kB / 21.2 MB, free: 0.6641 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.001342/0.001342, allocations: 210.2 kB / 24.49 MB, free: 3.961 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.482/1.482, allocations: 230.6 MB / 258.3 MB, free: 7.793 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 2.049e-05/2.049e-05, allocations: 2.281 kB / 379 MB, free: 2.477 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Systems.RobotR3.FullRobot): time 0.2566/0.2567, allocations: 51.17 MB / 430.1 MB, free: 9.812 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.04367/0.3003, allocations: 15.95 MB / 446.1 MB, free: 9.867 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0169/0.3172, allocations: 429.8 kB / 446.5 MB, free: 9.445 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02132/0.3385, allocations: 8.331 MB / 454.8 MB, free: 1.082 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.02492/0.3635, allocations: 5.717 MB / 460.6 MB, free: 11.33 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01401/0.3775, allocations: 5.205 MB / 465.8 MB, free: 6.121 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0414/0.4189, allocations: 26.21 MB / 492 MB, free: 11.85 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.03274/0.4516, allocations: 17.88 MB / 0.4979 GB, free: 9.793 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01871/0.4703, allocations: 8.288 MB / 0.506 GB, free: 1.48 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0175/0.4878, allocations: 8.772 MB / 0.5146 GB, free: 8.676 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.007519/0.4953, allocations: 2.141 MB / 0.5167 GB, free: 6.535 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01021/0.5055, allocations: 2.772 MB / 0.5194 GB, free: 3.762 MB / 430.1 MB Notification: Performance of combineBinaries: time 0.3926/0.8981, allocations: 29.22 MB / 0.5479 GB, free: 56.54 MB / 446.1 MB Notification: Performance of replaceArrayConstructors: time 0.01681/0.9149, allocations: 17.14 MB / 0.5646 GB, free: 51.83 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.009387/0.9243, allocations: 1.137 MB / 0.5658 GB, free: 51.83 MB / 446.1 MB Notification: Performance of FrontEnd: time 0.003499/0.9278, allocations: 0.744 MB / 0.5665 GB, free: 51.83 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.07995/1.008, allocations: 71.03 MB / 0.6358 GB, free: 9.68 MB / 446.1 MB Notification: Performance of [SIM] FunctionAlias: time 0.01484/1.023, allocations: 9.823 MB / 0.6454 GB, free: 2.031 MB / 446.1 MB Notification: Performance of [SIM] Early Inline: time 0.08801/1.111, allocations: 51.9 MB / 0.6961 GB, free: 14.96 MB / 0.4982 GB Notification: Performance of [SIM] Simplify 1: time 0.02796/1.139, allocations: 8.434 MB / 0.7044 GB, free: 6.504 MB / 0.4982 GB Notification: Performance of [SIM] Alias: time 0.4208/1.559, allocations: 66.24 MB / 0.769 GB, free: 91.91 MB / 0.5138 GB Notification: Performance of [SIM] Simplify 2: time 0.01027/1.57, allocations: 5.707 MB / 0.7746 GB, free: 90.87 MB / 0.5138 GB Notification: Performance of [SIM] Remove Stream: time 0.00636/1.576, allocations: 2.966 MB / 0.7775 GB, free: 90.46 MB / 0.5138 GB Notification: Performance of [SIM] Detect States: time 0.01368/1.59, allocations: 8.096 MB / 0.7854 GB, free: 85.54 MB / 0.5138 GB Notification: Performance of [SIM] Events: time 0.005929/1.596, allocations: 2.858 MB / 0.7882 GB, free: 84.2 MB / 0.5138 GB Notification: Performance of [SIM] Partitioning: time 0.0318/1.627, allocations: 14.56 MB / 0.8024 GB, free: 75.17 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 658] [Calling sys.exit(0), Time elapsed: 4.000280536245555] 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'] 1.689577829092741 1.698962176 0.768643421 Calling exit ...