Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GearConstraint.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Running command: translateModel(Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GearConstraint,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|gearConstraint.actuatedRevolute_b.phi|gearConstraint.actuatedRevolute_b.w|inertia2.phi|inertia2.w",fileNamePrefix="Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GearConstraint") Notification: Performance of loadModel(Modelica): time 2.009/2.009, allocations: 194.8 MB / 211.7 MB, free: 3.008 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004916/0.0004916, allocations: 8 kB / 264.5 MB, free: 12.95 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0958/0.09632, allocations: 44.51 MB / 309.1 MB, free: 372 kB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4263/0.5227, allocations: 92.84 MB / 401.9 MB, free: 14.64 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003244/0.5231, allocations: 102.6 kB / 402 MB, free: 14.62 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4461/0.9692, allocations: 107.1 MB / 0.4972 GB, free: 10.82 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.886e-06/0.9693, allocations: 0 / 0.4972 GB, free: 10.82 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0004416/0.9698, allocations: 107.9 kB / 0.4973 GB, free: 10.72 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1843 * Number of variables: 1843 Notification: Performance of Generate backend data structure: time 0.02623/0.996, allocations: 5.724 MB / 0.5029 GB, free: 4.918 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.908e-05/0.9961, allocations: 12.03 kB / 0.5029 GB, free: 4.906 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05237/1.048, allocations: 6.931 MB / 0.5096 GB, free: 13.96 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02745/1.076, allocations: 6.835 MB / 0.5163 GB, free: 7.062 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006785/1.077, allocations: 406.7 kB / 0.5167 GB, free: 6.664 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003395/1.08, allocations: 0.5388 MB / 0.5172 GB, free: 6.125 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.3272/1.407, allocations: 12.76 MB / 0.5297 GB, free: 75.06 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005469/1.408, allocations: 77.88 kB / 0.5298 GB, free: 75.06 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002873/1.411, allocations: 257.2 kB / 0.53 GB, free: 75.06 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002871/1.414, allocations: 1.128 MB / 0.5311 GB, free: 75.05 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03369/1.448, allocations: 10.48 MB / 0.5414 GB, free: 75.01 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08449/1.532, allocations: 57.08 MB / 0.5971 GB, free: 39.79 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01849/1.551, allocations: 4.418 MB / 0.6014 GB, free: 38.08 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02608/1.577, allocations: 9.98 MB / 0.6112 GB, free: 33.23 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.768e-05/1.577, allocations: 51.66 kB / 0.6112 GB, free: 33.18 MB / 410.7 MB Notification: Performance of pre-optimization done (n=192): time 6.221e-06/1.577, allocations: 0 / 0.6112 GB, free: 33.18 MB / 410.7 MB Notification: Performance of matching and sorting (n=218): time 0.09423/1.671, allocations: 19.35 MB / 0.6301 GB, free: 25.77 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001177/1.671, allocations: 210.5 kB / 0.6303 GB, free: 25.55 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01592/1.687, allocations: 4.758 MB / 0.635 GB, free: 23.93 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0006554/1.688, allocations: 54.98 kB / 0.635 GB, free: 23.88 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.004949/1.693, allocations: 3.756 MB / 0.6387 GB, free: 21 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001741/1.695, allocations: 0.8275 MB / 0.6395 GB, free: 20.4 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001011/1.696, allocations: 129.3 kB / 0.6396 GB, free: 20.3 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0006154/1.696, allocations: 0.5823 MB / 0.6402 GB, free: 19.88 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008542/1.705, allocations: 2.261 MB / 0.6424 GB, free: 19.13 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01259/1.718, allocations: 6.193 MB / 0.6484 GB, free: 12.82 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01258/1.73, allocations: 3.677 MB / 0.652 GB, free: 9.59 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001658/1.731, allocations: 40 kB / 0.6521 GB, free: 9.551 MB / 410.7 MB Notification: Performance of matching and sorting (n=857) (initialization): time 0.02975/1.76, allocations: 8.954 MB / 0.6608 GB, free: 1.691 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001117/1.761, allocations: 64 kB / 0.6609 GB, free: 1.629 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002145/1.761, allocations: 140.8 kB / 0.661 GB, free: 1.492 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004365/1.765, allocations: 0.9392 MB / 0.6619 GB, free: 0.7578 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009966/1.775, allocations: 1.535 MB / 0.6634 GB, free: 15.52 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.016/1.791, allocations: 7.602 MB / 0.6708 GB, free: 8.469 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007324/1.799, allocations: 356.3 kB / 0.6712 GB, free: 8.152 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001638/1.8, allocations: 398.5 kB / 0.6716 GB, free: 7.77 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 635 * Number of states: 0 () * Number of discrete variables: 42 (fixed.color[3],fixed.color[2],fixed.color[1],torque1.connectionLineColor[3],torque1.connectionLineColor[2],torque1.connectionLineColor[1],torque1.torqueColor[3],torque1.torqueColor[2],torque1.torqueColor[1],cyl2.color[3],cyl2.color[2],cyl2.color[1],cyl2.body.sphereColor[3],cyl2.body.sphereColor[2],cyl2.body.sphereColor[1],cyl1.color[3],cyl1.color[2],cyl1.color[1],cyl1.body.sphereColor[3],cyl1.body.sphereColor[2],cyl1.body.sphereColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1],gearConstraint.fixedTranslation2.color[3],gearConstraint.fixedTranslation2.color[2],gearConstraint.fixedTranslation2.color[1],gearConstraint.fixedTranslation1.color[3],gearConstraint.fixedTranslation1.color[2],gearConstraint.fixedTranslation1.color[1],gearConstraint.actuatedRevolute_b.cylinderColor[3],gearConstraint.actuatedRevolute_b.cylinderColor[2],gearConstraint.actuatedRevolute_b.cylinderColor[1],gearConstraint.actuatedRevolute_a.cylinderColor[3],gearConstraint.actuatedRevolute_a.cylinderColor[2],gearConstraint.actuatedRevolute_a.cylinderColor[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (795): * Single equations (assignments): 790 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 33,(1,100.0%) 5} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.00754/1.808, allocations: 2.564 MB / 0.6741 GB, free: 5.52 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001265/1.809, allocations: 430.3 kB / 0.6745 GB, free: 5.098 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01248/1.822, allocations: 3.607 MB / 0.678 GB, free: 2.117 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.428e-05/1.822, allocations: 27.94 kB / 0.678 GB, free: 2.09 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.242e-05/1.822, allocations: 11.84 kB / 0.678 GB, free: 2.082 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.375e-05/1.822, allocations: 6.469 kB / 0.678 GB, free: 2.082 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3622/2.184, allocations: 9.5 MB / 0.6873 GB, free: 85.1 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.642e-05/2.184, allocations: 0 / 0.6873 GB, free: 85.1 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003326/2.187, allocations: 347.7 kB / 0.6876 GB, free: 85.1 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003811/2.191, allocations: 0.6908 MB / 0.6883 GB, free: 85.09 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003845/2.192, allocations: 36.66 kB / 0.6884 GB, free: 85.09 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01311/2.205, allocations: 6.74 MB / 0.6949 GB, free: 82.51 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.116e-06/2.205, allocations: 0 / 0.6949 GB, free: 82.51 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01581/2.221, allocations: 6.249 MB / 0.701 GB, free: 82.03 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002857/2.224, allocations: 0.7406 MB / 0.7018 GB, free: 81.93 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001288/2.225, allocations: 33.64 kB / 0.7018 GB, free: 81.93 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003275/2.228, allocations: 113.1 kB / 0.7019 GB, free: 81.93 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006624/2.229, allocations: 132 kB / 0.702 GB, free: 81.93 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002112/2.229, allocations: 61.05 kB / 0.7021 GB, free: 81.93 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.008182/2.237, allocations: 2.996 MB / 0.705 GB, free: 81.75 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.142e-06/2.237, allocations: 0 / 0.705 GB, free: 81.75 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.008256/2.246, allocations: 1.188 MB / 0.7062 GB, free: 81.75 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 4 (gearConstraint.actuatedRevolute_b.phi,gearConstraint.actuatedRevolute_b.w,inertia1.phi,inertia1.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (169): * Single equations (assignments): 164 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 27,(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008282/2.246, allocations: 176 kB / 0.7063 GB, free: 81.66 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.01388/2.26, allocations: 5.75 MB / 0.712 GB, free: 81.38 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 6.853e-06/2.26, allocations: 3.969 kB / 0.712 GB, free: 81.38 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005133/2.266, allocations: 2 MB / 0.7139 GB, free: 81.12 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004282/2.27, allocations: 0.53 MB / 0.7144 GB, free: 81.1 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03045/2.3, allocations: 13.44 MB / 0.7276 GB, free: 75.92 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01191/2.312, allocations: 4.103 MB / 0.7316 GB, free: 75.1 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.015/2.327, allocations: 2.096 MB / 0.7336 GB, free: 75.05 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002484/2.33, allocations: 280.2 kB / 0.7339 GB, free: 75.05 MB / 426.7 MB Notification: Performance of SimCode: time 1.693e-06/2.33, allocations: 0 / 0.7339 GB, free: 75.05 MB / 426.7 MB Notification: Performance of Templates: time 0.1527/2.483, allocations: 40.99 MB / 0.7739 GB, free: 64.76 MB / 426.7 MB