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/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 3.2.3+maint.om/package.mo", uses=false) 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 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_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00151/0.00151, allocations: 108.4 kB / 18.34 MB, free: 4.699 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.001595/0.001595, allocations: 190.9 kB / 19.28 MB, free: 3.766 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.362/1.362, allocations: 205.1 MB / 225.2 MB, free: 12.25 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001196/0.001196, allocations: 44.2 kB / 282.1 MB, free: 2.434 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08677/0.08797, allocations: 46.63 MB / 328.7 MB, free: 3.727 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Systems.RobotR3.fullRobot): time 0.2117/0.2997, allocations: 60.39 MB / 389.1 MB, free: 11.09 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.04202/0.3418, allocations: 15.95 MB / 405.1 MB, free: 6.703 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01414/0.356, allocations: 370 kB / 405.4 MB, free: 6.625 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02132/0.3773, allocations: 8.54 MB / 414 MB, free: 2.996 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.02248/0.3999, allocations: 5.535 MB / 419.5 MB, free: 15.33 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01605/0.4159, allocations: 5.147 MB / 424.7 MB, free: 11.17 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.03893/0.4549, allocations: 22.74 MB / 447.4 MB, free: 8.871 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.04956/0.5045, allocations: 23.7 MB / 471.1 MB, free: 1.34 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01702/0.5215, allocations: 8.458 MB / 479.6 MB, free: 9.113 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01696/0.5385, allocations: 9.976 MB / 489.5 MB, free: 15.44 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.006233/0.5448, allocations: 2.5 MB / 492 MB, free: 12.94 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.009232/0.554, allocations: 3.074 MB / 495.1 MB, free: 9.902 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.009078/0.5632, allocations: 7.518 MB / 0.4908 GB, free: 2.41 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01743/0.5806, allocations: 10.75 MB / 0.5013 GB, free: 7.652 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.04313/0.6238, allocations: 36.65 MB / 0.5371 GB, free: 3.512 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.284e-06/0.6238, allocations: 4 kB / 0.5371 GB, free: 3.508 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.6238, allocations: 0 / 0.5371 GB, free: 3.508 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0009021/0.6248, allocations: 0 / 0.5371 GB, free: 3.508 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: 4558 * Number of variables: 4558 Notification: Performance of Generate backend data structure: time 0.3287/0.9535, allocations: 19.81 MB / 0.5565 GB, free: 139.3 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.147e-05/0.9535, allocations: 8.531 kB / 0.5565 GB, free: 139.3 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01238/0.9659, allocations: 2.647 MB / 0.5591 GB, free: 138 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02596/0.9919, allocations: 12.34 MB / 0.5711 GB, free: 129.7 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001619/0.9936, allocations: 1.226 MB / 0.5723 GB, free: 129.1 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005678/0.9993, allocations: 1.556 MB / 0.5739 GB, free: 128.3 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0539/1.053, allocations: 27.08 MB / 0.6003 GB, free: 100.4 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.001037/1.054, allocations: 150.7 kB / 0.6004 GB, free: 100.2 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004345/1.059, allocations: 0.6263 MB / 0.6011 GB, free: 99.62 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004887/1.064, allocations: 3.109 MB / 0.6041 GB, free: 96.52 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04453/1.108, allocations: 23.34 MB / 0.6269 GB, free: 73.17 MB / 446.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.5048/1.613, allocations: 108.6 MB / 0.733 GB, free: 98.16 MB / 462.3 MB Notification: Performance of preOpt comSubExp (simulation): time 0.03032/1.643, allocations: 14.66 MB / 0.7473 GB, free: 97.59 MB / 462.3 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.01157/1.655, allocations: 10.08 MB / 0.7571 GB, free: 94.26 MB / 462.3 MB Notification: Performance of preOpt evalFunc (simulation): time 0.06529/1.72, allocations: 35.95 MB / 0.7922 GB, free: 70.84 MB / 462.3 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.02616/1.746, allocations: 10.58 MB / 0.8026 GB, free: 60.07 MB / 462.3 MB Notification: Performance of pre-optimization done (n=769): time 1.609e-05/1.746, allocations: 0 / 0.8026 GB, free: 60.07 MB / 462.3 MB Notification: Performance of matching and sorting (n=939): time 0.56/2.306, allocations: 127.5 MB / 0.9271 GB, free: 173.9 MB / 0.4983 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003289/2.307, allocations: 1.526 MB / 0.9286 GB, free: 172.2 MB / 0.4983 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01706/2.324, allocations: 10.58 MB / 0.9389 GB, free: 168.4 MB / 0.4983 GB Notification: Performance of collectPreVariables (initialization): time 0.003073/2.327, allocations: 232.4 kB / 0.9391 GB, free: 168.3 MB / 0.4983 GB Notification: Performance of collectInitialEqns (initialization): time 0.00729/2.334, allocations: 8.32 MB / 0.9473 GB, free: 162.2 MB / 0.4983 GB Notification: Performance of collectInitialBindings (initialization): time 0.005253/2.34, allocations: 3.261 MB / 0.9505 GB, free: 159.7 MB / 0.4983 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.007361/2.347, allocations: 2.598 MB / 0.953 GB, free: 158.5 MB / 0.4983 GB Notification: Performance of setup shared object (initialization): time 4.985e-05/2.347, allocations: 301.1 kB / 0.9533 GB, free: 158.2 MB / 0.4983 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01408/2.361, allocations: 9.239 MB / 0.9623 GB, free: 154.5 MB / 0.4983 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0165/2.378, allocations: 13.78 MB / 0.9758 GB, free: 145.1 MB / 0.4983 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02909/2.407, allocations: 23.19 MB / 0.9984 GB, free: 121.8 MB / 0.4983 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001556/2.407, allocations: 39.94 kB / 0.9984 GB, free: 121.7 MB / 0.4983 GB Notification: Performance of matching and sorting (n=1701) (initialization): time 0.04503/2.452, allocations: 24.56 MB / 1.022 GB, free: 97 MB / 0.4983 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001337/2.452, allocations: 60 kB / 1.022 GB, free: 96.94 MB / 0.4983 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001784/2.452, allocations: 128 kB / 1.023 GB, free: 96.81 MB / 0.4983 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001945/2.454, allocations: 1.18 MB / 1.024 GB, free: 95.6 MB / 0.4983 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01642/2.471, allocations: 3.736 MB / 1.027 GB, free: 91.86 MB / 0.4983 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01482/2.486, allocations: 29.02 MB / 1.056 GB, free: 60.32 MB / 0.4983 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01402/2.5, allocations: 1.236 MB / 1.057 GB, free: 59.09 MB / 0.4983 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003008/2.503, allocations: 0.5858 MB / 1.058 GB, free: 58.5 MB / 0.4983 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.009249/2.512, allocations: 5.239 MB / 1.063 GB, free: 53.23 MB / 0.4983 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00246/2.514, allocations: 1.142 MB / 1.064 GB, free: 52.08 MB / 0.4983 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04045/2.555, allocations: 27.2 MB / 1.09 GB, free: 24.81 MB / 0.4983 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.539e-05/2.555, allocations: 95.98 kB / 1.09 GB, free: 24.71 MB / 0.4983 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.407e-05/2.555, allocations: 4 kB / 1.09 GB, free: 24.71 MB / 0.4983 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001939/2.555, allocations: 43.83 kB / 1.09 GB, free: 24.67 MB / 0.4983 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3015/2.857, allocations: 58.59 MB / 1.148 GB, free: 155.8 MB / 0.4983 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.604e-05/2.857, allocations: 11.19 kB / 1.148 GB, free: 155.8 MB / 0.4983 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.007467/2.864, allocations: 1.48 MB / 1.149 GB, free: 155.7 MB / 0.4983 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.03588/2.9, allocations: 13.65 MB / 1.162 GB, free: 152.6 MB / 0.4983 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002432/2.903, allocations: 208.2 kB / 1.163 GB, free: 152.5 MB / 0.4983 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02252/2.925, allocations: 27.86 MB / 1.19 GB, free: 125.4 MB / 0.4983 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.308e-06/2.925, allocations: 20.03 kB / 1.19 GB, free: 125.3 MB / 0.4983 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.06024/2.985, allocations: 40.69 MB / 1.23 GB, free: 85.05 MB / 0.4983 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01/2.996, allocations: 3.19 MB / 1.233 GB, free: 82.43 MB / 0.4983 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004805/3, allocations: 236 kB / 1.233 GB, free: 82.2 MB / 0.4983 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01047/3.011, allocations: 0.9518 MB / 1.234 GB, free: 81.27 MB / 0.4983 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002996/3.014, allocations: 0.7359 MB / 1.235 GB, free: 80.53 MB / 0.4983 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00169/3.016, allocations: 263.9 kB / 1.235 GB, free: 80.27 MB / 0.4983 GB Notification: Performance of sorting global known variables: time 0.01143/3.027, allocations: 6.982 MB / 1.242 GB, free: 73.34 MB / 0.4983 GB Notification: Performance of sort global known variables: time 4.81e-07/3.027, allocations: 3.719 kB / 1.242 GB, free: 73.34 MB / 0.4983 GB Notification: Performance of remove unused functions: time 0.01766/3.045, allocations: 3.624 MB / 1.245 GB, free: 69.72 MB / 0.4983 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.002934/3.048, allocations: 480.9 kB / 1.246 GB, free: 69.27 MB / 0.4983 GB Notification: Performance of simCode: created initialization part: time 0.03365/3.081, allocations: 22.99 MB / 1.268 GB, free: 46.12 MB / 0.4983 GB Notification: Performance of simCode: created event and clocks part: time 1.671e-05/3.081, allocations: 6.375 kB / 1.268 GB, free: 46.12 MB / 0.4983 GB Notification: Performance of simCode: created simulation system equations: time 0.01961/3.101, allocations: 12.33 MB / 1.28 GB, free: 33.71 MB / 0.4983 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02006/3.121, allocations: 2.229 MB / 1.282 GB, free: 31.49 MB / 0.4983 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2688/3.39, allocations: 36.86 MB / 1.318 GB, free: 147.5 MB / 0.4983 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01285/3.403, allocations: 8.669 MB / 1.327 GB, free: 146.4 MB / 0.4983 GB Notification: Performance of simCode: alias equations: time 0.01053/3.413, allocations: 3.261 MB / 1.33 GB, free: 146.3 MB / 0.4983 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004796/3.418, allocations: 0.7378 MB / 1.331 GB, free: 146.3 MB / 0.4983 GB Notification: Performance of SimCode: time 1.032e-06/3.418, allocations: 0 / 1.331 GB, free: 146.3 MB / 0.4983 GB Notification: Performance of Templates: time 0.5019/3.92, allocations: 211.7 MB / 1.537 GB, free: 132.2 MB / 0.4983 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 -s cvode -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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/MultiBody/Examples/Systems/RobotR3/fullRobot/fullRobot.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/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