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.001586/0.001586, allocations: 114.1 kB / 20.89 MB, free: 1.117 MB / 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.00136/0.00136, allocations: 193.9 kB / 24.12 MB, free: 4.574 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.353/1.353, allocations: 207.6 MB / 234.8 MB, free: 11.03 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.001893/0.001893, allocations: 54.11 kB / 347 MB, free: 10.08 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2236/0.2255, allocations: 49.12 MB / 396.1 MB, free: 9.773 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Systems.RobotR3.oneAxis): time 0.007851/0.2333, allocations: 9.253 MB / 405.3 MB, free: 3.105 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.003452/0.2368, allocations: 2.329 MB / 407.7 MB, free: 1.359 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005508/0.2373, allocations: 31.28 kB / 407.7 MB, free: 1.352 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006263/0.2379, allocations: 323.2 kB / 408 MB, free: 1.168 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009061/0.2388, allocations: 0.4953 MB / 408.5 MB, free: 0.8047 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009275/0.2398, allocations: 0.657 MB / 409.2 MB, free: 368 kB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.002089/0.2419, allocations: 2.347 MB / 411.5 MB, free: 15.08 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00108/0.2429, allocations: 0.7356 MB / 412.2 MB, free: 14.61 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001024/0.244, allocations: 0.8569 MB / 413.1 MB, free: 14.15 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001016/0.245, allocations: 0.8913 MB / 414 MB, free: 13.59 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002825/0.2453, allocations: 274.2 kB / 414.3 MB, free: 13.59 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004332/0.2457, allocations: 331 kB / 414.6 MB, free: 13.56 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004639/0.2462, allocations: 0.5027 MB / 415.1 MB, free: 13.11 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008925/0.2471, allocations: 0.9723 MB / 416.1 MB, free: 12.38 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003186/0.2502, allocations: 3.359 MB / 419.4 MB, free: 9.645 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.2502, allocations: 3.938 kB / 419.4 MB, free: 9.641 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.382e-06/0.2502, allocations: 0 / 419.4 MB, free: 9.641 MB / 334.1 MB Notification: Performance of Transformations before backend: time 2.897e-05/0.2503, allocations: 0 / 419.4 MB, free: 9.641 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.003616/0.2539, allocations: 1.967 MB / 421.4 MB, free: 8.191 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.564e-05/0.2539, allocations: 9 kB / 421.4 MB, free: 8.191 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003041/0.2542, allocations: 184.6 kB / 421.6 MB, free: 8.102 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001325/0.2556, allocations: 0.8512 MB / 422.4 MB, free: 7.367 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003004/0.2559, allocations: 227.1 kB / 422.6 MB, free: 7.211 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002404/0.2561, allocations: 168.6 kB / 422.8 MB, free: 7.145 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003165/0.2593, allocations: 1.675 MB / 424.5 MB, free: 6.16 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.722e-05/0.2593, allocations: 11.08 kB / 424.5 MB, free: 6.152 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001453/0.2595, allocations: 65.59 kB / 424.6 MB, free: 6.102 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.837e-05/0.2595, allocations: 36.28 kB / 424.6 MB, free: 6.102 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003298/0.2628, allocations: 1.565 MB / 426.2 MB, free: 5.336 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00905/0.2718, allocations: 5.835 MB / 432 MB, free: 15.47 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001994/0.2738, allocations: 0.8862 MB / 432.9 MB, free: 14.57 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001039/0.2749, allocations: 496.8 kB / 433.4 MB, free: 14.08 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.511e-05/0.2749, allocations: 13 kB / 433.4 MB, free: 14.07 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001249/0.2762, allocations: 0.6645 MB / 434 MB, free: 13.36 MB / 350.1 MB Notification: Performance of pre-optimization done (n=90): time 2.705e-06/0.2762, allocations: 0 / 434 MB, free: 13.36 MB / 350.1 MB Notification: Performance of matching and sorting (n=120): time 0.03311/0.3093, allocations: 8.961 MB / 443 MB, free: 4.27 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001603/0.3095, allocations: 303.7 kB / 443.3 MB, free: 3.906 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001136/0.3106, allocations: 0.7896 MB / 444.1 MB, free: 3.109 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001125/0.3107, allocations: 53.7 kB / 444.1 MB, free: 3.051 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005605/0.3113, allocations: 0.676 MB / 444.8 MB, free: 2.363 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003791/0.3116, allocations: 428.4 kB / 445.2 MB, free: 1.941 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004961/0.3121, allocations: 243.5 kB / 445.5 MB, free: 1.695 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002186/0.3124, allocations: 422.6 kB / 445.9 MB, free: 1.273 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001922/0.3143, allocations: 0.8043 MB / 446.7 MB, free: 480 kB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002245/0.3165, allocations: 1.134 MB / 447.8 MB, free: 15.22 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003666/0.3202, allocations: 1.65 MB / 449.5 MB, free: 13.48 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.312e-06/0.3202, allocations: 4 kB / 449.5 MB, free: 13.48 MB / 366.1 MB Notification: Performance of matching and sorting (n=175) (initialization): time 0.004998/0.3252, allocations: 2.065 MB / 451.5 MB, free: 11.39 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.494e-05/0.3252, allocations: 11.91 kB / 451.6 MB, free: 11.38 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.559e-05/0.3252, allocations: 12.06 kB / 451.6 MB, free: 11.37 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004391/0.3257, allocations: 182.5 kB / 451.7 MB, free: 11.18 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001669/0.3273, allocations: 347.5 kB / 452.1 MB, free: 10.84 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004648/0.332, allocations: 4.823 MB / 456.9 MB, free: 5.598 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00144/0.3334, allocations: 167.8 kB / 457.1 MB, free: 5.434 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001237/0.3336, allocations: 48 kB / 457.1 MB, free: 5.387 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.0007424/0.3343, allocations: 391.1 kB / 457.5 MB, free: 4.996 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001985/0.3345, allocations: 115.2 kB / 457.6 MB, free: 4.883 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003194/0.3348, allocations: 138 kB / 457.8 MB, free: 4.746 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.061e-05/0.3348, allocations: 3.984 kB / 457.8 MB, free: 4.742 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.006e-06/0.3348, allocations: 0 / 457.8 MB, free: 4.742 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005509/0.3354, allocations: 352.3 kB / 458.1 MB, free: 4.379 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001726/0.3356, allocations: 32 kB / 458.1 MB, free: 4.348 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001086/0.3366, allocations: 143.8 kB / 458.3 MB, free: 4.207 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004154/0.3371, allocations: 156.8 kB / 458.4 MB, free: 4.055 MB / 366.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.005241/0.3423, allocations: 1.974 MB / 460.4 MB, free: 2.066 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.005999/0.3483, allocations: 2.767 MB / 463.2 MB, free: 15.28 MB / 382.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001837/0.3501, allocations: 0.7496 MB / 463.9 MB, free: 14.53 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0008122/0.3509, allocations: 0.5303 MB / 464.4 MB, free: 14 MB / 382.1 MB Notification: Performance of Backend: time 3.71e-07/0.3509, allocations: 0 / 464.4 MB, free: 14 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.003787/0.3547, allocations: 1.518 MB / 466 MB, free: 12.44 MB / 382.1 MB Notification: Performance of SimCode: time 0.004642/0.3594, allocations: 3.005 MB / 469 MB, free: 9.375 MB / 382.1 MB Notification: Performance of Templates: time 0.04059/0.4, allocations: 24.19 MB / 493.2 MB, free: 1.141 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: 5.022914717905223] 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.40809535898733884 0.42690782800000004 0.17120542600000002 Calling exit ...