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.001595/0.001595, allocations: 110.8 kB / 21.19 MB, free: 0.6641 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.001804/0.001804, allocations: 210.8 kB / 24.49 MB, free: 3.965 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.447/1.447, allocations: 230.6 MB / 258.3 MB, free: 7.801 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 - loaded program: time 0.001589/0.001589, allocations: 47.92 kB / 379 MB, free: 2.473 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2047/0.2063, allocations: 53.37 MB / 432.4 MB, free: 6.711 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Systems.RobotR3.OneAxis): time 0.01104/0.2173, allocations: 8.212 MB / 440.6 MB, free: 14.46 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.004553/0.2219, allocations: 2.391 MB / 443 MB, free: 12.07 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009088/0.2228, allocations: 31.88 kB / 443 MB, free: 12.04 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008145/0.2236, allocations: 340.9 kB / 443.3 MB, free: 11.7 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001188/0.2248, allocations: 0.5114 MB / 443.8 MB, free: 11.18 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001137/0.2259, allocations: 0.6671 MB / 444.5 MB, free: 10.52 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002306/0.2283, allocations: 2.364 MB / 446.9 MB, free: 8.145 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001137/0.2294, allocations: 0.7375 MB / 447.6 MB, free: 7.355 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008923/0.2303, allocations: 0.8646 MB / 448.5 MB, free: 6.488 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00101/0.2313, allocations: 0.9105 MB / 449.4 MB, free: 5.574 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003334/0.2316, allocations: 280 kB / 449.6 MB, free: 5.301 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005862/0.2322, allocations: 351.9 kB / 450 MB, free: 4.957 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004882/0.2327, allocations: 0.5104 MB / 450.5 MB, free: 4.445 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007957/0.2335, allocations: 0.8054 MB / 451.3 MB, free: 3.637 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003362/0.2369, allocations: 3.436 MB / 454.7 MB, free: 200 kB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.091e-06/0.2369, allocations: 4 kB / 454.7 MB, free: 196 kB / 350.1 MB Notification: Performance of FrontEnd: time 1.542e-06/0.2369, allocations: 0 / 454.7 MB, free: 196 kB / 350.1 MB Notification: Performance of Transformations before backend: time 2.863e-05/0.2369, allocations: 0 / 454.7 MB, free: 196 kB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 391 * Number of variables: 391 Notification: Performance of Generate backend data structure: time 0.003921/0.2408, allocations: 1.925 MB / 456.7 MB, free: 14.22 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.993e-05/0.2409, allocations: 8.031 kB / 456.7 MB, free: 14.21 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000406/0.2413, allocations: 191.8 kB / 456.9 MB, free: 14.03 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001404/0.2427, allocations: 0.786 MB / 457.7 MB, free: 13.21 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004411/0.2431, allocations: 446.3 kB / 458.1 MB, free: 12.71 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002636/0.2434, allocations: 163.9 kB / 458.2 MB, free: 12.55 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003505/0.2469, allocations: 1.887 MB / 460.1 MB, free: 10.59 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.05e-05/0.2469, allocations: 7.953 kB / 460.1 MB, free: 10.58 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001574/0.2471, allocations: 60 kB / 460.2 MB, free: 10.52 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.411e-05/0.2471, allocations: 36 kB / 460.2 MB, free: 10.48 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003493/0.2506, allocations: 1.531 MB / 461.8 MB, free: 8.949 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008731/0.2593, allocations: 5.002 MB / 466.8 MB, free: 3.75 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002189/0.2615, allocations: 0.8918 MB / 467.7 MB, free: 2.836 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001093/0.2626, allocations: 489.7 kB / 468.1 MB, free: 2.355 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.077e-05/0.2627, allocations: 12.98 kB / 468.2 MB, free: 2.344 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001462/0.2641, allocations: 0.8614 MB / 469 MB, free: 1.387 MB / 366.1 MB Notification: Performance of pre-optimization done (n=92): time 4.899e-06/0.2641, allocations: 4 kB / 469 MB, free: 1.383 MB / 366.1 MB Notification: Performance of matching and sorting (n=122): time 0.03434/0.2985, allocations: 8.536 MB / 477.6 MB, free: 8.801 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001619/0.2986, allocations: 299.7 kB / 477.8 MB, free: 8.438 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001084/0.2997, allocations: 0.7932 MB / 478.6 MB, free: 7.633 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001186/0.2999, allocations: 57.73 kB / 478.7 MB, free: 7.57 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005456/0.3004, allocations: 0.6839 MB / 479.4 MB, free: 6.875 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000387/0.3008, allocations: 436.3 kB / 479.8 MB, free: 6.445 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005151/0.3013, allocations: 251.5 kB / 480.1 MB, free: 6.191 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0002207/0.3015, allocations: 402.7 kB / 480.4 MB, free: 5.789 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00198/0.3035, allocations: 0.7965 MB / 481.2 MB, free: 4.992 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002365/0.3059, allocations: 1.319 MB / 482.6 MB, free: 3.512 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003663/0.3095, allocations: 1.611 MB / 484.2 MB, free: 1.805 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.883e-06/0.3095, allocations: 4 kB / 484.2 MB, free: 1.801 MB / 382.1 MB Notification: Performance of matching and sorting (n=177) (initialization): time 0.004715/0.3142, allocations: 2.049 MB / 486.2 MB, free: 15.73 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.485e-05/0.3143, allocations: 8 kB / 486.2 MB, free: 15.72 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.324e-05/0.3143, allocations: 8 kB / 486.2 MB, free: 15.71 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004618/0.3147, allocations: 218.4 kB / 486.5 MB, free: 15.49 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001734/0.3165, allocations: 343.5 kB / 486.8 MB, free: 15.16 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004305/0.3208, allocations: 4.455 MB / 491.2 MB, free: 10.4 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001437/0.3222, allocations: 171.9 kB / 491.4 MB, free: 10.23 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001213/0.3223, allocations: 51.94 kB / 491.5 MB, free: 10.18 MB / 398.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: 13 (axis.gear.bearingFriction.free,pathPlanning.terminateSimulation.condition,pathPlanning.pathToAxis1.moving[1],pathPlanning.path.noWphase,pathPlanning.path.motion_ref,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 (170): * Single equations (assignments): 167 * 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.0006435/0.323, allocations: 386.5 kB / 491.8 MB, free: 9.797 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002024/0.3232, allocations: 111.2 kB / 491.9 MB, free: 9.688 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002768/0.3235, allocations: 137.8 kB / 492.1 MB, free: 9.551 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.061e-05/0.3235, allocations: 7.984 kB / 492.1 MB, free: 9.543 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.976e-06/0.3235, allocations: 0 / 492.1 MB, free: 9.543 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006012/0.3241, allocations: 271.2 kB / 492.4 MB, free: 9.277 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001969/0.3243, allocations: 35.94 kB / 492.4 MB, free: 9.242 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001229/0.3255, allocations: 147.8 kB / 492.5 MB, free: 9.098 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003919/0.3259, allocations: 164.7 kB / 492.7 MB, free: 8.934 MB / 398.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.005434/0.3313, allocations: 1.935 MB / 494.6 MB, free: 6.992 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.005956/0.3373, allocations: 2.715 MB / 497.3 MB, free: 4.262 MB / 398.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001778/0.3391, allocations: 0.7417 MB / 498.1 MB, free: 3.52 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0007282/0.3398, allocations: 0.5147 MB / 498.6 MB, free: 3.004 MB / 398.1 MB Notification: Performance of Backend: time 4.6e-07/0.3398, allocations: 0 / 498.6 MB, free: 3.004 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.005505/0.3453, allocations: 1.946 MB / 0.4888 GB, free: 1.266 MB / 398.1 MB Notification: Performance of SimCode: time 0.00439/0.3497, allocations: 3.016 MB / 0.4918 GB, free: 14.19 MB / 414.1 MB Notification: Performance of Templates: time 0.04089/0.3906, allocations: 27 MB / 0.5181 GB, free: 3.441 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Systems.RobotR3.OneAxis.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Systems.RobotR3.OneAxis.pipe ; mkfifo Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Systems.RobotR3.OneAxis.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Systems.RobotR3.OneAxis.pipe >> ../files/Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Systems.RobotR3.OneAxis.sim & ./Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Systems.RobotR3.OneAxis -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Systems.RobotR3.OneAxis.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 5.12691399299365] 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.39859969099779846 0.41290289199999997 0.17297158299999996 Calling exit ...