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.001318/0.001318, allocations: 112.5 kB / 18.45 MB, free: 4.605 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.001456/0.001456, allocations: 207.3 kB / 21.41 MB, free: 1.648 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.515/1.515, allocations: 230.6 MB / 254.8 MB, free: 15.09 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.001519/0.001519, allocations: 47.92 kB / 374.2 MB, free: 9.695 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1127/0.1142, allocations: 53.33 MB / 427.5 MB, free: 4.273 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Systems.RobotR3.OneAxis): time 0.2945/0.4087, allocations: 9.428 MB / 436.9 MB, free: 6.336 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.005237/0.414, allocations: 2.444 MB / 439.4 MB, free: 5.414 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00162/0.4156, allocations: 39.5 kB / 439.4 MB, free: 5.398 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000983/0.4166, allocations: 345.5 kB / 439.7 MB, free: 5.199 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001612/0.4182, allocations: 0.5081 MB / 440.2 MB, free: 4.828 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001287/0.4195, allocations: 0.6526 MB / 440.9 MB, free: 4.379 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.003065/0.4226, allocations: 2.372 MB / 443.3 MB, free: 3.086 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00138/0.4239, allocations: 0.7434 MB / 444 MB, free: 2.621 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001933/0.4259, allocations: 0.8845 MB / 444.9 MB, free: 2.152 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00121/0.4271, allocations: 0.9059 MB / 445.8 MB, free: 1.648 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004873/0.4276, allocations: 277.5 kB / 446.1 MB, free: 1.648 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006256/0.4282, allocations: 333.3 kB / 446.4 MB, free: 1.633 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004216/0.4286, allocations: 0.5112 MB / 446.9 MB, free: 1.258 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008486/0.4295, allocations: 0.9856 MB / 447.9 MB, free: 0.5781 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005001/0.4345, allocations: 3.41 MB / 451.3 MB, free: 15.38 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.494e-06/0.4345, allocations: 0 / 451.3 MB, free: 15.38 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.605e-06/0.4345, allocations: 0 / 451.3 MB, free: 15.38 MB / 366.1 MB Notification: Performance of Transformations before backend: time 7.901e-05/0.4346, allocations: 0 / 451.3 MB, free: 15.38 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.005009/0.4396, allocations: 1.995 MB / 453.3 MB, free: 14.12 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.608e-05/0.4396, allocations: 8.406 kB / 453.3 MB, free: 14.12 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005125/0.4401, allocations: 191.6 kB / 453.5 MB, free: 14.03 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001798/0.4419, allocations: 0.8459 MB / 454.3 MB, free: 13.39 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003581/0.4423, allocations: 239.9 kB / 454.6 MB, free: 13.23 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003132/0.4426, allocations: 162.2 kB / 454.7 MB, free: 13.17 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00369/0.4463, allocations: 1.678 MB / 456.4 MB, free: 12.17 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.982e-05/0.4463, allocations: 6.703 kB / 456.4 MB, free: 12.16 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001587/0.4465, allocations: 61.75 kB / 456.5 MB, free: 12.12 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.626e-05/0.4465, allocations: 37.12 kB / 456.5 MB, free: 12.12 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003519/0.45, allocations: 1.532 MB / 458 MB, free: 11.36 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01041/0.4604, allocations: 5.847 MB / 463.9 MB, free: 6.742 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002152/0.4626, allocations: 0.8829 MB / 464.8 MB, free: 6.258 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001094/0.4637, allocations: 480.5 kB / 465.2 MB, free: 6.008 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.223e-05/0.4638, allocations: 9.219 kB / 465.3 MB, free: 6.008 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001362/0.4651, allocations: 0.6482 MB / 465.9 MB, free: 5.547 MB / 366.1 MB Notification: Performance of pre-optimization done (n=91): time 2.314e-06/0.4651, allocations: 0 / 465.9 MB, free: 5.547 MB / 366.1 MB Notification: Performance of matching and sorting (n=121): time 0.03671/0.5018, allocations: 8.821 MB / 474.7 MB, free: 0.7812 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002076/0.502, allocations: 304.2 kB / 475 MB, free: 440 kB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001399/0.5034, allocations: 0.8064 MB / 475.8 MB, free: 15.75 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000126/0.5036, allocations: 57.69 kB / 475.9 MB, free: 15.68 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006483/0.5042, allocations: 0.676 MB / 476.6 MB, free: 15 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004219/0.5046, allocations: 436.3 kB / 477 MB, free: 14.57 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005179/0.5052, allocations: 247.5 kB / 477.2 MB, free: 14.32 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.00023/0.5054, allocations: 406.7 kB / 477.6 MB, free: 13.92 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001983/0.5074, allocations: 0.7926 MB / 478.4 MB, free: 13.12 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002276/0.5096, allocations: 1.103 MB / 479.5 MB, free: 11.91 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003886/0.5135, allocations: 1.603 MB / 481.1 MB, free: 10.21 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.662e-06/0.5135, allocations: 4 kB / 481.1 MB, free: 10.21 MB / 382.1 MB Notification: Performance of matching and sorting (n=176) (initialization): time 0.00497/0.5185, allocations: 2.03 MB / 483.2 MB, free: 8.164 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.923e-05/0.5185, allocations: 12.61 kB / 483.2 MB, free: 8.152 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.287e-05/0.5186, allocations: 15.88 kB / 483.2 MB, free: 8.137 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005627/0.5191, allocations: 219.9 kB / 483.4 MB, free: 7.918 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001667/0.5208, allocations: 355.5 kB / 483.8 MB, free: 7.57 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004715/0.5255, allocations: 4.832 MB / 488.6 MB, free: 2.316 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001795/0.5273, allocations: 163.9 kB / 488.7 MB, free: 2.156 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001213/0.5274, allocations: 51.98 kB / 488.8 MB, free: 2.105 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.0009708/0.5284, allocations: 392 kB / 489.2 MB, free: 1.715 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002305/0.5286, allocations: 115.3 kB / 489.3 MB, free: 1.602 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003181/0.529, allocations: 138.1 kB / 489.4 MB, free: 1.457 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.084e-05/0.529, allocations: 12 kB / 489.4 MB, free: 1.445 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.093e-05/0.529, allocations: 0 / 489.4 MB, free: 1.445 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.193e-05/0.529, allocations: 3.984 kB / 489.4 MB, free: 1.441 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008219/0.5372, allocations: 4.346 MB / 493.8 MB, free: 12.91 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.611e-05/0.5372, allocations: 8 kB / 493.8 MB, free: 12.9 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001147/0.5384, allocations: 259.6 kB / 494 MB, free: 12.64 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005449/0.5389, allocations: 282.2 kB / 494.3 MB, free: 12.36 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.017e-05/0.539, allocations: 35.98 kB / 494.4 MB, free: 12.33 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001953/0.541, allocations: 2.199 MB / 496.6 MB, free: 9.969 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.309e-05/0.541, allocations: 16.06 kB / 496.6 MB, free: 9.953 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00507/0.546, allocations: 2.405 MB / 499 MB, free: 7.398 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007336/0.5468, allocations: 332.3 kB / 499.3 MB, free: 7.055 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000178/0.547, allocations: 43.98 kB / 499.3 MB, free: 7.012 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001094/0.5481, allocations: 139.8 kB / 499.5 MB, free: 6.875 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003617/0.5484, allocations: 172.2 kB / 499.6 MB, free: 6.703 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.656e-05/0.5485, allocations: 47.98 kB / 499.7 MB, free: 6.656 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0008601/0.5494, allocations: 0.542 MB / 0.4885 GB, free: 6.117 MB / 398.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.5494, allocations: 0 / 0.4885 GB, free: 6.117 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001354/0.5507, allocations: 343.9 kB / 0.4888 GB, free: 5.781 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.001455/0.5522, allocations: 430.6 kB / 0.4893 GB, free: 5.492 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.004346/0.5565, allocations: 1.883 MB / 0.4911 GB, free: 3.574 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.048e-05/0.5565, allocations: 4.562 kB / 0.4911 GB, free: 3.57 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002108/0.5586, allocations: 0.9807 MB / 0.4921 GB, free: 2.582 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001239/0.5599, allocations: 200.2 kB / 0.4922 GB, free: 2.391 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006655/0.5665, allocations: 3.201 MB / 0.4954 GB, free: 15.02 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001167/0.5677, allocations: 1.186 MB / 0.4965 GB, free: 13.8 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000665/0.5684, allocations: 91.42 kB / 0.4966 GB, free: 13.71 MB / 414.1 MB Notification: Performance of SimCode: time 1.372e-06/0.5684, allocations: 0 / 0.4966 GB, free: 13.71 MB / 414.1 MB Notification: Performance of Templates: time 0.051/0.6194, allocations: 36.86 MB / 0.5326 GB, free: 8.871 MB / 446.1 MB " [Timeout remaining time 659] 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] diffSimulationResults("Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Systems.RobotR3.OneAxis_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/MultiBody/Examples/Systems/RobotR3/OneAxis/OneAxis.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_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: 10.271072798001114]