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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008969/0.0008969, allocations: 85.05 kB / 21.5 MB, free: 2.992 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009653/0.0009653, allocations: 145.7 kB / 24.89 MB, free: 8.727 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.965/0.965, allocations: 173.4 MB / 201.5 MB, free: 8.758 MB / 186.7 MB " [Timeout remaining time 179] 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=4737,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.[0-9,]+.|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=4737,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.[0-9,]+.|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") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.132e-06/1.132e-06, allocations: 0 / 268.5 MB, free: 5.945 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.1e-05/1.213e-05, allocations: 2.312 kB / 268.6 MB, free: 5.941 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Systems.RobotR3.FullRobot): time 0.1431/0.1431, allocations: 56.46 MB / 325 MB, free: 15.63 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0305/0.1736, allocations: 16.65 MB / 341.7 MB, free: 15.34 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.009644/0.1833, allocations: 433.7 kB / 342.1 MB, free: 14.91 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01037/0.1936, allocations: 8.923 MB / 351 MB, free: 5.953 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01238/0.206, allocations: 5.903 MB / 356.9 MB, free: 8 kB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.008237/0.2142, allocations: 5.542 MB / 362.5 MB, free: 10.46 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.02473/0.239, allocations: 25.54 MB / 388 MB, free: 0.8594 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02769/0.2667, allocations: 22.18 MB / 410.2 MB, free: 10.45 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01934/0.286, allocations: 13.48 MB / 423.7 MB, free: 12.95 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0115/0.2975, allocations: 9.785 MB / 433.4 MB, free: 3.145 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.004679/0.3022, allocations: 2.547 MB / 436 MB, free: 0.5977 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.2368/0.539, allocations: 3.186 MB / 439.2 MB, free: 54.43 MB / 378.8 MB Notification: Performance of NFScalarize.scalarize: time 0.008383/0.5474, allocations: 8.098 MB / 447.3 MB, free: 54.43 MB / 378.8 MB Notification: Performance of NFVerifyModel.verify: time 0.01366/0.5611, allocations: 7.248 MB / 454.5 MB, free: 54.43 MB / 378.8 MB Notification: Performance of NFConvertDAE.convert: time 0.02058/0.5816, allocations: 18.41 MB / 472.9 MB, free: 52.07 MB / 378.8 MB Notification: Performance of FrontEnd - DAE generated: time 6.893e-06/0.5816, allocations: 0 / 472.9 MB, free: 52.07 MB / 378.8 MB Notification: Performance of FrontEnd: time 1.332e-06/0.5816, allocations: 2.734 kB / 472.9 MB, free: 52.07 MB / 378.8 MB Notification: Performance of Transformations before backend: time 0.0007796/0.5824, allocations: 0 / 472.9 MB, free: 52.07 MB / 378.8 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.02681/0.6092, allocations: 19.05 MB / 492 MB, free: 42.53 MB / 378.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.524e-05/0.6093, allocations: 8.797 kB / 492 MB, free: 42.53 MB / 378.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007064/0.6163, allocations: 2.925 MB / 494.9 MB, free: 42.02 MB / 378.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01241/0.6287, allocations: 8.005 MB / 0.4911 GB, free: 36.35 MB / 378.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007371/0.6295, allocations: 1.44 MB / 0.4925 GB, free: 34.89 MB / 378.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002947/0.6324, allocations: 1.563 MB / 0.4941 GB, free: 33.4 MB / 378.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02338/0.6558, allocations: 15.11 MB / 0.5088 GB, free: 18.27 MB / 378.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006332/0.6564, allocations: 143.8 kB / 0.509 GB, free: 18.18 MB / 378.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002111/0.6585, allocations: 0.6259 MB / 0.5096 GB, free: 17.59 MB / 378.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001801/0.6603, allocations: 2.548 MB / 0.5121 GB, free: 15.06 MB / 378.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01926/0.6796, allocations: 6.745 MB / 0.5186 GB, free: 8.602 MB / 378.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.1026/0.7822, allocations: 73.97 MB / 0.5909 GB, free: 24 kB / 442.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.1265/0.9087, allocations: 7.417 MB / 0.5981 GB, free: 157.4 MB / 442.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00367/0.9124, allocations: 1.915 MB / 0.6 GB, free: 157.2 MB / 442.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03119/0.9436, allocations: 15.85 MB / 0.6155 GB, free: 154.7 MB / 442.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01414/0.9577, allocations: 6.479 MB / 0.6218 GB, free: 152.3 MB / 442.8 MB Notification: Performance of pre-optimization done (n=676): time 1.293e-05/0.9577, allocations: 0 / 0.6218 GB, free: 152.3 MB / 442.8 MB Notification: Performance of matching and sorting (n=778): time 0.101/1.059, allocations: 41.53 MB / 0.6624 GB, free: 123.6 MB / 442.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001925/1.059, allocations: 1.51 MB / 0.6638 GB, free: 121.7 MB / 442.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005908/1.065, allocations: 7.922 MB / 0.6716 GB, free: 115.6 MB / 442.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0004674/1.065, allocations: 201.7 kB / 0.6718 GB, free: 115.4 MB / 442.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.002978/1.068, allocations: 7.201 MB / 0.6788 GB, free: 108.8 MB / 442.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.001456/1.07, allocations: 2.833 MB / 0.6816 GB, free: 106.1 MB / 442.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002148/1.072, allocations: 2.316 MB / 0.6838 GB, free: 103.8 MB / 442.8 MB Notification: Performance of setup shared object (initialization): time 2.886e-05/1.072, allocations: 304.9 kB / 0.6841 GB, free: 103.5 MB / 442.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003144/1.075, allocations: 2.084 MB / 0.6862 GB, free: 101.4 MB / 442.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004146/1.079, allocations: 8.033 MB / 0.694 GB, free: 90.92 MB / 442.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005977/1.085, allocations: 9.299 MB / 0.7031 GB, free: 79.72 MB / 442.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.641e-05/1.085, allocations: 40 kB / 0.7031 GB, free: 79.68 MB / 442.8 MB Notification: Performance of matching and sorting (n=1619) (initialization): time 0.00946/1.095, allocations: 8.255 MB / 0.7112 GB, free: 71.32 MB / 442.8 MB Notification: Performance of prepare postOptimizeDAE: time 5.477e-05/1.095, allocations: 68 kB / 0.7112 GB, free: 71.26 MB / 442.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.19e-05/1.095, allocations: 148 kB / 0.7114 GB, free: 71.11 MB / 442.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001033/1.096, allocations: 0.9871 MB / 0.7123 GB, free: 70.07 MB / 442.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006396/1.102, allocations: 3.18 MB / 0.7155 GB, free: 66.89 MB / 442.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00668/1.109, allocations: 23.05 MB / 0.738 GB, free: 42.28 MB / 442.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007149/1.116, allocations: 0.7812 MB / 0.7387 GB, free: 41.5 MB / 442.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007482/1.117, allocations: 468 kB / 0.7392 GB, free: 41.04 MB / 442.8 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 672 * Number of states: 0 () * Number of discrete variables: 160 (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],pathPlanning.pathToAxis5.moving[5],pathPlanning.pathToAxis4.moving[4],pathPlanning.pathToAxis3.moving[3],pathPlanning.pathToAxis2.moving[2],pathPlanning.pathToAxis1.moving[1],pathPlanning.path.motion_ref,$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 (1577): * Single equations (assignments): 1559 * 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.003492/1.12, allocations: 1.107 MB / 0.7403 GB, free: 39.91 MB / 442.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001484/1.122, allocations: 0.8624 MB / 0.7411 GB, free: 39.05 MB / 442.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01168/1.133, allocations: 7.467 MB / 0.7484 GB, free: 31.5 MB / 442.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.268e-05/1.133, allocations: 76 kB / 0.7485 GB, free: 31.42 MB / 442.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.313e-05/1.133, allocations: 4 kB / 0.7485 GB, free: 31.42 MB / 442.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.267e-05/1.134, allocations: 39.86 kB / 0.7485 GB, free: 31.38 MB / 442.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02501/1.159, allocations: 19.11 MB / 0.7672 GB, free: 11.84 MB / 442.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-05/1.159, allocations: 12 kB / 0.7672 GB, free: 11.83 MB / 442.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00264/1.161, allocations: 1.293 MB / 0.7684 GB, free: 10.54 MB / 442.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.009473/1.171, allocations: 4.474 MB / 0.7728 GB, free: 6.031 MB / 442.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004089/1.171, allocations: 175.9 kB / 0.773 GB, free: 5.859 MB / 442.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1402/1.311, allocations: 11.25 MB / 0.784 GB, free: 128.7 MB / 442.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.15e-05/1.311, allocations: 21.06 kB / 0.784 GB, free: 128.7 MB / 442.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02232/1.334, allocations: 9.356 MB / 0.7931 GB, free: 127.2 MB / 442.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.005131/1.339, allocations: 1.747 MB / 0.7948 GB, free: 127.2 MB / 442.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002937/1.342, allocations: 209 kB / 0.795 GB, free: 127.2 MB / 442.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006865/1.349, allocations: 476.3 kB / 0.7955 GB, free: 127.2 MB / 442.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003048/1.352, allocations: 0.6543 MB / 0.7961 GB, free: 127.2 MB / 442.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001029/1.353, allocations: 160.3 kB / 0.7963 GB, free: 127.2 MB / 442.8 MB Notification: Performance of sorting global known variables: time 0.006445/1.359, allocations: 3.673 MB / 0.7999 GB, free: 126.9 MB / 442.8 MB Notification: Performance of sort global known variables: time 1.71e-07/1.359, allocations: 0 / 0.7999 GB, free: 126.9 MB / 442.8 MB Notification: Performance of remove unused functions: time 0.0128/1.372, allocations: 3.583 MB / 0.8034 GB, free: 126.9 MB / 442.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 50 * 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: 33 (pathPlanning.terminateSimulation.condition,$whenCondition1,pathPlanning.path.motion_ref,pathPlanning.pathToAxis1.moving[1],pathPlanning.pathToAxis2.moving[2],pathPlanning.pathToAxis3.moving[3],pathPlanning.pathToAxis4.moving[4],pathPlanning.pathToAxis5.moving[5],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,axis6.gear.bearingFriction.mode,axis6.gear.bearingFriction.startForward,axis6.gear.bearingFriction.startBackward,axis4.gear.bearingFriction.mode,axis4.gear.bearingFriction.startForward,axis4.gear.bearingFriction.startBackward,axis5.gear.bearingFriction.mode,axis5.gear.bearingFriction.startForward,axis5.gear.bearingFriction.startBackward) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (607): * Single equations (assignments): 597 * 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 {(8,140), (1,6), (1,6), (1,6)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001859/1.374, allocations: 455.7 kB / 0.8038 GB, free: 126.8 MB / 442.8 MB Notification: Performance of simCode: created initialization part: time 0.01112/1.385, allocations: 7.985 MB / 0.8116 GB, free: 124.5 MB / 442.8 MB Notification: Performance of simCode: created event and clocks part: time 0.0004038/1.385, allocations: 166.3 kB / 0.8117 GB, free: 124.5 MB / 442.8 MB Notification: Performance of simCode: created simulation system equations: time 0.004884/1.39, allocations: 3.175 MB / 0.8149 GB, free: 123.6 MB / 442.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01284/1.403, allocations: 2.469 MB / 0.8173 GB, free: 123.3 MB / 442.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04168/1.445, allocations: 26.86 MB / 0.8435 GB, free: 107.2 MB / 442.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004482/1.449, allocations: 3.445 MB / 0.8469 GB, free: 104.8 MB / 442.8 MB Notification: Performance of simCode: alias equations: time 0.005065/1.454, allocations: 1.294 MB / 0.8481 GB, free: 103.8 MB / 442.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005487/1.46, allocations: 2.051 MB / 0.8501 GB, free: 102 MB / 442.8 MB Notification: Performance of SimCode: time 1.623e-06/1.46, allocations: 0 / 0.8501 GB, free: 102 MB / 442.8 MB Notification: Performance of Templates: time 0.2973/1.757, allocations: 178.8 MB / 1.025 GB, free: 82.37 MB / 442.8 MB " [Timeout remaining time 658] make -j1 -f Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Systems.RobotR3.FullRobot.makefile [Timeout 660] (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=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Systems.RobotR3.FullRobot.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 7.790148097090423]