Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Systems.RobotR3.oneAxis.conf.json
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001809/0.001809, allocations: 116.6 kB / 21.82 MB, free: 108 kB / 14.72 MB
"
[Timeout remaining time 180]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0021/0.0021, allocations: 182 kB / 25.08 MB, free: 3.629 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.389/1.389, allocations: 207.6 MB / 235.8 MB, free: 10.01 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo)
Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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_3.2.3_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_3.2.3_Modelica.Mechanics.MultiBody.Examples.Systems.RobotR3.oneAxis") [Timeout 660]
"Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed.
Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed.
Notification: Performance of FrontEnd - loaded program: time 0.001796/0.001796, allocations: 55.91 kB / 348.1 MB, free: 9.66 MB / 286.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.2207/0.2225, allocations: 49.16 MB / 397.3 MB, free: 9.457 MB / 318.1 MB
Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Systems.RobotR3.oneAxis): time 0.008123/0.2307, allocations: 9.196 MB / 406.5 MB, free: 2.852 MB / 318.1 MB
Notification: Performance of NFInst.instExpressions: time 0.003844/0.2345, allocations: 2.33 MB / 408.8 MB, free: 1.102 MB / 318.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 0.0006396/0.2351, allocations: 35.44 kB / 408.9 MB, free: 1.09 MB / 318.1 MB
Notification: Performance of NFTyping.typeComponents: time 0.0006543/0.2358, allocations: 322.8 kB / 409.2 MB, free: 0.9062 MB / 318.1 MB
Notification: Performance of NFTyping.typeBindings: time 0.0009168/0.2367, allocations: 0.4954 MB / 409.7 MB, free: 0.543 MB / 318.1 MB
Notification: Performance of NFTyping.typeClassSections: time 0.0009776/0.2377, allocations: 0.6603 MB / 410.3 MB, free: 96 kB / 318.1 MB
Notification: Performance of NFFlatten.flatten: time 0.002258/0.2399, allocations: 2.352 MB / 412.7 MB, free: 14.8 MB / 334.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 0.001105/0.241, allocations: 0.7372 MB / 413.4 MB, free: 14.34 MB / 334.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 0.00111/0.2422, allocations: 0.8671 MB / 414.3 MB, free: 13.88 MB / 334.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 0.001075/0.2432, allocations: 0.8951 MB / 415.2 MB, free: 13.29 MB / 334.1 MB
Notification: Performance of NFPackage.collectConstants: time 0.0002838/0.2435, allocations: 275.2 kB / 415.4 MB, free: 13.29 MB / 334.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 0.0004203/0.2439, allocations: 330.4 kB / 415.8 MB, free: 13.26 MB / 334.1 MB
Notification: Performance of NFScalarize.scalarize: time 0.000433/0.2444, allocations: 0.4987 MB / 416.3 MB, free: 12.82 MB / 334.1 MB
Notification: Performance of NFVerifyModel.verify: time 0.001007/0.2454, allocations: 0.9774 MB / 417.2 MB, free: 12.07 MB / 334.1 MB
Notification: Performance of NFConvertDAE.convert: time 0.003185/0.2486, allocations: 3.354 MB / 420.6 MB, free: 9.352 MB / 334.1 MB
Notification: Performance of FrontEnd - DAE generated: time 3.697e-06/0.2486, allocations: 4 kB / 420.6 MB, free: 9.348 MB / 334.1 MB
Notification: Performance of FrontEnd: time 1.202e-06/0.2486, allocations: 1.156 kB / 420.6 MB, free: 9.348 MB / 334.1 MB
Notification: Performance of Transformations before backend: time 2.594e-05/0.2486, allocations: 0 / 420.6 MB, free: 9.348 MB / 334.1 MB
Notification: Model statistics after passing the front-end and creating the data structures used by the back-end:
 * Number of equations: 389
 * Number of variables: 389
