Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Systems.RobotR3.FullRobot.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00177/0.00177, allocations: 107.6 kB / 21.25 MB, free: 0.5625 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002512/0.002512, allocations: 219.1 kB / 24.55 MB, free: 3.82 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.702/1.702, allocations: 230.5 MB / 258.2 MB, free: 7.734 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Mechanics.MultiBody.Examples.Systems.RobotR3.FullRobot") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 3.31e-05/3.31e-05, allocations: 2.281 kB / 379.1 MB, free: 2.289 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Systems.RobotR3.FullRobot): time 0.3834/0.3835, allocations: 51.17 MB / 430.2 MB, free: 9.688 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.05807/0.4415, allocations: 15.96 MB / 446.2 MB, free: 9.73 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.02378/0.4653, allocations: 429.8 kB / 446.6 MB, free: 9.309 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02497/0.4903, allocations: 8.342 MB / 455 MB, free: 0.9336 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.03051/0.5208, allocations: 5.721 MB / 460.7 MB, free: 11.18 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01792/0.5387, allocations: 5.197 MB / 465.9 MB, free: 5.977 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.04889/0.5876, allocations: 26.21 MB / 492.1 MB, free: 11.7 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.04494/0.6325, allocations: 17.58 MB / 0.4977 GB, free: 9.953 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.02309/0.6556, allocations: 8.28 MB / 0.5058 GB, free: 1.648 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01899/0.6746, allocations: 7.842 MB / 0.5135 GB, free: 9.773 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.009673/0.6843, allocations: 2.145 MB / 0.5156 GB, free: 7.629 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01297/0.6973, allocations: 2.764 MB / 0.5183 GB, free: 4.863 MB / 430.1 MB Notification: Performance of combineBinaries: time 0.6702/1.367, allocations: 29.22 MB / 0.5468 GB, free: 55.24 MB / 446.1 MB Notification: Performance of replaceArrayConstructors: time 0.02431/1.392, allocations: 17.14 MB / 0.5635 GB, free: 51.41 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.02122/1.413, allocations: 1.135 MB / 0.5646 GB, free: 51.41 MB / 446.1 MB Notification: Performance of FrontEnd: time 0.006391/1.419, allocations: 0.7421 MB / 0.5654 GB, free: 51.41 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.1341/1.553, allocations: 71.12 MB / 0.6348 GB, free: 10.23 MB / 446.1 MB Notification: Performance of [SIM] FunctionAlias: time 0.02149/1.575, allocations: 9.82 MB / 0.6444 GB, free: 2.586 MB / 446.1 MB Notification: Performance of [SIM] Early Inline: time 0.1221/1.697, allocations: 51.94 MB / 0.6951 GB, free: 15.53 MB / 0.4982 GB Notification: Performance of [SIM] Simplify 1: time 0.03102/1.728, allocations: 7.392 MB / 0.7024 GB, free: 8.113 MB / 0.4982 GB Notification: Performance of [SIM] Alias: time 0.5476/2.276, allocations: 68.01 MB / 0.7688 GB, free: 91.46 MB / 0.5138 GB Notification: Performance of [SIM] Simplify 2: time 0.01477/2.29, allocations: 5.222 MB / 0.7739 GB, free: 90.41 MB / 0.5138 GB Notification: Performance of [SIM] Remove Stream: time 0.009408/2.3, allocations: 2.971 MB / 0.7768 GB, free: 90 MB / 0.5138 GB Notification: Performance of [SIM] Detect States: time 0.01854/2.318, allocations: 8.094 MB / 0.7847 GB, free: 86.42 MB / 0.5138 GB Notification: Performance of [SIM] Events: time 0.006456/2.325, allocations: 2.852 MB / 0.7875 GB, free: 85.06 MB / 0.5138 GB Notification: Performance of [SIM] Partitioning: time 0.03409/2.359, allocations: 14.57 MB / 0.8017 GB, free: 75.98 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: 5.06618022499606] 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.4366433970280923 2.447434094 1.024719835 Calling exit ...