Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Systems.RobotR3.FullRobot.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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.1.0-beta.om_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.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Systems.RobotR3.FullRobot") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0013/0.0013, allocations: 109.6 kB / 18.3 MB, free: 4.84 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001356/0.001356, allocations: 208 kB / 19.25 MB, free: 3.898 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.449/1.449, allocations: 227.7 MB / 247.7 MB, free: 10.3 MB / 206.1 MB Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001947/0.001947, allocations: 66.73 kB / 307.9 MB, free: 464 kB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1019/0.1038, allocations: 50.53 MB / 358.4 MB, free: 13.9 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Systems.RobotR3.FullRobot): time 0.2228/0.3267, allocations: 60.53 MB / 419 MB, free: 13.33 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.03616/0.3629, allocations: 16.13 MB / 435.1 MB, free: 14.42 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01256/0.3755, allocations: 374.8 kB / 435.5 MB, free: 14.05 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02021/0.3957, allocations: 8.521 MB / 444 MB, free: 5.5 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0202/0.416, allocations: 5.514 MB / 449.5 MB, free: 15.95 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01263/0.4286, allocations: 5.166 MB / 454.7 MB, free: 10.78 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.03411/0.4628, allocations: 23.16 MB / 477.8 MB, free: 3.555 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.03969/0.5025, allocations: 23.76 MB / 0.4898 GB, free: 11.62 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01645/0.519, allocations: 8.449 MB / 0.4981 GB, free: 3.148 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01597/0.535, allocations: 9.982 MB / 0.5078 GB, free: 9.133 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.008081/0.5432, allocations: 2.508 MB / 0.5103 GB, free: 6.625 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.009807/0.553, allocations: 3.073 MB / 0.5133 GB, free: 3.551 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.01188/0.5649, allocations: 7.529 MB / 0.5206 GB, free: 12 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.02002/0.585, allocations: 10.76 MB / 0.5312 GB, free: 1.195 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.4141/0.9991, allocations: 36.37 MB / 0.5667 GB, free: 49.49 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.987e-06/0.9992, allocations: 0.625 kB / 0.5667 GB, free: 49.49 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.605e-06/0.9992, allocations: 0 / 0.5667 GB, free: 49.49 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.001394/1.001, allocations: 2.812 kB / 0.5667 GB, free: 49.49 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4570 * Number of variables: 4570 Notification: Performance of Generate backend data structure: time 0.06798/1.069, allocations: 19.86 MB / 0.5861 GB, free: 40.05 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.566e-05/1.069, allocations: 7.781 kB / 0.5861 GB, free: 40.05 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01502/1.084, allocations: 2.652 MB / 0.5887 GB, free: 38.8 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02463/1.108, allocations: 11.43 MB / 0.5998 GB, free: 33 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001274/1.11, allocations: 1.234 MB / 0.601 GB, free: 32.41 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.007423/1.117, allocations: 1.553 MB / 0.6025 GB, free: 31.88 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06752/1.185, allocations: 27.02 MB / 0.6289 GB, free: 7.02 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.001271/1.186, allocations: 144.2 kB / 0.6291 GB, free: 6.906 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.006942/1.193, allocations: 0.6305 MB / 0.6297 GB, free: 6.312 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005643/1.199, allocations: 3.116 MB / 0.6327 GB, free: 3.223 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.06128/1.26, allocations: 23.14 MB / 0.6553 GB, free: 12.32 MB / 478.1 MB 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.4127/1.673, allocations: 109.4 MB / 0.7621 GB, free: 131.9 MB / 0.5138 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03275/1.705, allocations: 14.62 MB / 0.7764 GB, free: 130.2 MB / 0.5138 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01334/1.719, allocations: 9.966 MB / 0.7861 GB, free: 125.8 MB / 0.5138 GB Notification: Performance of preOpt evalFunc (simulation): time 0.06644/1.785, allocations: 35.95 MB / 0.8213 GB, free: 102.5 MB / 0.5138 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.02818/1.813, allocations: 10.47 MB / 0.8315 GB, free: 91.8 MB / 0.5138 GB Notification: Performance of pre-optimization done (n=775): time 1.68e-05/1.813, allocations: 0 / 0.8315 GB, free: 91.8 MB / 0.5138 GB Notification: Performance of matching and sorting (n=955): time 0.6661/2.48, allocations: 137.1 MB / 0.9653 GB, free: 159.1 MB / 0.5138 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003472/2.48, allocations: 1.52 MB / 0.9668 GB, free: 157.4 MB / 0.5138 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01979/2.5, allocations: 10.58 MB / 0.9771 GB, free: 153.6 MB / 0.5138 GB Notification: Performance of collectPreVariables (initialization): time 0.003196/2.503, allocations: 237.1 kB / 0.9774 GB, free: 153.4 MB / 0.5138 GB Notification: Performance of collectInitialEqns (initialization): time 0.007979/2.511, allocations: 8.335 MB / 0.9855 GB, free: 147.1 MB / 0.5138 GB Notification: Performance of collectInitialBindings (initialization): time 0.005457/2.516, allocations: 3.31 MB / 0.9887 GB, free: 144.3 MB / 0.5138 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.009717/2.526, allocations: 2.62 MB / 0.9913 GB, free: 141.9 MB / 0.5138 GB Notification: Performance of setup shared object (initialization): time 4.678e-05/2.526, allocations: 305.1 kB / 0.9916 GB, free: 141.6 MB / 0.5138 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0152/2.541, allocations: 9.326 MB / 1.001 GB, free: 133.4 MB / 0.5138 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01839/2.56, allocations: 13.87 MB / 1.014 GB, free: 119 MB / 0.5138 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.03462/2.595, allocations: 23.38 MB / 1.037 GB, free: 95.58 MB / 0.5138 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001882/2.595, allocations: 36 kB / 1.037 GB, free: 95.54 MB / 0.5138 GB Notification: Performance of matching and sorting (n=1717) (initialization): time 0.05346/2.648, allocations: 24.77 MB / 1.061 GB, free: 71.24 MB / 0.5138 GB Notification: Performance of prepare postOptimizeDAE: time 9.644e-05/2.648, allocations: 63.94 kB / 1.061 GB, free: 71.18 MB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001484/2.649, allocations: 132 kB / 1.061 GB, free: 71.05 MB / 0.5138 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00269/2.651, allocations: 1.398 MB / 1.063 GB, free: 69.61 MB / 0.5138 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01854/2.67, allocations: 3.759 MB / 1.067 GB, free: 65.84 MB / 0.5138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01713/2.687, allocations: 29.22 MB / 1.095 GB, free: 34.12 MB / 0.5138 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01864/2.706, allocations: 1.229 MB / 1.096 GB, free: 32.89 MB / 0.5138 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00451/2.71, allocations: 0.5936 MB / 1.097 GB, free: 32.3 MB / 0.5138 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 (1675): * Single equations (assignments): 1657 * 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.01734/2.728, allocations: 5.251 MB / 1.102 GB, free: 27.02 MB / 0.5138 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.005597/2.733, allocations: 1.15 MB / 1.103 GB, free: 25.86 MB / 0.5138 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.3012/3.034, allocations: 27.3 MB / 1.13 GB, free: 159.3 MB / 0.5138 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001153/3.035, allocations: 92.81 kB / 1.13 GB, free: 159.3 MB / 0.5138 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.852e-05/3.035, allocations: 4.719 kB / 1.13 GB, free: 159.3 MB / 0.5138 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002773/3.035, allocations: 47.92 kB / 1.13 GB, free: 159.3 MB / 0.5138 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.128/3.163, allocations: 60.08 MB / 1.189 GB, free: 138.5 MB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001181/3.163, allocations: 11.78 kB / 1.189 GB, free: 138.5 MB / 0.5138 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.008198/3.171, allocations: 1.491 MB / 1.19 GB, free: 137.8 MB / 0.5138 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.03687/3.208, allocations: 13.16 MB / 1.203 GB, free: 125.2 MB / 0.5138 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.003209/3.211, allocations: 207.9 kB / 1.203 GB, free: 125 MB / 0.5138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02888/3.24, allocations: 27.42 MB / 1.23 GB, free: 96.77 MB / 0.5138 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.193e-05/3.24, allocations: 20.03 kB / 1.23 GB, free: 96.75 MB / 0.5138 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.07398/3.314, allocations: 39.74 MB / 1.269 GB, free: 57.39 MB / 0.5138 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01033/3.325, allocations: 3.243 MB / 1.272 GB, free: 54.73 MB / 0.5138 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.006237/3.331, allocations: 248 kB / 1.272 GB, free: 54.48 MB / 0.5138 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01363/3.345, allocations: 0.9484 MB / 1.273 GB, free: 53.54 MB / 0.5138 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.004471/3.349, allocations: 0.7556 MB / 1.274 GB, free: 52.78 MB / 0.5138 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.002423/3.352, allocations: 259.9 kB / 1.274 GB, free: 52.52 MB / 0.5138 GB Notification: Performance of sorting global known variables: time 0.01466/3.366, allocations: 6.942 MB / 1.281 GB, free: 45.63 MB / 0.5138 GB Notification: Performance of sort global known variables: time 4.61e-07/3.366, allocations: 0 / 1.281 GB, free: 45.63 MB / 0.5138 GB Notification: Performance of remove unused functions: time 0.02298/3.389, allocations: 3.641 MB / 1.284 GB, free: 41.99 MB / 0.5138 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 (734): * Single equations (assignments): 724 * 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,192), (1,7), (1,7), (1,7)} Notification: Performance of Backend phase and start with SimCode phase: time 0.005172/3.395, allocations: 0.7123 MB / 1.285 GB, free: 41.42 MB / 0.5138 GB Notification: Performance of simCode: created initialization part: time 0.348/3.743, allocations: 51.53 MB / 1.335 GB, free: 163.3 MB / 0.5138 GB Notification: Performance of simCode: created event and clocks part: time 2.013e-05/3.743, allocations: 4.094 kB / 1.335 GB, free: 163.3 MB / 0.5138 GB Notification: Performance of simCode: created simulation system equations: time 0.02102/3.764, allocations: 12.29 MB / 1.347 GB, free: 157.6 MB / 0.5138 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02094/3.785, allocations: 2.272 MB / 1.35 GB, free: 156.7 MB / 0.5138 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.08134/3.866, allocations: 38.76 MB / 1.387 GB, free: 125.1 MB / 0.5138 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01918/3.885, allocations: 8.642 MB / 1.396 GB, free: 118.7 MB / 0.5138 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.007286/3.893, allocations: 0.8106 MB / 1.397 GB, free: 117.9 MB / 0.5138 GB Notification: Performance of SimCode: time 2.695e-06/3.893, allocations: 4 kB / 1.397 GB, free: 117.9 MB / 0.5138 GB Notification: Performance of Templates: time 2.762/6.655, allocations: 1.249 GB / 2.646 GB, free: 45.73 MB / 0.545 GB make -j1 -f Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Systems.RobotR3.FullRobot.makefile (rm -f Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Systems.RobotR3.FullRobot.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Systems.RobotR3.FullRobot.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Systems.RobotR3.FullRobot.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Systems.RobotR3.FullRobot.sim & ./Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Systems.RobotR3.FullRobot -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Systems.RobotR3.FullRobot.pipe 2>&1) diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Systems.RobotR3.FullRobot_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/MultiBody/Examples/Systems/RobotR3/FullRobot/FullRobot.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Systems.RobotR3.FullRobot.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches