Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Systems.RobotR3.FullRobot.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001878/0.001878, allocations: 99.97 kB / 21.18 MB, free: 0.6562 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00228/0.00228, allocations: 191.4 kB / 24.46 MB, free: 3.973 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.5/1.5, allocations: 225.7 MB / 253.3 MB, free: 12.81 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Mechanics.MultiBody.Examples.Systems.RobotR3.FullRobot,tolerance=1e-06,outputFormat="mat",numberOfIntervals=4737,variableFilter="time|axis1.controller.PI.x|axis1.gear.spring.phi_rel|axis1.gear.spring.w_rel|axis1.motor.C.v|axis1.motor.La.i|axis2.controller.PI.x|axis2.gear.spring.phi_rel|axis2.gear.spring.w_rel|axis2.motor.C.v|axis2.motor.La.i|axis3.controller.PI.x|axis3.gear.spring.phi_rel|axis3.gear.spring.w_rel|axis3.motor.C.v|axis3.motor.La.i|axis4.controller.PI.x|axis4.motor.C.v|axis4.motor.La.i|axis5.controller.PI.x|axis5.motor.C.v|axis5.motor.La.i|axis6.controller.PI.x|axis6.motor.C.v|axis6.motor.La.i|mechanics.b2.body.w_a.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=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_4.0.0_Modelica.Mechanics.MultiBody.Examples.Systems.RobotR3.FullRobot") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001671/0.001671, allocations: 47.92 kB / 371.7 MB, free: 9.141 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3378/0.3395, allocations: 52.18 MB / 423.9 MB, free: 14.46 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Systems.RobotR3.FullRobot): time 0.06356/0.403, allocations: 51.13 MB / 475 MB, free: 11.11 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0433/0.4463, allocations: 15.78 MB / 490.8 MB, free: 11.29 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01594/0.4623, allocations: 433.7 kB / 491.2 MB, free: 10.86 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02268/0.485, allocations: 8.34 MB / 499.5 MB, free: 2.488 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.02292/0.5079, allocations: 5.709 MB / 0.4934 GB, free: 12.74 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01353/0.5214, allocations: 5.158 MB / 0.4984 GB, free: 7.578 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.04114/0.5625, allocations: 22.64 MB / 0.5205 GB, free: 0.875 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.5692/1.132, allocations: 19.94 MB / 0.54 GB, free: 16.67 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01431/1.146, allocations: 8.506 MB / 0.5483 GB, free: 16.32 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01564/1.162, allocations: 9.341 MB / 0.5574 GB, free: 14.95 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.006656/1.168, allocations: 2.503 MB / 0.5599 GB, free: 14.95 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01197/1.18, allocations: 3.08 MB / 0.5629 GB, free: 14.95 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.009757/1.19, allocations: 7.7 MB / 0.5704 GB, free: 14.14 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01668/1.207, allocations: 8.43 MB / 0.5786 GB, free: 12.01 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.04455/1.251, allocations: 37.09 MB / 0.6149 GB, free: 2.773 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.014e-06/1.251, allocations: 0 / 0.6149 GB, free: 2.773 MB / 462.1 MB Notification: Performance of FrontEnd: time 2.114e-06/1.251, allocations: 0 / 0.6149 GB, free: 2.773 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.001312/1.253, allocations: 4 kB / 0.6149 GB, free: 2.77 MB / 462.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.06263/1.315, allocations: 20.22 MB / 0.6346 GB, free: 14.64 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.587e-05/1.315, allocations: 12.03 kB / 0.6346 GB, free: 14.62 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01425/1.33, allocations: 2.757 MB / 0.6373 GB, free: 11.86 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03678/1.366, allocations: 11.84 MB / 0.6489 GB, free: 0.5312 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.002604/1.369, allocations: 1.433 MB / 0.6503 GB, free: 15.07 MB / 0.4982 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.008182/1.377, allocations: 1.553 MB / 0.6518 GB, free: 13.55 MB / 0.4982 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0872/1.464, allocations: 28.34 MB / 0.6795 GB, free: 212 kB / 0.5138 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.001018/1.465, allocations: 145.1 kB / 0.6796 GB, free: 92 kB / 0.5138 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004914/1.47, allocations: 0.6292 MB / 0.6802 GB, free: 15.49 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.006965/1.477, allocations: 3.114 MB / 0.6833 GB, free: 12.41 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.06319/1.54, allocations: 23.34 MB / 0.7061 GB, free: 5.305 MB / 0.545 GB 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.6388/2.179, allocations: 96.46 MB / 0.8003 GB, free: 171.1 MB / 0.592 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03657/2.216, allocations: 14.18 MB / 0.8141 GB, free: 166.7 MB / 0.592 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01272/2.229, allocations: 9.585 MB / 0.8235 GB, free: 162.6 MB / 0.592 GB Notification: Performance of preOpt evalFunc (simulation): time 0.05881/2.287, allocations: 33.1 MB / 0.8558 GB, free: 140.3 MB / 0.592 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.02716/2.315, allocations: 11.82 MB / 0.8673 GB, free: 127.9 MB / 0.592 GB Notification: Performance of pre-optimization done (n=775): time 1.849e-05/2.315, allocations: 0 / 0.8673 GB, free: 127.9 MB / 0.592 GB Notification: Performance of matching and sorting (n=946): time 0.6154/2.93, allocations: 131.9 MB / 0.9961 GB, free: 206.1 MB / 0.592 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003969/2.93, allocations: 1.522 MB / 0.9976 GB, free: 204.3 MB / 0.592 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01638/2.947, allocations: 9.951 MB / 1.007 GB, free: 202.4 MB / 0.592 GB Notification: Performance of collectPreVariables (initialization): time 0.002984/2.95, allocations: 231.8 kB / 1.008 GB, free: 202.2 MB / 0.592 GB Notification: Performance of collectInitialEqns (initialization): time 0.007163/2.957, allocations: 8.59 MB / 1.016 GB, free: 198.6 MB / 0.592 GB Notification: Performance of collectInitialBindings (initialization): time 0.00471/2.962, allocations: 3.426 MB / 1.019 GB, free: 196.2 MB / 0.592 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.007513/2.969, allocations: 2.615 MB / 1.022 GB, free: 195.1 MB / 0.592 GB Notification: Performance of setup shared object (initialization): time 4.553e-05/2.969, allocations: 308.7 kB / 1.022 GB, free: 194.8 MB / 0.592 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01417/2.983, allocations: 9.249 MB / 1.031 GB, free: 191 MB / 0.592 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01651/3, allocations: 15.01 MB / 1.046 GB, free: 180.1 MB / 0.592 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02847/3.028, allocations: 23.19 MB / 1.068 GB, free: 164 MB / 0.592 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001127/3.028, allocations: 40 kB / 1.069 GB, free: 164 MB / 0.592 GB Notification: Performance of matching and sorting (n=1708) (initialization): time 0.04092/3.069, allocations: 24.55 MB / 1.092 GB, free: 140.4 MB / 0.592 GB Notification: Performance of prepare postOptimizeDAE: time 8.968e-05/3.069, allocations: 60 kB / 1.093 GB, free: 140.3 MB / 0.592 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001335/3.07, allocations: 132 kB / 1.093 GB, free: 140.2 MB / 0.592 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001748/3.071, allocations: 1.177 MB / 1.094 GB, free: 139 MB / 0.592 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01622/3.088, allocations: 3.744 MB / 1.097 GB, free: 135.2 MB / 0.592 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01616/3.104, allocations: 26.61 MB / 1.123 GB, free: 106.8 MB / 0.592 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01478/3.118, allocations: 1.242 MB / 1.125 GB, free: 105.6 MB / 0.592 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003119/3.122, allocations: 0.5936 MB / 1.125 GB, free: 105 MB / 0.592 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.01163/3.133, allocations: 5.236 MB / 1.13 GB, free: 99.72 MB / 0.592 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002919/3.136, allocations: 1.122 MB / 1.131 GB, free: 98.59 MB / 0.592 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04083/3.177, allocations: 26.01 MB / 1.157 GB, free: 72.52 MB / 0.592 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.12e-05/3.177, allocations: 99.94 kB / 1.157 GB, free: 72.43 MB / 0.592 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.898e-05/3.177, allocations: 4 kB / 1.157 GB, free: 72.42 MB / 0.592 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002138/3.177, allocations: 51.77 kB / 1.157 GB, free: 72.37 MB / 0.592 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.09439/3.272, allocations: 53.03 MB / 1.209 GB, free: 19.19 MB / 0.592 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.447e-05/3.272, allocations: 12 kB / 1.209 GB, free: 19.18 MB / 0.592 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.007096/3.279, allocations: 1.479 MB / 1.21 GB, free: 17.7 MB / 0.592 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.03572/3.315, allocations: 13.51 MB / 1.223 GB, free: 4.148 MB / 0.592 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002362/3.317, allocations: 207.9 kB / 1.224 GB, free: 3.945 MB / 0.592 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.3776/3.695, allocations: 27.12 MB / 1.25 GB, free: 182.3 MB / 0.592 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.369e-05/3.695, allocations: 24.56 kB / 1.25 GB, free: 182.3 MB / 0.592 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1084/3.803, allocations: 38.42 MB / 1.288 GB, free: 163.1 MB / 0.592 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01442/3.817, allocations: 3.069 MB / 1.291 GB, free: 161 MB / 0.592 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.006978/3.824, allocations: 239.7 kB / 1.291 GB, free: 160.7 MB / 0.592 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01826/3.843, allocations: 0.9534 MB / 1.292 GB, free: 160.1 MB / 0.592 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.005401/3.848, allocations: 0.791 MB / 1.293 GB, free: 159.7 MB / 0.592 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.002779/3.851, allocations: 258.1 kB / 1.293 GB, free: 159.5 MB / 0.592 GB Notification: Performance of sorting global known variables: time 0.01895/3.87, allocations: 6.37 MB / 1.299 GB, free: 154.1 MB / 0.592 GB Notification: Performance of sort global known variables: time 2.81e-07/3.87, allocations: 0 / 1.299 GB, free: 154.1 MB / 0.592 GB Notification: Performance of remove unused functions: time 0.02577/3.896, allocations: 3.609 MB / 1.303 GB, free: 150.5 MB / 0.592 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.004153/3.9, allocations: 479.6 kB / 1.303 GB, free: 150.1 MB / 0.592 GB Notification: Performance of simCode: created initialization part: time 0.03975/3.939, allocations: 22.01 MB / 1.325 GB, free: 130.2 MB / 0.592 GB Notification: Performance of simCode: created event and clocks part: time 2.635e-05/3.939, allocations: 8.125 kB / 1.325 GB, free: 130.2 MB / 0.592 GB Notification: Performance of simCode: created simulation system equations: time 0.02149/3.961, allocations: 11.24 MB / 1.336 GB, free: 119 MB / 0.592 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01826/3.979, allocations: 2.005 MB / 1.337 GB, free: 117.1 MB / 0.592 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0698/4.049, allocations: 38.44 MB / 1.375 GB, free: 78.66 MB / 0.592 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01564/4.065, allocations: 8.271 MB / 1.383 GB, free: 70.34 MB / 0.592 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006144/4.071, allocations: 0.7688 MB / 1.384 GB, free: 69.58 MB / 0.592 GB Notification: Performance of SimCode: time 1.663e-06/4.071, allocations: 0 / 1.384 GB, free: 69.58 MB / 0.592 GB Notification: Performance of Templates: time 2.848/6.919, allocations: 1.246 GB / 2.63 GB, free: 209.8 MB / 0.6389 GB " [Timeout remaining time 653] make -j1 -f Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Systems.RobotR3.FullRobot.makefile [Timeout 660] make -j1 -f Modelica_4.0.0_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_4.0.0_Modelica.Mechanics.MultiBody.Examples.Systems.RobotR3.FullRobotCalcHelperMain.o OMCppModelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Systems.RobotR3.FullRobotCalcHelperMain.cpp In file included from OMCppModelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Systems.RobotR3.FullRobotCalcHelperMain.cpp:29: ./OMCppModelica_4.0.0_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_4.0.0_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_4.0.0_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_4.0.0_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_4.0.0_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_4.0.0_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_4.0.0_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_4.0.0_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_4.0.0_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_4.0.0_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_4.0.0_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_4.0.0_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_4.0.0_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_4.0.0_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_4.0.0_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_4.0.0_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_4.0.0_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_4.0.0_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_4.0.0_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_4.0.0_Modelica.Mechanics.MultiBody.Examples.Systems.RobotR3.FullRobotCalcHelperMain.o] Error 1 [Calling os._exit(0), Time elapsed: 11.552670161239803] 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'] 6.9290703209117055 6.938761777 5.684719789 Calling exit ...