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/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(Modelica.Mechanics.MultiBody.Examples.Systems.RobotR3.oneAxis,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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=5000,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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001012/0.001012, allocations: 182.4 kB / 17.02 MB, free: 5.125 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.333/1.333, allocations: 205.4 MB / 223.1 MB, free: 9.133 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008759/0.0008759, allocations: 97.08 kB / 271.5 MB, free: 8.375 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002524/0.0002525, allocations: 8 kB / 328.3 MB, free: 15.53 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2817/0.282, allocations: 47.56 MB / 375.8 MB, free: 45.61 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1807/0.4628, allocations: 93.79 MB / 469.6 MB, free: 2.852 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004501/0.4633, allocations: 83.95 kB / 469.7 MB, free: 2.77 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3521/0.8154, allocations: 38.18 MB / 0.496 GB, free: 93.52 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.795e-06/0.8155, allocations: 0 / 0.496 GB, free: 93.52 MB / 378.7 MB Notification: Performance of Transformations before backend: time 9.149e-05/0.8156, allocations: 39.75 kB / 0.496 GB, free: 93.51 MB / 378.7 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.003329/0.8189, allocations: 1.624 MB / 0.4976 GB, free: 92.72 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.968e-05/0.819, allocations: 8.375 kB / 0.4976 GB, free: 92.72 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004512/0.8194, allocations: 186.6 kB / 0.4978 GB, free: 92.64 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001253/0.8207, allocations: 0.7875 MB / 0.4985 GB, free: 92.35 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002769/0.821, allocations: 238 kB / 0.4988 GB, free: 92.25 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00026/0.8213, allocations: 164 kB / 0.4989 GB, free: 92.24 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003138/0.8244, allocations: 1.656 MB / 0.5005 GB, free: 92.13 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.544e-05/0.8245, allocations: 6.75 kB / 0.5005 GB, free: 92.13 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001662/0.8246, allocations: 64.67 kB / 0.5006 GB, free: 92.13 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.749e-05/0.8247, allocations: 36.78 kB / 0.5006 GB, free: 92.13 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002909/0.8276, allocations: 1.546 MB / 0.5022 GB, free: 92.11 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01057/0.8382, allocations: 6.047 MB / 0.5081 GB, free: 90.59 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002718/0.841, allocations: 0.9346 MB / 0.509 GB, free: 90.52 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.268e-05/0.8411, allocations: 11.28 kB / 0.509 GB, free: 90.52 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001739/0.8428, allocations: 0.6673 MB / 0.5096 GB, free: 90.39 MB / 378.7 MB Notification: Performance of pre-optimization done (n=92): time 4.488e-06/0.8428, allocations: 4 kB / 0.5096 GB, free: 90.38 MB / 378.7 MB Notification: Performance of matching and sorting (n=123): time 0.0473/0.8901, allocations: 9.878 MB / 0.5193 GB, free: 87.23 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001314/0.8903, allocations: 298.9 kB / 0.5196 GB, free: 86.88 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001347/0.8917, allocations: 0.6948 MB / 0.5202 GB, free: 86.56 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001544/0.8919, allocations: 52.02 kB / 0.5203 GB, free: 86.51 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005185/0.8924, allocations: 0.6606 MB / 0.5209 GB, free: 85.99 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003885/0.8928, allocations: 416.9 kB / 0.5213 GB, free: 85.68 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001184/0.8929, allocations: 27.72 kB / 0.5214 GB, free: 85.66 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001445/0.8931, allocations: 404.6 kB / 0.5218 GB, free: 85.3 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002518/0.8956, allocations: 0.8307 MB / 0.5226 GB, free: 84.98 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002801/0.8984, allocations: 1.142 MB / 0.5237 GB, free: 84.31 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002515/0.901, allocations: 0.8099 MB / 0.5245 GB, free: 83.96 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.185e-06/0.901, allocations: 0 / 0.5245 GB, free: 83.96 MB / 378.7 MB Notification: Performance of matching and sorting (n=176) (initialization): time 0.006298/0.9073, allocations: 2.109 MB / 0.5265 GB, free: 83.12 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.866e-05/0.9074, allocations: 10.81 kB / 0.5265 GB, free: 83.12 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.102e-05/0.9074, allocations: 11.53 kB / 0.5266 GB, free: 83.11 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006134/0.9081, allocations: 176.9 kB / 0.5267 GB, free: 83.04 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002333/0.9104, allocations: 376.6 kB / 0.5271 GB, free: 82.79 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004087/0.9145, allocations: 4.476 MB / 0.5314 GB, free: 78.06 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002425/0.917, allocations: 202 kB / 0.5316 GB, free: 77.91 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000208/0.9172, allocations: 55.8 kB / 0.5317 GB, free: 77.86 MB / 378.7 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,$whenCondition1,$PRE.axis.gear.bearingFriction.startForward,axis.gear.bearingFriction.startForward,$PRE.axis.gear.bearingFriction.startBackward,axis.gear.bearingFriction.startBackward,axis.gear.bearingFriction.locked,$PRE.axis.gear.bearingFriction.mode,axis.gear.bearingFriction.mode,pathPlanning.path.motion_ref,pathPlanning.path.noWphase,pathPlanning.pathToAxis1.moving[1],pathPlanning.terminateSimulation.condition) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (169): * Single equations (assignments): 165 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 1 {1 3} Notification: Performance of prepare postOptimizeDAE: time 0.001125/0.9184, allocations: 395.1 kB / 0.5321 GB, free: 77.47 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002849/0.9186, allocations: 106.7 kB / 0.5322 GB, free: 77.36 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005519/0.9242, allocations: 1.844 MB / 0.534 GB, free: 75.77 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.024e-05/0.9242, allocations: 12 kB / 0.534 GB, free: 75.76 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.173e-06/0.9243, allocations: 0 / 0.534 GB, free: 75.76 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.753e-05/0.9243, allocations: 6.75 kB / 0.534 GB, free: 75.76 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0106/0.9349, allocations: 4.514 MB / 0.5384 GB, free: 71.88 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.854e-05/0.935, allocations: 8 kB / 0.5384 GB, free: 71.88 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001635/0.9366, allocations: 283 kB / 0.5387 GB, free: 71.64 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007552/0.9374, allocations: 333.3 kB / 0.539 GB, free: 71.38 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001392/0.9376, allocations: 39.42 kB / 0.539 GB, free: 71.34 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001699/0.9393, allocations: 2.099 MB / 0.5411 GB, free: 69.14 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.109e-05/0.9393, allocations: 11.94 kB / 0.5411 GB, free: 69.13 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006668/0.946, allocations: 2.992 MB / 0.544 GB, free: 66 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00103/0.9471, allocations: 329.3 kB / 0.5443 GB, free: 65.7 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002693/0.9474, allocations: 40 kB / 0.5444 GB, free: 65.66 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0015/0.9489, allocations: 161.1 kB / 0.5445 GB, free: 65.54 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004239/0.9493, allocations: 189.1 kB / 0.5447 GB, free: 65.42 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001189/0.9494, allocations: 51.94 kB / 0.5448 GB, free: 65.38 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.001018/0.9505, allocations: 0.5191 MB / 0.5453 GB, free: 64.93 MB / 378.7 MB Notification: Performance of sort global known variables: time 2e-07/0.9505, allocations: 0 / 0.5453 GB, free: 64.93 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.00234/0.9528, allocations: 355.9 kB / 0.5456 GB, free: 64.58 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 40 * Number of states: 7 (axis.gear.spring.phi_rel,axis.gear.spring.w_rel,axis.gear.bearingFriction.phi,axis.motor.La.i,axis.motor.C.v,axis.controller.PI.x,load.w) * 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 (114): * Single equations (assignments): 112 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 2} * Non-linear torn systems: 1 {1 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.0005981/0.9535, allocations: 201.2 kB / 0.5458 GB, free: 64.39 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.005539/0.959, allocations: 2.093 MB / 0.5478 GB, free: 62.45 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.139e-05/0.9591, allocations: 4.562 kB / 0.5478 GB, free: 62.45 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002829/0.9619, allocations: 1.076 MB / 0.5489 GB, free: 61.45 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001446/0.9634, allocations: 155.6 kB / 0.549 GB, free: 61.31 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007947/0.9713, allocations: 3.746 MB / 0.5527 GB, free: 57.75 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009255/0.9723, allocations: 1.209 MB / 0.5539 GB, free: 56.71 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.00152/0.9738, allocations: 156.7 kB / 0.554 GB, free: 56.59 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000511/0.9744, allocations: 82.44 kB / 0.5541 GB, free: 56.52 MB / 378.7 MB Notification: Performance of SimCode: time 1.182e-06/0.9744, allocations: 0 / 0.5541 GB, free: 56.52 MB / 378.7 MB Notification: Performance of Templates: time 0.03691/1.011, allocations: 17.11 MB / 0.5708 GB, free: 40.73 MB / 378.7 MB make -j1 -f Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Systems.RobotR3.oneAxis.makefile (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) diffSimulationResults("Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Systems.RobotR3.oneAxis_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/MultiBody/Examples/Systems/RobotR3/oneAxis/oneAxis.csv","../files/Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Systems.RobotR3.oneAxis.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches