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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.00182/0.00182, allocations: 101.8 kB / 21.93 MB, free: 5.195 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001938/0.001938, allocations: 203.2 kB / 25.22 MB, free: 3.145 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.695/1.695, allocations: 207.7 MB / 236.1 MB, free: 9.762 MB / 190.1 MB " [Timeout remaining time 178] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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.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=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.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") [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.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.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001979/0.001979, allocations: 55.92 kB / 348.5 MB, free: 9.324 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3944/0.3964, allocations: 49.15 MB / 397.6 MB, free: 9.391 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Systems.RobotR3.fullRobot): time 0.06448/0.4609, allocations: 51.03 MB / 448.7 MB, free: 15.96 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.04778/0.5087, allocations: 15.79 MB / 464.5 MB, free: 140 kB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01856/0.5272, allocations: 437.7 kB / 464.9 MB, free: 15.7 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02378/0.551, allocations: 8.344 MB / 473.2 MB, free: 7.328 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.02493/0.5759, allocations: 5.736 MB / 479 MB, free: 1.559 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01394/0.5899, allocations: 5.178 MB / 484.1 MB, free: 12.38 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.04094/0.6308, allocations: 22.72 MB / 0.495 GB, free: 5.582 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.04059/0.6714, allocations: 19.96 MB / 0.5145 GB, free: 1.449 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.02181/0.6932, allocations: 8.55 MB / 0.5228 GB, free: 8.875 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.02061/0.7138, allocations: 9.372 MB / 0.532 GB, free: 15.47 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.009254/0.7231, allocations: 2.504 MB / 0.5344 GB, free: 12.96 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01177/0.7349, allocations: 3.081 MB / 0.5374 GB, free: 9.883 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0137/0.7486, allocations: 7.738 MB / 0.545 GB, free: 2.125 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.02283/0.7714, allocations: 8.44 MB / 0.5532 GB, free: 9.645 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.5406/1.312, allocations: 37.15 MB / 0.5895 GB, free: 62.72 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.378e-05/1.312, allocations: 0.9688 kB / 0.5895 GB, free: 62.72 MB / 478.1 MB Notification: Performance of FrontEnd: time 3.967e-06/1.312, allocations: 0 / 0.5895 GB, free: 62.72 MB / 478.1 MB Notification: Performance of Transformations before backend: time 0.002117/1.314, allocations: 0 / 0.5895 GB, free: 62.72 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.08702/1.401, allocations: 20.26 MB / 0.6093 GB, free: 52.87 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.255e-05/1.401, allocations: 13.25 kB / 0.6093 GB, free: 52.87 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01746/1.419, allocations: 2.764 MB / 0.612 GB, free: 51.53 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03351/1.452, allocations: 12.3 MB / 0.624 GB, free: 47 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001833/1.454, allocations: 1.435 MB / 0.6254 GB, free: 46.16 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.009471/1.464, allocations: 1.552 MB / 0.6269 GB, free: 45.63 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.07871/1.542, allocations: 28.34 MB / 0.6546 GB, free: 19.86 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.001373/1.544, allocations: 144.6 kB / 0.6548 GB, free: 19.75 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.008022/1.552, allocations: 0.6328 MB / 0.6554 GB, free: 19.15 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005857/1.557, allocations: 3.107 MB / 0.6584 GB, free: 16.07 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.06262/1.62, allocations: 23.33 MB / 0.6812 GB, free: 8.965 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.5282/2.148, allocations: 96.5 MB / 0.7754 GB, free: 162.9 MB / 0.5607 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03094/2.179, allocations: 14.19 MB / 0.7893 GB, free: 162.3 MB / 0.5607 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0137/2.193, allocations: 9.583 MB / 0.7987 GB, free: 161.3 MB / 0.5607 GB Notification: Performance of preOpt evalFunc (simulation): time 0.06506/2.258, allocations: 33.11 MB / 0.831 GB, free: 141.2 MB / 0.5607 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.02749/2.285, allocations: 11.83 MB / 0.8425 GB, free: 130.8 MB / 0.5607 GB Notification: Performance of pre-optimization done (n=775): time 1.501e-05/2.285, allocations: 0 / 0.8425 GB, free: 130.8 MB / 0.5607 GB Notification: Performance of matching and sorting (n=946): time 0.4144/2.7, allocations: 132.1 MB / 0.9715 GB, free: 1.039 MB / 0.5607 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0006938/2.7, allocations: 1.53 MB / 0.973 GB, free: 15.17 MB / 0.5763 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.03008/2.731, allocations: 10.05 MB / 0.9828 GB, free: 5.141 MB / 0.5763 GB Notification: Performance of collectPreVariables (initialization): time 0.004204/2.735, allocations: 229.7 kB / 0.9831 GB, free: 4.91 MB / 0.5763 GB Notification: Performance of collectInitialEqns (initialization): time 0.3308/3.066, allocations: 8.594 MB / 0.9914 GB, free: 211.7 MB / 0.5763 GB Notification: Performance of collectInitialBindings (initialization): time 0.006484/3.072, allocations: 3.425 MB / 0.9948 GB, free: 210 MB / 0.5763 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.01232/3.084, allocations: 2.623 MB / 0.9974 GB, free: 209.9 MB / 0.5763 GB Notification: Performance of setup shared object (initialization): time 5.918e-05/3.084, allocations: 301.1 kB / 0.9976 GB, free: 209.6 MB / 0.5763 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01674/3.101, allocations: 9.258 MB / 1.007 GB, free: 208.5 MB / 0.5763 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02244/3.124, allocations: 15.01 MB / 1.021 GB, free: 197.6 MB / 0.5763 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.03709/3.161, allocations: 23.19 MB / 1.044 GB, free: 180.5 MB / 0.5763 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002816/3.161, allocations: 36 kB / 1.044 GB, free: 180.4 MB / 0.5763 GB Notification: Performance of matching and sorting (n=1708) (initialization): time 0.05635/3.217, allocations: 24.56 MB / 1.068 GB, free: 158.2 MB / 0.5763 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001506/3.218, allocations: 64.25 kB / 1.068 GB, free: 158.2 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000255/3.218, allocations: 128 kB / 1.068 GB, free: 158 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002384/3.22, allocations: 1.169 MB / 1.069 GB, free: 156.9 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01831/3.238, allocations: 3.751 MB / 1.073 GB, free: 154 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01637/3.255, allocations: 26.61 MB / 1.099 GB, free: 126.3 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01817/3.273, allocations: 1.244 MB / 1.1 GB, free: 125.4 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004775/3.278, allocations: 0.592 MB / 1.101 GB, free: 124.9 MB / 0.5763 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 593 * 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 (1666): * Single equations (assignments): 1648 * 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.01549/3.293, allocations: 5.252 MB / 1.106 GB, free: 120 MB / 0.5763 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004098/3.297, allocations: 1.129 MB / 1.107 GB, free: 118.9 MB / 0.5763 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0568/3.354, allocations: 26.01 MB / 1.132 GB, free: 93.58 MB / 0.5763 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.603e-05/3.354, allocations: 96 kB / 1.132 GB, free: 93.49 MB / 0.5763 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.769e-05/3.354, allocations: 5.125 kB / 1.132 GB, free: 93.48 MB / 0.5763 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002751/3.355, allocations: 47.83 kB / 1.133 GB, free: 93.44 MB / 0.5763 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1115/3.466, allocations: 53.05 MB / 1.184 GB, free: 40.27 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001031/3.466, allocations: 12 kB / 1.184 GB, free: 40.26 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.007839/3.474, allocations: 1.477 MB / 1.186 GB, free: 38.79 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.03687/3.511, allocations: 13.51 MB / 1.199 GB, free: 25.23 MB / 0.5763 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.003538/3.514, allocations: 211.9 kB / 1.199 GB, free: 25.03 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.3484/3.863, allocations: 27.12 MB / 1.226 GB, free: 190.9 MB / 0.5763 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.037e-05/3.863, allocations: 19.28 kB / 1.226 GB, free: 190.9 MB / 0.5763 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.07216/3.935, allocations: 38.41 MB / 1.263 GB, free: 179.2 MB / 0.5763 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01318/3.948, allocations: 3.09 MB / 1.266 GB, free: 178.1 MB / 0.5763 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.007099/3.955, allocations: 246.9 kB / 1.266 GB, free: 177.9 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01397/3.969, allocations: 0.9548 MB / 1.267 GB, free: 177.8 MB / 0.5763 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.004879/3.974, allocations: 0.786 MB / 1.268 GB, free: 177.7 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.003175/3.977, allocations: 258.5 kB / 1.268 GB, free: 177.6 MB / 0.5763 GB Notification: Performance of sorting global known variables: time 0.01748/3.995, allocations: 6.449 MB / 1.275 GB, free: 175.3 MB / 0.5763 GB Notification: Performance of sort global known variables: time 2.11e-07/3.995, allocations: 0 / 1.275 GB, free: 175.3 MB / 0.5763 GB Notification: Performance of remove unused functions: time 0.0263/4.021, allocations: 3.618 MB / 1.278 GB, free: 172.2 MB / 0.5763 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: 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,axis5.gear.bearingFriction.mode,axis5.gear.bearingFriction.startForward,axis5.gear.bearingFriction.startBackward,axis4.gear.bearingFriction.mode,axis4.gear.bearingFriction.startForward,axis4.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 (731): * Single equations (assignments): 721 * 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 {(6,192), (1,6), (1,6), (1,6)} Notification: Performance of Backend phase and start with SimCode phase: time 0.004399/4.025, allocations: 485.7 kB / 1.279 GB, free: 171.7 MB / 0.5763 GB Notification: Performance of simCode: created initialization part: time 0.04375/4.069, allocations: 22.02 MB / 1.3 GB, free: 151.9 MB / 0.5763 GB Notification: Performance of simCode: created event and clocks part: time 2.707e-05/4.069, allocations: 4.438 kB / 1.3 GB, free: 151.9 MB / 0.5763 GB Notification: Performance of simCode: created simulation system equations: time 0.02381/4.093, allocations: 11.23 MB / 1.311 GB, free: 141.7 MB / 0.5763 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02438/4.117, allocations: 2.013 MB / 1.313 GB, free: 140 MB / 0.5763 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.08973/4.207, allocations: 38.54 MB / 1.351 GB, free: 102.4 MB / 0.5763 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02225/4.229, allocations: 8.289 MB / 1.359 GB, free: 94.07 MB / 0.5763 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.008753/4.238, allocations: 0.7766 MB / 1.36 GB, free: 93.3 MB / 0.5763 GB Notification: Performance of SimCode: time 2.885e-06/4.238, allocations: 0 / 1.36 GB, free: 93.3 MB / 0.5763 GB Notification: Performance of Templates: time 3.262/7.5, allocations: 1.248 GB / 2.608 GB, free: 121.6 MB / 0.5919 GB " [Timeout remaining time 652] make -j1 -f Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Systems.RobotR3.fullRobot.makefile [Timeout 660] make -j1 -f Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Systems.RobotR3.fullRobot.makefile clang++ -std=c++17 -fopenmp=libomp -Winvalid-pch -O2 -g -DNDEBUG -fPIC -std=c++11 -DBOOST_ALL_DYN_LINK -DOMC_BUILD -DUSE_THREAD -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/" -I. -I"." -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/include/omc/sundials" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppModelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Systems.RobotR3.fullRobotCalcHelperMain.o OMCppModelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Systems.RobotR3.fullRobotCalcHelperMain.cpp In file included from OMCppModelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Systems.RobotR3.fullRobotCalcHelperMain.cpp:29: ./OMCppModelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Systems.RobotR3.fullRobotInitialize.cpp:221:82: error: use of undeclared identifier 'mechanics_P_b0_P_body_P_Q_start_' SystemDefaultImplementation::setRealStartValue(_mechanics_P_b0_P_body_P_Q_(1),mechanics_P_b0_P_body_P_Q_start_(1)); ^ ./OMCppModelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Systems.RobotR3.fullRobotInitialize.cpp:222:82: error: use of undeclared identifier 'mechanics_P_b0_P_body_P_Q_start_' SystemDefaultImplementation::setRealStartValue(_mechanics_P_b0_P_body_P_Q_(2),mechanics_P_b0_P_body_P_Q_start_(2)); ^ ./OMCppModelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Systems.RobotR3.fullRobotInitialize.cpp:223:82: error: use of undeclared identifier 'mechanics_P_b0_P_body_P_Q_start_' SystemDefaultImplementation::setRealStartValue(_mechanics_P_b0_P_body_P_Q_(3),mechanics_P_b0_P_body_P_Q_start_(3)); ^ ./OMCppModelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Systems.RobotR3.fullRobotInitialize.cpp:224:82: error: use of undeclared identifier 'mechanics_P_b0_P_body_P_Q_start_' SystemDefaultImplementation::setRealStartValue(_mechanics_P_b0_P_body_P_Q_(4),mechanics_P_b0_P_body_P_Q_start_(4)); ^ ./OMCppModelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Systems.RobotR3.fullRobotInitialize.cpp:231:82: error: use of undeclared identifier 'mechanics_P_b1_P_body_P_Q_start_' SystemDefaultImplementation::setRealStartValue(_mechanics_P_b1_P_body_P_Q_(1),mechanics_P_b1_P_body_P_Q_start_(1)); ^ ./OMCppModelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Systems.RobotR3.fullRobotInitialize.cpp:232:82: error: use of undeclared identifier 'mechanics_P_b1_P_body_P_Q_start_' SystemDefaultImplementation::setRealStartValue(_mechanics_P_b1_P_body_P_Q_(2),mechanics_P_b1_P_body_P_Q_start_(2)); ^ ./OMCppModelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Systems.RobotR3.fullRobotInitialize.cpp:233:82: error: use of undeclared identifier 'mechanics_P_b1_P_body_P_Q_start_' SystemDefaultImplementation::setRealStartValue(_mechanics_P_b1_P_body_P_Q_(3),mechanics_P_b1_P_body_P_Q_start_(3)); ^ ./OMCppModelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Systems.RobotR3.fullRobotInitialize.cpp:234:82: error: use of undeclared identifier 'mechanics_P_b1_P_body_P_Q_start_' SystemDefaultImplementation::setRealStartValue(_mechanics_P_b1_P_body_P_Q_(4),mechanics_P_b1_P_body_P_Q_start_(4)); ^ ./OMCppModelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Systems.RobotR3.fullRobotInitialize.cpp:244:82: error: use of undeclared identifier 'mechanics_P_b2_P_body_P_Q_start_' SystemDefaultImplementation::setRealStartValue(_mechanics_P_b2_P_body_P_Q_(1),mechanics_P_b2_P_body_P_Q_start_(1)); ^ ./OMCppModelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Systems.RobotR3.fullRobotInitialize.cpp:245:82: error: use of undeclared identifier 'mechanics_P_b2_P_body_P_Q_start_' SystemDefaultImplementation::setRealStartValue(_mechanics_P_b2_P_body_P_Q_(2),mechanics_P_b2_P_body_P_Q_start_(2)); ^ ./OMCppModelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Systems.RobotR3.fullRobotInitialize.cpp:246:82: error: use of undeclared identifier 'mechanics_P_b2_P_body_P_Q_start_' SystemDefaultImplementation::setRealStartValue(_mechanics_P_b2_P_body_P_Q_(3),mechanics_P_b2_P_body_P_Q_start_(3)); ^ ./OMCppModelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Systems.RobotR3.fullRobotInitialize.cpp:247:82: error: use of undeclared identifier 'mechanics_P_b2_P_body_P_Q_start_' SystemDefaultImplementation::setRealStartValue(_mechanics_P_b2_P_body_P_Q_(4),mechanics_P_b2_P_body_P_Q_start_(4)); ^ ./OMCppModelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Systems.RobotR3.fullRobotInitialize.cpp:257:82: error: use of undeclared identifier 'mechanics_P_b3_P_body_P_Q_start_' SystemDefaultImplementation::setRealStartValue(_mechanics_P_b3_P_body_P_Q_(1),mechanics_P_b3_P_body_P_Q_start_(1)); ^ ./OMCppModelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Systems.RobotR3.fullRobotInitialize.cpp:258:82: error: use of undeclared identifier 'mechanics_P_b3_P_body_P_Q_start_' SystemDefaultImplementation::setRealStartValue(_mechanics_P_b3_P_body_P_Q_(2),mechanics_P_b3_P_body_P_Q_start_(2)); ^ ./OMCppModelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Systems.RobotR3.fullRobotInitialize.cpp:259:82: error: use of undeclared identifier 'mechanics_P_b3_P_body_P_Q_start_' SystemDefaultImplementation::setRealStartValue(_mechanics_P_b3_P_body_P_Q_(3),mechanics_P_b3_P_body_P_Q_start_(3)); ^ ./OMCppModelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Systems.RobotR3.fullRobotInitialize.cpp:260:82: error: use of undeclared identifier 'mechanics_P_b3_P_body_P_Q_start_' SystemDefaultImplementation::setRealStartValue(_mechanics_P_b3_P_body_P_Q_(4),mechanics_P_b3_P_body_P_Q_start_(4)); ^ ./OMCppModelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Systems.RobotR3.fullRobotInitialize.cpp:270:82: error: use of undeclared identifier 'mechanics_P_b4_P_body_P_Q_start_' SystemDefaultImplementation::setRealStartValue(_mechanics_P_b4_P_body_P_Q_(1),mechanics_P_b4_P_body_P_Q_start_(1)); ^ ./OMCppModelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Systems.RobotR3.fullRobotInitialize.cpp:271:82: error: use of undeclared identifier 'mechanics_P_b4_P_body_P_Q_start_' SystemDefaultImplementation::setRealStartValue(_mechanics_P_b4_P_body_P_Q_(2),mechanics_P_b4_P_body_P_Q_start_(2)); ^ ./OMCppModelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Systems.RobotR3.fullRobotInitialize.cpp:272:82: error: use of undeclared identifier 'mechanics_P_b4_P_body_P_Q_start_' SystemDefaultImplementation::setRealStartValue(_mechanics_P_b4_P_body_P_Q_(3),mechanics_P_b4_P_body_P_Q_start_(3)); ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] 20 errors generated. make: *** [: OMCppModelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Systems.RobotR3.fullRobotCalcHelperMain.o] Error 1 [Calling os._exit(0), Time elapsed: 12.459221999160945] Failed to read output from testmodel.py, exit status != 0: ['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'] 7.512307241093367 7.520431708 6.205509013 Calling exit ...