Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Systems.RobotR3.OneAxis.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.001526/0.001526, allocations: 99.64 kB / 21.25 MB, free: 424 kB / 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.002932/0.002932, allocations: 214.5 kB / 24.55 MB, free: 3.719 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.674/1.674, allocations: 230.5 MB / 258.2 MB, free: 7.723 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.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_trunk_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_trunk_Modelica.Mechanics.MultiBody.Examples.Systems.RobotR3.OneAxis") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 3.057e-05/3.057e-05, allocations: 2.281 kB / 379.1 MB, free: 2.297 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Systems.RobotR3.OneAxis): time 0.3051/0.3052, allocations: 8.21 MB / 387.3 MB, free: 10.18 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.007546/0.3127, allocations: 2.4 MB / 389.7 MB, free: 8.754 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003552/0.3163, allocations: 34.81 kB / 389.7 MB, free: 8.742 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002298/0.3186, allocations: 345.6 kB / 390 MB, free: 8.543 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004333/0.3229, allocations: 0.5045 MB / 390.5 MB, free: 8.176 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002255/0.3251, allocations: 0.6612 MB / 391.2 MB, free: 7.719 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.005218/0.3304, allocations: 2.701 MB / 393.9 MB, free: 6.312 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001447/0.3318, allocations: 0.6317 MB / 394.5 MB, free: 5.914 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001965/0.3338, allocations: 0.8788 MB / 395.4 MB, free: 5.441 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001312/0.3351, allocations: 0.789 MB / 396.2 MB, free: 5.047 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004431/0.3355, allocations: 280.4 kB / 396.5 MB, free: 5.047 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000987/0.3365, allocations: 347.8 kB / 396.8 MB, free: 5.027 MB / 302.1 MB Notification: Performance of combineBinaries: time 0.003458/0.34, allocations: 3.481 MB / 400.3 MB, free: 2.609 MB / 302.1 MB Notification: Performance of replaceArrayConstructors: time 0.001932/0.3419, allocations: 1.99 MB / 402.3 MB, free: 1.215 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006988/0.3426, allocations: 145.8 kB / 402.4 MB, free: 1.215 MB / 302.1 MB Notification: Performance of FrontEnd: time 0.0006539/0.3433, allocations: 111.5 kB / 402.5 MB, free: 1.172 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.0114/0.3547, allocations: 8.288 MB / 410.8 MB, free: 11.39 MB / 318.1 MB Notification: Performance of [SIM] FunctionAlias: time 0.001871/0.3565, allocations: 1.169 MB / 412 MB, free: 10.47 MB / 318.1 MB Notification: Performance of [SIM] Early Inline: time 0.007904/0.3644, allocations: 6.162 MB / 418.2 MB, free: 5.367 MB / 318.1 MB Notification: Performance of [SIM] Simplify 1: time 0.002508/0.3669, allocations: 0.9362 MB / 419.1 MB, free: 4.477 MB / 318.1 MB Notification: Performance of [SIM] Alias: time 0.01724/0.3842, allocations: 8.945 MB / 428 MB, free: 10.77 MB / 334.1 MB Notification: Performance of [SIM] Simplify 2: time 0.001116/0.3853, allocations: 0.5432 MB / 428.6 MB, free: 10.16 MB / 334.1 MB Notification: Performance of [SIM] Remove Stream: time 0.0004459/0.3857, allocations: 348.1 kB / 428.9 MB, free: 9.781 MB / 334.1 MB Notification: Performance of [SIM] Detect States: time 0.001313/0.3871, allocations: 0.9335 MB / 429.9 MB, free: 8.785 MB / 334.1 MB Notification: Performance of [SIM] Events: time 0.0008616/0.3879, allocations: 489 kB / 430.3 MB, free: 8.324 MB / 334.1 MB Notification: Performance of [SIM] Partitioning: time 0.001886/0.3898, allocations: 1.461 MB / 431.8 MB, free: 6.781 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.983042057021521] 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.41682583501096815 0.43159292000000005 0.085019642 Calling exit ...