Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Systems.RobotR3.fullRobot.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/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|axis1.gear.bearingFriction.startBackward|axis1.gear.bearingFriction.startForward|axis2.gear.bearingFriction.mode|axis2.gear.bearingFriction.startBackward|axis2.gear.bearingFriction.startForward|axis3.gear.bearingFriction.mode|axis3.gear.bearingFriction.startBackward|axis3.gear.bearingFriction.startForward|axis4.gear.bearingFriction.mode|axis4.gear.bearingFriction.startBackward|axis4.gear.bearingFriction.startForward|axis5.gear.bearingFriction.mode|axis5.gear.bearingFriction.startBackward|axis5.gear.bearingFriction.startForward|axis6.gear.bearingFriction.mode|axis6.gear.bearingFriction.startBackward|axis6.gear.bearingFriction.startForward",fileNamePrefix="Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Systems.RobotR3.fullRobot") Notification: Performance of loadModel(Modelica): time 1.861/1.861, allocations: 194.9 MB / 211.7 MB, free: 2.996 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000329/0.000329, allocations: 8 kB / 264.6 MB, free: 12.91 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09086/0.0912, allocations: 44.51 MB / 309.1 MB, free: 344 kB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Systems.RobotR3.fullRobot): time 0.5229/0.6142, allocations: 135.4 MB / 444.5 MB, free: 1.254 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.09221/0.7064, allocations: 33.79 MB / 478.2 MB, free: 15.39 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.03165/0.7381, allocations: 0.7012 MB / 478.9 MB, free: 14.68 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.02557/0.7638, allocations: 6.491 MB / 485.4 MB, free: 8.16 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.06991/0.8337, allocations: 17.68 MB / 0.4913 GB, free: 6.438 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01725/0.851, allocations: 3.238 MB / 0.4945 GB, free: 3.195 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.03136/0.8824, allocations: 12.75 MB / 0.5069 GB, free: 6.418 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.04387/0.9263, allocations: 18.34 MB / 0.5248 GB, free: 3.949 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.674/1.6, allocations: 5.365 MB / 0.5301 GB, free: 20.25 MB / 426.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01449/1.615, allocations: 6.524 MB / 0.5365 GB, free: 20.25 MB / 426.8 MB Notification: Performance of NFPackage.collectConstants: time 0.006001/1.621, allocations: 0.7048 MB / 0.5371 GB, free: 20.25 MB / 426.8 MB Notification: Performance of NFFlatten.collectFunctions: time 0.009242/1.63, allocations: 1.203 MB / 0.5383 GB, free: 20.25 MB / 426.8 MB Notification: Performance of NFScalarize.scalarize: time 0.01062/1.641, allocations: 5.143 MB / 0.5433 GB, free: 20.25 MB / 426.8 MB Notification: Performance of NFVerifyModel.verify: time 0.008585/1.65, allocations: 3.59 MB / 0.5468 GB, free: 20.21 MB / 426.8 MB Notification: Performance of NFConvertDAE.convert: time 0.03801/1.688, allocations: 29.79 MB / 0.5759 GB, free: 7.742 MB / 426.8 MB Notification: Performance of FrontEnd - DAE generated: time 4.94e-06/1.688, allocations: 0 / 0.5759 GB, free: 7.742 MB / 426.8 MB Notification: Performance of FrontEnd: time 3.287e-06/1.688, allocations: 0 / 0.5759 GB, free: 7.742 MB / 426.8 MB Notification: Performance of Transformations before backend: time 0.001152/1.689, allocations: 3.406 kB / 0.5759 GB, free: 7.742 MB / 426.8 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4555 * Number of variables: 4555 Notification: Performance of Generate backend data structure: time 0.06361/1.752, allocations: 16.94 MB / 0.5925 GB, free: 14.55 MB / 442.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.734e-05/1.753, allocations: 6.438 kB / 0.5925 GB, free: 14.55 MB / 442.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02093/1.774, allocations: 2.774 MB / 0.5952 GB, free: 13.28 MB / 442.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04999/1.824, allocations: 13.76 MB / 0.6086 GB, free: 9.496 MB / 442.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001976/1.826, allocations: 1.234 MB / 0.6098 GB, free: 8.73 MB / 442.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.007795/1.833, allocations: 1.543 MB / 0.6113 GB, free: 7.699 MB / 442.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.09702/1.93, allocations: 27.46 MB / 0.6382 GB, free: 4.461 MB / 458.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.001392/1.932, allocations: 145.3 kB / 0.6383 GB, free: 4.359 MB / 458.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.006158/1.938, allocations: 0.6341 MB / 0.6389 GB, free: 4.207 MB / 458.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00717/1.945, allocations: 2.76 MB / 0.6416 GB, free: 1.973 MB / 458.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.1116/2.057, allocations: 23.66 MB / 0.6647 GB, free: 2.555 MB / 474.8 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.8365/2.894, allocations: 109.9 MB / 0.7721 GB, free: 145.5 MB / 0.5107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.05698/2.951, allocations: 15.08 MB / 0.7868 GB, free: 144.9 MB / 0.5107 GB Notification: Performance of preOpt evalFunc (simulation): time 0.1047/3.055, allocations: 36.24 MB / 0.8222 GB, free: 128.2 MB / 0.5107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.06178/3.117, allocations: 10.92 MB / 0.8329 GB, free: 122.7 MB / 0.5107 GB Notification: Performance of pre-optimization done (n=769): time 1.658e-05/3.117, allocations: 0 / 0.8329 GB, free: 122.7 MB / 0.5107 GB Notification: Performance of matching and sorting (n=933): time 1.034/4.151, allocations: 129 MB / 0.9588 GB, free: 187.3 MB / 0.5107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0005098/4.152, allocations: 1.523 MB / 0.9603 GB, free: 185.5 MB / 0.5107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.03167/4.183, allocations: 11.63 MB / 0.9716 GB, free: 185 MB / 0.5107 GB Notification: Performance of collectPreVariables (initialization): time 0.003503/4.187, allocations: 231.2 kB / 0.9719 GB, free: 185 MB / 0.5107 GB Notification: Performance of collectInitialEqns (initialization): time 0.009528/4.196, allocations: 8.355 MB / 0.98 GB, free: 181.1 MB / 0.5107 GB Notification: Performance of collectInitialBindings (initialization): time 0.005949/4.202, allocations: 3.235 MB / 0.9832 GB, free: 178.6 MB / 0.5107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002196/4.205, allocations: 259.2 kB / 0.9834 GB, free: 178.4 MB / 0.5107 GB Notification: Performance of setup shared object (initialization): time 0.0008171/4.206, allocations: 0.8145 MB / 0.9842 GB, free: 177.9 MB / 0.5107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02341/4.229, allocations: 8.941 MB / 0.993 GB, free: 174.2 MB / 0.5107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02827/4.257, allocations: 13.38 MB / 1.006 GB, free: 165 MB / 0.5107 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02968/4.287, allocations: 10.62 MB / 1.016 GB, free: 160.2 MB / 0.5107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001529/4.287, allocations: 41.41 kB / 1.016 GB, free: 160.2 MB / 0.5107 GB Notification: Performance of matching and sorting (n=1660) (initialization): time 0.09236/4.38, allocations: 23.87 MB / 1.04 GB, free: 150 MB / 0.5107 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001518/4.38, allocations: 66.64 kB / 1.04 GB, free: 150 MB / 0.5107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002426/4.38, allocations: 130.4 kB / 1.04 GB, free: 150 MB / 0.5107 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004265/4.384, allocations: 1.197 MB / 1.041 GB, free: 149.5 MB / 0.5107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.03181/4.416, allocations: 3.669 MB / 1.045 GB, free: 149.2 MB / 0.5107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02547/4.442, allocations: 27.08 MB / 1.071 GB, free: 121.8 MB / 0.5107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02329/4.465, allocations: 1.295 MB / 1.072 GB, free: 120.8 MB / 0.5107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004203/4.469, allocations: 0.5842 MB / 1.073 GB, free: 120.3 MB / 0.5107 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 590 * Number of states: 0 () * Number of discrete variables: 151 (axis6.gear.bearingFriction.free,axis5.gear.bearingFriction.free,axis4.gear.bearingFriction.free,axis3.gear.bearingFriction.free,axis2.gear.bearingFriction.free,axis1.gear.bearingFriction.free,$whenCondition1,pathPlanning.pathToAxis6.moving[6],pathPlanning.terminateSimulation.condition,$PRE.axis1.gear.bearingFriction.startForward,axis1.gear.bearingFriction.startForward,$PRE.axis1.gear.bearingFriction.startBackward,axis1.gear.bearingFriction.startBackward,axis1.gear.bearingFriction.locked,$PRE.axis1.gear.bearingFriction.mode,axis1.gear.bearingFriction.mode,$PRE.axis2.gear.bearingFriction.startForward,axis2.gear.bearingFriction.startForward,$PRE.axis2.gear.bearingFriction.startBackward,axis2.gear.bearingFriction.startBackward,axis2.gear.bearingFriction.locked,$PRE.axis2.gear.bearingFriction.mode,axis2.gear.bearingFriction.mode,$PRE.axis3.gear.bearingFriction.startForward,axis3.gear.bearingFriction.startForward,$PRE.axis3.gear.bearingFriction.startBackward,axis3.gear.bearingFriction.startBackward,axis3.gear.bearingFriction.locked,$PRE.axis3.gear.bearingFriction.mode,axis3.gear.bearingFriction.mode,$PRE.axis4.gear.bearingFriction.startForward,axis4.gear.bearingFriction.startForward,$PRE.axis4.gear.bearingFriction.startBackward,axis4.gear.bearingFriction.startBackward,axis4.gear.bearingFriction.locked,$PRE.axis4.gear.bearingFriction.mode,axis4.gear.bearingFriction.mode,$PRE.axis5.gear.bearingFriction.startForward,axis5.gear.bearingFriction.startForward,$PRE.axis5.gear.bearingFriction.startBackward,axis5.gear.bearingFriction.startBackward,axis5.gear.bearingFriction.locked,$PRE.axis5.gear.bearingFriction.mode,axis5.gear.bearingFriction.mode,$PRE.axis6.gear.bearingFriction.startForward,axis6.gear.bearingFriction.startForward,$PRE.axis6.gear.bearingFriction.startBackward,axis6.gear.bearingFriction.startBackward,axis6.gear.bearingFriction.locked,$PRE.axis6.gear.bearingFriction.mode,axis6.gear.bearingFriction.mode,pathPlanning.path.noWphase,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.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 (1618): * Single equations (assignments): 1600 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 18 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 12 {(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 6 {1 3,1 3,1 3,1 3,1 3,1 3} Notification: Performance of prepare postOptimizeDAE: time 0.01865/4.488, allocations: 5.224 MB / 1.078 GB, free: 115.5 MB / 0.5107 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.005383/4.493, allocations: 1.15 MB / 1.079 GB, free: 114.3 MB / 0.5107 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.08843/4.582, allocations: 26.52 MB / 1.105 GB, free: 89.16 MB / 0.5107 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002843/4.582, allocations: 43.83 kB / 1.105 GB, free: 89.12 MB / 0.5107 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.973e-05/4.582, allocations: 0 / 1.105 GB, free: 89.12 MB / 0.5107 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01219/4.594, allocations: 3.203 MB / 1.108 GB, free: 85.89 MB / 0.5107 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.005792/4.6, allocations: 228 kB / 1.108 GB, free: 85.66 MB / 0.5107 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01761/4.618, allocations: 1.05 MB / 1.11 GB, free: 84.61 MB / 0.5107 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.004242/4.622, allocations: 0.752 MB / 1.11 GB, free: 83.86 MB / 0.5107 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.103/4.725, allocations: 28.12 MB / 1.138 GB, free: 55.87 MB / 0.5107 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.08051/4.806, allocations: 30.72 MB / 1.168 GB, free: 25.08 MB / 0.5107 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.02036/4.826, allocations: 9.135 MB / 1.177 GB, free: 15.93 MB / 0.5107 GB Notification: Performance of sorting global known variables: time 0.01736/4.844, allocations: 7.761 MB / 1.184 GB, free: 8.227 MB / 0.5107 GB Notification: Performance of Backend: time 1.202e-06/4.844, allocations: 0 / 1.184 GB, free: 8.227 MB / 0.5107 GB Notification: Performance of simCode: created initialization part: time 0.3746/5.218, allocations: 14.77 MB / 1.199 GB, free: 182.3 MB / 0.5107 GB Notification: Performance of SimCode: time 0.08913/5.307, allocations: 38.6 MB / 1.236 GB, free: 164.3 MB / 0.5107 GB Notification: Performance of Templates: time 0.8919/6.199, allocations: 227.5 MB / 1.459 GB, free: 160.5 MB / 0.5107 GB