Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_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_cpp_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_cpp_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.001251/0.001251, allocations: 177.3 kB / 17.41 MB, free: 4.414 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.393/1.393, allocations: 205.4 MB / 223.6 MB, free: 9.039 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.0007042/0.0007042, allocations: 86.3 kB / 271.9 MB, free: 8.266 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003184/0.0003184, allocations: 8 kB / 328.2 MB, free: 15.93 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2189/0.2193, allocations: 47.57 MB / 375.7 MB, free: 45.45 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1066/0.3259, allocations: 93.9 MB / 469.6 MB, free: 2.707 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002652/0.3262, allocations: 91.95 kB / 469.7 MB, free: 2.617 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.276/0.6022, allocations: 38.18 MB / 0.496 GB, free: 93.42 MB / 378.7 MB Notification: Performance of FrontEnd: time 4.378e-06/0.6023, allocations: 0 / 0.496 GB, free: 93.42 MB / 378.7 MB Notification: Performance of Transformations before backend: time 9.011e-05/0.6024, allocations: 35.92 kB / 0.496 GB, free: 93.42 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.002998/0.6054, allocations: 1.62 MB / 0.4976 GB, free: 92.62 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.176e-05/0.6055, allocations: 9.75 kB / 0.4976 GB, free: 92.62 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003881/0.6059, allocations: 185.6 kB / 0.4978 GB, free: 92.54 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001047/0.6069, allocations: 0.8095 MB / 0.4986 GB, free: 92.21 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002515/0.6072, allocations: 239.6 kB / 0.4988 GB, free: 92.12 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002402/0.6074, allocations: 161.7 kB / 0.499 GB, free: 92.11 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003091/0.6105, allocations: 1.666 MB / 0.5006 GB, free: 92 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.988e-05/0.6106, allocations: 12.94 kB / 0.5006 GB, free: 92 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001562/0.6108, allocations: 63.62 kB / 0.5007 GB, free: 92 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.191e-05/0.6108, allocations: 41.34 kB / 0.5007 GB, free: 92 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002934/0.6137, allocations: 1.54 MB / 0.5022 GB, free: 91.98 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00798/0.6217, allocations: 6.042 MB / 0.5081 GB, free: 90.45 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001687/0.6235, allocations: 0.946 MB / 0.509 GB, free: 90.39 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008894/0.6244, allocations: 0.5345 MB / 0.5096 GB, free: 90.33 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.923e-05/0.6245, allocations: 17.64 kB / 0.5096 GB, free: 90.33 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00107/0.6255, allocations: 0.6675 MB / 0.5102 GB, free: 89.99 MB / 378.7 MB Notification: Performance of pre-optimization done (n=92): time 3.166e-06/0.6256, allocations: 0 / 0.5102 GB, free: 89.99 MB / 378.7 MB Notification: Performance of matching and sorting (n=123): time 0.02954/0.6551, allocations: 9.878 MB / 0.5199 GB, free: 86.82 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.829e-05/0.6552, allocations: 299.8 kB / 0.5202 GB, free: 86.47 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009044/0.6561, allocations: 0.774 MB / 0.5209 GB, free: 86.12 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001017/0.6563, allocations: 52.33 kB / 0.521 GB, free: 86.07 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003815/0.6566, allocations: 0.6549 MB / 0.5216 GB, free: 85.56 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002416/0.6569, allocations: 416.7 kB / 0.522 GB, free: 85.25 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.379e-05/0.657, allocations: 31.28 kB / 0.522 GB, free: 85.22 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001113/0.6571, allocations: 410.4 kB / 0.5224 GB, free: 84.86 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001658/0.6588, allocations: 0.8271 MB / 0.5232 GB, free: 84.54 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001726/0.6605, allocations: 1.153 MB / 0.5244 GB, free: 83.87 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002951/0.6635, allocations: 1.694 MB / 0.526 GB, free: 83 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.141e-06/0.6635, allocations: 3 kB / 0.526 GB, free: 83 MB / 378.7 MB Notification: Performance of matching and sorting (n=176) (initialization): time 0.003995/0.6675, allocations: 2.116 MB / 0.5281 GB, free: 81.62 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.776e-05/0.6676, allocations: 8 kB / 0.5281 GB, free: 81.61 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.141e-05/0.6676, allocations: 8 kB / 0.5281 GB, free: 81.61 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003695/0.668, allocations: 179.4 kB / 0.5283 GB, free: 81.45 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001433/0.6694, allocations: 372.6 kB / 0.5286 GB, free: 81.14 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00266/0.6721, allocations: 4.457 MB / 0.533 GB, free: 76.45 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001506/0.6736, allocations: 207.3 kB / 0.5332 GB, free: 76.29 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001216/0.6737, allocations: 56 kB / 0.5332 GB, free: 76.23 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.0007903/0.6745, allocations: 395.4 kB / 0.5336 GB, free: 75.84 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001776/0.6747, allocations: 102.6 kB / 0.5337 GB, free: 75.74 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003531/0.6783, allocations: 1.833 MB / 0.5355 GB, free: 74.17 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.022e-05/0.6783, allocations: 16 kB / 0.5355 GB, free: 74.15 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.282e-06/0.6783, allocations: 7.125 kB / 0.5355 GB, free: 74.15 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.093e-05/0.6783, allocations: 7.266 kB / 0.5355 GB, free: 74.15 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007011/0.6853, allocations: 4.507 MB / 0.5399 GB, free: 70.27 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.155e-05/0.6854, allocations: 10.84 kB / 0.5399 GB, free: 70.26 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001036/0.6864, allocations: 277.9 kB / 0.5402 GB, free: 70.03 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005241/0.6869, allocations: 336.4 kB / 0.5405 GB, free: 69.76 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.351e-05/0.687, allocations: 39.88 kB / 0.5406 GB, free: 69.73 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001299/0.6884, allocations: 2.1 MB / 0.5426 GB, free: 67.53 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.915e-06/0.6884, allocations: 15.59 kB / 0.5426 GB, free: 67.52 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003999/0.6924, allocations: 2.521 MB / 0.5451 GB, free: 65.09 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005132/0.6929, allocations: 325.8 kB / 0.5454 GB, free: 64.79 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001529/0.6931, allocations: 51.94 kB / 0.5455 GB, free: 64.74 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008761/0.694, allocations: 157.8 kB / 0.5456 GB, free: 64.62 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003031/0.6943, allocations: 188.3 kB / 0.5458 GB, free: 64.5 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.917e-05/0.6944, allocations: 47.28 kB / 0.5458 GB, free: 64.46 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0006529/0.695, allocations: 0.5249 MB / 0.5463 GB, free: 64.01 MB / 378.7 MB Notification: Performance of sort global known variables: time 2.4e-07/0.695, allocations: 0 / 0.5463 GB, free: 64.01 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001196/0.6962, allocations: 351.9 kB / 0.5467 GB, free: 63.66 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.0002947/0.6965, allocations: 198.2 kB / 0.5469 GB, free: 63.47 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.003501/0.7, allocations: 2.102 MB / 0.5489 GB, free: 61.53 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 6.482e-06/0.7001, allocations: 4 kB / 0.5489 GB, free: 61.52 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001808/0.7019, allocations: 1.041 MB / 0.5499 GB, free: 60.55 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001933/0.7038, allocations: 195.7 kB / 0.5501 GB, free: 60.39 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004903/0.7087, allocations: 3.797 MB / 0.5538 GB, free: 56.77 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005374/0.7093, allocations: 1.178 MB / 0.555 GB, free: 55.73 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005351/0.7098, allocations: 86.91 kB / 0.5551 GB, free: 55.65 MB / 378.7 MB Notification: Performance of SimCode: time 4.7e-07/0.7098, allocations: 4 kB / 0.5551 GB, free: 55.64 MB / 378.7 MB Notification: Performance of Templates: time 0.03344/0.7433, allocations: 36.04 MB / 0.5903 GB, free: 20.67 MB / 378.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Systems.RobotR3.oneAxis.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Systems.RobotR3.oneAxis.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Systems.RobotR3.oneAxis.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Systems.RobotR3.oneAxis.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Systems.RobotR3.oneAxis.sim & ./Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Systems.RobotR3.oneAxis --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Systems.RobotR3.oneAxis.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_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","../files/Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Systems.RobotR3.oneAxis.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches