Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Systems.RobotR3.OneAxis.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.001526/0.001526, 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.001835/0.001835, allocations: 207.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.624/1.624, allocations: 230.6 MB / 258.3 MB, free: 7.789 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.OneAxis,tolerance=1e-06,outputFormat="mat",numberOfIntervals=4704,variableFilter="time|axis.controller.PI.x|axis.gear.spring.phi_rel|axis.gear.spring.w_rel|axis.initializeFlange.phi_flange|axis.initializeFlange.w_flange|axis.motor.C.v|axis.motor.La.i|axis.gear.bearingFriction.mode|axis.gear.bearingFriction.startBackward|axis.gear.bearingFriction.startForward",fileNamePrefix="Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Systems.RobotR3.OneAxis") translateModel(Modelica.Mechanics.MultiBody.Examples.Systems.RobotR3.OneAxis,tolerance=1e-06,outputFormat="mat",numberOfIntervals=4704,variableFilter="time|axis.controller.PI.x|axis.gear.spring.phi_rel|axis.gear.spring.w_rel|axis.initializeFlange.phi_flange|axis.initializeFlange.w_flange|axis.motor.C.v|axis.motor.La.i|axis.gear.bearingFriction.mode|axis.gear.bearingFriction.startBackward|axis.gear.bearingFriction.startForward",fileNamePrefix="Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Systems.RobotR3.OneAxis") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 3.037e-05/3.037e-05, allocations: 5.375 kB / 379.1 MB, free: 2.457 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Systems.RobotR3.OneAxis): time 0.3222/0.3222, allocations: 8.218 MB / 387.3 MB, free: 10.3 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.008498/0.3307, allocations: 2.397 MB / 389.7 MB, free: 8.914 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004276/0.335, allocations: 31.03 kB / 389.7 MB, free: 8.906 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002161/0.3372, allocations: 349.6 kB / 390 MB, free: 8.703 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003968/0.3411, allocations: 0.5044 MB / 390.6 MB, free: 8.336 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002311/0.3434, allocations: 0.6619 MB / 391.2 MB, free: 7.879 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.00554/0.349, allocations: 2.697 MB / 393.9 MB, free: 6.473 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001694/0.3507, allocations: 0.6346 MB / 394.5 MB, free: 6.074 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002075/0.3527, allocations: 0.8833 MB / 395.4 MB, free: 5.598 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001401/0.3541, allocations: 0.7738 MB / 396.2 MB, free: 5.219 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004786/0.3546, allocations: 281.1 kB / 396.5 MB, free: 5.219 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001005/0.3556, allocations: 354.6 kB / 396.8 MB, free: 5.191 MB / 302.1 MB Notification: Performance of combineBinaries: time 0.005262/0.3609, allocations: 3.477 MB / 400.3 MB, free: 2.777 MB / 302.1 MB Notification: Performance of replaceArrayConstructors: time 0.003454/0.3643, allocations: 1.993 MB / 402.3 MB, free: 1.379 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002056/0.3664, allocations: 146.1 kB / 402.4 MB, free: 1.379 MB / 302.1 MB Notification: Performance of FrontEnd: time 0.001246/0.3676, allocations: 109.1 kB / 402.5 MB, free: 1.34 MB / 302.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 391 (390) * Number of variables: 391 (390) Notification: Performance of [SIM] Bindings: time 0.01383/0.3815, allocations: 8.293 MB / 410.8 MB, free: 11.55 MB / 318.1 MB Notification: Performance of [SIM] FunctionAlias: time 0.001852/0.3833, allocations: 1.153 MB / 412 MB, free: 10.67 MB / 318.1 MB Notification: Performance of [SIM] Early Inline: time 0.007548/0.3909, allocations: 6.164 MB / 418.2 MB, free: 5.562 MB / 318.1 MB Notification: Performance of [SIM] Simplify 1: time 0.002195/0.3931, allocations: 0.9402 MB / 419.1 MB, free: 4.738 MB / 318.1 MB Notification: Performance of [SIM] Alias: time 0.0151/0.4082, allocations: 8.953 MB / 428 MB, free: 11.03 MB / 334.1 MB Notification: Performance of [SIM] Simplify 2: time 0.001122/0.4093, allocations: 0.5325 MB / 428.6 MB, free: 10.42 MB / 334.1 MB Notification: Performance of [SIM] Remove Stream: time 0.0004653/0.4098, allocations: 356.1 kB / 428.9 MB, free: 10.04 MB / 334.1 MB Notification: Performance of [SIM] Detect States: time 0.001283/0.411, allocations: 0.9359 MB / 429.9 MB, free: 9.035 MB / 334.1 MB Notification: Performance of [SIM] Events: time 0.0008561/0.4119, allocations: 492.2 kB / 430.3 MB, free: 8.578 MB / 334.1 MB Notification: Performance of [SIM] Partitioning: time 0.001928/0.4138, allocations: 1.457 MB / 431.8 MB, free: 7.039 MB / 334.1 MB Error: Internal error NBVariable.makeDummyState failed for $DER.controlBus.axisControlBus1.current. " [Timeout remaining time 660] [Calling sys.exit(0), Time elapsed: 2.9713894750457257] Failed to read output from testmodel.py, exit status != 0: ['time', 'axis.controller.PI.x', 'axis.gear.spring.phi_rel', 'axis.gear.spring.w_rel', 'axis.initializeFlange.phi_flange', 'axis.initializeFlange.w_flange', 'axis.motor.C.v', 'axis.motor.La.i', 'axis.gear.bearingFriction.mode', 'axis.gear.bearingFriction.startBackward', 'axis.gear.bearingFriction.startForward'] 0.4414409250020981 0.456630452 0.085463855 Calling exit ...