Notification: Performance of Generate backend data structure: time 0.00354/0.2521, allocations: 1.895 MB / 422.5 MB, free: 7.988 MB / 334.1 MB
Notification: Performance of prepare preOptimizeDAE: time 4.182e-05/0.2522, allocations: 12.67 kB / 422.5 MB, free: 7.984 MB / 334.1 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003162/0.2525, allocations: 185.9 kB / 422.7 MB, free: 7.895 MB / 334.1 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.001332/0.2538, allocations: 0.7808 MB / 423.5 MB, free: 7.234 MB / 334.1 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002825/0.2541, allocations: 230.4 kB / 423.7 MB, free: 7.074 MB / 334.1 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 0.000232/0.2543, allocations: 170.3 kB / 423.9 MB, free: 7.008 MB / 334.1 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.003069/0.2574, allocations: 1.684 MB / 425.5 MB, free: 6.016 MB / 334.1 MB
Notification: Performance of preOpt findStateOrder (simulation): time 4.559e-05/0.2575, allocations: 9.156 kB / 425.6 MB, free: 6.008 MB / 334.1 MB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001427/0.2576, allocations: 63.25 kB / 425.6 MB, free: 5.961 MB / 334.1 MB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.515e-05/0.2576, allocations: 35.88 kB / 425.7 MB, free: 5.961 MB / 334.1 MB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003228/0.2608, allocations: 1.569 MB / 427.2 MB, free: 5.191 MB / 334.1 MB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008994/0.2698, allocations: 5.673 MB / 432.9 MB, free: 15.39 MB / 350.1 MB
Notification: Performance of preOpt comSubExp (simulation): time 0.001978/0.2718, allocations: 0.8976 MB / 433.8 MB, free: 14.48 MB / 350.1 MB
Notification: Performance of preOpt resolveLoops (simulation): time 0.001018/0.2728, allocations: 493.2 kB / 434.3 MB, free: 13.99 MB / 350.1 MB
Notification: Performance of preOpt evalFunc (simulation): time 7.461e-05/0.2729, allocations: 12.98 kB / 434.3 MB, free: 13.98 MB / 350.1 MB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001233/0.2741, allocations: 0.6606 MB / 434.9 MB, free: 13.27 MB / 350.1 MB
Notification: Performance of pre-optimization done (n=90): time 2.434e-06/0.2741, allocations: 0 / 434.9 MB, free: 13.27 MB / 350.1 MB
Notification: Performance of matching and sorting (n=120): time 0.03297/0.3071, allocations: 8.666 MB / 443.6 MB, free: 4.559 MB / 350.1 MB
Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001601/0.3073, allocations: 299.8 kB / 443.9 MB, free: 4.199 MB / 350.1 MB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001135/0.3084, allocations: 0.7934 MB / 444.7 MB, free: 3.398 MB / 350.1 MB
Notification: Performance of collectPreVariables (initialization): time 0.0001092/0.3085, allocations: 53.7 kB / 444.8 MB, free: 3.34 MB / 350.1 MB
Notification: Performance of collectInitialEqns (initialization): time 0.0005621/0.3091, allocations: 0.6761 MB / 445.4 MB, free: 2.652 MB / 350.1 MB
Notification: Performance of collectInitialBindings (initialization): time 0.0003752/0.3095, allocations: 428.3 kB / 445.8 MB, free: 2.23 MB / 350.1 MB
Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004892/0.3099, allocations: 251.5 kB / 446.1 MB, free: 1.977 MB / 350.1 MB
Notification: Performance of setup shared object (initialization): time 0.000215/0.3102, allocations: 406.7 kB / 446.5 MB, free: 1.57 MB / 350.1 MB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.001917/0.3121, allocations: 0.8121 MB / 447.3 MB, free: 0.7578 MB / 350.1 MB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.002182/0.3143, allocations: 1.13 MB / 448.4 MB, free: 15.51 MB / 366.1 MB
Notification: Performance of analyzeInitialSystem (initialization): time 0.003548/0.3178, allocations: 1.654 MB / 450.1 MB, free: 13.76 MB / 366.1 MB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.978e-06/0.3178, allocations: 0 / 450.1 MB, free: 13.76 MB / 366.1 MB
Notification: Performance of matching and sorting (n=175) (initialization): time 0.004633/0.3224, allocations: 2.073 MB / 452.2 MB, free: 11.67 MB / 366.1 MB
Notification: Performance of prepare postOptimizeDAE: time 1.839e-05/0.3225, allocations: 8 kB / 452.2 MB, free: 11.66 MB / 366.1 MB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.189e-05/0.3225, allocations: 8 kB / 452.2 MB, free: 11.66 MB / 366.1 MB
Notification: Performance of postOpt tearingSystem (initialization): time 0.0004205/0.3229, allocations: 186.5 kB / 452.4 MB, free: 11.46 MB / 366.1 MB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001727/0.3246, allocations: 351.5 kB / 452.7 MB, free: 11.12 MB / 366.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004237/0.3289, allocations: 4.504 MB / 457.2 MB, free: 6.273 MB / 366.1 MB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001446/0.3303, allocations: 159.9 kB / 457.4 MB, free: 6.117 MB / 366.1 MB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001274/0.3304, allocations: 59.98 kB / 457.4 MB, free: 6.059 MB / 366.1 MB
Notification: Model statistics after passing the back-end for initialization:
 * Number of independent subsystems: 30
 * Number of states: 0 ()
 * Number of discrete variables: 12 (axis.gear.bearingFriction.free,pathPlanning.terminateSimulation.condition,pathPlanning.pathToAxis1.moving[1],pathPlanning.path.noWphase,axis.gear.bearingFriction.mode,$PRE.axis.gear.bearingFriction.mode,axis.gear.bearingFriction.locked,axis.gear.bearingFriction.startBackward,$PRE.axis.gear.bearingFriction.startBackward,axis.gear.bearingFriction.startForward,$PRE.axis.gear.bearingFriction.startForward,$whenCondition1)
 * Number of discrete states: 0 ()
 * Number of clocked states: 0 ()
 * Top-level inputs: 0
