Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Systems.RobotR3.FullRobot.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 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(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001844/0.001844, allocations: 202.1 kB / 17.43 MB, free: 4.398 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.291/1.291, allocations: 229.5 MB / 247.7 MB, free: 6.332 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.000765/0.000765, allocations: 104.6 kB / 299.8 MB, free: 5.332 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002271/0.0002273, allocations: 4 kB / 360.7 MB, free: 8.445 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2015/0.2017, allocations: 51.41 MB / 412.1 MB, free: 25.88 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Systems.RobotR3.FullRobot): time 0.341/0.5428, allocations: 149.9 MB / 0.5488 GB, free: 1.207 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.07351/0.6163, allocations: 37.26 MB / 0.5852 GB, free: 4.125 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.03003/0.6464, allocations: 0.736 MB / 0.5859 GB, free: 3.992 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.008114/0.6546, allocations: 1.851 MB / 0.5877 GB, free: 2.383 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01795/0.6725, allocations: 5.047 MB / 0.5926 GB, free: 14.14 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01191/0.6845, allocations: 4.678 MB / 0.5972 GB, free: 9.586 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.03055/0.7151, allocations: 26.31 MB / 0.6229 GB, free: 15.97 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.03627/0.7514, allocations: 22.66 MB / 0.645 GB, free: 8.902 MB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01114/0.7626, allocations: 6.057 MB / 0.6509 GB, free: 2.82 MB / 458.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01202/0.7746, allocations: 8.033 MB / 0.6588 GB, free: 10.75 MB / 474.7 MB Notification: Performance of NFPackage.collectConstants: time 0.00368/0.7783, allocations: 0.707 MB / 0.6595 GB, free: 10.05 MB / 474.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005605/0.7839, allocations: 1.296 MB / 0.6607 GB, free: 8.75 MB / 474.7 MB Notification: Performance of NFScalarize.scalarize: time 0.007573/0.7915, allocations: 5.436 MB / 0.666 GB, free: 3.297 MB / 474.7 MB Notification: Performance of NFVerifyModel.verify: time 0.01583/0.8074, allocations: 8.423 MB / 0.6743 GB, free: 10.82 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.4798/1.287, allocations: 33.92 MB / 0.7074 GB, free: 50 MB / 490.8 MB Notification: Performance of FrontEnd - DAE generated: time 6.342e-06/1.287, allocations: 0 / 0.7074 GB, free: 50 MB / 490.8 MB Notification: Performance of FrontEnd: time 2.284e-06/1.287, allocations: 0.7188 kB / 0.7074 GB, free: 50 MB / 490.8 MB Notification: Performance of Transformations before backend: time 0.001167/1.289, allocations: 0 / 0.7074 GB, free: 50 MB / 490.8 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.04079/1.329, allocations: 16.15 MB / 0.7232 GB, free: 41.07 MB / 490.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.764e-05/1.329, allocations: 8.969 kB / 0.7232 GB, free: 41.07 MB / 490.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01225/1.342, allocations: 2.684 MB / 0.7258 GB, free: 39.82 MB / 490.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02075/1.362, allocations: 11.42 MB / 0.7369 GB, free: 36.15 MB / 490.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009875/1.363, allocations: 1.247 MB / 0.7382 GB, free: 36.01 MB / 490.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005305/1.369, allocations: 1.547 MB / 0.7397 GB, free: 35.96 MB / 490.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05776/1.427, allocations: 26.96 MB / 0.766 GB, free: 23.8 MB / 490.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006772/1.427, allocations: 138.6 kB / 0.7661 GB, free: 23.7 MB / 490.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002461/1.43, allocations: 0.635 MB / 0.7668 GB, free: 23.55 MB / 490.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004681/1.434, allocations: 3.106 MB / 0.7698 GB, free: 20.98 MB / 490.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05012/1.485, allocations: 23.08 MB / 0.7923 GB, free: 6.035 MB / 490.8 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.4067/1.891, allocations: 109.5 MB / 0.8993 GB, free: 214 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03081/1.922, allocations: 14.64 MB / 0.9136 GB, free: 213.4 MB / 0.573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01217/1.934, allocations: 9.933 MB / 0.9233 GB, free: 213.3 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.05741/1.992, allocations: 35.89 MB / 0.9583 GB, free: 198.8 MB / 0.573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.02574/2.018, allocations: 10.44 MB / 0.9685 GB, free: 193.9 MB / 0.573 GB Notification: Performance of pre-optimization done (n=775): time 1.364e-05/2.018, allocations: 0 / 0.9685 GB, free: 193.9 MB / 0.573 GB Notification: Performance of matching and sorting (n=955): time 0.3747/2.392, allocations: 139.3 MB / 1.105 GB, free: 57.9 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003439/2.393, allocations: 1.519 MB / 1.106 GB, free: 56.04 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02406/2.417, allocations: 10.49 MB / 1.116 GB, free: 45.62 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 0.003477/2.42, allocations: 229.7 kB / 1.116 GB, free: 45.39 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 0.008534/2.429, allocations: 8.346 MB / 1.125 GB, free: 37.06 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 0.006032/2.435, allocations: 3.304 MB / 1.128 GB, free: 33.79 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00333/2.438, allocations: 268 kB / 1.128 GB, free: 33.52 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 0.001046/2.439, allocations: 0.8405 MB / 1.129 GB, free: 32.68 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.243/2.682, allocations: 9.28 MB / 1.138 GB, free: 225 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02122/2.704, allocations: 13.83 MB / 1.152 GB, free: 219.5 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02951/2.733, allocations: 23.32 MB / 1.174 GB, free: 205.5 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001107/2.733, allocations: 43.38 kB / 1.174 GB, free: 205.5 MB / 0.573 GB Notification: Performance of matching and sorting (n=1717) (initialization): time 0.04395/2.777, allocations: 24.66 MB / 1.198 GB, free: 195.4 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001045/2.777, allocations: 58.69 kB / 1.198 GB, free: 195.4 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001802/2.778, allocations: 134.9 kB / 1.199 GB, free: 195.4 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002097/2.78, allocations: 1.182 MB / 1.2 GB, free: 194.9 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01822/2.798, allocations: 3.773 MB / 1.203 GB, free: 193.4 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01628/2.814, allocations: 26.98 MB / 1.23 GB, free: 165.1 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01632/2.831, allocations: 1.364 MB / 1.231 GB, free: 164.1 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003818/2.835, allocations: 0.5932 MB / 1.232 GB, free: 163.5 MB / 0.573 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,$whenCondition1,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 () * 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.01601/2.851, allocations: 5.258 MB / 1.237 GB, free: 158.8 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003852/2.854, allocations: 1.148 MB / 1.238 GB, free: 158.2 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04295/2.897, allocations: 25.04 MB / 1.262 GB, free: 136.9 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.3e-05/2.898, allocations: 92 kB / 1.262 GB, free: 136.8 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.882e-05/2.898, allocations: 11.7 kB / 1.263 GB, free: 136.8 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001939/2.898, allocations: 44.58 kB / 1.263 GB, free: 136.8 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.09542/2.993, allocations: 59.44 MB / 1.321 GB, free: 80.02 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001056/2.993, allocations: 14.81 kB / 1.321 GB, free: 80.01 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.007155/3.001, allocations: 1.502 MB / 1.322 GB, free: 78.51 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.03348/3.034, allocations: 12.92 MB / 1.335 GB, free: 65.55 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002949/3.037, allocations: 203.9 kB / 1.335 GB, free: 65.35 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02697/3.064, allocations: 26.73 MB / 1.361 GB, free: 37.82 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.416e-05/3.064, allocations: 20.03 kB / 1.361 GB, free: 37.8 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2929/3.357, allocations: 39.15 MB / 1.399 GB, free: 208.5 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.009566/3.367, allocations: 3.249 MB / 1.402 GB, free: 208.4 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003865/3.37, allocations: 243.8 kB / 1.403 GB, free: 208.4 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01023/3.381, allocations: 1.073 MB / 1.404 GB, free: 208.4 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00311/3.384, allocations: 0.7495 MB / 1.404 GB, free: 208.4 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001216/3.385, allocations: 257.8 kB / 1.405 GB, free: 208.4 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.01524/3.4, allocations: 6.861 MB / 1.411 GB, free: 208.1 MB / 0.573 GB Notification: Performance of sort global known variables: time 4.91e-07/3.4, allocations: 3.875 kB / 1.411 GB, free: 208.1 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.02011/3.42, allocations: 3.653 MB / 1.415 GB, free: 208.1 MB / 0.573 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,axis5.gear.bearingFriction.mode,axis5.gear.bearingFriction.startForward,axis4.gear.bearingFriction.mode,axis4.gear.bearingFriction.startForward,axis4.gear.bearingFriction.startBackward,axis6.gear.bearingFriction.mode,axis6.gear.bearingFriction.startForward,axis6.gear.bearingFriction.startBackward,axis5.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.004202/3.425, allocations: 0.7574 MB / 1.416 GB, free: 207.9 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.03627/3.461, allocations: 23.15 MB / 1.438 GB, free: 198.2 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 2.464e-05/3.461, allocations: 3.938 kB / 1.438 GB, free: 198.2 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.0211/3.482, allocations: 12.47 MB / 1.45 GB, free: 192.4 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.04131/3.523, allocations: 2.144 MB / 1.453 GB, free: 191.5 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.08525/3.609, allocations: 45.54 MB / 1.497 GB, free: 154.3 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01513/3.624, allocations: 8.667 MB / 1.505 GB, free: 147.9 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.01684/3.641, allocations: 3.348 MB / 1.509 GB, free: 145.5 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00804/3.649, allocations: 0.7401 MB / 1.509 GB, free: 144.8 MB / 0.573 GB Notification: Performance of SimCode: time 1.784e-06/3.649, allocations: 3.938 kB / 1.509 GB, free: 144.8 MB / 0.573 GB Notification: Performance of Templates: time 0.5137/4.163, allocations: 211.7 MB / 1.716 GB, free: 148.8 MB / 0.573 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","../files/Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Systems.RobotR3.FullRobot.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches