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.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.001858/0.001858, allocations: 109.5 kB / 21.93 MB, free: 5.223 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.002276/0.002276, allocations: 213.5 kB / 25.22 MB, free: 3.027 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.736/1.736, allocations: 207.7 MB / 236.1 MB, free: 9.801 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.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_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.1.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.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001846/0.001846, allocations: 59.92 kB / 348.5 MB, free: 9.375 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4187/0.4206, allocations: 49.15 MB / 397.6 MB, free: 9.406 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Systems.RobotR3.oneAxis): time 0.011/0.4316, allocations: 8.004 MB / 405.6 MB, free: 4.074 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.007313/0.4389, allocations: 2.278 MB / 407.9 MB, free: 2.383 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002873/0.4418, allocations: 35.75 kB / 407.9 MB, free: 2.371 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001291/0.4431, allocations: 319.8 kB / 408.2 MB, free: 2.191 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002647/0.4457, allocations: 0.4982 MB / 408.7 MB, free: 1.824 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001761/0.4475, allocations: 0.6585 MB / 409.4 MB, free: 1.379 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.004317/0.4518, allocations: 2.348 MB / 411.7 MB, free: 100 kB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001968/0.4538, allocations: 0.6944 MB / 412.4 MB, free: 15.67 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002139/0.4559, allocations: 0.8444 MB / 413.3 MB, free: 15.21 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001936/0.4578, allocations: 0.7793 MB / 414.1 MB, free: 14.7 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005106/0.4583, allocations: 277.8 kB / 414.3 MB, free: 14.7 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001031/0.4594, allocations: 340.9 kB / 414.7 MB, free: 14.66 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005989/0.46, allocations: 0.4987 MB / 415.2 MB, free: 14.22 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001065/0.461, allocations: 0.7991 MB / 416 MB, free: 13.66 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004676/0.4657, allocations: 3.384 MB / 419.4 MB, free: 10.93 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.009e-05/0.4657, allocations: 0 / 419.4 MB, free: 10.93 MB / 334.1 MB Notification: Performance of FrontEnd: time 3.176e-06/0.4657, allocations: 1.031 kB / 419.4 MB, free: 10.93 MB / 334.1 MB Notification: Performance of Transformations before backend: time 9.946e-05/0.4658, allocations: 0 / 419.4 MB, free: 10.93 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.005184/0.471, allocations: 1.894 MB / 421.2 MB, free: 9.57 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.424e-05/0.4711, allocations: 13.64 kB / 421.3 MB, free: 9.566 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005499/0.4716, allocations: 194.9 kB / 421.5 MB, free: 9.469 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001756/0.4734, allocations: 0.7824 MB / 422.2 MB, free: 8.812 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005273/0.4739, allocations: 445.2 kB / 422.7 MB, free: 8.395 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000312/0.4742, allocations: 165.5 kB / 422.8 MB, free: 8.332 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003922/0.4781, allocations: 1.895 MB / 424.7 MB, free: 7.082 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.406e-05/0.4782, allocations: 10.25 kB / 424.7 MB, free: 7.074 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001553/0.4783, allocations: 69.38 kB / 424.8 MB, free: 7.02 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.21e-05/0.4784, allocations: 37.12 kB / 424.8 MB, free: 7.02 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00378/0.4822, allocations: 1.561 MB / 426.4 MB, free: 6.113 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01044/0.4926, allocations: 4.995 MB / 431.4 MB, free: 0.918 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002283/0.4949, allocations: 0.9023 MB / 432.3 MB, free: 0 / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001188/0.4961, allocations: 0.5047 MB / 432.8 MB, free: 15.49 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.932e-05/0.4961, allocations: 9 kB / 432.8 MB, free: 15.48 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001566/0.4977, allocations: 0.8654 MB / 433.7 MB, free: 14.52 MB / 350.1 MB Notification: Performance of pre-optimization done (n=91): time 2.655e-06/0.4977, allocations: 4 kB / 433.7 MB, free: 14.52 MB / 350.1 MB Notification: Performance of matching and sorting (n=121): time 0.03516/0.5329, allocations: 8.69 MB / 442.4 MB, free: 5.777 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000219/0.5331, allocations: 303.8 kB / 442.7 MB, free: 5.414 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001368/0.5344, allocations: 0.7775 MB / 443.4 MB, free: 4.629 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001272/0.5346, allocations: 61.62 kB / 443.5 MB, free: 4.562 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007584/0.5353, allocations: 0.6799 MB / 444.2 MB, free: 3.871 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004582/0.5358, allocations: 432.3 kB / 444.6 MB, free: 3.445 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005381/0.5363, allocations: 247.5 kB / 444.8 MB, free: 3.195 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002867/0.5366, allocations: 410.7 kB / 445.2 MB, free: 2.785 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002062/0.5387, allocations: 0.8198 MB / 446.1 MB, free: 1.965 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002613/0.5413, allocations: 1.335 MB / 447.4 MB, free: 476 kB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003958/0.5452, allocations: 1.654 MB / 449.1 MB, free: 14.71 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.36e-06/0.5452, allocations: 0 / 449.1 MB, free: 14.71 MB / 366.1 MB Notification: Performance of matching and sorting (n=176) (initialization): time 0.005063/0.5503, allocations: 2.084 MB / 451.1 MB, free: 12.61 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.323e-05/0.5503, allocations: 11.94 kB / 451.2 MB, free: 12.6 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.642e-05/0.5504, allocations: 4 kB / 451.2 MB, free: 12.6 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004937/0.5509, allocations: 178.5 kB / 451.3 MB, free: 12.41 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001699/0.5526, allocations: 355.4 kB / 451.7 MB, free: 12.07 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004968/0.5575, allocations: 4.404 MB / 456.1 MB, free: 7.352 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001948/0.5595, allocations: 171.9 kB / 456.3 MB, free: 7.184 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001295/0.5596, allocations: 55.98 kB / 456.3 MB, free: 7.129 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: 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 (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.0009886/0.5606, allocations: 391.6 kB / 456.7 MB, free: 6.734 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002251/0.5608, allocations: 103.3 kB / 456.8 MB, free: 6.633 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002785/0.5611, allocations: 133.6 kB / 456.9 MB, free: 6.5 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.164e-05/0.5611, allocations: 12 kB / 456.9 MB, free: 6.488 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.652e-05/0.5611, allocations: 4 kB / 456.9 MB, free: 6.484 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.702e-05/0.5611, allocations: 11.91 kB / 456.9 MB, free: 6.473 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008566/0.5697, allocations: 3.889 MB / 460.8 MB, free: 2.414 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.404e-05/0.5697, allocations: 8 kB / 460.8 MB, free: 2.406 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001163/0.5709, allocations: 264.5 kB / 461.1 MB, free: 2.148 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006544/0.5715, allocations: 369.4 kB / 461.5 MB, free: 1.781 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.831e-05/0.5716, allocations: 39.98 kB / 461.5 MB, free: 1.742 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002262/0.5739, allocations: 2.149 MB / 463.7 MB, free: 15.46 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.106e-05/0.5739, allocations: 11.94 kB / 463.7 MB, free: 15.45 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005623/0.5795, allocations: 2.511 MB / 466.2 MB, free: 12.8 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008473/0.5804, allocations: 247.2 kB / 466.4 MB, free: 12.56 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001765/0.5805, allocations: 47.98 kB / 466.5 MB, free: 12.51 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001082/0.5816, allocations: 139.8 kB / 466.6 MB, free: 12.38 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003809/0.582, allocations: 176.2 kB / 466.8 MB, free: 12.2 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.285e-05/0.5821, allocations: 51.98 kB / 466.8 MB, free: 12.15 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.000856/0.583, allocations: 0.5069 MB / 467.3 MB, free: 11.64 MB / 382.1 MB Notification: Performance of sort global known variables: time 9e-08/0.583, allocations: 0 / 467.3 MB, free: 11.64 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001445/0.5844, allocations: 348 kB / 467.7 MB, free: 11.3 MB / 382.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: 9 (pathPlanning.terminateSimulation.condition,$whenCondition1,axis.gear.bearingFriction.startForward,axis.gear.bearingFriction.startBackward,axis.gear.bearingFriction.locked,axis.gear.bearingFriction.mode,pathPlanning.path.motion_ref,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 (113): * Single equations (assignments): 111 * 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,6)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003874/0.5848, allocations: 183 kB / 467.8 MB, free: 11.12 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.004708/0.5895, allocations: 1.937 MB / 469.8 MB, free: 9.141 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.179e-05/0.5895, allocations: 4 kB / 469.8 MB, free: 9.137 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002468/0.592, allocations: 1.012 MB / 470.8 MB, free: 8.117 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001665/0.5936, allocations: 191 kB / 471 MB, free: 7.93 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00697/0.6006, allocations: 3.169 MB / 474.2 MB, free: 4.594 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008352/0.6015, allocations: 0.594 MB / 474.7 MB, free: 3.965 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000583/0.602, allocations: 87.38 kB / 474.8 MB, free: 3.879 MB / 382.1 MB Notification: Performance of SimCode: time 1.943e-06/0.602, allocations: 0 / 474.8 MB, free: 3.879 MB / 382.1 MB Notification: Performance of Templates: time 0.05306/0.6551, allocations: 36.67 MB / 0.4995 GB, free: 15.12 MB / 430.1 MB " [Timeout remaining time 659] 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] diffSimulationResults("Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Systems.RobotR3.oneAxis_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/MultiBody/Examples/Systems/RobotR3/oneAxis/oneAxis.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_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.91527456836775]