Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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.001637/0.001637, allocations: 111.4 kB / 21.99 MB, free: 4.555 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.001443/0.001443, allocations: 213.5 kB / 25.3 MB, free: 2.902 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.871/1.871, allocations: 207.7 MB / 236.2 MB, free: 9.758 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_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_3.2.3_Modelica.Mechanics.MultiBody.Examples.Systems.RobotR3.fullRobot") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 3.016e-05/3.016e-05, allocations: 2.281 kB / 348.6 MB, free: 9.316 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Systems.RobotR3.fullRobot): time 0.3346/0.3347, allocations: 51.03 MB / 399.6 MB, free: 14.14 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.05184/0.3865, allocations: 15.78 MB / 415.4 MB, free: 8.984 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.02758/0.4141, allocations: 431.9 kB / 415.8 MB, free: 8.844 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02166/0.4357, allocations: 8.343 MB / 424.1 MB, free: 5.023 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.03093/0.4667, allocations: 5.746 MB / 429.9 MB, free: 1.238 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01767/0.4843, allocations: 5.17 MB / 435.1 MB, free: 13.07 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.05235/0.5367, allocations: 25.74 MB / 460.8 MB, free: 7.137 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.04478/0.5815, allocations: 17.54 MB / 478.3 MB, free: 5.426 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.02318/0.6047, allocations: 8.291 MB / 486.6 MB, free: 13.11 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.02137/0.626, allocations: 7.83 MB / 494.5 MB, free: 5.246 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.009978/0.636, allocations: 2.133 MB / 496.6 MB, free: 3.113 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01402/0.65, allocations: 2.753 MB / 499.3 MB, free: 368 kB / 382.1 MB Notification: Performance of combineBinaries: time 0.05876/0.7088, allocations: 29.25 MB / 0.5162 GB, free: 2.852 MB / 414.1 MB Notification: Performance of replaceArrayConstructors: time 0.02524/0.734, allocations: 17.18 MB / 0.533 GB, free: 1.461 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.009528/0.7435, allocations: 1.137 MB / 0.5341 GB, free: 332 kB / 430.1 MB Notification: Performance of FrontEnd: time 0.004824/0.7484, allocations: 0.7429 MB / 0.5348 GB, free: 15.58 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.6493/1.398, allocations: 71.12 MB / 0.6043 GB, free: 71.7 MB / 446.1 MB Notification: Performance of [SIM] FunctionAlias: time 0.02082/1.418, allocations: 9.694 MB / 0.6137 GB, free: 65.82 MB / 446.1 MB Notification: Performance of [SIM] Early Inline: time 0.09406/1.513, allocations: 51.35 MB / 0.6639 GB, free: 20.91 MB / 446.1 MB Notification: Performance of [SIM] Simplify 1: time 0.03177/1.544, allocations: 7.337 MB / 0.671 GB, free: 13.52 MB / 446.1 MB Notification: Performance of [SIM] Alias: time 0.5055/2.05, allocations: 67.87 MB / 0.7373 GB, free: 112.9 MB / 494.1 MB Notification: Performance of [SIM] Simplify 2: time 0.01824/2.068, allocations: 5.173 MB / 0.7424 GB, free: 111.9 MB / 494.1 MB Notification: Performance of [SIM] Remove Stream: time 0.009869/2.078, allocations: 2.911 MB / 0.7452 GB, free: 111.5 MB / 494.1 MB Notification: Performance of [SIM] Detect States: time 0.02475/2.103, allocations: 7.965 MB / 0.753 GB, free: 110.8 MB / 494.1 MB Notification: Performance of [SIM] Events: time 0.006798/2.109, allocations: 2.715 MB / 0.7556 GB, free: 110 MB / 494.1 MB Notification: Performance of [SIM] Partitioning: time 0.03055/2.14, allocations: 14.25 MB / 0.7696 GB, free: 102.7 MB / 494.1 MB 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.026226836023852] 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.2066167660523206 2.2168089970000002 1.4653269789999999 Calling exit ...