Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_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_3.2.3_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.001086/0.001087, allocations: 105.5 kB / 17.73 MB, free: 5.367 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.0009688/0.0009688, allocations: 184.1 kB / 18.66 MB, free: 4.445 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.481/1.481, allocations: 205.1 MB / 224.5 MB, free: 12.25 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001132/0.001132, allocations: 51.92 kB / 328.6 MB, free: 3.27 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.102/0.1031, allocations: 46.61 MB / 375.2 MB, free: 4.543 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Systems.RobotR3.fullRobot): time 0.2868/0.3899, allocations: 60.39 MB / 435.6 MB, free: 2.742 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.04265/0.4327, allocations: 15.96 MB / 451.5 MB, free: 2.953 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01765/0.4504, allocations: 370.8 kB / 451.9 MB, free: 2.59 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01958/0.47, allocations: 8.534 MB / 460.4 MB, free: 10.02 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.02649/0.4966, allocations: 5.529 MB / 466 MB, free: 4.461 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01496/0.5116, allocations: 5.151 MB / 471.1 MB, free: 15.3 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.03474/0.5463, allocations: 22.75 MB / 493.9 MB, free: 8.492 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.04514/0.5915, allocations: 23.7 MB / 0.5054 GB, free: 0.6289 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01951/0.6111, allocations: 8.464 MB / 0.5137 GB, free: 8.141 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01637/0.6275, allocations: 9.99 MB / 0.5235 GB, free: 14.12 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.007672/0.6352, allocations: 2.5 MB / 0.5259 GB, free: 11.62 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01341/0.6487, allocations: 3.093 MB / 0.5289 GB, free: 8.523 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.01933/0.668, allocations: 7.623 MB / 0.5364 GB, free: 0.8828 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.02917/0.6973, allocations: 10.75 MB / 0.5469 GB, free: 6.082 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.4937/1.191, allocations: 36.75 MB / 0.5827 GB, free: 66.79 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.022e-05/1.191, allocations: 0 / 0.5827 GB, free: 66.79 MB / 478.1 MB Notification: Performance of FrontEnd: time 3.757e-06/1.191, allocations: 0.8438 kB / 0.5827 GB, free: 66.79 MB / 478.1 MB Notification: Performance of Transformations before backend: time 0.001889/1.193, allocations: 0 / 0.5827 GB, free: 66.79 MB / 478.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.06817/1.261, allocations: 19.8 MB / 0.6021 GB, free: 57.38 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.105e-05/1.261, allocations: 11.56 kB / 0.6021 GB, free: 57.38 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01633/1.278, allocations: 2.649 MB / 0.6047 GB, free: 56.13 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02725/1.305, allocations: 12.35 MB / 0.6167 GB, free: 50.83 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001006/1.306, allocations: 1.229 MB / 0.6179 GB, free: 50.24 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005827/1.312, allocations: 1.543 MB / 0.6194 GB, free: 49.71 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06465/1.377, allocations: 27.08 MB / 0.6459 GB, free: 22.63 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0008123/1.377, allocations: 144 kB / 0.646 GB, free: 22.51 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003724/1.381, allocations: 0.6303 MB / 0.6466 GB, free: 21.92 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00505/1.386, allocations: 3.105 MB / 0.6497 GB, free: 18.84 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.06083/1.447, allocations: 23.35 MB / 0.6725 GB, free: 11.73 MB / 494.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.4461/1.893, allocations: 108.6 MB / 0.7786 GB, free: 168.4 MB / 0.5607 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03345/1.927, allocations: 14.66 MB / 0.7929 GB, free: 167.9 MB / 0.5607 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01365/1.94, allocations: 10.08 MB / 0.8027 GB, free: 166.6 MB / 0.5607 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0726/2.013, allocations: 35.98 MB / 0.8379 GB, free: 144.5 MB / 0.5607 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.03076/2.044, allocations: 10.56 MB / 0.8482 GB, free: 134 MB / 0.5607 GB Notification: Performance of pre-optimization done (n=769): time 1.873e-05/2.044, allocations: 0 / 0.8482 GB, free: 134 MB / 0.5607 GB Notification: Performance of matching and sorting (n=939): time 0.3891/2.433, allocations: 127.6 MB / 0.9727 GB, free: 7.762 MB / 0.5607 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003977/2.433, allocations: 1.526 MB / 0.9742 GB, free: 5.895 MB / 0.5607 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.3328/2.766, allocations: 10.58 MB / 0.9846 GB, free: 203.6 MB / 0.5607 GB Notification: Performance of collectPreVariables (initialization): time 0.004285/2.771, allocations: 228.4 kB / 0.9848 GB, free: 203.5 MB / 0.5607 GB Notification: Performance of collectInitialEqns (initialization): time 0.01254/2.783, allocations: 8.317 MB / 0.9929 GB, free: 201.5 MB / 0.5607 GB Notification: Performance of collectInitialBindings (initialization): time 0.006636/2.79, allocations: 3.256 MB / 0.9961 GB, free: 199 MB / 0.5607 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.01111/2.801, allocations: 2.597 MB / 0.9986 GB, free: 197.8 MB / 0.5607 GB Notification: Performance of setup shared object (initialization): time 6.34e-05/2.801, allocations: 305.1 kB / 0.9989 GB, free: 197.5 MB / 0.5607 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01733/2.818, allocations: 9.244 MB / 1.008 GB, free: 193.7 MB / 0.5607 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0204/2.839, allocations: 13.78 MB / 1.021 GB, free: 184.4 MB / 0.5607 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.03344/2.872, allocations: 23.18 MB / 1.044 GB, free: 166.7 MB / 0.5607 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001402/2.873, allocations: 36 kB / 1.044 GB, free: 166.6 MB / 0.5607 GB Notification: Performance of matching and sorting (n=1701) (initialization): time 0.0467/2.919, allocations: 24.56 MB / 1.068 GB, free: 144.3 MB / 0.5607 GB Notification: Performance of prepare postOptimizeDAE: time 9.495e-05/2.919, allocations: 64 kB / 1.068 GB, free: 144.2 MB / 0.5607 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001372/2.92, allocations: 132.2 kB / 1.068 GB, free: 144.1 MB / 0.5607 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001992/2.922, allocations: 1.178 MB / 1.069 GB, free: 143 MB / 0.5607 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0177/2.939, allocations: 3.737 MB / 1.073 GB, free: 140.1 MB / 0.5607 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01671/2.956, allocations: 29.02 MB / 1.101 GB, free: 109.4 MB / 0.5607 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01629/2.972, allocations: 1.228 MB / 1.103 GB, free: 108.5 MB / 0.5607 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002742/2.975, allocations: 0.5911 MB / 1.103 GB, free: 108 MB / 0.5607 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.01315/2.988, allocations: 5.24 MB / 1.108 GB, free: 103.2 MB / 0.5607 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003684/2.992, allocations: 1.146 MB / 1.109 GB, free: 102 MB / 0.5607 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04593/3.038, allocations: 27.2 MB / 1.136 GB, free: 75.12 MB / 0.5607 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.264e-05/3.038, allocations: 95.72 kB / 1.136 GB, free: 75.03 MB / 0.5607 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.891e-05/3.038, allocations: 8 kB / 1.136 GB, free: 75.02 MB / 0.5607 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002267/3.038, allocations: 43.83 kB / 1.136 GB, free: 74.98 MB / 0.5607 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1121/3.15, allocations: 58.6 MB / 1.193 GB, free: 16.16 MB / 0.5607 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001204/3.151, allocations: 12 kB / 1.193 GB, free: 16.15 MB / 0.5607 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.008296/3.159, allocations: 1.475 MB / 1.195 GB, free: 14.68 MB / 0.5607 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.3853/3.544, allocations: 13.63 MB / 1.208 GB, free: 182.6 MB / 0.5607 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00483/3.549, allocations: 212.6 kB / 1.208 GB, free: 182.6 MB / 0.5607 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03731/3.586, allocations: 27.87 MB / 1.235 GB, free: 170.1 MB / 0.5607 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.67e-05/3.587, allocations: 19.5 kB / 1.236 GB, free: 170.1 MB / 0.5607 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.07891/3.665, allocations: 40.68 MB / 1.275 GB, free: 152.2 MB / 0.5607 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0119/3.677, allocations: 3.191 MB / 1.278 GB, free: 149.9 MB / 0.5607 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.009176/3.687, allocations: 243.8 kB / 1.279 GB, free: 149.7 MB / 0.5607 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01642/3.703, allocations: 0.9468 MB / 1.28 GB, free: 149.1 MB / 0.5607 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.005076/3.708, allocations: 0.7441 MB / 1.28 GB, free: 148.6 MB / 0.5607 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.003707/3.712, allocations: 251 kB / 1.28 GB, free: 148.4 MB / 0.5607 GB Notification: Performance of sorting global known variables: time 0.01766/3.73, allocations: 6.985 MB / 1.287 GB, free: 142.6 MB / 0.5607 GB Notification: Performance of sort global known variables: time 3.3e-07/3.73, allocations: 3.938 kB / 1.287 GB, free: 142.6 MB / 0.5607 GB Notification: Performance of remove unused functions: time 0.02785/3.758, allocations: 3.623 MB / 1.291 GB, free: 138.9 MB / 0.5607 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.005478/3.763, allocations: 471 kB / 1.291 GB, free: 138.5 MB / 0.5607 GB Notification: Performance of simCode: created initialization part: time 0.04076/3.804, allocations: 23.01 MB / 1.314 GB, free: 117.6 MB / 0.5607 GB Notification: Performance of simCode: created event and clocks part: time 2.676e-05/3.804, allocations: 11.17 kB / 1.314 GB, free: 117.6 MB / 0.5607 GB Notification: Performance of simCode: created simulation system equations: time 0.0236/3.828, allocations: 12.31 MB / 1.326 GB, free: 106 MB / 0.5607 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02548/3.853, allocations: 2.246 MB / 1.328 GB, free: 103.9 MB / 0.5607 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.095/3.948, allocations: 36.87 MB / 1.364 GB, free: 67.04 MB / 0.5607 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02223/3.97, allocations: 8.671 MB / 1.372 GB, free: 58.33 MB / 0.5607 GB Notification: Performance of simCode: alias equations: time 0.01513/3.986, allocations: 3.254 MB / 1.376 GB, free: 55.07 MB / 0.5607 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006641/3.992, allocations: 0.7415 MB / 1.376 GB, free: 54.33 MB / 0.5607 GB Notification: Performance of SimCode: time 1.282e-06/3.992, allocations: 3.938 kB / 1.376 GB, free: 54.32 MB / 0.5607 GB Notification: Performance of Templates: time 0.6923/4.685, allocations: 216.1 MB / 1.587 GB, free: 40.22 MB / 0.5607 GB make -j1 -f Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Systems.RobotR3.fullRobot.makefile (rm -f Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Systems.RobotR3.fullRobot.pipe ; mkfifo Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Systems.RobotR3.fullRobot.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Systems.RobotR3.fullRobot.pipe >> ../files/Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Systems.RobotR3.fullRobot.sim & ./Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Systems.RobotR3.fullRobot -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Systems.RobotR3.fullRobot.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Systems.RobotR3.fullRobot_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/MultiBody/Examples/Systems/RobotR3/fullRobot/fullRobot.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Systems.RobotR3.fullRobot.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches