Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Systems.RobotR3.fullRobot.conf.json Using package ModelicaServices with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/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.1_Modelica.Mechanics.MultiBody.Examples.Systems.RobotR3.fullRobot") Notification: Performance of loadModel(Modelica): time 1.576/1.576, allocations: 171.1 MB / 186.7 MB, free: 1.141 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003369/0.0003371, allocations: 8 kB / 233.9 MB, free: 2.375 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07805/0.07841, allocations: 38.76 MB / 272.6 MB, free: 11.53 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Systems.RobotR3.fullRobot): time 0.4596/0.538, allocations: 135.2 MB / 407.9 MB, free: 7.168 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.4515/0.9895, allocations: 33.71 MB / 441.6 MB, free: 92 kB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.03085/1.02, allocations: 0.7028 MB / 442.3 MB, free: 92 kB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.02996/1.05, allocations: 6.896 MB / 449.2 MB, free: 0 / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.06616/1.117, allocations: 17.67 MB / 466.8 MB, free: 11.88 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0165/1.133, allocations: 3.226 MB / 470.1 MB, free: 11.03 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.02896/1.162, allocations: 12.69 MB / 482.8 MB, free: 9.258 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.03918/1.201, allocations: 18.3 MB / 0.4893 GB, free: 176 kB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.014/1.215, allocations: 5.34 MB / 0.4945 GB, free: 13.03 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01475/1.23, allocations: 6.484 MB / 0.5009 GB, free: 9.047 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.004893/1.235, allocations: 0.7031 MB / 0.5015 GB, free: 8.344 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008647/1.244, allocations: 1.24 MB / 0.5028 GB, free: 7.23 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.009688/1.254, allocations: 5.127 MB / 0.5078 GB, free: 3.309 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.008115/1.262, allocations: 3.589 MB / 0.5113 GB, free: 1.34 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.04434/1.306, allocations: 29.68 MB / 0.5402 GB, free: 7.496 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.797e-06/1.306, allocations: 8 kB / 0.5403 GB, free: 7.488 MB / 410.7 MB Notification: Performance of FrontEnd: time 3.306e-06/1.306, allocations: 0 / 0.5403 GB, free: 7.488 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0009648/1.307, allocations: 0 / 0.5403 GB, free: 7.488 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4543 * Number of variables: 4543 Notification: Performance of Generate backend data structure: time 0.06427/1.372, allocations: 16.92 MB / 0.5568 GB, free: 8.012 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.201e-05/1.372, allocations: 8.031 kB / 0.5568 GB, free: 8.004 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01936/1.391, allocations: 2.774 MB / 0.5595 GB, free: 5.277 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03605/1.427, allocations: 13.73 MB / 0.5729 GB, free: 12.28 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001705/1.429, allocations: 1.225 MB / 0.5741 GB, free: 11.52 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006937/1.436, allocations: 1.54 MB / 0.5756 GB, free: 10.49 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.5559/1.992, allocations: 27.37 MB / 0.6023 GB, free: 163.7 MB / 442.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.001146/1.993, allocations: 145.2 kB / 0.6025 GB, free: 163.7 MB / 442.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005152/1.998, allocations: 0.6324 MB / 0.6031 GB, free: 163.2 MB / 442.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005946/2.004, allocations: 2.756 MB / 0.6058 GB, free: 162.7 MB / 442.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.07572/2.08, allocations: 23.52 MB / 0.6287 GB, free: 150.8 MB / 442.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.2218/2.302, allocations: 109.9 MB / 0.7361 GB, free: 42.99 MB / 442.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.053/2.355, allocations: 15.03 MB / 0.7508 GB, free: 27.89 MB / 442.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.5716/2.926, allocations: 36.08 MB / 0.786 GB, free: 148 MB / 442.9 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.04677/2.973, allocations: 10.87 MB / 0.7966 GB, free: 146 MB / 442.9 MB Notification: Performance of pre-optimization done (n=769): time 1.459e-05/2.973, allocations: 0 / 0.7966 GB, free: 146 MB / 442.9 MB Notification: Performance of matching and sorting (n=933): time 0.5951/3.568, allocations: 128.6 MB / 0.9222 GB, free: 47.62 MB / 442.9 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003612/3.569, allocations: 1.519 MB / 0.9237 GB, free: 45.76 MB / 442.9 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02482/3.594, allocations: 11.63 MB / 0.9351 GB, free: 34.2 MB / 442.9 MB Notification: Performance of collectPreVariables (initialization): time 0.003171/3.597, allocations: 229.7 kB / 0.9353 GB, free: 33.97 MB / 442.9 MB Notification: Performance of collectInitialEqns (initialization): time 0.3187/3.916, allocations: 8.336 MB / 0.9434 GB, free: 145.6 MB / 442.9 MB Notification: Performance of collectInitialBindings (initialization): time 0.006355/3.922, allocations: 3.234 MB / 0.9466 GB, free: 144.9 MB / 442.9 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002257/3.924, allocations: 258.4 kB / 0.9468 GB, free: 144.9 MB / 442.9 MB Notification: Performance of setup shared object (initialization): time 0.0009243/3.925, allocations: 0.8182 MB / 0.9476 GB, free: 144.5 MB / 442.9 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02514/3.95, allocations: 8.886 MB / 0.9563 GB, free: 144.4 MB / 442.9 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02734/3.978, allocations: 13.33 MB / 0.9693 GB, free: 135.2 MB / 442.9 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.03644/4.014, allocations: 10.57 MB / 0.9797 GB, free: 130.5 MB / 442.9 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000161/4.014, allocations: 39.16 kB / 0.9797 GB, free: 130.5 MB / 442.9 MB Notification: Performance of matching and sorting (n=1660) (initialization): time 0.08819/4.103, allocations: 23.77 MB / 1.003 GB, free: 120.3 MB / 442.9 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001159/4.103, allocations: 62.55 kB / 1.003 GB, free: 120.3 MB / 442.9 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001863/4.103, allocations: 131.5 kB / 1.003 GB, free: 120.3 MB / 442.9 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003429/4.106, allocations: 1.185 MB / 1.004 GB, free: 119.8 MB / 442.9 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.03131/4.138, allocations: 3.672 MB / 1.008 GB, free: 119.5 MB / 442.9 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02519/4.163, allocations: 27.07 MB / 1.034 GB, free: 91.41 MB / 442.9 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02265/4.186, allocations: 1.291 MB / 1.036 GB, free: 90.47 MB / 442.9 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00393/4.19, allocations: 0.5812 MB / 1.036 GB, free: 89.92 MB / 442.9 MB 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.01907/4.209, allocations: 5.226 MB / 1.041 GB, free: 85.13 MB / 442.9 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.007699/4.217, allocations: 1.148 MB / 1.042 GB, free: 83.97 MB / 442.9 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.127/4.344, allocations: 26.51 MB / 1.068 GB, free: 59.21 MB / 442.9 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002988/4.344, allocations: 43.83 kB / 1.068 GB, free: 59.17 MB / 442.9 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.862e-05/4.344, allocations: 4 kB / 1.068 GB, free: 59.16 MB / 442.9 MB Notification: Performance of postOpt removeConstants (simulation): time 0.01655/4.361, allocations: 3.173 MB / 1.071 GB, free: 55.96 MB / 442.9 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.008496/4.369, allocations: 230 kB / 1.072 GB, free: 55.73 MB / 442.9 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01789/4.387, allocations: 1.046 MB / 1.073 GB, free: 54.69 MB / 442.9 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.004564/4.392, allocations: 0.7481 MB / 1.073 GB, free: 53.94 MB / 442.9 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.1049/4.497, allocations: 27.99 MB / 1.101 GB, free: 26.08 MB / 442.9 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.3543/4.851, allocations: 30.56 MB / 1.131 GB, free: 125.3 MB / 442.9 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.04943/4.9, allocations: 9.096 MB / 1.139 GB, free: 121.4 MB / 442.9 MB Notification: Performance of sorting global known variables: time 0.03648/4.937, allocations: 7.758 MB / 1.147 GB, free: 118.7 MB / 442.9 MB Notification: Performance of Backend: time 1.163e-06/4.937, allocations: 0 / 1.147 GB, free: 118.7 MB / 442.9 MB Notification: Performance of simCode: created initialization part: time 0.04087/4.978, allocations: 14.7 MB / 1.161 GB, free: 111.6 MB / 442.9 MB Notification: Performance of SimCode: time 0.08855/5.066, allocations: 38.55 MB / 1.199 GB, free: 90.86 MB / 442.9 MB Notification: Performance of Templates: time 0.8348/5.901, allocations: 225.9 MB / 1.42 GB, free: 12.51 MB / 442.9 MB