Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_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.001563/0.001563, allocations: 111.2 kB / 21.18 MB, free: 0.6289 MB / 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.001632/0.001632, allocations: 206.8 kB / 24.48 MB, free: 4.035 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.432/1.432, allocations: 230.4 MB / 258.1 MB, free: 8.156 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-beta.om/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_4.1.0-beta.om_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-beta.om_Modelica.Mechanics.MultiBody.Examples.Systems.RobotR3.OneAxis") [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001964/0.001964, allocations: 59.84 kB / 378.7 MB, free: 2.895 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2117/0.2136, allocations: 53.32 MB / 432.1 MB, free: 7.383 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Systems.RobotR3.OneAxis): time 0.01156/0.2252, allocations: 9.467 MB / 441.5 MB, free: 13.87 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.004597/0.2298, allocations: 2.458 MB / 444 MB, free: 11.41 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000855/0.2306, allocations: 31.88 kB / 444 MB, free: 11.38 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008996/0.2315, allocations: 348.9 kB / 444.4 MB, free: 11.03 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001333/0.2329, allocations: 0.4997 MB / 444.9 MB, free: 10.53 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001221/0.2341, allocations: 0.6554 MB / 445.5 MB, free: 9.871 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002756/0.2368, allocations: 2.364 MB / 447.9 MB, free: 7.5 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001223/0.2381, allocations: 0.7442 MB / 448.6 MB, free: 6.711 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001232/0.2393, allocations: 0.8763 MB / 449.5 MB, free: 5.832 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001163/0.2405, allocations: 0.8988 MB / 450.4 MB, free: 4.93 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000333/0.2408, allocations: 279.9 kB / 450.7 MB, free: 4.656 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004805/0.2413, allocations: 335.9 kB / 451 MB, free: 4.328 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004852/0.2418, allocations: 0.5143 MB / 451.5 MB, free: 3.812 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009908/0.2427, allocations: 0.9803 MB / 452.5 MB, free: 2.828 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003551/0.2463, allocations: 3.404 MB / 455.9 MB, free: 15.41 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.592e-06/0.2463, allocations: 4 kB / 455.9 MB, free: 15.41 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.212e-06/0.2463, allocations: 0 / 455.9 MB, free: 15.41 MB / 366.1 MB Notification: Performance of Transformations before backend: time 4.249e-05/0.2463, allocations: 0 / 455.9 MB, free: 15.41 MB / 366.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.004031/0.2504, allocations: 1.992 MB / 457.9 MB, free: 13.36 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.118e-05/0.2504, allocations: 8.922 kB / 457.9 MB, free: 13.35 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003232/0.2507, allocations: 187.8 kB / 458.1 MB, free: 13.17 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001416/0.2522, allocations: 0.8619 MB / 459 MB, free: 12.26 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003091/0.2525, allocations: 236.7 kB / 459.2 MB, free: 12.01 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002607/0.2527, allocations: 167.9 kB / 459.3 MB, free: 11.85 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003307/0.256, allocations: 1.663 MB / 461 MB, free: 10.16 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.452e-05/0.2561, allocations: 11.94 kB / 461 MB, free: 10.14 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001585/0.2562, allocations: 68 kB / 461.1 MB, free: 10.08 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.792e-05/0.2563, allocations: 40 kB / 461.1 MB, free: 10.04 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003529/0.2598, allocations: 1.523 MB / 462.7 MB, free: 8.512 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009784/0.2696, allocations: 5.85 MB / 468.5 MB, free: 2.441 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00217/0.2718, allocations: 0.8787 MB / 469.4 MB, free: 1.543 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001083/0.2728, allocations: 480.9 kB / 469.8 MB, free: 1.07 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.303e-05/0.2729, allocations: 13 kB / 469.9 MB, free: 1.055 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001319/0.2742, allocations: 0.645 MB / 470.5 MB, free: 380 kB / 366.1 MB Notification: Performance of pre-optimization done (n=91): time 2.875e-06/0.2742, allocations: 0 / 470.5 MB, free: 380 kB / 366.1 MB Notification: Performance of matching and sorting (n=121): time 0.03682/0.3111, allocations: 8.818 MB / 479.3 MB, free: 7.426 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001676/0.3112, allocations: 299.7 kB / 479.6 MB, free: 7.066 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001191/0.3124, allocations: 0.8013 MB / 480.4 MB, free: 6.25 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001254/0.3125, allocations: 53.7 kB / 480.5 MB, free: 6.191 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006329/0.3132, allocations: 0.6839 MB / 481.2 MB, free: 5.496 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003981/0.3136, allocations: 436.3 kB / 481.6 MB, free: 5.066 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005003/0.3141, allocations: 247.5 kB / 481.8 MB, free: 4.82 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.000228/0.3143, allocations: 410.8 kB / 482.2 MB, free: 4.41 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002089/0.3164, allocations: 0.7848 MB / 483 MB, free: 3.625 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002408/0.3188, allocations: 1.115 MB / 484.1 MB, free: 2.402 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003918/0.3227, allocations: 1.6 MB / 485.7 MB, free: 0.7109 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.039e-06/0.3227, allocations: 0 / 485.7 MB, free: 0.7109 MB / 382.1 MB Notification: Performance of matching and sorting (n=176) (initialization): time 0.005093/0.3278, allocations: 2.034 MB / 487.8 MB, free: 14.66 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.428e-05/0.3278, allocations: 8 kB / 487.8 MB, free: 14.65 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.605e-05/0.3279, allocations: 11.94 kB / 487.8 MB, free: 14.64 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004941/0.3283, allocations: 218.4 kB / 488 MB, free: 14.42 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001813/0.3302, allocations: 355.5 kB / 488.3 MB, free: 14.07 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004695/0.3349, allocations: 4.851 MB / 493.2 MB, free: 8.801 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001597/0.3365, allocations: 163.9 kB / 493.3 MB, free: 8.641 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001212/0.3366, allocations: 48 kB / 493.4 MB, free: 8.594 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: 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 (169): * Single equations (assignments): 166 * 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.0007302/0.3373, allocations: 395.1 kB / 493.8 MB, free: 8.199 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002189/0.3375, allocations: 111.3 kB / 493.9 MB, free: 8.09 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002658/0.3378, allocations: 130.1 kB / 494 MB, free: 7.957 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.275e-05/0.3378, allocations: 11.97 kB / 494 MB, free: 7.945 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.936e-06/0.3378, allocations: 0 / 494 MB, free: 7.945 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005841/0.3384, allocations: 352.4 kB / 494.4 MB, free: 7.582 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002117/0.3386, allocations: 36 kB / 494.4 MB, free: 7.547 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001297/0.3399, allocations: 151.8 kB / 494.6 MB, free: 7.398 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003994/0.3403, allocations: 156.8 kB / 494.7 MB, free: 7.246 MB / 398.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.005731/0.346, allocations: 1.923 MB / 496.6 MB, free: 5.309 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.006453/0.3525, allocations: 2.697 MB / 499.3 MB, free: 2.594 MB / 398.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001939/0.3544, allocations: 0.7339 MB / 0.4883 GB, free: 1.859 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0008171/0.3552, allocations: 0.542 MB / 0.4889 GB, free: 1.32 MB / 398.1 MB Notification: Performance of Backend: time 2e-07/0.3552, allocations: 3.938 kB / 0.4889 GB, free: 1.316 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.005769/0.361, allocations: 1.899 MB / 0.4907 GB, free: 15.6 MB / 414.1 MB Notification: Performance of SimCode: time 0.004685/0.3657, allocations: 3.035 MB / 0.4937 GB, free: 12.5 MB / 414.1 MB Notification: Performance of Templates: time 0.04128/0.407, allocations: 24.78 MB / 0.5179 GB, free: 3.863 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Systems.RobotR3.OneAxis.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Systems.RobotR3.OneAxis.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Systems.RobotR3.OneAxis.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Systems.RobotR3.OneAxis.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Systems.RobotR3.OneAxis.sim & ./Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Systems.RobotR3.OneAxis -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Systems.RobotR3.OneAxis.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 4.893586785066873] 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.4147940310649574 0.42849634699999994 0.17913277100000002 Calling exit ...