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.001915/0.001915, allocations: 120.2 kB / 21.94 MB, free: 8 kB / 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.002574/0.002574, allocations: 202.7 kB / 25.23 MB, free: 3.551 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.588/1.588, allocations: 207.6 MB / 236 MB, free: 9.988 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.002151/0.002151, allocations: 51.92 kB / 348.5 MB, free: 9.52 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3876/0.3897, allocations: 49.16 MB / 397.6 MB, free: 9.531 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Systems.RobotR3.oneAxis): time 0.01216/0.4019, allocations: 9.25 MB / 406.9 MB, free: 2.871 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.008537/0.4104, allocations: 2.332 MB / 409.2 MB, free: 1.117 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003345/0.4138, allocations: 40.28 kB / 409.2 MB, free: 1.102 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001402/0.4152, allocations: 317.8 kB / 409.6 MB, free: 0.9219 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0021/0.4173, allocations: 0.4958 MB / 410 MB, free: 0.5586 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001756/0.419, allocations: 0.6599 MB / 410.7 MB, free: 112 kB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.003674/0.4227, allocations: 2.354 MB / 413.1 MB, free: 14.82 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001436/0.4241, allocations: 0.7327 MB / 413.8 MB, free: 14.36 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002053/0.4262, allocations: 0.8733 MB / 414.7 MB, free: 13.89 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001513/0.4277, allocations: 0.8919 MB / 415.6 MB, free: 13.27 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000513/0.4282, allocations: 274.8 kB / 415.8 MB, free: 13.27 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007763/0.429, allocations: 330.7 kB / 416.2 MB, free: 13.24 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006436/0.4296, allocations: 0.5144 MB / 416.7 MB, free: 12.79 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001257/0.4309, allocations: 0.9695 MB / 417.6 MB, free: 12.05 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0047/0.4356, allocations: 3.35 MB / 421 MB, free: 9.332 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.726e-06/0.4356, allocations: 0 / 421 MB, free: 9.332 MB / 334.1 MB Notification: Performance of FrontEnd: time 5.65e-06/0.4356, allocations: 1.188 kB / 421 MB, free: 9.332 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.91e-05/0.4357, allocations: 0 / 421 MB, free: 9.332 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.005227/0.4409, allocations: 1.895 MB / 422.9 MB, free: 7.973 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.744e-05/0.441, allocations: 13.7 kB / 422.9 MB, free: 7.969 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004589/0.4414, allocations: 185 kB / 423.1 MB, free: 7.879 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001876/0.4433, allocations: 0.7895 MB / 423.9 MB, free: 7.211 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000572/0.4439, allocations: 442.4 kB / 424.3 MB, free: 6.797 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000336/0.4442, allocations: 161.5 kB / 424.5 MB, free: 6.738 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004147/0.4484, allocations: 1.683 MB / 426.1 MB, free: 5.746 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.26e-05/0.4484, allocations: 10.72 kB / 426.1 MB, free: 5.738 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001704/0.4486, allocations: 69.22 kB / 426.2 MB, free: 5.684 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.957e-05/0.4487, allocations: 36.78 kB / 426.3 MB, free: 5.684 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004066/0.4527, allocations: 1.554 MB / 427.8 MB, free: 4.93 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01125/0.464, allocations: 5.715 MB / 433.5 MB, free: 15.01 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001989/0.466, allocations: 0.8858 MB / 434.4 MB, free: 14.1 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001023/0.467, allocations: 0.4894 MB / 434.9 MB, free: 13.61 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.17e-05/0.4671, allocations: 17 kB / 434.9 MB, free: 13.59 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001285/0.4683, allocations: 0.6567 MB / 435.6 MB, free: 12.89 MB / 350.1 MB Notification: Performance of pre-optimization done (n=90): time 2.825e-06/0.4683, allocations: 0 / 435.6 MB, free: 12.89 MB / 350.1 MB Notification: Performance of matching and sorting (n=120): time 0.03501/0.5034, allocations: 8.66 MB / 444.2 MB, free: 4.18 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002833/0.5036, allocations: 307.6 kB / 444.5 MB, free: 3.812 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002399/0.506, allocations: 0.7896 MB / 445.3 MB, free: 3.016 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001811/0.5062, allocations: 53.7 kB / 445.4 MB, free: 2.957 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001103/0.5073, allocations: 0.68 MB / 446.1 MB, free: 2.266 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006225/0.5079, allocations: 432.3 kB / 446.5 MB, free: 1.84 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007877/0.5087, allocations: 239.5 kB / 446.7 MB, free: 1.598 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0003726/0.5091, allocations: 418.7 kB / 447.1 MB, free: 1.18 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002393/0.5115, allocations: 0.8082 MB / 447.9 MB, free: 380 kB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002663/0.5142, allocations: 1.134 MB / 449.1 MB, free: 15.12 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00401/0.5182, allocations: 1.642 MB / 450.7 MB, free: 13.39 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.688e-05/0.5182, allocations: 4 kB / 450.7 MB, free: 13.38 MB / 366.1 MB Notification: Performance of matching and sorting (n=175) (initialization): time 0.005398/0.5236, allocations: 2.069 MB / 452.8 MB, free: 11.3 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.786e-05/0.5236, allocations: 11.98 kB / 452.8 MB, free: 11.29 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.75e-05/0.5237, allocations: 12.09 kB / 452.8 MB, free: 11.27 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005741/0.5242, allocations: 170.5 kB / 453 MB, free: 11.1 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00174/0.526, allocations: 351.5 kB / 453.3 MB, free: 10.75 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005268/0.5312, allocations: 4.516 MB / 457.8 MB, free: 5.895 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001792/0.533, allocations: 171.8 kB / 458 MB, free: 5.727 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001965/0.5332, allocations: 44 kB / 458 MB, free: 5.684 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.001057/0.5343, allocations: 391.2 kB / 458.4 MB, free: 5.293 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003764/0.5347, allocations: 119.2 kB / 458.5 MB, free: 5.176 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003785/0.535, allocations: 134 kB / 458.7 MB, free: 5.043 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.314e-05/0.535, allocations: 12 kB / 458.7 MB, free: 5.031 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.615e-05/0.5351, allocations: 0 / 458.7 MB, free: 5.031 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.819e-05/0.5351, allocations: 11.97 kB / 458.7 MB, free: 5.02 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009761/0.5448, allocations: 4.366 MB / 463.1 MB, free: 480 kB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.024e-05/0.5449, allocations: 12 kB / 463.1 MB, free: 468 kB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001212/0.5461, allocations: 260.5 kB / 463.3 MB, free: 208 kB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006694/0.5468, allocations: 361.5 kB / 463.7 MB, free: 15.84 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001311/0.5469, allocations: 51.98 kB / 463.7 MB, free: 15.79 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002214/0.5491, allocations: 2.172 MB / 465.9 MB, free: 13.48 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.282e-05/0.5491, allocations: 11.94 kB / 465.9 MB, free: 13.47 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005525/0.5546, allocations: 2.495 MB / 468.4 MB, free: 10.83 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008671/0.5555, allocations: 251.1 kB / 468.6 MB, free: 10.58 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003752/0.5559, allocations: 48 kB / 468.7 MB, free: 10.54 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001312/0.5572, allocations: 135.8 kB / 468.8 MB, free: 10.4 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003942/0.5576, allocations: 172.2 kB / 469 MB, free: 10.23 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001063/0.5577, allocations: 43.98 kB / 469 MB, free: 10.19 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.001173/0.5589, allocations: 0.538 MB / 469.6 MB, free: 9.656 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.5589, allocations: 4 kB / 469.6 MB, free: 9.652 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.002328/0.5612, allocations: 344 kB / 469.9 MB, free: 9.316 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: 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,6)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0005705/0.5618, allocations: 174.9 kB / 470.1 MB, free: 9.137 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.005841/0.5676, allocations: 1.926 MB / 472 MB, free: 7.172 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.936e-05/0.5676, allocations: 4.125 kB / 472 MB, free: 7.168 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00247/0.5701, allocations: 1.008 MB / 473 MB, free: 6.145 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001893/0.572, allocations: 203 kB / 473.2 MB, free: 5.949 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00781/0.5798, allocations: 3.177 MB / 476.4 MB, free: 2.605 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001347/0.5811, allocations: 1.178 MB / 477.6 MB, free: 1.391 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000597/0.5817, allocations: 91.42 kB / 477.7 MB, free: 1.301 MB / 382.1 MB Notification: Performance of SimCode: time 1.603e-06/0.5817, allocations: 3.938 kB / 477.7 MB, free: 1.297 MB / 382.1 MB Notification: Performance of Templates: time 0.05988/0.6416, allocations: 36.37 MB / 0.502 GB, free: 12.85 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.62908608210273]