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 1.926/1.926, allocations: 194.9 MB / 211.7 MB, free: 3 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005279/0.0005281, allocations: 12 kB / 264.6 MB, free: 12.93 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1122/0.1128, allocations: 44.5 MB / 309.1 MB, free: 364 kB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GearConstraint): time 0.09158/0.2044, allocations: 57.47 MB / 366.5 MB, free: 6.727 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.2985/0.503, allocations: 13.51 MB / 380.1 MB, free: 7.836 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01216/0.5152, allocations: 286 kB / 380.3 MB, free: 7.836 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.009794/0.525, allocations: 2.936 MB / 383.3 MB, free: 7.832 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.03112/0.5562, allocations: 8.273 MB / 391.5 MB, free: 6.434 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.005173/0.5614, allocations: 0.8117 MB / 392.4 MB, free: 6.219 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.04716/0.6086, allocations: 17.84 MB / 410.2 MB, free: 0.9531 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01314/0.6218, allocations: 6.569 MB / 416.8 MB, free: 12.33 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003534/0.6254, allocations: 1.409 MB / 418.2 MB, free: 11.43 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00424/0.6297, allocations: 1.852 MB / 420 MB, free: 10.15 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.00105/0.6308, allocations: 199.9 kB / 420.2 MB, free: 9.953 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00321/0.634, allocations: 1.001 MB / 421.2 MB, free: 9.125 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.003113/0.6372, allocations: 2.096 MB / 423.3 MB, free: 7.645 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00171/0.6389, allocations: 1.096 MB / 424.4 MB, free: 7.098 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01205/0.651, allocations: 7.56 MB / 432 MB, free: 0.5312 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.528e-06/0.651, allocations: 0 / 432 MB, free: 0.5312 MB / 330.7 MB Notification: Performance of FrontEnd: time 3.276e-06/0.651, allocations: 0 / 432 MB, free: 0.5312 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0002664/0.6513, allocations: 0 / 432 MB, free: 0.5312 MB / 330.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.01986/0.6712, allocations: 5.631 MB / 437.6 MB, free: 11.32 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.038e-05/0.6713, allocations: 8.031 kB / 437.6 MB, free: 11.32 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.08538/0.7567, allocations: 8.035 MB / 445.6 MB, free: 3.98 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01307/0.7698, allocations: 4.274 MB / 449.9 MB, free: 0.7539 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003301/0.7701, allocations: 310.1 kB / 450.2 MB, free: 0.582 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001978/0.7721, allocations: 445.8 kB / 450.7 MB, free: 300 kB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03239/0.8045, allocations: 12.29 MB / 463 MB, free: 6.734 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002325/0.8048, allocations: 50.47 kB / 463 MB, free: 6.688 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001024/0.8059, allocations: 195.1 kB / 463.2 MB, free: 6.633 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005183/0.8111, allocations: 2.088 MB / 465.3 MB, free: 4.914 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03189/0.843, allocations: 10.42 MB / 475.7 MB, free: 12.79 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08883/0.9319, allocations: 47.05 MB / 0.5105 GB, free: 12.61 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01956/0.9515, allocations: 4.498 MB / 0.5149 GB, free: 7.969 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.2763/1.228, allocations: 10.11 MB / 0.5248 GB, free: 157.8 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.2e-05/1.228, allocations: 58.81 kB / 0.5248 GB, free: 157.8 MB / 426.7 MB Notification: Performance of pre-optimization done (n=192): time 7.344e-06/1.228, allocations: 3.969 kB / 0.5248 GB, free: 157.8 MB / 426.7 MB Notification: Performance of matching and sorting (n=218): time 0.08738/1.315, allocations: 19.82 MB / 0.5442 GB, free: 151.4 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.009e-05/1.316, allocations: 211.9 kB / 0.5444 GB, free: 151.2 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008881/1.324, allocations: 5.027 MB / 0.5493 GB, free: 149.4 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005001/1.325, allocations: 57.64 kB / 0.5494 GB, free: 149.4 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002884/1.328, allocations: 3.75 MB / 0.553 GB, free: 146.5 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001185/1.329, allocations: 0.8245 MB / 0.5538 GB, free: 145.9 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000652/1.33, allocations: 132.7 kB / 0.5539 GB, free: 145.8 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0003738/1.33, allocations: 0.5832 MB / 0.5545 GB, free: 145.3 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005345/1.335, allocations: 2.333 MB / 0.5568 GB, free: 143.5 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007871/1.343, allocations: 6.245 MB / 0.5629 GB, free: 135.5 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007987/1.351, allocations: 3.741 MB / 0.5665 GB, free: 131.8 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001049/1.352, allocations: 36 kB / 0.5666 GB, free: 131.8 MB / 426.7 MB Notification: Performance of matching and sorting (n=853) (initialization): time 0.02366/1.375, allocations: 9.184 MB / 0.5756 GB, free: 122.6 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.516e-05/1.375, allocations: 68.06 kB / 0.5756 GB, free: 122.5 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001559/1.376, allocations: 143.6 kB / 0.5758 GB, free: 122.4 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004988/1.381, allocations: 1.089 MB / 0.5768 GB, free: 121.3 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008764/1.389, allocations: 1.497 MB / 0.5783 GB, free: 119.8 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01467/1.404, allocations: 8.405 MB / 0.5865 GB, free: 111.1 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006728/1.411, allocations: 359.5 kB / 0.5868 GB, free: 110.8 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001119/1.412, allocations: 396 kB / 0.5872 GB, free: 110.4 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 631 * 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 (791): * Single equations (assignments): 786 * 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.005462/1.417, allocations: 2.566 MB / 0.5897 GB, free: 107.8 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001054/1.419, allocations: 426.5 kB / 0.5901 GB, free: 107.4 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01114/1.43, allocations: 3.884 MB / 0.5939 GB, free: 103.5 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.967e-05/1.43, allocations: 7.969 kB / 0.5939 GB, free: 103.5 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.728e-06/1.43, allocations: 4 kB / 0.5939 GB, free: 103.5 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002648/1.432, allocations: 0.7765 MB / 0.5947 GB, free: 102.7 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001302/1.434, allocations: 32 kB / 0.5947 GB, free: 102.6 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003464/1.437, allocations: 117 kB / 0.5948 GB, free: 102.5 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006841/1.438, allocations: 141.8 kB / 0.595 GB, free: 102.4 MB / 426.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01323/1.451, allocations: 4.4 MB / 0.5993 GB, free: 98.02 MB / 426.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.01229/1.464, allocations: 5.93 MB / 0.605 GB, free: 92.06 MB / 426.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.003302/1.467, allocations: 1.55 MB / 0.6066 GB, free: 90.51 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.006787/1.474, allocations: 3.218 MB / 0.6097 GB, free: 87.3 MB / 426.7 MB Notification: Performance of Backend: time 1.492e-06/1.474, allocations: 4 kB / 0.6097 GB, free: 87.3 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.01285/1.487, allocations: 4.713 MB / 0.6143 GB, free: 82.61 MB / 426.7 MB Notification: Performance of SimCode: time 0.02724/1.514, allocations: 13.62 MB / 0.6276 GB, free: 68.95 MB / 426.7 MB Notification: Performance of Templates: time 0.1427/1.657, allocations: 52.68 MB / 0.6791 GB, free: 16.34 MB / 426.7 MB