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.001459/0.001459, allocations: 186.3 kB / 16.41 MB, free: 5.727 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.933/1.933, allocations: 205.4 MB / 222.5 MB, free: 9.121 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.001159/0.001158, allocations: 87.3 kB / 270.9 MB, free: 8.379 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003953/0.0003952, allocations: 8 kB / 327 MB, free: 196 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3339/0.3343, allocations: 47.57 MB / 374.5 MB, free: 45.44 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1522/0.4866, allocations: 93.78 MB / 468.3 MB, free: 2.953 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003555/0.487, allocations: 95.94 kB / 468.4 MB, free: 2.859 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4244/0.9114, allocations: 38.17 MB / 0.4947 GB, free: 93.61 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.575e-06/0.9115, allocations: 3.484 kB / 0.4947 GB, free: 93.61 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.000119/0.9116, allocations: 37.03 kB / 0.4948 GB, free: 93.61 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.005812/0.9174, allocations: 1.619 MB / 0.4963 GB, free: 92.82 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.459e-05/0.9175, allocations: 12.31 kB / 0.4963 GB, free: 92.82 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001084/0.9186, allocations: 189.3 kB / 0.4965 GB, free: 92.73 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002264/0.9209, allocations: 0.7886 MB / 0.4973 GB, free: 92.44 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004514/0.9214, allocations: 241 kB / 0.4975 GB, free: 92.34 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000468/0.9219, allocations: 159.8 kB / 0.4977 GB, free: 92.34 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005813/0.9277, allocations: 1.652 MB / 0.4993 GB, free: 92.23 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.747e-05/0.9279, allocations: 9.625 kB / 0.4993 GB, free: 92.22 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002565/0.9281, allocations: 65.56 kB / 0.4994 GB, free: 92.22 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.978e-05/0.9282, allocations: 36.59 kB / 0.4994 GB, free: 92.22 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005898/0.9341, allocations: 1.547 MB / 0.5009 GB, free: 92.21 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01539/0.9495, allocations: 6.05 MB / 0.5068 GB, free: 90.68 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003394/0.953, allocations: 0.9326 MB / 0.5077 GB, free: 90.62 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001606/0.9532, allocations: 13.17 kB / 0.5077 GB, free: 90.62 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002089/0.9553, allocations: 0.6689 MB / 0.5084 GB, free: 90.48 MB / 378.7 MB Notification: Performance of pre-optimization done (n=92): time 5.039e-06/0.9553, allocations: 0 / 0.5084 GB, free: 90.48 MB / 378.7 MB Notification: Performance of matching and sorting (n=123): time 0.06442/1.02, allocations: 9.87 MB / 0.518 GB, free: 87.33 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001068/1.02, allocations: 302.2 kB / 0.5183 GB, free: 86.99 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001451/1.021, allocations: 0.7014 MB / 0.519 GB, free: 86.66 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003226/1.022, allocations: 53.33 kB / 0.5191 GB, free: 86.61 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000543/1.022, allocations: 0.6772 MB / 0.5197 GB, free: 86.05 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.00051/1.023, allocations: 413.3 kB / 0.5201 GB, free: 85.74 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001938/1.023, allocations: 27.88 kB / 0.5201 GB, free: 85.71 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001122/1.023, allocations: 360.9 kB / 0.5205 GB, free: 85.38 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003531/1.027, allocations: 0.8289 MB / 0.5213 GB, free: 85.06 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003898/1.031, allocations: 1.145 MB / 0.5224 GB, free: 84.39 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003467/1.034, allocations: 0.8067 MB / 0.5232 GB, free: 84.04 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.001e-05/1.034, allocations: 3.625 kB / 0.5232 GB, free: 84.04 MB / 378.7 MB Notification: Performance of matching and sorting (n=176) (initialization): time 0.0082/1.042, allocations: 2.063 MB / 0.5252 GB, free: 83.21 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.36e-05/1.043, allocations: 7.844 kB / 0.5252 GB, free: 83.21 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.514e-05/1.043, allocations: 7.531 kB / 0.5252 GB, free: 83.21 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000583/1.043, allocations: 181.7 kB / 0.5254 GB, free: 83.14 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003329/1.046, allocations: 370.9 kB / 0.5258 GB, free: 83.07 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004526/1.051, allocations: 4.484 MB / 0.5301 GB, free: 78.34 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002969/1.054, allocations: 204.5 kB / 0.5303 GB, free: 78.18 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002759/1.054, allocations: 51.94 kB / 0.5304 GB, free: 78.13 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.001126/1.056, allocations: 391.3 kB / 0.5308 GB, free: 77.74 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003573/1.056, allocations: 105.9 kB / 0.5309 GB, free: 77.64 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007429/1.063, allocations: 1.847 MB / 0.5327 GB, free: 76.05 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.837e-05/1.063, allocations: 12 kB / 0.5327 GB, free: 76.04 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.815e-06/1.063, allocations: 0 / 0.5327 GB, free: 76.04 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.781e-05/1.063, allocations: 10.98 kB / 0.5327 GB, free: 76.04 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01335/1.077, allocations: 4.505 MB / 0.5371 GB, free: 72.16 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.707e-05/1.077, allocations: 14.34 kB / 0.5371 GB, free: 72.15 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002235/1.079, allocations: 283.5 kB / 0.5374 GB, free: 71.92 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008525/1.08, allocations: 325.9 kB / 0.5377 GB, free: 71.65 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001417/1.08, allocations: 43.89 kB / 0.5377 GB, free: 71.61 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001852/1.082, allocations: 2.104 MB / 0.5398 GB, free: 69.42 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.029e-05/1.082, allocations: 11.94 kB / 0.5398 GB, free: 69.41 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008352/1.09, allocations: 2.988 MB / 0.5427 GB, free: 66.28 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009243/1.091, allocations: 325.4 kB / 0.543 GB, free: 65.98 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003067/1.092, allocations: 43.94 kB / 0.5431 GB, free: 65.94 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001875/1.094, allocations: 158.4 kB / 0.5432 GB, free: 65.82 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005117/1.094, allocations: 189.4 kB / 0.5434 GB, free: 65.7 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001463/1.094, allocations: 47.66 kB / 0.5434 GB, free: 65.65 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.001042/1.095, allocations: 0.5269 MB / 0.5439 GB, free: 65.2 MB / 378.7 MB Notification: Performance of sort global known variables: time 3.5e-07/1.095, allocations: 0 / 0.5439 GB, free: 65.2 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001975/1.097, allocations: 351.9 kB / 0.5443 GB, free: 64.86 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.0004632/1.098, allocations: 195.3 kB / 0.5445 GB, free: 64.66 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.007039/1.105, allocations: 2.099 MB / 0.5465 GB, free: 62.73 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.436e-05/1.105, allocations: 4 kB / 0.5465 GB, free: 62.72 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003583/1.109, allocations: 1.051 MB / 0.5476 GB, free: 61.75 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001547/1.11, allocations: 171.4 kB / 0.5477 GB, free: 61.6 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0087/1.119, allocations: 3.786 MB / 0.5514 GB, free: 58 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008243/1.12, allocations: 1.211 MB / 0.5526 GB, free: 56.96 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008931/1.121, allocations: 82.91 kB / 0.5527 GB, free: 56.88 MB / 378.7 MB Notification: Performance of SimCode: time 2.274e-06/1.121, allocations: 0 / 0.5527 GB, free: 56.88 MB / 378.7 MB Notification: Performance of Templates: time 0.04979/1.171, allocations: 34.16 MB / 0.586 GB, free: 23.93 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