Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Systems.RobotR3.fullRobot.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.fullRobot,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|axis1.controller.PI.x|axis1.gear.spring.phi_rel|axis1.gear.spring.w_rel|axis1.motor.C.v|axis1.motor.La.i|axis2.controller.PI.x|axis2.gear.spring.phi_rel|axis2.gear.spring.w_rel|axis2.motor.C.v|axis2.motor.La.i|axis3.controller.PI.x|axis3.gear.spring.phi_rel|axis3.gear.spring.w_rel|axis3.motor.C.v|axis3.motor.La.i|axis4.controller.PI.x|axis4.motor.C.v|axis4.motor.La.i|axis5.controller.PI.x|axis5.motor.C.v|axis5.motor.La.i|axis6.controller.PI.x|axis6.motor.C.v|axis6.motor.La.i|mechanics.b2.body.w_a.1.|mechanics.r1.phi|mechanics.r1.w|mechanics.r2.phi|mechanics.r3.phi|mechanics.r3.w|mechanics.r4.phi|mechanics.r4.w|mechanics.r5.phi|mechanics.r5.w|mechanics.r6.phi|mechanics.r6.w|axis1.gear.bearingFriction.mode|axis2.gear.bearingFriction.mode|axis3.gear.bearingFriction.mode|axis4.gear.bearingFriction.mode|axis5.gear.bearingFriction.mode|axis6.gear.bearingFriction.mode",fileNamePrefix="Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Systems.RobotR3.fullRobot") translateModel(Modelica.Mechanics.MultiBody.Examples.Systems.RobotR3.fullRobot,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|axis1.controller.PI.x|axis1.gear.spring.phi_rel|axis1.gear.spring.w_rel|axis1.motor.C.v|axis1.motor.La.i|axis2.controller.PI.x|axis2.gear.spring.phi_rel|axis2.gear.spring.w_rel|axis2.motor.C.v|axis2.motor.La.i|axis3.controller.PI.x|axis3.gear.spring.phi_rel|axis3.gear.spring.w_rel|axis3.motor.C.v|axis3.motor.La.i|axis4.controller.PI.x|axis4.motor.C.v|axis4.motor.La.i|axis5.controller.PI.x|axis5.motor.C.v|axis5.motor.La.i|axis6.controller.PI.x|axis6.motor.C.v|axis6.motor.La.i|mechanics.b2.body.w_a.1.|mechanics.r1.phi|mechanics.r1.w|mechanics.r2.phi|mechanics.r3.phi|mechanics.r3.w|mechanics.r4.phi|mechanics.r4.w|mechanics.r5.phi|mechanics.r5.w|mechanics.r6.phi|mechanics.r6.w|axis1.gear.bearingFriction.mode|axis2.gear.bearingFriction.mode|axis3.gear.bearingFriction.mode|axis4.gear.bearingFriction.mode|axis5.gear.bearingFriction.mode|axis6.gear.bearingFriction.mode",fileNamePrefix="Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Systems.RobotR3.fullRobot") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001233/0.001233, allocations: 177.7 kB / 8.698 MB, free: 388 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.648/1.648, allocations: 205.3 MB / 214.4 MB, free: 1.73 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008635/0.0008633, allocations: 90.36 kB / 262.5 MB, free: 1.672 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 1.948e-05/1.949e-05, allocations: 0 / 315.5 MB, free: 22.7 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09983/0.09986, allocations: 47.59 MB / 363.1 MB, free: 7.059 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4268/0.5267, allocations: 113.6 MB / 476.7 MB, free: 14.47 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003142/0.5271, allocations: 97.69 kB / 476.8 MB, free: 14.42 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.378/1.905, allocations: 356.4 MB / 0.8137 GB, free: 8.164 MB / 410.7 MB Notification: Performance of FrontEnd: time 3.717e-06/1.905, allocations: 0 / 0.8137 GB, free: 8.164 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.00252/1.907, allocations: 375.9 kB / 0.8141 GB, free: 7.797 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4558 * Number of variables: 4558 Notification: Performance of Generate backend data structure: time 0.06517/1.973, allocations: 15.26 MB / 0.829 GB, free: 9.934 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.478e-05/1.973, allocations: 12.03 kB / 0.829 GB, free: 9.922 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02335/1.996, allocations: 3.575 MB / 0.8325 GB, free: 6.324 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.05667/2.053, allocations: 19.85 MB / 0.8519 GB, free: 2.57 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.002401/2.055, allocations: 0.7862 MB / 0.8526 GB, free: 1.762 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.01114/2.066, allocations: 0.9913 MB / 0.8536 GB, free: 0.7695 MB / 442.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.753/2.82, allocations: 18.9 MB / 0.8721 GB, free: 36.2 MB / 442.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.07633/2.896, allocations: 22.89 MB / 0.8944 GB, free: 33.34 MB / 442.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.002151/2.898, allocations: 145.7 kB / 0.8946 GB, free: 33.34 MB / 442.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.009914/2.908, allocations: 30.19 kB / 0.8946 GB, free: 33.34 MB / 442.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004408/2.913, allocations: 1.951 MB / 0.8965 GB, free: 33.31 MB / 442.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1965/3.109, allocations: 107.8 MB / 1.002 GB, free: 8.895 MB / 474.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02353/3.133, allocations: 12.96 MB / 1.014 GB, free: 13.78 MB / 490.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.01553/3.148, allocations: 9.654 MB / 1.024 GB, free: 4.777 MB / 490.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001299/3.15, allocations: 338.1 kB / 1.024 GB, free: 4.453 MB / 490.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.6969/3.847, allocations: 11.09 MB / 1.035 GB, free: 80.3 MB / 490.9 MB Notification: Performance of pre-optimization done (n=798): time 3.223e-05/3.847, allocations: 0 / 1.035 GB, free: 80.3 MB / 490.9 MB Notification: Performance of matching and sorting (n=986): time 0.2621/4.109, allocations: 100.2 MB / 1.133 GB, free: 64.76 MB / 490.9 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004641/4.109, allocations: 1.526 MB / 1.134 GB, free: 62.99 MB / 490.9 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02242/4.132, allocations: 7.95 MB / 1.142 GB, free: 58.66 MB / 490.9 MB Notification: Performance of collectPreVariables (initialization): time 0.00411/4.136, allocations: 69.11 kB / 1.142 GB, free: 58.6 MB / 490.9 MB Notification: Performance of collectInitialEqns (initialization): time 0.01065/4.147, allocations: 8.325 MB / 1.15 GB, free: 51.14 MB / 490.9 MB Notification: Performance of collectInitialBindings (initialization): time 0.006918/4.153, allocations: 3.263 MB / 1.154 GB, free: 48.16 MB / 490.9 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004387/4.158, allocations: 5.594 kB / 1.154 GB, free: 48.16 MB / 490.9 MB Notification: Performance of setup shared object (initialization): time 0.001469/4.159, allocations: 0.83 MB / 1.154 GB, free: 47.48 MB / 490.9 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01604/4.175, allocations: 8.68 MB / 1.163 GB, free: 39.48 MB / 490.9 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02022/4.196, allocations: 13.11 MB / 1.176 GB, free: 25.43 MB / 490.9 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.02039/4.216, allocations: 10.4 MB / 1.186 GB, free: 16.52 MB / 490.9 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002859/4.216, allocations: 36 kB / 1.186 GB, free: 16.48 MB / 490.9 MB Notification: Performance of matching and sorting (n=1702) (initialization): time 0.06441/4.281, allocations: 23.17 MB / 1.208 GB, free: 14.22 MB / 0.495 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002836/4.281, allocations: 64 kB / 1.208 GB, free: 14.16 MB / 0.495 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003836/4.282, allocations: 136.1 kB / 1.209 GB, free: 14.03 MB / 0.495 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.3927/4.674, allocations: 1.187 MB / 1.21 GB, free: 85.58 MB / 0.495 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02404/4.698, allocations: 3.57 MB / 1.213 GB, free: 85.58 MB / 0.495 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01961/4.718, allocations: 25.94 MB / 1.239 GB, free: 63.86 MB / 0.495 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01804/4.736, allocations: 1.047 MB / 1.24 GB, free: 63.86 MB / 0.495 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004692/4.741, allocations: 0.6159 MB / 1.24 GB, free: 63.86 MB / 0.495 GB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: axis6.gear.bearingFriction.sa:VARIABLE(unit = "1" ) "Path parameter of friction characteristic tau = f(a_relfric)" type: Real Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: axis5.gear.bearingFriction.sa:VARIABLE(unit = "1" ) "Path parameter of friction characteristic tau = f(a_relfric)" type: Real Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: axis4.gear.bearingFriction.sa:VARIABLE(unit = "1" ) "Path parameter of friction characteristic tau = f(a_relfric)" type: Real Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: axis3.gear.bearingFriction.sa:VARIABLE(unit = "1" ) "Path parameter of friction characteristic tau = f(a_relfric)" type: Real Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: axis2.gear.bearingFriction.sa:VARIABLE(unit = "1" ) "Path parameter of friction characteristic tau = f(a_relfric)" type: Real Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: axis1.gear.bearingFriction.sa:VARIABLE(unit = "1" ) "Path parameter of friction characteristic tau = f(a_relfric)" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 599 * Number of states: 0 () * Number of discrete variables: 160 (axis6.gear.bearingFriction.free,axis5.gear.bearingFriction.free,axis4.gear.bearingFriction.free,axis3.gear.bearingFriction.free,axis2.gear.bearingFriction.free,axis1.gear.bearingFriction.free,$whenCondition1,pathPlanning.path.motion_ref,pathPlanning.path.noWphase,pathPlanning.pathToAxis1.moving[1],pathPlanning.pathToAxis2.moving[2],pathPlanning.pathToAxis3.moving[3],pathPlanning.pathToAxis4.moving[4],pathPlanning.pathToAxis5.moving[5],pathPlanning.pathToAxis6.moving[6],pathPlanning.terminateSimulation.condition,$PRE.axis1.gear.bearingFriction.startForward,axis1.gear.bearingFriction.startForward,$PRE.axis1.gear.bearingFriction.startBackward,axis1.gear.bearingFriction.startBackward,axis1.gear.bearingFriction.locked,$PRE.axis1.gear.bearingFriction.mode,axis1.gear.bearingFriction.mode,$PRE.axis2.gear.bearingFriction.startForward,axis2.gear.bearingFriction.startForward,$PRE.axis2.gear.bearingFriction.startBackward,axis2.gear.bearingFriction.startBackward,axis2.gear.bearingFriction.locked,$PRE.axis2.gear.bearingFriction.mode,axis2.gear.bearingFriction.mode,$PRE.axis3.gear.bearingFriction.startForward,axis3.gear.bearingFriction.startForward,$PRE.axis3.gear.bearingFriction.startBackward,axis3.gear.bearingFriction.startBackward,axis3.gear.bearingFriction.locked,$PRE.axis3.gear.bearingFriction.mode,axis3.gear.bearingFriction.mode,$PRE.axis4.gear.bearingFriction.startForward,axis4.gear.bearingFriction.startForward,$PRE.axis4.gear.bearingFriction.startBackward,axis4.gear.bearingFriction.startBackward,axis4.gear.bearingFriction.locked,$PRE.axis4.gear.bearingFriction.mode,axis4.gear.bearingFriction.mode,$PRE.axis5.gear.bearingFriction.startForward,axis5.gear.bearingFriction.startForward,$PRE.axis5.gear.bearingFriction.startBackward,axis5.gear.bearingFriction.startBackward,axis5.gear.bearingFriction.locked,$PRE.axis5.gear.bearingFriction.mode,axis5.gear.bearingFriction.mode,$PRE.axis6.gear.bearingFriction.startForward,axis6.gear.bearingFriction.startForward,$PRE.axis6.gear.bearingFriction.startBackward,axis6.gear.bearingFriction.startBackward,axis6.gear.bearingFriction.locked,$PRE.axis6.gear.bearingFriction.mode,axis6.gear.bearingFriction.mode,mechanics.load.color[3],mechanics.load.color[2],mechanics.load.color[1],mechanics.load.body.sphereColor[3],mechanics.load.body.sphereColor[2],mechanics.load.body.sphereColor[1],mechanics.load.frameTranslation.color[3],mechanics.load.frameTranslation.color[2],mechanics.load.frameTranslation.color[1],mechanics.b6.color[3],mechanics.b6.color[2],mechanics.b6.color[1],mechanics.b6.body.sphereColor[3],mechanics.b6.body.sphereColor[2],mechanics.b6.body.sphereColor[1],mechanics.b6.frameTranslation.color[3],mechanics.b6.frameTranslation.color[2],mechanics.b6.frameTranslation.color[1],mechanics.b5.color[3],mechanics.b5.color[2],mechanics.b5.color[1],mechanics.b5.body.sphereColor[3],mechanics.b5.body.sphereColor[2],mechanics.b5.body.sphereColor[1],mechanics.b5.frameTranslation.color[3],mechanics.b5.frameTranslation.color[2],mechanics.b5.frameTranslation.color[1],mechanics.b4.color[3],mechanics.b4.color[2],mechanics.b4.color[1],mechanics.b4.body.sphereColor[3],mechanics.b4.body.sphereColor[2],mechanics.b4.body.sphereColor[1],mechanics.b4.frameTranslation.color[3],mechanics.b4.frameTranslation.color[2],mechanics.b4.frameTranslation.color[1],mechanics.b3.color[3],mechanics.b3.color[2],mechanics.b3.color[1],mechanics.b3.body.sphereColor[3],mechanics.b3.body.sphereColor[2],mechanics.b3.body.sphereColor[1],mechanics.b3.frameTranslation.color[3],mechanics.b3.frameTranslation.color[2],mechanics.b3.frameTranslation.color[1],mechanics.b2.color[3],mechanics.b2.color[2],mechanics.b2.color[1],mechanics.b2.body.sphereColor[3],mechanics.b2.body.sphereColor[2],mechanics.b2.body.sphereColor[1],mechanics.b2.frameTranslation.color[3],mechanics.b2.frameTranslation.color[2],mechanics.b2.frameTranslation.color[1],mechanics.b1.color[3],mechanics.b1.color[2],mechanics.b1.color[1],mechanics.b1.body.sphereColor[3],mechanics.b1.body.sphereColor[2],mechanics.b1.body.sphereColor[1],mechanics.b1.frameTranslation.color[3],mechanics.b1.frameTranslation.color[2],mechanics.b1.frameTranslation.color[1],mechanics.b0.color[3],mechanics.b0.color[2],mechanics.b0.color[1],mechanics.b0.body.sphereColor[3],mechanics.b0.body.sphereColor[2],mechanics.b0.body.sphereColor[1],mechanics.b0.frameTranslation.color[3],mechanics.b0.frameTranslation.color[2],mechanics.b0.frameTranslation.color[1],mechanics.r6.cylinderColor[3],mechanics.r6.cylinderColor[2],mechanics.r6.cylinderColor[1],mechanics.r5.cylinderColor[3],mechanics.r5.cylinderColor[2],mechanics.r5.cylinderColor[1],mechanics.r4.cylinderColor[3],mechanics.r4.cylinderColor[2],mechanics.r4.cylinderColor[1],mechanics.r3.cylinderColor[3],mechanics.r3.cylinderColor[2],mechanics.r3.cylinderColor[1],mechanics.r2.cylinderColor[3],mechanics.r2.cylinderColor[2],mechanics.r2.cylinderColor[1],mechanics.r1.cylinderColor[3],mechanics.r1.cylinderColor[2],mechanics.r1.cylinderColor[1],mechanics.world.groundColor[3],mechanics.world.groundColor[2],mechanics.world.groundColor[1],mechanics.world.gravitySphereColor[3],mechanics.world.gravitySphereColor[2],mechanics.world.gravitySphereColor[1],mechanics.world.gravityArrowColor[3],mechanics.world.gravityArrowColor[2],mechanics.world.gravityArrowColor[1],mechanics.world.axisColor_x[3],mechanics.world.axisColor_x[2],mechanics.world.axisColor_x[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1660): * Single equations (assignments): 1636 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 18 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 12 {(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 6 {1 3,1 3,1 3,1 3,1 3,1 3} Notification: Performance of prepare postOptimizeDAE: time 0.007109/4.748, allocations: 0.6683 MB / 1.241 GB, free: 63.68 MB / 0.495 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004085/4.752, allocations: 1.096 MB / 1.242 GB, free: 63.68 MB / 0.495 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.06281/4.815, allocations: 29.06 MB / 1.27 GB, free: 62.99 MB / 0.495 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001241/4.815, allocations: 96.38 kB / 1.27 GB, free: 62.99 MB / 0.495 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.515e-05/4.815, allocations: 3.75 kB / 1.27 GB, free: 62.99 MB / 0.495 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000264/4.815, allocations: 48.22 kB / 1.27 GB, free: 62.99 MB / 0.495 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1117/4.927, allocations: 54.91 MB / 1.324 GB, free: 50.09 MB / 0.495 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001745/4.927, allocations: 17.03 kB / 1.324 GB, free: 50.09 MB / 0.495 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.007944/4.935, allocations: 1.54 MB / 1.326 GB, free: 49.97 MB / 0.495 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.03761/4.973, allocations: 13.24 MB / 1.339 GB, free: 47.09 MB / 0.495 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.003817/4.977, allocations: 74.19 kB / 1.339 GB, free: 47.07 MB / 0.495 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03708/5.014, allocations: 27.62 MB / 1.366 GB, free: 23.37 MB / 0.495 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.397e-05/5.014, allocations: 30.56 kB / 1.366 GB, free: 23.34 MB / 0.495 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.5003/5.514, allocations: 45.02 MB / 1.41 GB, free: 75.91 MB / 0.495 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01156/5.526, allocations: 3.154 MB / 1.413 GB, free: 75.82 MB / 0.495 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.007345/5.533, allocations: 89.83 kB / 1.413 GB, free: 75.82 MB / 0.495 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01539/5.549, allocations: 0.9138 MB / 1.414 GB, free: 75.82 MB / 0.495 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.005264/5.554, allocations: 0.8615 MB / 1.414 GB, free: 75.8 MB / 0.495 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.003387/5.557, allocations: 287.8 kB / 1.415 GB, free: 75.8 MB / 0.495 GB Notification: Performance of sorting global known variables: time 0.016/5.574, allocations: 5.724 MB / 1.42 GB, free: 75.52 MB / 0.495 GB Notification: Performance of sort global known variables: time 5.91e-07/5.574, allocations: 0.6562 kB / 1.42 GB, free: 75.52 MB / 0.495 GB Notification: Performance of remove unused functions: time 0.02356/5.597, allocations: 3.203 MB / 1.423 GB, free: 75.52 MB / 0.495 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 69 * Number of states: 36 (axis1.gear.spring.phi_rel,axis1.gear.spring.w_rel,axis1.gear.bearingFriction.phi,axis1.motor.La.i,axis1.motor.C.v,axis1.motor.Jmotor.w,axis1.controller.PI.x,axis2.gear.spring.phi_rel,axis2.gear.spring.w_rel,axis2.gear.bearingFriction.phi,axis2.motor.La.i,axis2.motor.C.v,axis2.motor.Jmotor.w,axis2.controller.PI.x,axis3.gear.spring.phi_rel,axis3.gear.spring.w_rel,axis3.gear.bearingFriction.phi,axis3.motor.La.i,axis3.motor.C.v,axis3.motor.Jmotor.w,axis3.controller.PI.x,axis4.motor.La.i,axis4.motor.C.v,axis4.motor.speed.flange.phi,axis4.motor.Jmotor.w,axis4.controller.PI.x,axis5.motor.La.i,axis5.motor.C.v,axis5.motor.speed.flange.phi,axis5.motor.Jmotor.w,axis5.controller.PI.x,axis6.motor.La.i,axis6.motor.C.v,axis6.motor.speed.flange.phi,axis6.motor.Jmotor.w,axis6.controller.PI.x) * Number of discrete variables: 34 (pathPlanning.terminateSimulation.condition,$whenCondition1,pathPlanning.path.motion_ref,pathPlanning.pathToAxis1.moving[1],pathPlanning.pathToAxis2.moving[2],pathPlanning.pathToAxis3.moving[3],pathPlanning.pathToAxis4.moving[4],pathPlanning.pathToAxis5.moving[5],pathPlanning.pathToAxis6.moving[6],axis1.gear.bearingFriction.startForward,axis1.gear.bearingFriction.startBackward,axis1.gear.bearingFriction.locked,axis1.gear.bearingFriction.mode,axis2.gear.bearingFriction.startForward,axis2.gear.bearingFriction.startBackward,axis2.gear.bearingFriction.locked,axis2.gear.bearingFriction.mode,axis3.gear.bearingFriction.startForward,axis3.gear.bearingFriction.startBackward,axis3.gear.bearingFriction.locked,axis3.gear.bearingFriction.mode,axis4.gear.bearingFriction.startForward,axis4.gear.bearingFriction.startBackward,axis4.gear.bearingFriction.locked,axis4.gear.bearingFriction.mode,axis5.gear.bearingFriction.startForward,axis5.gear.bearingFriction.startBackward,axis5.gear.bearingFriction.locked,axis5.gear.bearingFriction.mode,axis6.gear.bearingFriction.startForward,axis6.gear.bearingFriction.startBackward,axis6.gear.bearingFriction.locked,axis6.gear.bearingFriction.mode,pathPlanning.path.noWphase) * Number of discrete states: 18 (axis3.gear.bearingFriction.mode,axis3.gear.bearingFriction.startForward,axis3.gear.bearingFriction.startBackward,axis2.gear.bearingFriction.mode,axis2.gear.bearingFriction.startForward,axis2.gear.bearingFriction.startBackward,axis1.gear.bearingFriction.mode,axis1.gear.bearingFriction.startForward,axis1.gear.bearingFriction.startBackward,axis5.gear.bearingFriction.mode,axis5.gear.bearingFriction.startForward,axis5.gear.bearingFriction.startBackward,axis4.gear.bearingFriction.mode,axis4.gear.bearingFriction.startForward,axis4.gear.bearingFriction.startBackward,axis6.gear.bearingFriction.mode,axis6.gear.bearingFriction.startForward,axis6.gear.bearingFriction.startBackward) * Top-level inputs: 0 Notification: Strong component statistics for simulation (765): * Single equations (assignments): 755 * 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: 10 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 6 {(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 4 {8 190,1 6,1 6,1 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.004122/5.601, allocations: 347.6 kB / 1.424 GB, free: 75.42 MB / 0.495 GB Notification: Performance of simCode: created initialization part: time 0.0365/5.638, allocations: 21.84 MB / 1.445 GB, free: 73.3 MB / 0.495 GB Notification: Performance of simCode: created event and clocks part: time 2.632e-05/5.638, allocations: 6.344 kB / 1.445 GB, free: 73.3 MB / 0.495 GB Notification: Performance of simCode: created simulation system equations: time 0.02279/5.661, allocations: 12.23 MB / 1.457 GB, free: 72.62 MB / 0.495 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0153/5.676, allocations: 1.634 MB / 1.459 GB, free: 72.57 MB / 0.495 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.08195/5.758, allocations: 31.21 MB / 1.489 GB, free: 61.75 MB / 0.495 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0206/5.779, allocations: 9.008 MB / 1.498 GB, free: 59.38 MB / 0.495 GB Notification: Performance of simCode: alias equations: time 0.01809/5.797, allocations: 3.215 MB / 1.501 GB, free: 59.04 MB / 0.495 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.008683/5.806, allocations: 0.7016 MB / 1.502 GB, free: 58.39 MB / 0.495 GB Notification: Performance of SimCode: time 1.143e-06/5.806, allocations: 0 / 1.502 GB, free: 58.39 MB / 0.495 GB Notification: Performance of Templates: time 0.7601/6.566, allocations: 187.7 MB / 1.685 GB, free: 44.81 MB / 0.495 GB make -j1 -f Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Systems.RobotR3.fullRobot.makefile (rm -f Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Systems.RobotR3.fullRobot.pipe ; mkfifo Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Systems.RobotR3.fullRobot.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Systems.RobotR3.fullRobot.pipe >> ../files/Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Systems.RobotR3.fullRobot.sim & ./Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Systems.RobotR3.fullRobot -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Systems.RobotR3.fullRobot.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Systems.RobotR3.fullRobot_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/fullRobot/fullRobot.csv","../files/Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Systems.RobotR3.fullRobot.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches