Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Systems.RobotR3.fullRobot.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(Modelica.Mechanics.MultiBody.Examples.Systems.RobotR3.fullRobot,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|axis1.controller.PI.x|axis1.gear.spring.phi_rel|axis1.gear.spring.w_rel|axis1.motor.C.v|axis1.motor.La.i|axis2.controller.PI.x|axis2.gear.spring.phi_rel|axis2.gear.spring.w_rel|axis2.motor.C.v|axis2.motor.La.i|axis3.controller.PI.x|axis3.gear.spring.phi_rel|axis3.gear.spring.w_rel|axis3.motor.C.v|axis3.motor.La.i|axis4.controller.PI.x|axis4.motor.C.v|axis4.motor.La.i|axis5.controller.PI.x|axis5.motor.C.v|axis5.motor.La.i|axis6.controller.PI.x|axis6.motor.C.v|axis6.motor.La.i|mechanics.b2.body.w_a.1.|mechanics.r1.phi|mechanics.r1.w|mechanics.r2.phi|mechanics.r3.phi|mechanics.r3.w|mechanics.r4.phi|mechanics.r4.w|mechanics.r5.phi|mechanics.r5.w|mechanics.r6.phi|mechanics.r6.w|axis1.gear.bearingFriction.mode|axis2.gear.bearingFriction.mode|axis3.gear.bearingFriction.mode|axis4.gear.bearingFriction.mode|axis5.gear.bearingFriction.mode|axis6.gear.bearingFriction.mode",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Systems.RobotR3.fullRobot") translateModel(Modelica.Mechanics.MultiBody.Examples.Systems.RobotR3.fullRobot,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|axis1.controller.PI.x|axis1.gear.spring.phi_rel|axis1.gear.spring.w_rel|axis1.motor.C.v|axis1.motor.La.i|axis2.controller.PI.x|axis2.gear.spring.phi_rel|axis2.gear.spring.w_rel|axis2.motor.C.v|axis2.motor.La.i|axis3.controller.PI.x|axis3.gear.spring.phi_rel|axis3.gear.spring.w_rel|axis3.motor.C.v|axis3.motor.La.i|axis4.controller.PI.x|axis4.motor.C.v|axis4.motor.La.i|axis5.controller.PI.x|axis5.motor.C.v|axis5.motor.La.i|axis6.controller.PI.x|axis6.motor.C.v|axis6.motor.La.i|mechanics.b2.body.w_a.1.|mechanics.r1.phi|mechanics.r1.w|mechanics.r2.phi|mechanics.r3.phi|mechanics.r3.w|mechanics.r4.phi|mechanics.r4.w|mechanics.r5.phi|mechanics.r5.w|mechanics.r6.phi|mechanics.r6.w|axis1.gear.bearingFriction.mode|axis2.gear.bearingFriction.mode|axis3.gear.bearingFriction.mode|axis4.gear.bearingFriction.mode|axis5.gear.bearingFriction.mode|axis6.gear.bearingFriction.mode",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Systems.RobotR3.fullRobot") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001676/0.001676, allocations: 176.7 kB / 8.151 MB, free: 2.211 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.692/1.692, allocations: 205.2 MB / 213.7 MB, free: 13.93 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001253/0.001253, allocations: 87.78 kB / 261.8 MB, free: 13.62 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 1.067e-05/1.078e-05, allocations: 0 / 314.3 MB, free: 9.023 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2463/0.2464, allocations: 47.56 MB / 361.8 MB, free: 45.69 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1849/0.4314, allocations: 113.3 MB / 475.2 MB, free: 4.688 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003938/0.4318, allocations: 95.94 kB / 475.3 MB, free: 4.594 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.634/2.066, allocations: 354.7 MB / 0.8106 GB, free: 2.305 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.002733/2.068, allocations: 368 kB / 0.8109 GB, free: 1.945 MB / 426.7 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.07627/2.145, allocations: 15.3 MB / 0.8259 GB, free: 2.531 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.446e-05/2.145, allocations: 8.031 kB / 0.8259 GB, free: 2.523 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.2406/2.385, allocations: 3.029 MB / 0.8288 GB, free: 73.96 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.07793/2.463, allocations: 20.07 MB / 0.8484 GB, free: 72.73 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001659/2.465, allocations: 0.7858 MB / 0.8492 GB, free: 72.6 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00837/2.474, allocations: 0.9921 MB / 0.8502 GB, free: 72.56 MB / 442.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.06643/2.54, allocations: 19.65 MB / 0.8694 GB, free: 72.49 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.08521/2.625, allocations: 23.62 MB / 0.8924 GB, free: 69.63 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.001748/2.627, allocations: 142.7 kB / 0.8926 GB, free: 69.6 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00741/2.635, allocations: 32.44 kB / 0.8926 GB, free: 69.6 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00632/2.641, allocations: 2.087 MB / 0.8946 GB, free: 69.56 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5179/3.159, allocations: 112.4 MB / 1.004 GB, free: 62.75 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02787/3.187, allocations: 11.72 MB / 1.016 GB, free: 62.56 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.02368/3.211, allocations: 10.88 MB / 1.026 GB, free: 62.46 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.09147/3.302, allocations: 30.84 MB / 1.057 GB, free: 58.58 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.02551/3.328, allocations: 9.975 MB / 1.066 GB, free: 57.96 MB / 442.7 MB Notification: Performance of pre-optimization done (n=780): time 1.845e-05/3.328, allocations: 2.812 kB / 1.066 GB, free: 57.96 MB / 442.7 MB Notification: Performance of matching and sorting (n=944): time 0.6694/3.997, allocations: 94.5 MB / 1.159 GB, free: 61.43 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004793/3.998, allocations: 1.527 MB / 1.16 GB, free: 59.67 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02689/4.025, allocations: 8.152 MB / 1.168 GB, free: 59.2 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.003759/4.028, allocations: 73.09 kB / 1.168 GB, free: 59.17 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.008338/4.037, allocations: 5.985 MB / 1.174 GB, free: 57.5 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.008133/4.045, allocations: 3.127 MB / 1.177 GB, free: 55.48 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004179/4.049, allocations: 2.859 kB / 1.177 GB, free: 55.48 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0015/4.051, allocations: 0.8322 MB / 1.178 GB, free: 55.14 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0245/4.075, allocations: 8.464 MB / 1.186 GB, free: 55.11 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02879/4.104, allocations: 12.89 MB / 1.199 GB, free: 49.88 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.03008/4.134, allocations: 10.22 MB / 1.209 GB, free: 49.73 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002997/4.135, allocations: 39 kB / 1.209 GB, free: 49.73 MB / 442.7 MB Notification: Performance of matching and sorting (n=1675) (initialization): time 0.07347/4.208, allocations: 21.6 MB / 1.23 GB, free: 49.04 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.496e-05/4.208, allocations: 7.25 kB / 1.23 GB, free: 49.04 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003372/4.209, allocations: 142.1 kB / 1.23 GB, free: 49.04 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003289/4.212, allocations: 1.136 MB / 1.231 GB, free: 48.9 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.03435/4.246, allocations: 3.35 MB / 1.234 GB, free: 48.72 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02231/4.269, allocations: 24.12 MB / 1.258 GB, free: 27.14 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02213/4.291, allocations: 0.9174 MB / 1.259 GB, free: 27.14 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.005291/4.296, allocations: 0.6046 MB / 1.259 GB, free: 27.14 MB / 442.7 MB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: axis6.gear.bearingFriction.sa:VARIABLE(unit = "1" ) "Path parameter of friction characteristic tau = f(a_relfric)" type: Real Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: axis5.gear.bearingFriction.sa:VARIABLE(unit = "1" ) "Path parameter of friction characteristic tau = f(a_relfric)" type: Real Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: axis4.gear.bearingFriction.sa:VARIABLE(unit = "1" ) "Path parameter of friction characteristic tau = f(a_relfric)" type: Real Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: axis3.gear.bearingFriction.sa:VARIABLE(unit = "1" ) "Path parameter of friction characteristic tau = f(a_relfric)" type: Real Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: axis2.gear.bearingFriction.sa:VARIABLE(unit = "1" ) "Path parameter of friction characteristic tau = f(a_relfric)" type: Real Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: axis1.gear.bearingFriction.sa:VARIABLE(unit = "1" ) "Path parameter of friction characteristic tau = f(a_relfric)" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 602 * 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,$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],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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1633): * Single equations (assignments): 1609 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * 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.009524/4.306, allocations: 0.5806 MB / 1.26 GB, free: 26.78 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.007056/4.313, allocations: 1.087 MB / 1.261 GB, free: 26.2 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.12/4.433, allocations: 28.09 MB / 1.288 GB, free: 19.31 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0002121/4.433, allocations: 89.25 kB / 1.289 GB, free: 19.31 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.712e-05/4.433, allocations: 3.625 kB / 1.289 GB, free: 19.31 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002752/4.434, allocations: 51.28 kB / 1.289 GB, free: 19.31 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.4099/4.844, allocations: 53.35 MB / 1.341 GB, free: 50.57 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001671/4.844, allocations: 9.844 kB / 1.341 GB, free: 50.57 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01496/4.859, allocations: 1.424 MB / 1.342 GB, free: 50.57 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.07429/4.933, allocations: 12.34 MB / 1.354 GB, free: 50.46 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.003952/4.937, allocations: 70.11 kB / 1.354 GB, free: 50.46 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.05898/4.996, allocations: 28.25 MB / 1.382 GB, free: 41.3 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.773e-05/4.996, allocations: 14.84 kB / 1.382 GB, free: 41.3 MB / 442.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.1517/5.148, allocations: 41.8 MB / 1.423 GB, free: 29.61 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.01368/5.162, allocations: 3.072 MB / 1.426 GB, free: 28.06 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.007908/5.17, allocations: 76 kB / 1.426 GB, free: 27.99 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.02054/5.19, allocations: 0.8028 MB / 1.426 GB, free: 27.47 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.005093/5.195, allocations: 0.742 MB / 1.427 GB, free: 27.06 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.003144/5.199, allocations: 269.7 kB / 1.427 GB, free: 26.82 MB / 442.7 MB Notification: Performance of sort global known variables: time 0.01852/5.217, allocations: 5.885 MB / 1.433 GB, free: 21.59 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.02378/5.241, allocations: 3.132 MB / 1.436 GB, free: 18.46 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 44 * Number of states: 36 (axis1.gear.spring.phi_rel,axis1.gear.spring.w_rel,axis1.gear.bearingFriction.phi,axis1.motor.La.i,axis1.motor.C.v,axis1.motor.Jmotor.w,axis1.controller.PI.x,axis2.gear.spring.phi_rel,axis2.gear.spring.w_rel,axis2.gear.bearingFriction.phi,axis2.motor.La.i,axis2.motor.C.v,axis2.motor.Jmotor.w,axis2.controller.PI.x,axis3.gear.spring.phi_rel,axis3.gear.spring.w_rel,axis3.gear.bearingFriction.phi,axis3.motor.La.i,axis3.motor.C.v,axis3.motor.Jmotor.w,axis3.controller.PI.x,axis4.motor.La.i,axis4.motor.C.v,axis4.motor.speed.flange.phi,axis4.motor.Jmotor.w,axis4.controller.PI.x,axis5.motor.La.i,axis5.motor.C.v,axis5.motor.speed.flange.phi,axis5.motor.Jmotor.w,axis5.controller.PI.x,axis6.motor.La.i,axis6.motor.C.v,axis6.motor.speed.flange.phi,axis6.motor.Jmotor.w,axis6.controller.PI.x) * 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 (axis1.gear.bearingFriction.mode,axis1.gear.bearingFriction.startForward,axis1.gear.bearingFriction.startBackward,axis2.gear.bearingFriction.mode,axis2.gear.bearingFriction.startForward,axis2.gear.bearingFriction.startBackward,axis3.gear.bearingFriction.mode,axis3.gear.bearingFriction.startForward,axis3.gear.bearingFriction.startBackward,axis5.gear.bearingFriction.mode,axis5.gear.bearingFriction.startBackward,axis5.gear.bearingFriction.startForward,axis4.gear.bearingFriction.mode,axis4.gear.bearingFriction.startBackward,axis4.gear.bearingFriction.startForward,axis6.gear.bearingFriction.mode,axis6.gear.bearingFriction.startBackward,axis6.gear.bearingFriction.startForward) * Top-level inputs: 0 Notification: Strong component statistics for simulation (723): * Single equations (assignments): 713 * 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 {8 190,1 6,1 6,1 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.00427/5.245, allocations: 320.1 kB / 1.437 GB, free: 18.25 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.05375/5.299, allocations: 21.23 MB / 1.457 GB, free: 14.75 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 2.394e-05/5.299, allocations: 4.438 kB / 1.457 GB, free: 14.75 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.2555/5.555, allocations: 11.04 MB / 1.468 GB, free: 69.5 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01999/5.575, allocations: 1.572 MB / 1.47 GB, free: 69.46 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1262/5.701, allocations: 31.62 MB / 1.5 GB, free: 63.77 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.03607/5.737, allocations: 9.75 MB / 1.51 GB, free: 62.65 MB / 458.7 MB Notification: Performance of SimCode: time 2.224e-06/5.737, allocations: 0 / 1.51 GB, free: 62.65 MB / 458.7 MB Notification: Performance of Templates: time 3.536/9.273, allocations: 1.144 GB / 2.654 GB, free: 106.5 MB / 0.4948 GB make -j1 -f Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Systems.RobotR3.fullRobot.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Systems.RobotR3.fullRobot.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Systems.RobotR3.fullRobot.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Systems.RobotR3.fullRobot.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Systems.RobotR3.fullRobot.sim & ./Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Systems.RobotR3.fullRobot --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Systems.RobotR3.fullRobot.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Systems.RobotR3.fullRobot_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/MultiBody/Examples/Systems/RobotR3/fullRobot/fullRobot.csv","../files/Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Systems.RobotR3.fullRobot.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches