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/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_Modelica.Mechanics.MultiBody.Examples.Systems.RobotR3.fullRobot") translateModel(Modelica.Mechanics.MultiBody.Examples.Systems.RobotR3.fullRobot,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|axis1.controller.PI.x|axis1.gear.spring.phi_rel|axis1.gear.spring.w_rel|axis1.motor.C.v|axis1.motor.La.i|axis2.controller.PI.x|axis2.gear.spring.phi_rel|axis2.gear.spring.w_rel|axis2.motor.C.v|axis2.motor.La.i|axis3.controller.PI.x|axis3.gear.spring.phi_rel|axis3.gear.spring.w_rel|axis3.motor.C.v|axis3.motor.La.i|axis4.controller.PI.x|axis4.motor.C.v|axis4.motor.La.i|axis5.controller.PI.x|axis5.motor.C.v|axis5.motor.La.i|axis6.controller.PI.x|axis6.motor.C.v|axis6.motor.La.i|mechanics.b2.body.w_a.1.|mechanics.r1.phi|mechanics.r1.w|mechanics.r2.phi|mechanics.r3.phi|mechanics.r3.w|mechanics.r4.phi|mechanics.r4.w|mechanics.r5.phi|mechanics.r5.w|mechanics.r6.phi|mechanics.r6.w|axis1.gear.bearingFriction.mode|axis2.gear.bearingFriction.mode|axis3.gear.bearingFriction.mode|axis4.gear.bearingFriction.mode|axis5.gear.bearingFriction.mode|axis6.gear.bearingFriction.mode",fileNamePrefix="Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Systems.RobotR3.fullRobot") [: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.001608/0.001608, allocations: 176.1 kB / 8.478 MB, free: 1.891 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.535/1.535, allocations: 205.2 MB / 214.1 MB, free: 5.156 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009137/0.0009141, allocations: 87.28 kB / 262.1 MB, free: 5.191 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 7.835e-06/7.875e-06, allocations: 0 / 315 MB, free: 41.48 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09709/0.09712, allocations: 47.58 MB / 362.6 MB, free: 9.941 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3511/0.4482, allocations: 113.3 MB / 475.9 MB, free: 12 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003006/0.4486, allocations: 96.56 kB / 476 MB, free: 11.95 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.284/1.732, allocations: 354.7 MB / 0.8113 GB, free: 5.172 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.001695/1.734, allocations: 362.1 kB / 0.8116 GB, free: 5.156 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.06129/1.795, allocations: 15.29 MB / 0.8265 GB, free: 15.72 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.71e-05/1.795, allocations: 10.25 kB / 0.8265 GB, free: 15.72 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0174/1.813, allocations: 3.034 MB / 0.8295 GB, free: 14.67 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0513/1.864, allocations: 20.08 MB / 0.8491 GB, free: 12.76 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001701/1.866, allocations: 0.7892 MB / 0.8499 GB, free: 12.62 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.009524/1.875, allocations: 0.9855 MB / 0.8508 GB, free: 12.59 MB / 442.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.05002/1.925, allocations: 19.66 MB / 0.87 GB, free: 4.164 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0849/2.01, allocations: 24.09 MB / 0.8936 GB, free: 2.344 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.001746/2.012, allocations: 140.3 kB / 0.8937 GB, free: 2.242 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.006933/2.019, allocations: 39.84 kB / 0.8937 GB, free: 2.207 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004312/2.024, allocations: 2.083 MB / 0.8958 GB, free: 480 kB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4947/2.518, allocations: 112.4 MB / 1.005 GB, free: 34.69 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02157/2.54, allocations: 11.72 MB / 1.017 GB, free: 31.88 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.01809/2.558, allocations: 10.88 MB / 1.028 GB, free: 26.96 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.07871/2.637, allocations: 30.85 MB / 1.058 GB, free: 11.21 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.02069/2.658, allocations: 9.975 MB / 1.067 GB, free: 5.891 MB / 458.7 MB Notification: Performance of pre-optimization done (n=780): time 2.119e-05/2.658, allocations: 0 / 1.067 GB, free: 5.891 MB / 458.7 MB Notification: Performance of matching and sorting (n=944): time 0.5883/3.246, allocations: 94.24 MB / 1.159 GB, free: 58.93 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004777/3.247, allocations: 1.527 MB / 1.161 GB, free: 57.17 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02494/3.271, allocations: 8.156 MB / 1.169 GB, free: 56.55 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.00377/3.275, allocations: 75.61 kB / 1.169 GB, free: 56.52 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.009211/3.285, allocations: 6.581 MB / 1.175 GB, free: 52.88 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.007202/3.292, allocations: 3.137 MB / 1.178 GB, free: 50.86 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0048/3.297, allocations: 1.625 kB / 1.178 GB, free: 50.86 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.001415/3.298, allocations: 0.8208 MB / 1.179 GB, free: 50.53 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01737/3.315, allocations: 8.467 MB / 1.188 GB, free: 50.5 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02343/3.339, allocations: 12.89 MB / 1.2 GB, free: 45.27 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01858/3.358, allocations: 10.22 MB / 1.21 GB, free: 37.44 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001715/3.358, allocations: 36 kB / 1.21 GB, free: 37.4 MB / 458.7 MB Notification: Performance of matching and sorting (n=1675) (initialization): time 0.3099/3.668, allocations: 24.41 MB / 1.234 GB, free: 61.39 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.778e-05/3.668, allocations: 3.062 kB / 1.234 GB, free: 61.39 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003161/3.668, allocations: 142.5 kB / 1.234 GB, free: 61.39 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002296/3.671, allocations: 1.169 MB / 1.235 GB, free: 61.25 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01888/3.689, allocations: 3.353 MB / 1.239 GB, free: 61.25 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01471/3.704, allocations: 24.12 MB / 1.262 GB, free: 40.11 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01987/3.724, allocations: 0.9384 MB / 1.263 GB, free: 40.11 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.005347/3.729, allocations: 0.6088 MB / 1.264 GB, free: 40.11 MB / 458.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.00725/3.737, allocations: 0.6535 MB / 1.264 GB, free: 39.97 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004869/3.742, allocations: 1.087 MB / 1.265 GB, free: 39.97 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.07627/3.818, allocations: 28.09 MB / 1.293 GB, free: 39.45 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.000199/3.818, allocations: 90.94 kB / 1.293 GB, free: 39.45 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.096e-05/3.818, allocations: 3.594 kB / 1.293 GB, free: 39.45 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003693/3.819, allocations: 53.05 kB / 1.293 GB, free: 39.45 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1399/3.959, allocations: 53.36 MB / 1.345 GB, free: 35.46 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001385/3.959, allocations: 9.906 kB / 1.345 GB, free: 35.46 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00857/3.967, allocations: 1.423 MB / 1.346 GB, free: 35.41 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.04091/4.008, allocations: 12.34 MB / 1.358 GB, free: 32.53 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.003826/4.012, allocations: 64.62 kB / 1.359 GB, free: 32.52 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04128/4.053, allocations: 28.26 MB / 1.386 GB, free: 11.51 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.03e-05/4.054, allocations: 15.94 kB / 1.386 GB, free: 11.49 MB / 458.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.3331/4.387, allocations: 42.1 MB / 1.427 GB, free: 58.45 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.01098/4.398, allocations: 3.065 MB / 1.43 GB, free: 58.36 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.005947/4.404, allocations: 84.97 kB / 1.43 GB, free: 58.36 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01273/4.416, allocations: 0.7885 MB / 1.431 GB, free: 58.36 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.004182/4.421, allocations: 0.7416 MB / 1.432 GB, free: 58.35 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.002305/4.423, allocations: 269 kB / 1.432 GB, free: 58.35 MB / 458.7 MB Notification: Performance of sort global known variables: time 0.02009/4.443, allocations: 5.883 MB / 1.438 GB, free: 58.07 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.02276/4.466, allocations: 3.138 MB / 1.441 GB, free: 58.07 MB / 458.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.003471/4.469, allocations: 326.4 kB / 1.441 GB, free: 57.97 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.03766/4.507, allocations: 21.25 MB / 1.462 GB, free: 55.88 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 2.349e-05/4.507, allocations: 6.594 kB / 1.462 GB, free: 55.88 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.02344/4.531, allocations: 11.16 MB / 1.473 GB, free: 55.22 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01792/4.549, allocations: 1.571 MB / 1.474 GB, free: 55.18 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0957/4.644, allocations: 30.43 MB / 1.504 GB, free: 48.98 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.027/4.671, allocations: 9.731 MB / 1.514 GB, free: 41.95 MB / 458.7 MB Notification: Performance of SimCode: time 2.385e-06/4.672, allocations: 0.6562 kB / 1.514 GB, free: 41.95 MB / 458.7 MB Notification: Performance of Templates: time 0.5335/5.205, allocations: 196.9 MB / 1.706 GB, free: 10.9 MB / 474.7 MB make -j1 -f Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Systems.RobotR3.fullRobot.makefile (rm -f Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Systems.RobotR3.fullRobot.pipe ; mkfifo Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Systems.RobotR3.fullRobot.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Systems.RobotR3.fullRobot.pipe >> ../files/Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Systems.RobotR3.fullRobot.sim & ./Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Systems.RobotR3.fullRobot -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Systems.RobotR3.fullRobot.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Systems.RobotR3.fullRobot_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/MultiBody/Examples/Systems/RobotR3/fullRobot/fullRobot.csv","../files/Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Systems.RobotR3.fullRobot.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches