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.001116/0.001116, allocations: 107.7 kB / 17.06 MB, free: 5.996 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.001041/0.001041, allocations: 198.8 kB / 18.01 MB, free: 5.066 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.423/1.423, allocations: 222.9 MB / 241.7 MB, free: 15.15 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001661/0.001661, allocations: 43.92 kB / 351.3 MB, free: 3.223 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2574/0.259, allocations: 49.43 MB / 400.8 MB, free: 8.766 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Systems.RobotR3.FullRobot): time 0.05779/0.3169, allocations: 60.49 MB / 461.2 MB, free: 12.15 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.03564/0.3525, allocations: 15.95 MB / 477.2 MB, free: 12.15 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0169/0.3695, allocations: 370.8 kB / 477.6 MB, free: 11.79 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01879/0.3884, allocations: 8.527 MB / 486.1 MB, free: 3.227 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01764/0.4061, allocations: 5.51 MB / 491.6 MB, free: 13.68 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01189/0.418, allocations: 5.13 MB / 496.7 MB, free: 8.551 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.03031/0.4483, allocations: 22.68 MB / 0.5072 GB, free: 1.809 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.03461/0.483, allocations: 23.67 MB / 0.5303 GB, free: 9.969 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01575/0.4988, allocations: 8.429 MB / 0.5386 GB, free: 1.516 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.2382/0.737, allocations: 9.926 MB / 0.5483 GB, free: 39.7 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.006631/0.7437, allocations: 2.498 MB / 0.5507 GB, free: 39.7 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008225/0.7519, allocations: 3.074 MB / 0.5537 GB, free: 39.7 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.008218/0.7602, allocations: 7.485 MB / 0.561 GB, free: 39.34 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01552/0.7757, allocations: 10.73 MB / 0.5715 GB, free: 36.5 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.03607/0.8118, allocations: 36.79 MB / 0.6074 GB, free: 13.8 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.172e-06/0.8119, allocations: 3.438 kB / 0.6074 GB, free: 13.8 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.763e-06/0.8119, allocations: 3.906 kB / 0.6074 GB, free: 13.8 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.001033/0.8129, allocations: 3.375 kB / 0.6074 GB, free: 13.8 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.05374/0.8667, allocations: 20.25 MB / 0.6272 GB, free: 12.97 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.612e-05/0.8667, allocations: 8.031 kB / 0.6272 GB, free: 12.96 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01282/0.8796, allocations: 2.746 MB / 0.6299 GB, free: 10.2 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02484/0.9044, allocations: 11.97 MB / 0.6416 GB, free: 14.78 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001374/0.9058, allocations: 1.227 MB / 0.6428 GB, free: 13.57 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005684/0.9116, allocations: 1.551 MB / 0.6443 GB, free: 12.06 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.07306/0.9846, allocations: 27.09 MB / 0.6708 GB, free: 260 kB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.001311/0.986, allocations: 143.3 kB / 0.6709 GB, free: 144 kB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005311/0.9913, allocations: 0.6374 MB / 0.6715 GB, free: 15.54 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.006167/0.9975, allocations: 3.113 MB / 0.6745 GB, free: 12.45 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05564/1.053, allocations: 23.33 MB / 0.6973 GB, free: 5.352 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.3992/1.452, allocations: 108.8 MB / 0.8036 GB, free: 153.5 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03203/1.484, allocations: 14.66 MB / 0.8179 GB, free: 148.2 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01251/1.497, allocations: 10.08 MB / 0.8277 GB, free: 143.8 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.05076/1.548, allocations: 35.98 MB / 0.8629 GB, free: 120.8 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.02722/1.575, allocations: 10.57 MB / 0.8732 GB, free: 110 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=769): time 1.817e-05/1.575, allocations: 0 / 0.8732 GB, free: 110 MB / 0.5762 GB Notification: Performance of matching and sorting (n=939): time 0.5866/2.162, allocations: 128.7 MB / 0.9989 GB, free: 194.7 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002966/2.162, allocations: 1.52 MB / 1 GB, free: 193 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01602/2.178, allocations: 10.5 MB / 1.011 GB, free: 189.3 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.002724/2.181, allocations: 225.5 kB / 1.011 GB, free: 189.1 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.007/2.188, allocations: 8.553 MB / 1.019 GB, free: 182.8 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.004671/2.193, allocations: 3.413 MB / 1.023 GB, free: 180.2 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.008457/2.201, allocations: 2.609 MB / 1.025 GB, free: 179 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 4.483e-05/2.201, allocations: 301.1 kB / 1.025 GB, free: 178.7 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01468/2.216, allocations: 9.245 MB / 1.034 GB, free: 174.9 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0172/2.233, allocations: 13.78 MB / 1.048 GB, free: 165.6 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02861/2.262, allocations: 23.18 MB / 1.07 GB, free: 145.7 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001305/2.262, allocations: 47.88 kB / 1.071 GB, free: 145.6 MB / 0.5762 GB Notification: Performance of matching and sorting (n=1701) (initialization): time 0.04529/2.307, allocations: 24.61 MB / 1.095 GB, free: 121.4 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001153/2.307, allocations: 60 kB / 1.095 GB, free: 121.4 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001609/2.308, allocations: 135.9 kB / 1.095 GB, free: 121.2 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001837/2.309, allocations: 1.175 MB / 1.096 GB, free: 120 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01627/2.326, allocations: 3.736 MB / 1.1 GB, free: 116.3 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02051/2.346, allocations: 29.03 MB / 1.128 GB, free: 84.74 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02427/2.371, allocations: 1.242 MB / 1.129 GB, free: 83.5 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00444/2.375, allocations: 0.5897 MB / 1.13 GB, free: 82.91 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.01756/2.393, allocations: 5.218 MB / 1.135 GB, free: 77.66 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004429/2.397, allocations: 1.199 MB / 1.136 GB, free: 76.46 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.06185/2.459, allocations: 27.19 MB / 1.163 GB, free: 49.19 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.359e-05/2.459, allocations: 92 kB / 1.163 GB, free: 49.1 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.714e-05/2.459, allocations: 7.984 kB / 1.163 GB, free: 49.09 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001674/2.459, allocations: 47.81 kB / 1.163 GB, free: 49.05 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3752/2.834, allocations: 58.57 MB / 1.22 GB, free: 179.6 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001106/2.835, allocations: 15.59 kB / 1.22 GB, free: 179.6 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.007816/2.842, allocations: 1.478 MB / 1.221 GB, free: 179.5 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.03845/2.881, allocations: 13.64 MB / 1.235 GB, free: 177 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.003471/2.884, allocations: 203.7 kB / 1.235 GB, free: 176.9 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02945/2.914, allocations: 27.88 MB / 1.262 GB, free: 159 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.337e-05/2.914, allocations: 18.53 kB / 1.262 GB, free: 159 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.07727/2.991, allocations: 40.74 MB / 1.302 GB, free: 128.3 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01046/3.002, allocations: 3.237 MB / 1.305 GB, free: 125.7 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.006076/3.008, allocations: 240 kB / 1.305 GB, free: 125.5 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01288/3.021, allocations: 0.9503 MB / 1.306 GB, free: 124.5 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003664/3.024, allocations: 0.736 MB / 1.307 GB, free: 123.8 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.002041/3.027, allocations: 255.9 kB / 1.307 GB, free: 123.5 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.01233/3.039, allocations: 6.906 MB / 1.314 GB, free: 116.7 MB / 0.5762 GB Notification: Performance of sort global known variables: time 3.21e-07/3.039, allocations: 3.844 kB / 1.314 GB, free: 116.7 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.01733/3.056, allocations: 3.613 MB / 1.317 GB, free: 113.1 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.002965/3.059, allocations: 480.9 kB / 1.318 GB, free: 112.6 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.03704/3.096, allocations: 23.02 MB / 1.34 GB, free: 89.45 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.07e-05/3.096, allocations: 4.438 kB / 1.34 GB, free: 89.45 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.02166/3.118, allocations: 12.32 MB / 1.352 GB, free: 77.05 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02221/3.14, allocations: 2.225 MB / 1.355 GB, free: 74.84 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.08029/3.221, allocations: 37.24 MB / 1.391 GB, free: 37.52 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01948/3.24, allocations: 8.635 MB / 1.399 GB, free: 28.84 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.01486/3.255, allocations: 3.25 MB / 1.403 GB, free: 25.58 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006264/3.261, allocations: 0.7376 MB / 1.403 GB, free: 24.85 MB / 0.5762 GB Notification: Performance of SimCode: time 1.012e-06/3.261, allocations: 0 / 1.403 GB, free: 24.85 MB / 0.5762 GB Notification: Performance of Templates: time 0.5181/3.779, allocations: 215.6 MB / 1.614 GB, free: 13.12 MB / 0.5762 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/MultiBody/Examples/Systems/RobotR3/FullRobot/FullRobot.csv","/var/lib/jenkins/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