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.0009303/0.0009303, allocations: 183.2 kB / 18.04 MB, free: 3.785 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.768/1.768, allocations: 205.4 MB / 224.2 MB, free: 9.047 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.0008236/0.0008236, allocations: 92.47 kB / 272.5 MB, free: 8.285 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003081/0.0003084, allocations: 8 kB / 329.5 MB, free: 15.28 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2299/0.2302, allocations: 47.57 MB / 377 MB, free: 45.64 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1131/0.3434, allocations: 93.91 MB / 470.9 MB, free: 2.641 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003028/0.3438, allocations: 87.95 kB / 471 MB, free: 2.555 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2767/0.6205, allocations: 38.18 MB / 0.4973 GB, free: 93.5 MB / 378.7 MB Notification: Performance of FrontEnd: time 3.247e-06/0.6205, allocations: 0 / 0.4973 GB, free: 93.5 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0001174/0.6207, allocations: 33.58 kB / 0.4973 GB, free: 93.5 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.004102/0.6248, allocations: 1.621 MB / 0.4989 GB, free: 92.71 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.736e-05/0.6248, allocations: 8.844 kB / 0.4989 GB, free: 92.71 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007308/0.6256, allocations: 182.9 kB / 0.4991 GB, free: 92.62 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001672/0.6273, allocations: 0.8106 MB / 0.4999 GB, free: 92.3 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003569/0.6276, allocations: 239.4 kB / 0.5001 GB, free: 92.2 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002867/0.6279, allocations: 159.4 kB / 0.5002 GB, free: 92.2 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003301/0.6312, allocations: 1.67 MB / 0.5019 GB, free: 92.09 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.489e-05/0.6313, allocations: 13.69 kB / 0.5019 GB, free: 92.08 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001395/0.6315, allocations: 66.94 kB / 0.502 GB, free: 92.08 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.262e-05/0.6315, allocations: 36.28 kB / 0.502 GB, free: 92.08 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002979/0.6345, allocations: 1.541 MB / 0.5035 GB, free: 92.07 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00829/0.6428, allocations: 6.052 MB / 0.5094 GB, free: 90.54 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001632/0.6444, allocations: 0.93 MB / 0.5103 GB, free: 90.48 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009015/0.6454, allocations: 0.5432 MB / 0.5108 GB, free: 90.42 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.211e-05/0.6454, allocations: 11.84 kB / 0.5109 GB, free: 90.42 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001071/0.6465, allocations: 0.6704 MB / 0.5115 GB, free: 90.08 MB / 378.7 MB Notification: Performance of pre-optimization done (n=92): time 3.316e-06/0.6465, allocations: 4 kB / 0.5115 GB, free: 90.08 MB / 378.7 MB Notification: Performance of matching and sorting (n=123): time 0.02971/0.6763, allocations: 9.871 MB / 0.5212 GB, free: 86.91 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.763e-05/0.6764, allocations: 300 kB / 0.5214 GB, free: 86.56 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001036/0.6774, allocations: 0.7796 MB / 0.5222 GB, free: 86.21 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000123/0.6776, allocations: 51.55 kB / 0.5223 GB, free: 86.16 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004189/0.678, allocations: 0.6572 MB / 0.5229 GB, free: 85.65 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002963/0.6783, allocations: 411 kB / 0.5233 GB, free: 85.34 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.645e-05/0.6784, allocations: 30.03 kB / 0.5233 GB, free: 85.31 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001296/0.6785, allocations: 409.1 kB / 0.5237 GB, free: 84.96 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001794/0.6803, allocations: 0.8328 MB / 0.5245 GB, free: 84.63 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001886/0.6822, allocations: 1.147 MB / 0.5256 GB, free: 83.96 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003143/0.6854, allocations: 1.7 MB / 0.5273 GB, free: 83.09 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.703e-06/0.6854, allocations: 3.5 kB / 0.5273 GB, free: 83.09 MB / 378.7 MB Notification: Performance of matching and sorting (n=176) (initialization): time 0.004231/0.6897, allocations: 2.114 MB / 0.5294 GB, free: 81.48 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.247e-05/0.6897, allocations: 8 kB / 0.5294 GB, free: 81.47 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.632e-05/0.6897, allocations: 13.28 kB / 0.5294 GB, free: 81.46 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000378/0.6901, allocations: 182.1 kB / 0.5296 GB, free: 81.31 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001556/0.6917, allocations: 370.3 kB / 0.5299 GB, free: 81.01 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002644/0.6943, allocations: 4.454 MB / 0.5343 GB, free: 76.3 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001441/0.6958, allocations: 205.5 kB / 0.5345 GB, free: 76.15 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001407/0.696, allocations: 55.66 kB / 0.5345 GB, free: 76.1 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.0007789/0.6967, allocations: 403 kB / 0.5349 GB, free: 75.7 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002079/0.697, allocations: 102.8 kB / 0.535 GB, free: 75.6 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003671/0.7006, allocations: 1.836 MB / 0.5368 GB, free: 74.02 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.288e-06/0.7007, allocations: 12 kB / 0.5368 GB, free: 74.01 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.152e-06/0.7007, allocations: 0 / 0.5368 GB, free: 74.01 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.035e-05/0.7007, allocations: 10.47 kB / 0.5368 GB, free: 74.01 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007176/0.7079, allocations: 4.508 MB / 0.5412 GB, free: 70.13 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.371e-05/0.7079, allocations: 12.94 kB / 0.5412 GB, free: 70.12 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001017/0.7089, allocations: 281.3 kB / 0.5415 GB, free: 69.89 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004913/0.7094, allocations: 329.4 kB / 0.5418 GB, free: 69.62 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.121e-05/0.7095, allocations: 39.66 kB / 0.5418 GB, free: 69.59 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001176/0.7107, allocations: 2.101 MB / 0.5439 GB, free: 67.39 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.083e-06/0.7108, allocations: 11.94 kB / 0.5439 GB, free: 67.38 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004298/0.7151, allocations: 2.524 MB / 0.5464 GB, free: 64.95 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005593/0.7156, allocations: 325.8 kB / 0.5467 GB, free: 64.65 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002514/0.7159, allocations: 47.94 kB / 0.5467 GB, free: 64.61 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001036/0.7169, allocations: 158.3 kB / 0.5469 GB, free: 64.48 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003082/0.7173, allocations: 189.4 kB / 0.5471 GB, free: 64.37 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.529e-05/0.7174, allocations: 51.7 kB / 0.5471 GB, free: 64.32 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0007059/0.7181, allocations: 0.5221 MB / 0.5476 GB, free: 63.87 MB / 378.7 MB Notification: Performance of sort global known variables: time 3.51e-07/0.7181, allocations: 0 / 0.5476 GB, free: 63.87 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001339/0.7194, allocations: 355.7 kB / 0.548 GB, free: 63.52 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.0002906/0.7197, allocations: 192.1 kB / 0.5481 GB, free: 63.33 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.003631/0.7234, allocations: 2.099 MB / 0.5502 GB, free: 61.39 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 7.404e-06/0.7234, allocations: 4 kB / 0.5502 GB, free: 61.38 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001872/0.7253, allocations: 1.074 MB / 0.5512 GB, free: 60.38 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002097/0.7274, allocations: 187.3 kB / 0.5514 GB, free: 60.23 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00541/0.7328, allocations: 3.751 MB / 0.5551 GB, free: 56.66 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006751/0.7335, allocations: 1.181 MB / 0.5562 GB, free: 55.62 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0009597/0.7345, allocations: 161.8 kB / 0.5564 GB, free: 55.5 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003873/0.7349, allocations: 78.72 kB / 0.5565 GB, free: 55.42 MB / 378.7 MB Notification: Performance of SimCode: time 6.41e-07/0.7349, allocations: 0 / 0.5565 GB, free: 55.42 MB / 378.7 MB Notification: Performance of Templates: time 0.02554/0.7604, allocations: 17.24 MB / 0.5733 GB, free: 39.33 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/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_Modelica.Mechanics.MultiBody.Examples.Systems.RobotR3.oneAxis.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches