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.001101/0.0011, allocations: 113.6 kB / 17.69 MB, free: 5.309 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.001056/0.001056, allocations: 191 kB / 18.63 MB, free: 4.375 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.35/1.35, allocations: 222.9 MB / 242.3 MB, free: 15.18 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001066/0.001066, allocations: 39.69 kB / 302.1 MB, free: 5.148 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09167/0.09275, allocations: 49.45 MB / 351.5 MB, free: 3.68 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Systems.RobotR3.FullRobot): time 0.2184/0.3112, allocations: 60.48 MB / 412 MB, free: 5.188 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0362/0.3475, allocations: 15.94 MB / 427.9 MB, free: 7.727 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01397/0.3615, allocations: 370.8 kB / 428.3 MB, free: 7.363 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01952/0.3811, allocations: 8.528 MB / 436.8 MB, free: 14.8 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01726/0.3984, allocations: 5.506 MB / 442.3 MB, free: 9.258 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01078/0.4092, allocations: 5.135 MB / 447.5 MB, free: 4.117 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.03273/0.4419, allocations: 22.66 MB / 470.1 MB, free: 13.39 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.03451/0.4765, allocations: 23.67 MB / 493.8 MB, free: 5.562 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01345/0.49, allocations: 8.425 MB / 0.4905 GB, free: 13.11 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01486/0.5049, allocations: 9.94 MB / 0.5002 GB, free: 3.141 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.007171/0.5121, allocations: 2.496 MB / 0.5026 GB, free: 0.6445 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008101/0.5202, allocations: 3.077 MB / 0.5056 GB, free: 13.57 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.009524/0.5297, allocations: 7.486 MB / 0.5129 GB, free: 6.062 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01701/0.5468, allocations: 10.73 MB / 0.5234 GB, free: 11.29 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.3784/0.9252, allocations: 36.61 MB / 0.5591 GB, free: 68.83 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.083e-06/0.9253, allocations: 0.625 kB / 0.5591 GB, free: 68.83 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.034e-06/0.9253, allocations: 0 / 0.5591 GB, free: 68.83 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.00127/0.9265, allocations: 1.438 kB / 0.5591 GB, free: 68.83 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.06668/0.9932, allocations: 19.75 MB / 0.5784 GB, free: 59.44 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.611e-05/0.9933, allocations: 11.28 kB / 0.5784 GB, free: 59.44 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01616/1.009, allocations: 2.645 MB / 0.581 GB, free: 58.2 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02438/1.034, allocations: 11.9 MB / 0.5927 GB, free: 53.16 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001085/1.035, allocations: 1.223 MB / 0.5938 GB, free: 52.58 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006299/1.041, allocations: 1.55 MB / 0.5954 GB, free: 52.05 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05877/1.1, allocations: 27.09 MB / 0.6218 GB, free: 25.03 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0007846/1.101, allocations: 142 kB / 0.622 GB, free: 24.91 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00286/1.104, allocations: 0.634 MB / 0.6226 GB, free: 24.32 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004748/1.109, allocations: 3.112 MB / 0.6256 GB, free: 21.23 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04884/1.157, allocations: 23.34 MB / 0.6484 GB, free: 14.12 MB / 462.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.4003/1.558, allocations: 108.6 MB / 0.7544 GB, free: 149.5 MB / 0.5138 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02931/1.587, allocations: 14.65 MB / 0.7687 GB, free: 148.9 MB / 0.5138 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0131/1.6, allocations: 10.08 MB / 0.7786 GB, free: 146.4 MB / 0.5138 GB Notification: Performance of preOpt evalFunc (simulation): time 0.05817/1.658, allocations: 35.95 MB / 0.8137 GB, free: 122.5 MB / 0.5138 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.02493/1.683, allocations: 10.57 MB / 0.824 GB, free: 111.7 MB / 0.5138 GB Notification: Performance of pre-optimization done (n=769): time 1.028e-05/1.683, allocations: 0 / 0.824 GB, free: 111.7 MB / 0.5138 GB Notification: Performance of matching and sorting (n=939): time 0.5749/2.258, allocations: 127.3 MB / 0.9484 GB, free: 181.8 MB / 0.5138 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004035/2.259, allocations: 1.532 MB / 0.9499 GB, free: 180 MB / 0.5138 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01819/2.277, allocations: 10.49 MB / 0.9601 GB, free: 176.5 MB / 0.5138 GB Notification: Performance of collectPreVariables (initialization): time 0.003212/2.28, allocations: 228.1 kB / 0.9603 GB, free: 176.3 MB / 0.5138 GB Notification: Performance of collectInitialEqns (initialization): time 0.007979/2.288, allocations: 8.315 MB / 0.9684 GB, free: 171 MB / 0.5138 GB Notification: Performance of collectInitialBindings (initialization): time 0.004986/2.293, allocations: 3.258 MB / 0.9716 GB, free: 168.5 MB / 0.5138 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.005428/2.299, allocations: 2.593 MB / 0.9742 GB, free: 167.3 MB / 0.5138 GB Notification: Performance of setup shared object (initialization): time 4.18e-05/2.299, allocations: 304.6 kB / 0.9744 GB, free: 167 MB / 0.5138 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01364/2.312, allocations: 9.238 MB / 0.9835 GB, free: 163.3 MB / 0.5138 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01937/2.332, allocations: 13.78 MB / 0.9969 GB, free: 152.3 MB / 0.5138 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.03213/2.364, allocations: 23.18 MB / 1.02 GB, free: 129 MB / 0.5138 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000108/2.364, allocations: 36 kB / 1.02 GB, free: 129 MB / 0.5138 GB Notification: Performance of matching and sorting (n=1701) (initialization): time 0.04504/2.409, allocations: 24.56 MB / 1.044 GB, free: 106.1 MB / 0.5138 GB Notification: Performance of prepare postOptimizeDAE: time 8.022e-05/2.409, allocations: 60 kB / 1.044 GB, free: 106.1 MB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001173/2.409, allocations: 132 kB / 1.044 GB, free: 105.9 MB / 0.5138 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00177/2.411, allocations: 1.179 MB / 1.045 GB, free: 104.7 MB / 0.5138 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0172/2.428, allocations: 3.74 MB / 1.049 GB, free: 101 MB / 0.5138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01674/2.445, allocations: 29.02 MB / 1.077 GB, free: 69.45 MB / 0.5138 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01782/2.463, allocations: 1.236 MB / 1.078 GB, free: 68.21 MB / 0.5138 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003745/2.467, allocations: 0.5858 MB / 1.079 GB, free: 67.62 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 (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.01505/2.482, allocations: 5.228 MB / 1.084 GB, free: 62.37 MB / 0.5138 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.005337/2.487, allocations: 1.138 MB / 1.085 GB, free: 61.22 MB / 0.5138 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.05752/2.545, allocations: 27.18 MB / 1.111 GB, free: 33.96 MB / 0.5138 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.733e-05/2.545, allocations: 92 kB / 1.112 GB, free: 33.88 MB / 0.5138 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.571e-05/2.545, allocations: 4 kB / 1.112 GB, free: 33.87 MB / 0.5138 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002958/2.545, allocations: 47.83 kB / 1.112 GB, free: 33.82 MB / 0.5138 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.448/2.993, allocations: 58.57 MB / 1.169 GB, free: 163.7 MB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001034/2.993, allocations: 11.72 kB / 1.169 GB, free: 163.7 MB / 0.5138 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0076/3.001, allocations: 1.469 MB / 1.17 GB, free: 163.6 MB / 0.5138 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.03567/3.037, allocations: 13.64 MB / 1.184 GB, free: 160.5 MB / 0.5138 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.003239/3.04, allocations: 214.8 kB / 1.184 GB, free: 160.4 MB / 0.5138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02803/3.068, allocations: 27.85 MB / 1.211 GB, free: 137 MB / 0.5138 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.296e-05/3.068, allocations: 23.97 kB / 1.211 GB, free: 137 MB / 0.5138 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.07735/3.145, allocations: 40.68 MB / 1.251 GB, free: 99.68 MB / 0.5138 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01208/3.157, allocations: 3.18 MB / 1.254 GB, free: 97.07 MB / 0.5138 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.006645/3.164, allocations: 239.9 kB / 1.254 GB, free: 96.83 MB / 0.5138 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01285/3.177, allocations: 0.9517 MB / 1.255 GB, free: 95.9 MB / 0.5138 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003937/3.181, allocations: 0.7337 MB / 1.256 GB, free: 95.17 MB / 0.5138 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00323/3.184, allocations: 263.8 kB / 1.256 GB, free: 94.91 MB / 0.5138 GB Notification: Performance of sorting global known variables: time 0.01436/3.199, allocations: 6.91 MB / 1.263 GB, free: 88.05 MB / 0.5138 GB Notification: Performance of sort global known variables: time 3.91e-07/3.199, allocations: 1.781 kB / 1.263 GB, free: 88.05 MB / 0.5138 GB Notification: Performance of remove unused functions: time 0.0218/3.22, allocations: 3.609 MB / 1.266 GB, free: 84.45 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 (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.004688/3.225, allocations: 481.6 kB / 1.267 GB, free: 83.98 MB / 0.5138 GB Notification: Performance of simCode: created initialization part: time 0.03732/3.263, allocations: 23 MB / 1.289 GB, free: 60.82 MB / 0.5138 GB Notification: Performance of simCode: created event and clocks part: time 1.645e-05/3.263, allocations: 4.438 kB / 1.289 GB, free: 60.82 MB / 0.5138 GB Notification: Performance of simCode: created simulation system equations: time 0.0222/3.285, allocations: 12.33 MB / 1.301 GB, free: 48.41 MB / 0.5138 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02178/3.307, allocations: 2.22 MB / 1.303 GB, free: 46.21 MB / 0.5138 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3069/3.614, allocations: 36.71 MB / 1.339 GB, free: 158.4 MB / 0.5138 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02184/3.635, allocations: 8.627 MB / 1.348 GB, free: 157.4 MB / 0.5138 GB Notification: Performance of simCode: alias equations: time 0.01398/3.649, allocations: 3.25 MB / 1.351 GB, free: 157.3 MB / 0.5138 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006224/3.656, allocations: 0.7319 MB / 1.352 GB, free: 157.2 MB / 0.5138 GB Notification: Performance of SimCode: time 1.944e-06/3.656, allocations: 0 / 1.352 GB, free: 157.2 MB / 0.5138 GB Notification: Performance of Templates: time 0.5234/4.179, allocations: 211.2 MB / 1.558 GB, free: 154.8 MB / 0.5138 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 -s gbode -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Systems.RobotR3.FullRobot.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Systems.RobotR3.FullRobot_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/MultiBody/Examples/Systems/RobotR3/FullRobot/FullRobot.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Systems.RobotR3.FullRobot.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches