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/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) 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) Running command: translateModel(Modelica.Mechanics.MultiBody.Examples.Systems.RobotR3.FullRobot,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|axis1.controller.PI.x|axis1.gear.spring.phi_rel|axis1.gear.spring.w_rel|axis1.motor.C.v|axis1.motor.La.i|axis2.controller.PI.x|axis2.gear.spring.phi_rel|axis2.gear.spring.w_rel|axis2.motor.C.v|axis2.motor.La.i|axis3.controller.PI.x|axis3.gear.spring.phi_rel|axis3.gear.spring.w_rel|axis3.motor.C.v|axis3.motor.La.i|axis4.controller.PI.x|axis4.motor.C.v|axis4.motor.La.i|axis5.controller.PI.x|axis5.motor.C.v|axis5.motor.La.i|axis6.controller.PI.x|axis6.motor.C.v|axis6.motor.La.i|mechanics.b2.body.w_a.1.|mechanics.r1.phi|mechanics.r1.w|mechanics.r2.phi|mechanics.r3.phi|mechanics.r3.w|mechanics.r4.phi|mechanics.r4.w|mechanics.r5.phi|mechanics.r5.w|mechanics.r6.phi|mechanics.r6.w|axis1.gear.bearingFriction.mode|axis2.gear.bearingFriction.mode|axis3.gear.bearingFriction.mode|axis4.gear.bearingFriction.mode|axis5.gear.bearingFriction.mode|axis6.gear.bearingFriction.mode",fileNamePrefix="Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Systems.RobotR3.FullRobot") translateModel(Modelica.Mechanics.MultiBody.Examples.Systems.RobotR3.FullRobot,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|axis1.controller.PI.x|axis1.gear.spring.phi_rel|axis1.gear.spring.w_rel|axis1.motor.C.v|axis1.motor.La.i|axis2.controller.PI.x|axis2.gear.spring.phi_rel|axis2.gear.spring.w_rel|axis2.motor.C.v|axis2.motor.La.i|axis3.controller.PI.x|axis3.gear.spring.phi_rel|axis3.gear.spring.w_rel|axis3.motor.C.v|axis3.motor.La.i|axis4.controller.PI.x|axis4.motor.C.v|axis4.motor.La.i|axis5.controller.PI.x|axis5.motor.C.v|axis5.motor.La.i|axis6.controller.PI.x|axis6.motor.C.v|axis6.motor.La.i|mechanics.b2.body.w_a.1.|mechanics.r1.phi|mechanics.r1.w|mechanics.r2.phi|mechanics.r3.phi|mechanics.r3.w|mechanics.r4.phi|mechanics.r4.w|mechanics.r5.phi|mechanics.r5.w|mechanics.r6.phi|mechanics.r6.w|axis1.gear.bearingFriction.mode|axis2.gear.bearingFriction.mode|axis3.gear.bearingFriction.mode|axis4.gear.bearingFriction.mode|axis5.gear.bearingFriction.mode|axis6.gear.bearingFriction.mode",fileNamePrefix="Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Systems.RobotR3.FullRobot") [: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 4.0.0+maint.om/package.mo): time 0.001099/0.001099, allocations: 183.8 kB / 8.135 MB, free: 2.215 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.184/1.184, allocations: 221.4 MB / 229.9 MB, free: 3.074 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000906/0.000906, allocations: 98.12 kB / 280.8 MB, free: 1.258 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 5.591e-06/5.621e-06, allocations: 0 / 336.5 MB, free: 9.5 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2027/0.2028, allocations: 50.39 MB / 386.9 MB, free: 38.11 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.122/0.3248, allocations: 117.5 MB / 0.4926 GB, free: 1.262 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002525/0.3251, allocations: 95.88 kB / 0.4927 GB, free: 1.168 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.494/1.819, allocations: 358.6 MB / 0.843 GB, free: 22.96 MB / 458.8 MB Notification: Performance of Transformations before backend: time 0.002889/1.822, allocations: 370.5 kB / 0.8433 GB, free: 22.95 MB / 458.8 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.06696/1.889, allocations: 15.25 MB / 0.8582 GB, free: 17.68 MB / 458.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.741e-05/1.889, allocations: 8.188 kB / 0.8582 GB, free: 17.68 MB / 458.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0229/1.912, allocations: 3.018 MB / 0.8612 GB, free: 16.64 MB / 458.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04556/1.958, allocations: 18.65 MB / 0.8794 GB, free: 14.78 MB / 458.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001541/1.959, allocations: 0.7932 MB / 0.8801 GB, free: 14.65 MB / 458.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.007012/1.966, allocations: 0.9906 MB / 0.8811 GB, free: 14.61 MB / 458.8 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.04751/2.014, allocations: 19.65 MB / 0.9003 GB, free: 14.54 MB / 458.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06572/2.08, allocations: 23.62 MB / 0.9234 GB, free: 11.6 MB / 458.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.001153/2.081, allocations: 144.1 kB / 0.9235 GB, free: 11.57 MB / 458.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005097/2.086, allocations: 33.81 kB / 0.9235 GB, free: 11.56 MB / 458.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003605/2.09, allocations: 2.082 MB / 0.9256 GB, free: 11.53 MB / 458.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4357/2.525, allocations: 112.1 MB / 1.035 GB, free: 65.25 MB / 0.4949 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01653/2.542, allocations: 11.73 MB / 1.047 GB, free: 65.06 MB / 0.4949 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01472/2.557, allocations: 10.87 MB / 1.057 GB, free: 64.96 MB / 0.4949 GB Notification: Performance of preOpt evalFunc (simulation): time 0.06709/2.624, allocations: 30.71 MB / 1.087 GB, free: 61.09 MB / 0.4949 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01966/2.643, allocations: 9.973 MB / 1.097 GB, free: 60.46 MB / 0.4949 GB Notification: Performance of pre-optimization done (n=780): time 1.863e-05/2.644, allocations: 4.281 kB / 1.097 GB, free: 60.46 MB / 0.4949 GB Notification: Performance of matching and sorting (n=944): time 0.2439/2.887, allocations: 93.38 MB / 1.188 GB, free: 22.04 MB / 0.4949 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003342/2.888, allocations: 1.522 MB / 1.19 GB, free: 20.18 MB / 0.4949 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01745/2.905, allocations: 8.029 MB / 1.197 GB, free: 13.07 MB / 0.4949 GB Notification: Performance of collectPreVariables (initialization): time 0.003531/2.909, allocations: 72.89 kB / 1.197 GB, free: 13 MB / 0.4949 GB Notification: Performance of collectInitialEqns (initialization): time 0.00901/2.918, allocations: 6.571 MB / 1.204 GB, free: 7.289 MB / 0.4949 GB Notification: Performance of collectInitialBindings (initialization): time 0.006729/2.925, allocations: 3.146 MB / 1.207 GB, free: 4.418 MB / 0.4949 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004025/2.929, allocations: 0 / 1.207 GB, free: 4.418 MB / 0.4949 GB Notification: Performance of setup shared object (initialization): time 0.0009393/2.93, allocations: 0.8198 MB / 1.208 GB, free: 3.746 MB / 0.4949 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.03215/2.962, allocations: 10.02 MB / 1.218 GB, free: 0 / 0.4949 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.2498/3.212, allocations: 12.89 MB / 1.23 GB, free: 82.92 MB / 0.4949 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01607/3.228, allocations: 10.22 MB / 1.24 GB, free: 82.78 MB / 0.4949 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001413/3.228, allocations: 37.97 kB / 1.24 GB, free: 82.78 MB / 0.4949 GB Notification: Performance of matching and sorting (n=1675) (initialization): time 0.05075/3.279, allocations: 22.15 MB / 1.262 GB, free: 82.36 MB / 0.4949 GB Notification: Performance of prepare postOptimizeDAE: time 2.077e-05/3.279, allocations: 3.344 kB / 1.262 GB, free: 82.36 MB / 0.4949 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002701/3.279, allocations: 142.2 kB / 1.262 GB, free: 82.36 MB / 0.4949 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002224/3.281, allocations: 1.175 MB / 1.263 GB, free: 82.22 MB / 0.4949 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01954/3.301, allocations: 3.352 MB / 1.266 GB, free: 82.22 MB / 0.4949 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01429/3.315, allocations: 24.12 MB / 1.29 GB, free: 60.94 MB / 0.4949 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01621/3.331, allocations: 0.9407 MB / 1.291 GB, free: 60.94 MB / 0.4949 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004277/3.336, allocations: 0.6098 MB / 1.291 GB, free: 60.94 MB / 0.4949 GB 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.006682/3.342, allocations: 0.6565 MB / 1.292 GB, free: 60.6 MB / 0.4949 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.007359/3.35, allocations: 1.076 MB / 1.293 GB, free: 60.6 MB / 0.4949 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.07661/3.426, allocations: 28.08 MB / 1.321 GB, free: 60.07 MB / 0.4949 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001855/3.427, allocations: 90.88 kB / 1.321 GB, free: 60.07 MB / 0.4949 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.119e-05/3.427, allocations: 3.969 kB / 1.321 GB, free: 60.07 MB / 0.4949 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003787/3.427, allocations: 51.22 kB / 1.321 GB, free: 60.07 MB / 0.4949 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1335/3.561, allocations: 53.29 MB / 1.373 GB, free: 46.59 MB / 0.4949 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.000116/3.561, allocations: 11.38 kB / 1.373 GB, free: 46.59 MB / 0.4949 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.007971/3.569, allocations: 1.424 MB / 1.374 GB, free: 45.38 MB / 0.4949 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.03884/3.608, allocations: 12.34 MB / 1.386 GB, free: 36.49 MB / 0.4949 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.003406/3.611, allocations: 71 kB / 1.386 GB, free: 36.45 MB / 0.4949 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03522/3.646, allocations: 28.25 MB / 1.414 GB, free: 10.02 MB / 0.4949 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.255e-05/3.646, allocations: 19.77 kB / 1.414 GB, free: 10 MB / 0.4949 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.3061/3.953, allocations: 41.8 MB / 1.455 GB, free: 75.5 MB / 0.4949 GB Notification: Performance of postOpt removeConstants (simulation): time 0.009612/3.962, allocations: 3.05 MB / 1.458 GB, free: 75.41 MB / 0.4949 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.005746/3.968, allocations: 81.84 kB / 1.458 GB, free: 75.41 MB / 0.4949 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01224/3.98, allocations: 0.7834 MB / 1.458 GB, free: 75.41 MB / 0.4949 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00395/3.984, allocations: 0.7455 MB / 1.459 GB, free: 75.4 MB / 0.4949 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.002941/3.987, allocations: 270.8 kB / 1.459 GB, free: 75.4 MB / 0.4949 GB Notification: Performance of sort global known variables: time 0.01637/4.004, allocations: 5.786 MB / 1.465 GB, free: 75.12 MB / 0.4949 GB Notification: Performance of remove unused functions: time 0.02181/4.025, allocations: 3.133 MB / 1.468 GB, free: 75.12 MB / 0.4949 GB 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.003585/4.029, allocations: 325.9 kB / 1.468 GB, free: 75.02 MB / 0.4949 GB Notification: Performance of simCode: created initialization part: time 0.03769/4.067, allocations: 21.24 MB / 1.489 GB, free: 72.94 MB / 0.4949 GB Notification: Performance of simCode: created event and clocks part: time 2.393e-05/4.067, allocations: 3.875 kB / 1.489 GB, free: 72.94 MB / 0.4949 GB Notification: Performance of simCode: created simulation system equations: time 0.02185/4.089, allocations: 11.17 MB / 1.5 GB, free: 72.28 MB / 0.4949 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01381/4.103, allocations: 1.562 MB / 1.502 GB, free: 72.24 MB / 0.4949 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.08817/4.191, allocations: 30.34 MB / 1.531 GB, free: 66.77 MB / 0.4949 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.02197/4.213, allocations: 9.679 MB / 1.541 GB, free: 65.66 MB / 0.4949 GB Notification: Performance of SimCode: time 1.032e-06/4.213, allocations: 0 / 1.541 GB, free: 65.66 MB / 0.4949 GB Notification: Performance of Templates: time 0.5093/4.722, allocations: 196.5 MB / 1.733 GB, free: 57.73 MB / 0.4949 GB make -j1 -f Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Systems.RobotR3.FullRobot.makefile (rm -f Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Systems.RobotR3.FullRobot.pipe ; mkfifo Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Systems.RobotR3.FullRobot.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Systems.RobotR3.FullRobot.pipe >> ../files/Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Systems.RobotR3.FullRobot.sim & ./Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Systems.RobotR3.FullRobot -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Systems.RobotR3.FullRobot.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Systems.RobotR3.FullRobot_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/MultiBody/Examples/Systems/RobotR3/FullRobot/FullRobot.csv","../files/Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Systems.RobotR3.FullRobot.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches