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.00129/0.00129, allocations: 113.8 kB / 19.18 MB, free: 3.762 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.0014/0.0014, allocations: 208.9 kB / 22.13 MB, free: 0.8125 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.45/1.45, allocations: 230.4 MB / 255.4 MB, free: 15.18 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.001912/0.001912, allocations: 63.89 kB / 374.8 MB, free: 9.77 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1198/0.1217, allocations: 53.31 MB / 428.1 MB, free: 4.367 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Systems.RobotR3.OneAxis): time 0.2589/0.3806, allocations: 9.435 MB / 437.5 MB, free: 6.523 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.005204/0.3858, allocations: 2.444 MB / 439.9 MB, free: 5.551 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001584/0.3874, allocations: 28.25 kB / 440 MB, free: 5.547 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009799/0.3884, allocations: 344.9 kB / 440.3 MB, free: 5.348 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001661/0.39, allocations: 0.5071 MB / 440.8 MB, free: 4.977 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001333/0.3914, allocations: 0.6534 MB / 441.5 MB, free: 4.527 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002917/0.3943, allocations: 2.365 MB / 443.8 MB, free: 3.242 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001176/0.3955, allocations: 0.7512 MB / 444.6 MB, free: 2.77 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001506/0.397, allocations: 0.8671 MB / 445.5 MB, free: 2.301 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001152/0.3981, allocations: 0.9085 MB / 446.4 MB, free: 1.793 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004599/0.3986, allocations: 277.6 kB / 446.6 MB, free: 1.793 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006187/0.3992, allocations: 327.3 kB / 447 MB, free: 1.781 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004091/0.3996, allocations: 0.504 MB / 447.5 MB, free: 1.414 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008407/0.4005, allocations: 0.9877 MB / 448.4 MB, free: 0.7344 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004334/0.4048, allocations: 3.418 MB / 451.9 MB, free: 15.53 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.219e-06/0.4048, allocations: 1.344 kB / 451.9 MB, free: 15.53 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.673e-06/0.4048, allocations: 0 / 451.9 MB, free: 15.53 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0001018/0.4049, allocations: 0 / 451.9 MB, free: 15.53 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.0052/0.4101, allocations: 1.987 MB / 453.8 MB, free: 14.28 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.858e-05/0.4101, allocations: 12.33 kB / 453.9 MB, free: 14.28 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004502/0.4106, allocations: 189.6 kB / 454 MB, free: 14.18 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001711/0.4123, allocations: 0.856 MB / 454.9 MB, free: 13.55 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003458/0.4127, allocations: 235.7 kB / 455.1 MB, free: 13.38 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002849/0.4129, allocations: 165.9 kB / 455.3 MB, free: 13.32 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003673/0.4166, allocations: 1.665 MB / 457 MB, free: 12.33 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.23e-05/0.4167, allocations: 6.422 kB / 457 MB, free: 12.33 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002088/0.4169, allocations: 66.25 kB / 457 MB, free: 12.28 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.521e-05/0.4169, allocations: 37.56 kB / 457.1 MB, free: 12.28 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003952/0.4209, allocations: 1.533 MB / 458.6 MB, free: 11.52 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.012/0.4329, allocations: 5.843 MB / 464.4 MB, free: 6.902 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002208/0.4351, allocations: 0.8792 MB / 465.3 MB, free: 6.418 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001093/0.4362, allocations: 480.4 kB / 465.8 MB, free: 6.168 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.225e-05/0.4363, allocations: 17.67 kB / 465.8 MB, free: 6.16 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001388/0.4377, allocations: 0.6364 MB / 466.4 MB, free: 5.715 MB / 366.1 MB Notification: Performance of pre-optimization done (n=91): time 2.605e-06/0.4377, allocations: 1.281 kB / 466.4 MB, free: 5.715 MB / 366.1 MB Notification: Performance of matching and sorting (n=121): time 0.0355/0.4732, allocations: 8.824 MB / 475.3 MB, free: 0.9375 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002209/0.4734, allocations: 300 kB / 475.6 MB, free: 0.5898 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001539/0.4749, allocations: 0.8134 MB / 476.4 MB, free: 15.93 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001731/0.4751, allocations: 57.7 kB / 476.4 MB, free: 15.87 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007385/0.4758, allocations: 0.6761 MB / 477.1 MB, free: 15.18 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004855/0.4763, allocations: 436.3 kB / 477.5 MB, free: 14.75 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005522/0.4769, allocations: 243.5 kB / 477.8 MB, free: 14.51 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0002727/0.4771, allocations: 410.7 kB / 478.2 MB, free: 14.1 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002062/0.4792, allocations: 0.7848 MB / 479 MB, free: 13.32 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002346/0.4816, allocations: 1.103 MB / 480.1 MB, free: 12.11 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003875/0.4854, allocations: 1.607 MB / 481.7 MB, free: 10.4 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.989e-06/0.4854, allocations: 7.938 kB / 481.7 MB, free: 10.4 MB / 382.1 MB Notification: Performance of matching and sorting (n=176) (initialization): time 0.005137/0.4906, allocations: 2.037 MB / 483.7 MB, free: 8.344 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.433e-05/0.4906, allocations: 8 kB / 483.7 MB, free: 8.336 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.714e-05/0.4906, allocations: 4 kB / 483.7 MB, free: 8.332 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005324/0.4912, allocations: 218.5 kB / 483.9 MB, free: 8.109 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001693/0.4929, allocations: 355.4 kB / 484.3 MB, free: 7.762 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00491/0.4978, allocations: 4.836 MB / 489.1 MB, free: 2.508 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002012/0.4998, allocations: 167.8 kB / 489.3 MB, free: 2.344 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001507/0.4999, allocations: 52 kB / 489.3 MB, free: 2.293 MB / 382.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.001025/0.5009, allocations: 395.1 kB / 489.7 MB, free: 1.898 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002892/0.5012, allocations: 111.3 kB / 489.8 MB, free: 1.789 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000315/0.5016, allocations: 130.1 kB / 490 MB, free: 1.652 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.332e-05/0.5016, allocations: 12 kB / 490 MB, free: 1.641 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.26e-05/0.5016, allocations: 0 / 490 MB, free: 1.641 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.491e-05/0.5016, allocations: 15.97 kB / 490 MB, free: 1.625 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009614/0.5112, allocations: 4.336 MB / 494.3 MB, free: 13.1 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.511e-05/0.5112, allocations: 8 kB / 494.3 MB, free: 13.09 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001161/0.5124, allocations: 267.6 kB / 494.6 MB, free: 12.83 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005981/0.513, allocations: 286.6 kB / 494.9 MB, free: 12.55 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.944e-05/0.5131, allocations: 35.98 kB / 494.9 MB, free: 12.51 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002148/0.5152, allocations: 2.204 MB / 497.1 MB, free: 10.15 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.364e-05/0.5153, allocations: 20.06 kB / 497.1 MB, free: 10.13 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005243/0.5205, allocations: 2.401 MB / 499.5 MB, free: 7.582 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007924/0.5213, allocations: 328.3 kB / 499.9 MB, free: 7.242 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003959/0.5217, allocations: 47.94 kB / 499.9 MB, free: 7.195 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001302/0.523, allocations: 143.8 kB / 0.4883 GB, free: 7.055 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003803/0.5234, allocations: 176.2 kB / 0.4885 GB, free: 6.879 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.367e-05/0.5235, allocations: 40 kB / 0.4885 GB, free: 6.84 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0008951/0.5243, allocations: 0.5381 MB / 0.4891 GB, free: 6.305 MB / 398.1 MB Notification: Performance of sort global known variables: time 9e-08/0.5243, allocations: 0 / 0.4891 GB, free: 6.305 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001581/0.5259, allocations: 347.9 kB / 0.4894 GB, free: 5.965 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 42 * Number of states: 7 (axis.gear.spring.phi_rel,axis.gear.spring.w_rel,axis.motor.La.i,axis.motor.C.v,axis.motor.Jmotor.w,axis.controller.PI.x,axis.initializeFlange.phi_flange) * Number of discrete variables: 8 (pathPlanning.terminateSimulation.condition,$whenCondition1,axis.gear.bearingFriction.startForward,axis.gear.bearingFriction.startBackward,axis.gear.bearingFriction.locked,axis.gear.bearingFriction.mode,pathPlanning.pathToAxis1.moving[1],pathPlanning.path.noWphase) * Number of discrete states: 3 (axis.gear.bearingFriction.mode,axis.gear.bearingFriction.startForward,axis.gear.bearingFriction.startBackward) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (112): * Single equations (assignments): 110 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,7)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001494/0.5274, allocations: 421.1 kB / 0.4898 GB, free: 5.695 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.004825/0.5322, allocations: 1.883 MB / 0.4916 GB, free: 3.777 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.26e-05/0.5323, allocations: 4 kB / 0.4916 GB, free: 3.773 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002307/0.5346, allocations: 0.9846 MB / 0.4926 GB, free: 2.777 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00189/0.5365, allocations: 205.6 kB / 0.4928 GB, free: 2.578 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007446/0.5439, allocations: 3.193 MB / 0.4959 GB, free: 15.21 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001294/0.5452, allocations: 1.179 MB / 0.4971 GB, free: 14 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007011/0.5459, allocations: 91.42 kB / 0.4971 GB, free: 13.91 MB / 414.1 MB Notification: Performance of SimCode: time 1.392e-06/0.5459, allocations: 0 / 0.4971 GB, free: 13.91 MB / 414.1 MB Notification: Performance of Templates: time 0.05157/0.5975, allocations: 36.87 MB / 0.5332 GB, free: 9.07 MB / 446.1 MB " [Timeout remaining time 659] 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] diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Systems.RobotR3.OneAxis_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/MultiBody/Examples/Systems/RobotR3/OneAxis/OneAxis.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Systems.RobotR3.OneAxis.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 9.789751993957907]