Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Systems.RobotR3.FullRobot.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Mechanics.MultiBody.Examples.Systems.RobotR3.FullRobot,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|axis1.controller.PI.x|axis1.gear.spring.phi_rel|axis1.gear.spring.w_rel|axis1.motor.C.v|axis1.motor.La.i|axis2.controller.PI.x|axis2.gear.spring.phi_rel|axis2.gear.spring.w_rel|axis2.motor.C.v|axis2.motor.La.i|axis3.controller.PI.x|axis3.gear.spring.phi_rel|axis3.gear.spring.w_rel|axis3.motor.C.v|axis3.motor.La.i|axis4.controller.PI.x|axis4.motor.C.v|axis4.motor.La.i|axis5.controller.PI.x|axis5.motor.C.v|axis5.motor.La.i|axis6.controller.PI.x|axis6.motor.C.v|axis6.motor.La.i|mechanics.b2.body.w_a.1.|mechanics.r1.phi|mechanics.r1.w|mechanics.r2.phi|mechanics.r3.phi|mechanics.r3.w|mechanics.r4.phi|mechanics.r4.w|mechanics.r5.phi|mechanics.r5.w|mechanics.r6.phi|mechanics.r6.w|axis1.gear.bearingFriction.mode|axis2.gear.bearingFriction.mode|axis3.gear.bearingFriction.mode|axis4.gear.bearingFriction.mode|axis5.gear.bearingFriction.mode|axis6.gear.bearingFriction.mode",fileNamePrefix="Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Systems.RobotR3.FullRobot") translateModel(Modelica.Mechanics.MultiBody.Examples.Systems.RobotR3.FullRobot,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|axis1.controller.PI.x|axis1.gear.spring.phi_rel|axis1.gear.spring.w_rel|axis1.motor.C.v|axis1.motor.La.i|axis2.controller.PI.x|axis2.gear.spring.phi_rel|axis2.gear.spring.w_rel|axis2.motor.C.v|axis2.motor.La.i|axis3.controller.PI.x|axis3.gear.spring.phi_rel|axis3.gear.spring.w_rel|axis3.motor.C.v|axis3.motor.La.i|axis4.controller.PI.x|axis4.motor.C.v|axis4.motor.La.i|axis5.controller.PI.x|axis5.motor.C.v|axis5.motor.La.i|axis6.controller.PI.x|axis6.motor.C.v|axis6.motor.La.i|mechanics.b2.body.w_a.1.|mechanics.r1.phi|mechanics.r1.w|mechanics.r2.phi|mechanics.r3.phi|mechanics.r3.w|mechanics.r4.phi|mechanics.r4.w|mechanics.r5.phi|mechanics.r5.w|mechanics.r6.phi|mechanics.r6.w|axis1.gear.bearingFriction.mode|axis2.gear.bearingFriction.mode|axis3.gear.bearingFriction.mode|axis4.gear.bearingFriction.mode|axis5.gear.bearingFriction.mode|axis6.gear.bearingFriction.mode",fileNamePrefix="Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Systems.RobotR3.FullRobot") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001223/0.001223, allocations: 95.2 kB / 16.3 MB, free: 5.996 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.001602/0.001602, allocations: 184.1 kB / 17.2 MB, free: 5.914 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.286/1.286, allocations: 223.2 MB / 241.1 MB, free: 5.453 MB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002612/0.0002612, allocations: 7.219 kB / 300.7 MB, free: 6.41 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09428/0.09455, allocations: 50.43 MB / 351.2 MB, free: 11.87 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Systems.RobotR3.FullRobot): time 0.3089/0.4035, allocations: 139.4 MB / 490.6 MB, free: 10.43 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.07314/0.4767, allocations: 34.85 MB / 0.5131 GB, free: 9.016 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.02787/0.5047, allocations: 0.7323 MB / 0.5138 GB, free: 8.281 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02571/0.5304, allocations: 6.599 MB / 0.5203 GB, free: 1.648 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.05697/0.5874, allocations: 18.36 MB / 0.5382 GB, free: 15.25 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01296/0.6004, allocations: 3.23 MB / 0.5413 GB, free: 12.01 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.02502/0.6255, allocations: 12.6 MB / 0.5537 GB, free: 15.39 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02966/0.6552, allocations: 18.34 MB / 0.5716 GB, free: 12.92 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01178/0.667, allocations: 5.321 MB / 0.5768 GB, free: 7.578 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.011/0.678, allocations: 6.483 MB / 0.5831 GB, free: 1.07 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.004301/0.6824, allocations: 0.7031 MB / 0.5838 GB, free: 376 kB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00571/0.6881, allocations: 1.159 MB / 0.5849 GB, free: 15.21 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00732/0.6954, allocations: 5.103 MB / 0.5899 GB, free: 10.09 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005651/0.7011, allocations: 3.586 MB / 0.5934 GB, free: 6.488 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.4715/1.173, allocations: 29.66 MB / 0.6224 GB, free: 31.11 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.989e-06/1.173, allocations: 1.469 kB / 0.6224 GB, free: 31.11 MB / 478.1 MB Notification: Performance of FrontEnd: time 3.336e-06/1.173, allocations: 0 / 0.6224 GB, free: 31.11 MB / 478.1 MB Notification: Performance of Transformations before backend: time 0.001321/1.174, allocations: 0 / 0.6224 GB, free: 31.11 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.05033/1.224, allocations: 16.58 MB / 0.6385 GB, free: 22.12 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.061e-05/1.224, allocations: 8.688 kB / 0.6386 GB, free: 22.12 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01475/1.239, allocations: 2.761 MB / 0.6413 GB, free: 20.86 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02755/1.267, allocations: 12.3 MB / 0.6533 GB, free: 17.38 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001472/1.268, allocations: 1.237 MB / 0.6545 GB, free: 17.23 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.007171/1.275, allocations: 1.546 MB / 0.656 GB, free: 17.18 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.07458/1.35, allocations: 27.3 MB / 0.6826 GB, free: 8.285 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.001615/1.352, allocations: 143.4 kB / 0.6828 GB, free: 8.184 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.007805/1.36, allocations: 0.6324 MB / 0.6834 GB, free: 8.031 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005986/1.366, allocations: 3.11 MB / 0.6864 GB, free: 5.457 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05767/1.423, allocations: 23.66 MB / 0.7095 GB, free: 6.035 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.4388/1.862, allocations: 109.9 MB / 0.8168 GB, free: 185.5 MB / 0.5607 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03281/1.895, allocations: 15.06 MB / 0.8316 GB, free: 184.9 MB / 0.5607 GB Notification: Performance of preOpt evalFunc (simulation): time 0.06916/1.964, allocations: 36.17 MB / 0.8669 GB, free: 172.9 MB / 0.5607 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.02897/1.993, allocations: 10.91 MB / 0.8775 GB, free: 169.4 MB / 0.5607 GB Notification: Performance of pre-optimization done (n=769): time 1.642e-05/1.993, allocations: 2 kB / 0.8775 GB, free: 169.4 MB / 0.5607 GB Notification: Performance of matching and sorting (n=939): time 0.3469/2.34, allocations: 131.2 MB / 1.006 GB, free: 42.89 MB / 0.5607 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002751/2.34, allocations: 1.519 MB / 1.007 GB, free: 41.02 MB / 0.5607 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01464/2.355, allocations: 11.52 MB / 1.018 GB, free: 29.56 MB / 0.5607 GB Notification: Performance of collectPreVariables (initialization): time 0.003188/2.358, allocations: 233.2 kB / 1.019 GB, free: 29.33 MB / 0.5607 GB Notification: Performance of collectInitialEqns (initialization): time 0.00611/2.364, allocations: 8.342 MB / 1.027 GB, free: 21.01 MB / 0.5607 GB Notification: Performance of collectInitialBindings (initialization): time 0.004604/2.369, allocations: 3.252 MB / 1.03 GB, free: 17.79 MB / 0.5607 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001704/2.371, allocations: 260 kB / 1.03 GB, free: 17.53 MB / 0.5607 GB Notification: Performance of setup shared object (initialization): time 0.0005361/2.371, allocations: 0.8202 MB / 1.031 GB, free: 16.7 MB / 0.5607 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01271/2.384, allocations: 9.103 MB / 1.04 GB, free: 7.59 MB / 0.5607 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.2471/2.631, allocations: 13.56 MB / 1.053 GB, free: 213 MB / 0.5607 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01977/2.651, allocations: 10.8 MB / 1.064 GB, free: 211.1 MB / 0.5607 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002866/2.651, allocations: 35.75 kB / 1.064 GB, free: 211.1 MB / 0.5607 GB Notification: Performance of matching and sorting (n=1669) (initialization): time 0.05502/2.706, allocations: 24.24 MB / 1.087 GB, free: 201.3 MB / 0.5607 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004218/2.707, allocations: 59.47 kB / 1.087 GB, free: 201.3 MB / 0.5607 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003551/2.707, allocations: 133.2 kB / 1.088 GB, free: 201.3 MB / 0.5607 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002297/2.709, allocations: 1.194 MB / 1.089 GB, free: 200.8 MB / 0.5607 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01772/2.727, allocations: 3.686 MB / 1.092 GB, free: 200.5 MB / 0.5607 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01773/2.745, allocations: 27.09 MB / 1.119 GB, free: 174.8 MB / 0.5607 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01736/2.762, allocations: 1.296 MB / 1.12 GB, free: 174.6 MB / 0.5607 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003835/2.766, allocations: 0.5862 MB / 1.121 GB, free: 174.5 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,$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.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 (1627): * Single equations (assignments): 1609 * 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.01709/2.783, allocations: 5.222 MB / 1.126 GB, free: 171.8 MB / 0.5607 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.006114/2.789, allocations: 1.149 MB / 1.127 GB, free: 171.8 MB / 0.5607 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.06556/2.855, allocations: 27.21 MB / 1.153 GB, free: 150.4 MB / 0.5607 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.458e-05/2.855, allocations: 88 kB / 1.153 GB, free: 150.3 MB / 0.5607 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.717e-05/2.855, allocations: 11.95 kB / 1.154 GB, free: 150.3 MB / 0.5607 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002898/2.856, allocations: 45 kB / 1.154 GB, free: 150.3 MB / 0.5607 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1263/2.982, allocations: 59.44 MB / 1.212 GB, free: 94.46 MB / 0.5607 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001381/2.982, allocations: 12 kB / 1.212 GB, free: 94.45 MB / 0.5607 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.008087/2.99, allocations: 1.491 MB / 1.213 GB, free: 92.96 MB / 0.5607 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.03711/3.027, allocations: 13.64 MB / 1.226 GB, free: 79.28 MB / 0.5607 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002989/3.03, allocations: 203.9 kB / 1.227 GB, free: 79.08 MB / 0.5607 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02562/3.056, allocations: 27.29 MB / 1.253 GB, free: 51 MB / 0.5607 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.207e-05/3.056, allocations: 27.39 kB / 1.253 GB, free: 50.97 MB / 0.5607 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.06977/3.126, allocations: 44.08 MB / 1.296 GB, free: 6.715 MB / 0.5607 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01018/3.136, allocations: 3.222 MB / 1.299 GB, free: 3.461 MB / 0.5607 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004296/3.14, allocations: 240 kB / 1.3 GB, free: 3.227 MB / 0.5607 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01101/3.151, allocations: 1.065 MB / 1.301 GB, free: 2.16 MB / 0.5607 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002679/3.154, allocations: 0.7827 MB / 1.301 GB, free: 1.375 MB / 0.5607 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00107/3.155, allocations: 255.9 kB / 1.302 GB, free: 1.125 MB / 0.5607 GB Notification: Performance of sorting global known variables: time 0.234/3.389, allocations: 7.683 MB / 1.309 GB, free: 204.9 MB / 0.5607 GB Notification: Performance of sort global known variables: time 6.91e-07/3.389, allocations: 0 / 1.309 GB, free: 204.9 MB / 0.5607 GB Notification: Performance of remove unused functions: time 0.01842/3.408, allocations: 3.621 MB / 1.313 GB, free: 204.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 (linear and non-linear blocks): 0 * Torn equation systems: 10 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 6 {(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: 4 {9 189,1 6,1 6,1 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.002966/3.411, allocations: 498.1 kB / 1.313 GB, free: 204.8 MB / 0.5607 GB Notification: Performance of simCode: created initialization part: time 0.03493/3.445, allocations: 22.76 MB / 1.335 GB, free: 196.2 MB / 0.5607 GB Notification: Performance of simCode: created event and clocks part: time 1.836e-05/3.446, allocations: 7.438 kB / 1.335 GB, free: 196.2 MB / 0.5607 GB Notification: Performance of simCode: created simulation system equations: time 0.02054/3.466, allocations: 12.32 MB / 1.348 GB, free: 190.5 MB / 0.5607 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01468/3.481, allocations: 1.977 MB / 1.349 GB, free: 189.9 MB / 0.5607 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07038/3.551, allocations: 43.06 MB / 1.391 GB, free: 156.6 MB / 0.5607 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01395/3.565, allocations: 8.935 MB / 1.4 GB, free: 150.3 MB / 0.5607 GB Notification: Performance of simCode: alias equations: time 0.0143/3.58, allocations: 3.283 MB / 1.403 GB, free: 147.9 MB / 0.5607 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006525/3.586, allocations: 0.7424 MB / 1.404 GB, free: 147.2 MB / 0.5607 GB Notification: Performance of SimCode: time 9.12e-07/3.586, allocations: 0 / 1.404 GB, free: 147.2 MB / 0.5607 GB Notification: Performance of Templates: time 0.5134/4.1, allocations: 206.8 MB / 1.606 GB, free: 149 MB / 0.5607 GB make -j1 -f Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Systems.RobotR3.FullRobot.makefile (rm -f Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Systems.RobotR3.FullRobot.pipe ; mkfifo Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Systems.RobotR3.FullRobot.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Systems.RobotR3.FullRobot.pipe >> ../files/Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Systems.RobotR3.FullRobot.sim & ./Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Systems.RobotR3.FullRobot -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Systems.RobotR3.FullRobot.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Systems.RobotR3.FullRobot_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/MultiBody/Examples/Systems/RobotR3/FullRobot/FullRobot.csv","../files/Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Systems.RobotR3.FullRobot.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches