Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Systems.RobotR3.FullRobot.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+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_4.0.0_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_4.0.0_Modelica.Mechanics.MultiBody.Examples.Systems.RobotR3.FullRobot") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00165/0.00165, allocations: 108.3 kB / 17.74 MB, free: 5.305 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002098/0.002099, allocations: 187 kB / 18.67 MB, free: 4.383 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.365/1.365, allocations: 222.9 MB / 242.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001043/0.001044, allocations: 47.92 kB / 352 MB, free: 3.223 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2621/0.2631, allocations: 49.43 MB / 401.4 MB, free: 8.746 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Systems.RobotR3.FullRobot): time 0.05636/0.3195, allocations: 60.47 MB / 461.9 MB, free: 12.15 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.03313/0.3527, allocations: 15.96 MB / 477.9 MB, free: 12.14 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01193/0.3647, allocations: 362.8 kB / 478.2 MB, free: 11.79 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01855/0.3833, allocations: 8.527 MB / 486.8 MB, free: 3.223 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01876/0.4021, allocations: 5.508 MB / 492.3 MB, free: 13.68 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01145/0.4136, allocations: 5.135 MB / 497.4 MB, free: 8.543 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.03125/0.4449, allocations: 22.67 MB / 0.5079 GB, free: 1.805 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0385/0.4835, allocations: 23.67 MB / 0.531 GB, free: 9.957 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01478/0.4983, allocations: 8.433 MB / 0.5392 GB, free: 1.5 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.2333/0.7316, allocations: 9.954 MB / 0.549 GB, free: 39.64 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.007282/0.739, allocations: 2.496 MB / 0.5514 GB, free: 39.64 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.009665/0.7487, allocations: 3.09 MB / 0.5544 GB, free: 39.64 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.01025/0.7589, allocations: 7.583 MB / 0.5618 GB, free: 39.28 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.02025/0.7792, allocations: 10.73 MB / 0.5723 GB, free: 36.43 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.03524/0.8145, allocations: 36.7 MB / 0.6081 GB, free: 13.88 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.372e-06/0.8146, allocations: 0 / 0.6081 GB, free: 13.88 MB / 462.1 MB Notification: Performance of FrontEnd: time 2.164e-06/0.8146, allocations: 0 / 0.6081 GB, free: 13.88 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.0011/0.8157, allocations: 0 / 0.6081 GB, free: 13.88 MB / 462.1 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.05137/0.8671, allocations: 19.77 MB / 0.6274 GB, free: 13.47 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.335e-05/0.8671, allocations: 8.031 kB / 0.6275 GB, free: 13.46 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01325/0.8804, allocations: 2.645 MB / 0.63 GB, free: 10.79 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02697/0.9074, allocations: 11.9 MB / 0.6417 GB, free: 15.43 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001449/0.9089, allocations: 1.224 MB / 0.6429 GB, free: 14.23 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005754/0.9147, allocations: 1.55 MB / 0.6444 GB, free: 12.71 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06534/0.98, allocations: 27.09 MB / 0.6708 GB, free: 0.9141 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.00114/0.9812, allocations: 139.4 kB / 0.671 GB, free: 0.8008 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004595/0.9858, allocations: 0.634 MB / 0.6716 GB, free: 208 kB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.006444/0.9923, allocations: 3.105 MB / 0.6746 GB, free: 13.12 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05656/1.049, allocations: 23.35 MB / 0.6974 GB, free: 6.012 MB / 0.5294 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4241/1.473, allocations: 108.6 MB / 0.8034 GB, free: 154.2 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03302/1.506, allocations: 14.66 MB / 0.8178 GB, free: 148.9 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01322/1.519, allocations: 10.07 MB / 0.8276 GB, free: 144.5 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.06814/1.588, allocations: 35.95 MB / 0.8627 GB, free: 121.7 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.02824/1.616, allocations: 10.56 MB / 0.873 GB, free: 110.9 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=769): time 1.661e-05/1.616, allocations: 4 kB / 0.873 GB, free: 110.9 MB / 0.5762 GB Notification: Performance of matching and sorting (n=939): time 0.616/2.232, allocations: 127.4 MB / 0.9974 GB, free: 196.5 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003804/2.232, allocations: 1.518 MB / 0.9989 GB, free: 194.7 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01966/2.252, allocations: 10.49 MB / 1.009 GB, free: 191.1 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.002611/2.255, allocations: 228.7 kB / 1.009 GB, free: 190.9 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.007754/2.262, allocations: 8.312 MB / 1.017 GB, free: 184.8 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.004885/2.267, allocations: 3.25 MB / 1.021 GB, free: 182.3 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.01175/2.279, allocations: 2.594 MB / 1.023 GB, free: 181.1 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 4.223e-05/2.279, allocations: 306.3 kB / 1.023 GB, free: 180.9 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01632/2.296, allocations: 9.236 MB / 1.032 GB, free: 177.1 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01864/2.314, allocations: 13.78 MB / 1.046 GB, free: 167.7 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.03349/2.348, allocations: 23.19 MB / 1.069 GB, free: 148.4 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001778/2.348, allocations: 43.94 kB / 1.069 GB, free: 148.4 MB / 0.5762 GB Notification: Performance of matching and sorting (n=1701) (initialization): time 0.05125/2.399, allocations: 24.56 MB / 1.093 GB, free: 124.2 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 0.000187/2.4, allocations: 60 kB / 1.093 GB, free: 124.2 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002138/2.4, allocations: 128 kB / 1.093 GB, free: 124 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002116/2.402, allocations: 1.183 MB / 1.094 GB, free: 122.8 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01799/2.42, allocations: 3.734 MB / 1.098 GB, free: 119.1 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01772/2.438, allocations: 29.02 MB / 1.126 GB, free: 87.56 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01785/2.456, allocations: 1.238 MB / 1.127 GB, free: 86.32 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004101/2.46, allocations: 0.5897 MB / 1.128 GB, free: 85.73 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 593 * Number of states: 0 () * Number of discrete variables: 154 (axis6.gear.bearingFriction.free,axis5.gear.bearingFriction.free,axis4.gear.bearingFriction.free,axis3.gear.bearingFriction.free,axis2.gear.bearingFriction.free,axis1.gear.bearingFriction.free,pathPlanning.path.noWphase,axis6.gear.bearingFriction.mode,$PRE.axis6.gear.bearingFriction.mode,axis6.gear.bearingFriction.locked,axis6.gear.bearingFriction.startBackward,$PRE.axis6.gear.bearingFriction.startBackward,axis6.gear.bearingFriction.startForward,$PRE.axis6.gear.bearingFriction.startForward,axis5.gear.bearingFriction.mode,$PRE.axis5.gear.bearingFriction.mode,axis5.gear.bearingFriction.locked,axis5.gear.bearingFriction.startBackward,$PRE.axis5.gear.bearingFriction.startBackward,axis5.gear.bearingFriction.startForward,$PRE.axis5.gear.bearingFriction.startForward,axis4.gear.bearingFriction.mode,$PRE.axis4.gear.bearingFriction.mode,axis4.gear.bearingFriction.locked,axis4.gear.bearingFriction.startBackward,$PRE.axis4.gear.bearingFriction.startBackward,axis4.gear.bearingFriction.startForward,$PRE.axis4.gear.bearingFriction.startForward,axis3.gear.bearingFriction.mode,$PRE.axis3.gear.bearingFriction.mode,axis3.gear.bearingFriction.locked,axis3.gear.bearingFriction.startBackward,$PRE.axis3.gear.bearingFriction.startBackward,axis3.gear.bearingFriction.startForward,$PRE.axis3.gear.bearingFriction.startForward,axis2.gear.bearingFriction.mode,$PRE.axis2.gear.bearingFriction.mode,axis2.gear.bearingFriction.locked,axis2.gear.bearingFriction.startBackward,$PRE.axis2.gear.bearingFriction.startBackward,axis2.gear.bearingFriction.startForward,$PRE.axis2.gear.bearingFriction.startForward,axis1.gear.bearingFriction.mode,$PRE.axis1.gear.bearingFriction.mode,axis1.gear.bearingFriction.locked,axis1.gear.bearingFriction.startBackward,$PRE.axis1.gear.bearingFriction.startBackward,axis1.gear.bearingFriction.startForward,$PRE.axis1.gear.bearingFriction.startForward,pathPlanning.terminateSimulation.condition,pathPlanning.pathToAxis6.moving[6],$whenCondition1,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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1659): * Single equations (assignments): 1641 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 18 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 12 systems {(1,2,100.0%), (1,2,100.0%), (1,2,100.0%), (1,2,100.0%), (1,2,100.0%), (1,2,100.0%), (1,2,100.0%), (1,2,100.0%), (1,2,100.0%), (1,2,100.0%), (1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 6 systems {(1,3), (1,3), (1,3), (1,3), (1,3), (1,3)} Notification: Performance of prepare postOptimizeDAE: time 0.01602/2.476, allocations: 5.223 MB / 1.133 GB, free: 80.49 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.006467/2.482, allocations: 1.138 MB / 1.134 GB, free: 79.34 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.06222/2.544, allocations: 27.19 MB / 1.16 GB, free: 52.07 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.478e-05/2.545, allocations: 92 kB / 1.161 GB, free: 51.98 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.657e-05/2.545, allocations: 4 kB / 1.161 GB, free: 51.98 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002831/2.545, allocations: 43.83 kB / 1.161 GB, free: 51.93 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.4141/2.959, allocations: 58.57 MB / 1.218 GB, free: 178.2 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.000113/2.959, allocations: 11.44 kB / 1.218 GB, free: 178.2 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.007526/2.967, allocations: 1.473 MB / 1.219 GB, free: 178.2 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0377/3.004, allocations: 13.64 MB / 1.233 GB, free: 177 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.003658/3.008, allocations: 203.9 kB / 1.233 GB, free: 176.9 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03493/3.043, allocations: 27.87 MB / 1.26 GB, free: 159 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.608e-05/3.043, allocations: 19.28 kB / 1.26 GB, free: 159 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.08648/3.13, allocations: 40.68 MB / 1.3 GB, free: 131.5 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0116/3.141, allocations: 3.18 MB / 1.303 GB, free: 128.9 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.006453/3.148, allocations: 240 kB / 1.303 GB, free: 128.7 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01296/3.161, allocations: 0.9487 MB / 1.304 GB, free: 127.7 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.004345/3.165, allocations: 0.7398 MB / 1.305 GB, free: 127 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.002761/3.168, allocations: 259.9 kB / 1.305 GB, free: 126.8 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.01594/3.184, allocations: 6.902 MB / 1.312 GB, free: 119.9 MB / 0.5762 GB Notification: Performance of sort global known variables: time 5.41e-07/3.184, allocations: 0 / 1.312 GB, free: 119.9 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.02007/3.204, allocations: 3.618 MB / 1.315 GB, free: 116.3 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 56 * Number of states: 36 (axis1.gear.spring.phi_rel,axis1.gear.spring.w_rel,axis1.motor.La.i,axis1.motor.C.v,axis1.motor.Jmotor.w,axis1.controller.PI.x,axis1.initializeFlange.phi_flange,axis2.gear.spring.phi_rel,axis2.gear.spring.w_rel,axis2.motor.La.i,axis2.motor.C.v,axis2.motor.Jmotor.w,axis2.controller.PI.x,axis2.initializeFlange.phi_flange,axis3.gear.spring.phi_rel,axis3.gear.spring.w_rel,axis3.motor.La.i,axis3.motor.C.v,axis3.motor.Jmotor.w,axis3.controller.PI.x,axis3.initializeFlange.phi_flange,axis4.motor.La.i,axis4.motor.C.v,axis4.motor.Jmotor.w,axis4.controller.PI.x,axis4.initializeFlange.phi_flange,axis5.motor.La.i,axis5.motor.C.v,axis5.motor.Jmotor.w,axis5.controller.PI.x,axis5.initializeFlange.phi_flange,axis6.motor.La.i,axis6.motor.C.v,axis6.motor.Jmotor.w,axis6.controller.PI.x,axis6.initializeFlange.phi_flange) * Number of discrete variables: 27 (pathPlanning.terminateSimulation.condition,$whenCondition1,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) * Number of discrete states: 18 (axis3.gear.bearingFriction.mode,axis3.gear.bearingFriction.startBackward,axis3.gear.bearingFriction.startForward,axis2.gear.bearingFriction.mode,axis2.gear.bearingFriction.startBackward,axis2.gear.bearingFriction.startForward,axis1.gear.bearingFriction.mode,axis1.gear.bearingFriction.startBackward,axis1.gear.bearingFriction.startForward,axis4.gear.bearingFriction.mode,axis4.gear.bearingFriction.startForward,axis4.gear.bearingFriction.startBackward,axis5.gear.bearingFriction.mode,axis5.gear.bearingFriction.startForward,axis5.gear.bearingFriction.startBackward,axis6.gear.bearingFriction.mode,axis6.gear.bearingFriction.startForward,axis6.gear.bearingFriction.startBackward) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (724): * Single equations (assignments): 714 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 10 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(1,2,100.0%), (1,2,100.0%), (1,2,100.0%), (1,2,100.0%), (1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 4 systems {(9,189), (1,6), (1,6), (1,6)} Notification: Performance of Backend phase and start with SimCode phase: time 0.003657/3.208, allocations: 484 kB / 1.316 GB, free: 115.8 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.03639/3.244, allocations: 23 MB / 1.338 GB, free: 92.68 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.758e-05/3.244, allocations: 4.438 kB / 1.338 GB, free: 92.68 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.02132/3.266, allocations: 12.12 MB / 1.35 GB, free: 80.49 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02272/3.288, allocations: 2.226 MB / 1.352 GB, free: 78.28 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.08289/3.371, allocations: 37.8 MB / 1.389 GB, free: 40.43 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01955/3.391, allocations: 8.591 MB / 1.397 GB, free: 31.8 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.007908/3.399, allocations: 0.7962 MB / 1.398 GB, free: 31.01 MB / 0.5762 GB Notification: Performance of SimCode: time 1.703e-06/3.399, allocations: 0 / 1.398 GB, free: 31.01 MB / 0.5762 GB Notification: Performance of Templates: time 2.91/6.308, allocations: 1.246 GB / 2.644 GB, free: 104.5 MB / 0.6075 GB make -j1 -f Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Systems.RobotR3.FullRobot.makefile (rm -f Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Systems.RobotR3.FullRobot.pipe ; mkfifo Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Systems.RobotR3.FullRobot.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Systems.RobotR3.FullRobot.pipe >> ../files/Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Systems.RobotR3.FullRobot.sim & ./Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Systems.RobotR3.FullRobot -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Systems.RobotR3.FullRobot.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Systems.RobotR3.FullRobot_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/MultiBody/Examples/Systems/RobotR3/FullRobot/FullRobot.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Systems.RobotR3.FullRobot.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches