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.000984/0.0009841, allocations: 113.6 kB / 16.63 MB, free: 6.332 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.001059/0.001059, allocations: 192.7 kB / 17.55 MB, free: 5.801 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.326/1.326, allocations: 222.9 MB / 241.2 MB, free: 13.75 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00176/0.00176, allocations: 43.06 kB / 300.1 MB, free: 5.992 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1393/0.1411, allocations: 49.44 MB / 349.6 MB, free: 4.547 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Systems.RobotR3.FullRobot): time 0.3247/0.4658, allocations: 164.7 MB / 0.5023 GB, free: 15.62 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.2967/0.7626, allocations: 34 MB / 0.5355 GB, free: 1.52 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.03261/0.7952, allocations: 0.7413 MB / 0.5362 GB, free: 1.52 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01786/0.8132, allocations: 7.934 MB / 0.5439 GB, free: 1.438 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.02083/0.834, allocations: 4.955 MB / 0.5488 GB, free: 1.238 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01328/0.8474, allocations: 4.74 MB / 0.5534 GB, free: 1.184 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.02922/0.8766, allocations: 22.58 MB / 0.5755 GB, free: 0.6406 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.03988/0.9166, allocations: 24.13 MB / 0.599 GB, free: 2.766 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01549/0.9321, allocations: 8.569 MB / 0.6074 GB, free: 11.8 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01609/0.9482, allocations: 10.51 MB / 0.6177 GB, free: 1.781 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.006159/0.9544, allocations: 2.498 MB / 0.6201 GB, free: 15.28 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008388/0.9628, allocations: 3.087 MB / 0.6231 GB, free: 12.26 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.009838/0.9727, allocations: 7.542 MB / 0.6305 GB, free: 4.797 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01948/0.9922, allocations: 10.74 MB / 0.641 GB, free: 10.09 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.04076/1.033, allocations: 36.22 MB / 0.6763 GB, free: 6.406 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 1.114e-05/1.033, allocations: 7.922 kB / 0.6763 GB, free: 6.398 MB / 0.5294 GB Notification: Performance of FrontEnd: time 2.434e-06/1.033, allocations: 0 / 0.6763 GB, free: 6.398 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 0.001245/1.034, allocations: 0 / 0.6763 GB, free: 6.398 MB / 0.5294 GB 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.0496/1.084, allocations: 19.76 MB / 0.6956 GB, free: 2.672 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.043e-05/1.084, allocations: 12.03 kB / 0.6957 GB, free: 2.66 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01056/1.095, allocations: 2.643 MB / 0.6982 GB, free: 15.99 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02123/1.116, allocations: 11.6 MB / 0.7096 GB, free: 4.93 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001568/1.117, allocations: 1.232 MB / 0.7108 GB, free: 3.715 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005928/1.123, allocations: 1.543 MB / 0.7123 GB, free: 2.207 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0614/1.185, allocations: 27.09 MB / 0.7387 GB, free: 6.406 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0008642/1.186, allocations: 149.2 kB / 0.7389 GB, free: 6.285 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003944/1.19, allocations: 0.632 MB / 0.7395 GB, free: 5.691 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005988/1.196, allocations: 3.105 MB / 0.7425 GB, free: 2.609 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.3552/1.551, allocations: 23.34 MB / 0.7653 GB, free: 265 MB / 0.5919 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.1327/1.684, allocations: 109.4 MB / 0.8721 GB, free: 168.3 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02939/1.713, allocations: 14.65 MB / 0.8864 GB, free: 153.5 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01112/1.724, allocations: 10.07 MB / 0.8963 GB, free: 143.4 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.05853/1.783, allocations: 35.96 MB / 0.9314 GB, free: 107.7 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.02842/1.811, allocations: 10.57 MB / 0.9417 GB, free: 96.87 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=769): time 1.902e-05/1.811, allocations: 4 kB / 0.9417 GB, free: 96.87 MB / 0.5919 GB Notification: Performance of matching and sorting (n=939): time 0.7001/2.511, allocations: 127.4 MB / 1.066 GB, free: 237.2 MB / 0.592 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003089/2.512, allocations: 1.522 MB / 1.068 GB, free: 235.4 MB / 0.592 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01673/2.528, allocations: 10.49 MB / 1.078 GB, free: 231.7 MB / 0.592 GB Notification: Performance of collectPreVariables (initialization): time 0.002357/2.531, allocations: 229.4 kB / 1.078 GB, free: 231.5 MB / 0.592 GB Notification: Performance of collectInitialEqns (initialization): time 0.006355/2.537, allocations: 8.314 MB / 1.086 GB, free: 225.2 MB / 0.592 GB Notification: Performance of collectInitialBindings (initialization): time 0.004047/2.541, allocations: 3.257 MB / 1.089 GB, free: 222.8 MB / 0.592 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.009901/2.551, allocations: 2.593 MB / 1.092 GB, free: 221.6 MB / 0.592 GB Notification: Performance of setup shared object (initialization): time 7.629e-05/2.551, allocations: 304.7 kB / 1.092 GB, free: 221.3 MB / 0.592 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01408/2.565, allocations: 9.239 MB / 1.101 GB, free: 217.5 MB / 0.592 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01743/2.583, allocations: 13.78 MB / 1.115 GB, free: 208.1 MB / 0.592 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.03144/2.614, allocations: 23.19 MB / 1.137 GB, free: 192 MB / 0.592 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001869/2.615, allocations: 38.02 kB / 1.137 GB, free: 192 MB / 0.592 GB Notification: Performance of matching and sorting (n=1701) (initialization): time 0.04578/2.66, allocations: 24.56 MB / 1.161 GB, free: 169 MB / 0.592 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001672/2.661, allocations: 60.97 kB / 1.161 GB, free: 169 MB / 0.592 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001935/2.661, allocations: 128.7 kB / 1.161 GB, free: 168.9 MB / 0.592 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00199/2.663, allocations: 1.185 MB / 1.163 GB, free: 167.6 MB / 0.592 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01767/2.68, allocations: 3.739 MB / 1.166 GB, free: 163.9 MB / 0.592 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01549/2.696, allocations: 29.03 MB / 1.195 GB, free: 132.3 MB / 0.592 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0145/2.711, allocations: 1.229 MB / 1.196 GB, free: 131.1 MB / 0.592 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003402/2.714, allocations: 0.5936 MB / 1.196 GB, free: 130.5 MB / 0.592 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.01187/2.726, allocations: 5.226 MB / 1.202 GB, free: 125.3 MB / 0.592 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004021/2.73, allocations: 1.137 MB / 1.203 GB, free: 124.1 MB / 0.592 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.05343/2.783, allocations: 27.2 MB / 1.229 GB, free: 96.85 MB / 0.592 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.568e-05/2.783, allocations: 92 kB / 1.229 GB, free: 96.76 MB / 0.592 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.355e-05/2.783, allocations: 4 kB / 1.229 GB, free: 96.76 MB / 0.592 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002112/2.784, allocations: 43.83 kB / 1.229 GB, free: 96.71 MB / 0.592 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1003/2.884, allocations: 59.29 MB / 1.287 GB, free: 37.04 MB / 0.592 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.000126/2.884, allocations: 12 kB / 1.287 GB, free: 37.03 MB / 0.592 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.007526/2.892, allocations: 1.475 MB / 1.289 GB, free: 35.55 MB / 0.592 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.03577/2.928, allocations: 13.69 MB / 1.302 GB, free: 21.82 MB / 0.592 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002608/2.93, allocations: 203.9 kB / 1.302 GB, free: 21.62 MB / 0.592 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2435/3.174, allocations: 27.86 MB / 1.329 GB, free: 231.8 MB / 0.592 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.78e-05/3.174, allocations: 22.81 kB / 1.329 GB, free: 231.8 MB / 0.592 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.06714/3.241, allocations: 40.67 MB / 1.369 GB, free: 216.9 MB / 0.592 GB Notification: Performance of postOpt removeConstants (simulation): time 0.007881/3.249, allocations: 3.182 MB / 1.372 GB, free: 215.6 MB / 0.592 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004566/3.253, allocations: 238.9 kB / 1.373 GB, free: 215.5 MB / 0.592 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01006/3.263, allocations: 0.943 MB / 1.373 GB, free: 215.3 MB / 0.592 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002728/3.266, allocations: 0.7441 MB / 1.374 GB, free: 215.2 MB / 0.592 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00149/3.268, allocations: 258.9 kB / 1.374 GB, free: 215.1 MB / 0.592 GB Notification: Performance of sorting global known variables: time 0.0115/3.279, allocations: 6.903 MB / 1.381 GB, free: 212.7 MB / 0.592 GB Notification: Performance of sort global known variables: time 5.41e-07/3.279, allocations: 3.828 kB / 1.381 GB, free: 212.7 MB / 0.592 GB Notification: Performance of remove unused functions: time 0.01627/3.296, allocations: 3.619 MB / 1.385 GB, free: 212.4 MB / 0.592 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.002807/3.298, allocations: 471.7 kB / 1.385 GB, free: 212 MB / 0.592 GB Notification: Performance of simCode: created initialization part: time 0.1052/3.404, allocations: 49.8 MB / 1.434 GB, free: 167.7 MB / 0.592 GB Notification: Performance of simCode: created event and clocks part: time 1.688e-05/3.404, allocations: 4.438 kB / 1.434 GB, free: 167.7 MB / 0.592 GB Notification: Performance of simCode: created simulation system equations: time 0.01883/3.423, allocations: 12.32 MB / 1.446 GB, free: 156.4 MB / 0.592 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01792/3.44, allocations: 2.236 MB / 1.448 GB, free: 154.6 MB / 0.592 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06643/3.507, allocations: 44.45 MB / 1.491 GB, free: 111.5 MB / 0.592 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0146/3.522, allocations: 8.619 MB / 1.5 GB, free: 102.9 MB / 0.592 GB Notification: Performance of simCode: alias equations: time 0.01434/3.536, allocations: 3.258 MB / 1.503 GB, free: 99.6 MB / 0.592 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005849/3.542, allocations: 0.7376 MB / 1.504 GB, free: 98.87 MB / 0.592 GB Notification: Performance of SimCode: time 9.81e-07/3.542, allocations: 0 / 1.504 GB, free: 98.87 MB / 0.592 GB Notification: Performance of Templates: time 0.5101/4.052, allocations: 224 MB / 1.722 GB, free: 114.6 MB / 0.592 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