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.001285/0.001285, allocations: 116.6 kB / 21.82 MB, free: 124 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.001356/0.001356, allocations: 184.5 kB / 25.07 MB, free: 3.648 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.34/1.34, allocations: 207.6 MB / 235.8 MB, free: 10.03 MB / 190.1 MB " [Timeout remaining time 179] 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.00173/0.00173, allocations: 57.33 kB / 348.1 MB, free: 9.664 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2339/0.2356, allocations: 49.15 MB / 397.3 MB, free: 9.465 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Systems.RobotR3.oneAxis): time 0.008158/0.2438, allocations: 9.196 MB / 406.5 MB, free: 2.859 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.003356/0.2472, allocations: 2.329 MB / 408.8 MB, free: 1.109 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005429/0.2477, allocations: 39.97 kB / 408.9 MB, free: 1.094 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006192/0.2483, allocations: 327 kB / 409.2 MB, free: 0.9062 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008732/0.2492, allocations: 0.4909 MB / 409.7 MB, free: 0.5469 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009049/0.2501, allocations: 0.6596 MB / 410.3 MB, free: 100 kB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.002292/0.2524, allocations: 2.348 MB / 412.7 MB, free: 14.81 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001138/0.2535, allocations: 0.7385 MB / 413.4 MB, free: 14.35 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00113/0.2547, allocations: 0.8734 MB / 414.3 MB, free: 13.88 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001102/0.2558, allocations: 0.8941 MB / 415.2 MB, free: 13.3 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002761/0.256, allocations: 274.1 kB / 415.4 MB, free: 13.3 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004222/0.2565, allocations: 327.5 kB / 415.8 MB, free: 13.27 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004853/0.2569, allocations: 0.5067 MB / 416.3 MB, free: 12.82 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009223/0.2579, allocations: 0.9726 MB / 417.2 MB, free: 12.08 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003233/0.2611, allocations: 3.359 MB / 420.6 MB, free: 9.355 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/0.2611, allocations: 0 / 420.6 MB, free: 9.355 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.353e-06/0.2611, allocations: 0 / 420.6 MB, free: 9.355 MB / 334.1 MB Notification: Performance of Transformations before backend: time 2.942e-05/0.2611, allocations: 0 / 420.6 MB, free: 9.355 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.003736/0.2649, allocations: 1.891 MB / 422.5 MB, free: 8 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.171e-05/0.2649, allocations: 13.83 kB / 422.5 MB, free: 7.996 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003136/0.2652, allocations: 184.3 kB / 422.7 MB, free: 7.906 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001313/0.2665, allocations: 0.7817 MB / 423.5 MB, free: 7.246 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002961/0.2668, allocations: 238.8 kB / 423.7 MB, free: 7.078 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002416/0.2671, allocations: 161.6 kB / 423.9 MB, free: 7.02 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003274/0.2703, allocations: 1.678 MB / 425.5 MB, free: 6.031 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.784e-05/0.2704, allocations: 11.34 kB / 425.6 MB, free: 6.023 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001541/0.2706, allocations: 69.97 kB / 425.6 MB, free: 5.969 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.054e-05/0.2706, allocations: 41.16 kB / 425.7 MB, free: 5.965 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003489/0.2741, allocations: 1.557 MB / 427.2 MB, free: 5.207 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009683/0.2838, allocations: 5.673 MB / 432.9 MB, free: 15.41 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002169/0.286, allocations: 0.8936 MB / 433.8 MB, free: 14.49 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001117/0.2871, allocations: 0.4933 MB / 434.3 MB, free: 14 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.857e-05/0.2871, allocations: 12.91 kB / 434.3 MB, free: 13.99 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001358/0.2885, allocations: 0.6567 MB / 434.9 MB, free: 13.29 MB / 350.1 MB Notification: Performance of pre-optimization done (n=90): time 2.905e-06/0.2885, allocations: 0 / 434.9 MB, free: 13.29 MB / 350.1 MB Notification: Performance of matching and sorting (n=120): time 0.03644/0.3249, allocations: 8.664 MB / 443.6 MB, free: 4.57 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001685/0.3251, allocations: 303.7 kB / 443.9 MB, free: 4.207 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001098/0.3262, allocations: 0.7896 MB / 444.7 MB, free: 3.41 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001166/0.3263, allocations: 53.7 kB / 444.8 MB, free: 3.352 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005506/0.3269, allocations: 0.6722 MB / 445.4 MB, free: 2.668 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003771/0.3272, allocations: 440.2 kB / 445.9 MB, free: 2.234 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005048/0.3278, allocations: 247.6 kB / 446.1 MB, free: 1.984 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000217/0.328, allocations: 410.7 kB / 446.5 MB, free: 1.574 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002101/0.3301, allocations: 0.8082 MB / 447.3 MB, free: 0.7656 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002412/0.3325, allocations: 1.134 MB / 448.4 MB, free: 15.52 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003879/0.3364, allocations: 1.65 MB / 450.1 MB, free: 13.77 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.807e-06/0.3364, allocations: 0 / 450.1 MB, free: 13.77 MB / 366.1 MB Notification: Performance of matching and sorting (n=175) (initialization): time 0.004927/0.3413, allocations: 2.065 MB / 452.2 MB, free: 11.69 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.829e-05/0.3413, allocations: 8.125 kB / 452.2 MB, free: 11.68 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.337e-05/0.3413, allocations: 12 kB / 452.2 MB, free: 11.67 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004/0.3417, allocations: 178.5 kB / 452.3 MB, free: 11.49 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001751/0.3435, allocations: 351.4 kB / 452.7 MB, free: 11.14 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004232/0.3477, allocations: 4.508 MB / 457.2 MB, free: 6.293 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001416/0.3491, allocations: 167.9 kB / 457.4 MB, free: 6.129 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000118/0.3492, allocations: 44 kB / 457.4 MB, free: 6.086 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.00066/0.3499, allocations: 391.2 kB / 457.8 MB, free: 5.695 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001991/0.3501, allocations: 119.2 kB / 457.9 MB, free: 5.578 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002608/0.3504, allocations: 134 kB / 458 MB, free: 5.445 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.22e-05/0.3504, allocations: 7.984 kB / 458 MB, free: 5.438 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.645e-06/0.3504, allocations: 0 / 458 MB, free: 5.438 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005514/0.3509, allocations: 271.2 kB / 458.3 MB, free: 5.172 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000183/0.3511, allocations: 32 kB / 458.3 MB, free: 5.141 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001214/0.3523, allocations: 147.8 kB / 458.5 MB, free: 4.996 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004024/0.3527, allocations: 160.8 kB / 458.6 MB, free: 4.84 MB / 366.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.005517/0.3582, allocations: 1.978 MB / 460.6 MB, free: 2.844 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.00628/0.3645, allocations: 2.755 MB / 463.4 MB, free: 76 kB / 366.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001906/0.3664, allocations: 0.7496 MB / 464.1 MB, free: 15.33 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0007321/0.3672, allocations: 0.5303 MB / 464.7 MB, free: 14.8 MB / 382.1 MB Notification: Performance of Backend: time 5.31e-07/0.3672, allocations: 0 / 464.7 MB, free: 14.8 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.003646/0.3708, allocations: 1.522 MB / 466.2 MB, free: 13.23 MB / 382.1 MB Notification: Performance of SimCode: time 0.004482/0.3753, allocations: 3.012 MB / 469.2 MB, free: 10.16 MB / 382.1 MB Notification: Performance of Templates: time 0.03802/0.4133, allocations: 24.59 MB / 493.8 MB, free: 1.523 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.86104946071282] 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.4210873390547931 0.43458917900000005 0.17054608500000001 Calling exit ... <OMPython.OMCSessionZMQ object at 0x7ff78e6e5810>