Notification: Strong component statistics for initialization (168):
 * Single equations (assignments): 165
 * Array equations: 0
 * Algorithm blocks: 0
 * Record equations: 0
 * When equations: 0
 * If-equations: 0
 * Equation systems (not torn): 0
 * Torn equation systems: 3
 * Mixed (continuous/discrete) equation systems: 0
Notification: Torn system details for strict tearing set:
 * Linear torn systems (#iteration vars, #inner vars, density): 2 systems
   {(1,2,100.0%), (1,2,100.0%)}
 * Non-linear torn systems (#iteration vars, #inner vars): 1 system
   {(1,3)}
Notification: Performance of prepare postOptimizeDAE: time 0.0007002/0.3311, allocations: 387.3 kB / 457.8 MB, free: 5.672 MB / 366.1 MB
Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001952/0.3313, allocations: 115.2 kB / 457.9 MB, free: 5.559 MB / 366.1 MB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003019/0.3316, allocations: 134 kB / 458 MB, free: 5.426 MB / 366.1 MB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.261e-05/0.3316, allocations: 7.969 kB / 458 MB, free: 5.418 MB / 366.1 MB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.906e-06/0.3316, allocations: 0 / 458 MB, free: 5.418 MB / 366.1 MB
Notification: Performance of postOpt removeConstants (simulation): time 0.0005864/0.3322, allocations: 267.2 kB / 458.3 MB, free: 5.156 MB / 366.1 MB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000174/0.3324, allocations: 40 kB / 458.3 MB, free: 5.117 MB / 366.1 MB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001129/0.3335, allocations: 143.8 kB / 458.5 MB, free: 4.977 MB / 366.1 MB
Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004124/0.3339, allocations: 164.7 kB / 458.7 MB, free: 4.816 MB / 366.1 MB
Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.005094/0.339, allocations: 1.97 MB / 460.6 MB, free: 2.832 MB / 366.1 MB
Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.00571/0.3447, allocations: 2.759 MB / 463.4 MB, free: 60 kB / 366.1 MB
Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001746/0.3465, allocations: 0.7456 MB / 464.1 MB, free: 15.32 MB / 382.1 MB
Notification: Performance of sorting global known variables: time 0.0007488/0.3472, allocations: 0.5341 MB / 464.7 MB, free: 14.79 MB / 382.1 MB
Notification: Performance of Backend: time 2.11e-07/0.3472, allocations: 8 kB / 464.7 MB, free: 14.78 MB / 382.1 MB
Notification: Performance of simCode: created initialization part: time 0.003578/0.3508, allocations: 1.515 MB / 466.2 MB, free: 13.22 MB / 382.1 MB
Notification: Performance of SimCode: time 0.004821/0.3556, allocations: 3.015 MB / 469.2 MB, free: 10.14 MB / 382.1 MB
Notification: Performance of Templates: time 0.0404/0.396, allocations: 24.59 MB / 493.8 MB, free: 1.5 MB / 398.1 MB
"
[Timeout remaining time 660]
make -j1 -f Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Systems.RobotR3.oneAxis.makefile [Timeout 660]
(rm -f Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Systems.RobotR3.oneAxis.pipe ; mkfifo Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Systems.RobotR3.oneAxis.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Systems.RobotR3.oneAxis.pipe >> ../files/Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Systems.RobotR3.oneAxis.sim & ./Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Systems.RobotR3.oneAxis  -abortSlowSimulation -alarm=480  -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Systems.RobotR3.oneAxis.pipe 2>&1) [Timeout 480]
[Calling os._exit(0), Time elapsed: 4.899718776345253]
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.40423586033284664 0.41844373199999996 0.166841197
Calling exit ...
<OMPython.OMCSessionZMQ object at 0x7f471f7bd810>