Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Systems.RobotR3.FullRobot.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Mechanics.MultiBody.Examples.Systems.RobotR3.FullRobot") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001536/0.001535, allocations: 103.9 kB / 17.63 MB, free: 5.523 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001282/0.001282, allocations: 206.4 kB / 18.58 MB, free: 4.582 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.39/1.39, allocations: 227.4 MB / 246.8 MB, free: 10.65 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001202/0.001202, allocations: 63.56 kB / 306.9 MB, free: 0.668 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1051/0.1063, allocations: 50.54 MB / 357.5 MB, free: 14.13 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Systems.RobotR3.FullRobot): time 0.2376/0.344, allocations: 60.53 MB / 418 MB, free: 13.84 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.03894/0.383, allocations: 16.14 MB / 434.1 MB, free: 14.91 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01357/0.3967, allocations: 362.8 kB / 434.5 MB, free: 14.55 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01981/0.4165, allocations: 8.517 MB / 443 MB, free: 6.004 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01694/0.4335, allocations: 5.514 MB / 448.5 MB, free: 468 kB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01062/0.4441, allocations: 5.182 MB / 453.7 MB, free: 11.27 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.02859/0.4728, allocations: 23.16 MB / 476.9 MB, free: 4.047 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.03053/0.5033, allocations: 23.76 MB / 0.4889 GB, free: 12.12 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01269/0.5161, allocations: 8.449 MB / 0.4972 GB, free: 3.641 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01358/0.5297, allocations: 9.979 MB / 0.5069 GB, free: 9.629 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.006109/0.5358, allocations: 2.516 MB / 0.5094 GB, free: 7.113 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007283/0.5431, allocations: 3.065 MB / 0.5124 GB, free: 4.047 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00832/0.5515, allocations: 7.525 MB / 0.5197 GB, free: 12.5 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01644/0.5679, allocations: 10.76 MB / 0.5302 GB, free: 1.691 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.3903/0.9583, allocations: 36.37 MB / 0.5657 GB, free: 49.48 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.125e-06/0.9583, allocations: 1.312 kB / 0.5657 GB, free: 49.48 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.853e-06/0.9583, allocations: 0 / 0.5657 GB, free: 49.48 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.001117/0.9595, allocations: 0 / 0.5657 GB, free: 49.48 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4570 * Number of variables: 4570 Notification: Performance of Generate backend data structure: time 0.05803/1.017, allocations: 19.86 MB / 0.5851 GB, free: 40.04 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.753e-05/1.018, allocations: 11.56 kB / 0.5851 GB, free: 40.04 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0149/1.032, allocations: 2.649 MB / 0.5877 GB, free: 38.8 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02364/1.056, allocations: 11.43 MB / 0.5989 GB, free: 32.96 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009959/1.057, allocations: 1.235 MB / 0.6001 GB, free: 32.37 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006365/1.064, allocations: 1.546 MB / 0.6016 GB, free: 31.84 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06392/1.127, allocations: 27.02 MB / 0.628 GB, free: 7.082 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.001058/1.129, allocations: 149.5 kB / 0.6281 GB, free: 6.965 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005456/1.134, allocations: 0.6354 MB / 0.6287 GB, free: 6.367 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005282/1.139, allocations: 3.105 MB / 0.6318 GB, free: 3.281 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0577/1.197, allocations: 23.14 MB / 0.6544 GB, free: 12.38 MB / 478.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4514/1.649, allocations: 109.4 MB / 0.7612 GB, free: 112.1 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03188/1.68, allocations: 14.63 MB / 0.7755 GB, free: 111.4 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01284/1.693, allocations: 9.95 MB / 0.7852 GB, free: 109.9 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.06248/1.756, allocations: 35.93 MB / 0.8203 GB, free: 82.73 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.02832/1.784, allocations: 10.47 MB / 0.8305 GB, free: 72.05 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=775): time 1.947e-05/1.784, allocations: 0 / 0.8305 GB, free: 72.05 MB / 0.5294 GB Notification: Performance of matching and sorting (n=955): time 0.6713/2.456, allocations: 137.1 MB / 0.9644 GB, free: 208.3 MB / 0.5607 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003486/2.456, allocations: 1.533 MB / 0.9659 GB, free: 206.5 MB / 0.5607 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0175/2.474, allocations: 10.57 MB / 0.9762 GB, free: 202.7 MB / 0.5607 GB Notification: Performance of collectPreVariables (initialization): time 0.003033/2.477, allocations: 231.5 kB / 0.9764 GB, free: 202.5 MB / 0.5607 GB Notification: Performance of collectInitialEqns (initialization): time 0.006952/2.484, allocations: 8.335 MB / 0.9846 GB, free: 196.3 MB / 0.5607 GB Notification: Performance of collectInitialBindings (initialization): time 0.004414/2.488, allocations: 3.308 MB / 0.9878 GB, free: 193.7 MB / 0.5607 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.005978/2.494, allocations: 2.627 MB / 0.9903 GB, free: 192.6 MB / 0.5607 GB Notification: Performance of setup shared object (initialization): time 5.547e-05/2.494, allocations: 305.6 kB / 0.9906 GB, free: 192.2 MB / 0.5607 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01298/2.507, allocations: 9.325 MB / 0.9997 GB, free: 188.4 MB / 0.5607 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01709/2.524, allocations: 13.87 MB / 1.013 GB, free: 177.4 MB / 0.5607 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.03224/2.556, allocations: 23.38 MB / 1.036 GB, free: 154 MB / 0.5607 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001224/2.557, allocations: 40 kB / 1.036 GB, free: 153.9 MB / 0.5607 GB Notification: Performance of matching and sorting (n=1717) (initialization): time 0.04448/2.601, allocations: 24.76 MB / 1.06 GB, free: 131.4 MB / 0.5607 GB Notification: Performance of prepare postOptimizeDAE: time 9.4e-05/2.601, allocations: 67.84 kB / 1.06 GB, free: 131.4 MB / 0.5607 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001409/2.601, allocations: 128.9 kB / 1.061 GB, free: 131.2 MB / 0.5607 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002216/2.604, allocations: 1.403 MB / 1.062 GB, free: 129.8 MB / 0.5607 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01838/2.622, allocations: 3.755 MB / 1.066 GB, free: 126 MB / 0.5607 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01652/2.639, allocations: 29.21 MB / 1.094 GB, free: 94.32 MB / 0.5607 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01735/2.656, allocations: 1.247 MB / 1.095 GB, free: 93.08 MB / 0.5607 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004572/2.661, allocations: 0.5936 MB / 1.096 GB, free: 92.48 MB / 0.5607 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 593 * Number of states: 0 () * Number of discrete variables: 154 (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],$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 (1675): * Single equations (assignments): 1657 * 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.01661/2.677, allocations: 5.265 MB / 1.101 GB, free: 87.2 MB / 0.5607 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004556/2.682, allocations: 1.15 MB / 1.102 GB, free: 86.04 MB / 0.5607 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.05807/2.74, allocations: 27.29 MB / 1.129 GB, free: 58.68 MB / 0.5607 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.382e-05/2.74, allocations: 92 kB / 1.129 GB, free: 58.59 MB / 0.5607 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.048e-05/2.74, allocations: 4 kB / 1.129 GB, free: 58.58 MB / 0.5607 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002421/2.74, allocations: 55.81 kB / 1.129 GB, free: 58.53 MB / 0.5607 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.4124/3.153, allocations: 60.07 MB / 1.188 GB, free: 198.7 MB / 0.5607 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001288/3.153, allocations: 12.47 kB / 1.188 GB, free: 198.7 MB / 0.5607 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.009461/3.162, allocations: 1.488 MB / 1.189 GB, free: 198.7 MB / 0.5607 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.04073/3.203, allocations: 13.17 MB / 1.202 GB, free: 198.5 MB / 0.5607 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.003532/3.207, allocations: 205.4 kB / 1.202 GB, free: 198.5 MB / 0.5607 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02771/3.234, allocations: 27.42 MB / 1.229 GB, free: 185.5 MB / 0.5607 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.001e-05/3.234, allocations: 18.84 kB / 1.229 GB, free: 185.5 MB / 0.5607 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.07137/3.306, allocations: 39.75 MB / 1.268 GB, free: 163.3 MB / 0.5607 GB Notification: Performance of postOpt removeConstants (simulation): time 0.009723/3.316, allocations: 3.244 MB / 1.271 GB, free: 161 MB / 0.5607 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.006138/3.322, allocations: 247.9 kB / 1.271 GB, free: 160.7 MB / 0.5607 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01207/3.334, allocations: 0.9448 MB / 1.272 GB, free: 160.1 MB / 0.5607 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003597/3.337, allocations: 0.7561 MB / 1.273 GB, free: 159.7 MB / 0.5607 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.002239/3.34, allocations: 254.3 kB / 1.273 GB, free: 159.4 MB / 0.5607 GB Notification: Performance of sorting global known variables: time 0.01574/3.355, allocations: 6.951 MB / 1.28 GB, free: 153.6 MB / 0.5607 GB Notification: Performance of sort global known variables: time 8.31e-07/3.355, allocations: 0 / 1.28 GB, free: 153.6 MB / 0.5607 GB Notification: Performance of remove unused functions: time 0.02286/3.378, allocations: 3.642 MB / 1.283 GB, free: 150 MB / 0.5607 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: 27 (pathPlanning.terminateSimulation.condition,$whenCondition1,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,axis4.gear.bearingFriction.mode,axis4.gear.bearingFriction.startForward,axis4.gear.bearingFriction.startBackward,axis5.gear.bearingFriction.mode,axis5.gear.bearingFriction.startForward,axis5.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 (734): * Single equations (assignments): 724 * 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 {(9,192), (1,7), (1,7), (1,7)} Notification: Performance of Backend phase and start with SimCode phase: time 0.004789/3.383, allocations: 0.7187 MB / 1.284 GB, free: 149.4 MB / 0.5607 GB Notification: Performance of simCode: created initialization part: time 0.1192/3.502, allocations: 51.53 MB / 1.334 GB, free: 97.91 MB / 0.5607 GB Notification: Performance of simCode: created event and clocks part: time 1.616e-05/3.502, allocations: 4.438 kB / 1.334 GB, free: 97.91 MB / 0.5607 GB Notification: Performance of simCode: created simulation system equations: time 0.02374/3.526, allocations: 12.49 MB / 1.347 GB, free: 85.34 MB / 0.5607 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02356/3.55, allocations: 2.266 MB / 1.349 GB, free: 83.09 MB / 0.5607 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.08183/3.632, allocations: 37.65 MB / 1.386 GB, free: 45.39 MB / 0.5607 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01138/3.643, allocations: 8.664 MB / 1.394 GB, free: 36.68 MB / 0.5607 GB Notification: Performance of simCode: alias equations: time 0.01254/3.656, allocations: 3.36 MB / 1.397 GB, free: 33.31 MB / 0.5607 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006227/3.662, allocations: 0.7415 MB / 1.398 GB, free: 32.58 MB / 0.5607 GB Notification: Performance of SimCode: time 1.102e-06/3.662, allocations: 4 kB / 1.398 GB, free: 32.57 MB / 0.5607 GB Notification: Performance of Templates: time 0.5447/4.207, allocations: 225.5 MB / 1.618 GB, free: 31.89 MB / 0.5607 GB make -j1 -f Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Systems.RobotR3.FullRobot.makefile (rm -f Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Systems.RobotR3.FullRobot.pipe ; mkfifo Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Systems.RobotR3.FullRobot.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Systems.RobotR3.FullRobot.pipe >> ../files/Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Systems.RobotR3.FullRobot.sim & ./Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Systems.RobotR3.FullRobot -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Systems.RobotR3.FullRobot.pipe 2>&1) diffSimulationResults("Modelica_trunk_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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Systems.RobotR3.FullRobot.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches