Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.1_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses2.conf.json Using package ModelicaServices with version 1.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 1.0/package.mo) Using package Modelica with version 3.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.1/package.mo) Running command: translateModel(Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.1_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses2") Notification: Performance of loadModel(Modelica): time 0.9756/0.9756, allocations: 111.1 MB / 127.3 MB, free: 6.145 MB / 106.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002598/0.00026, allocations: 4 kB / 158.9 MB, free: 15.21 MB / 138.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.05298/0.05326, allocations: 25.16 MB / 184 MB, free: 6.008 MB / 154.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2234/0.2767, allocations: 47.36 MB / 231.4 MB, free: 15.32 MB / 186.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003021/0.2771, allocations: 79.45 kB / 231.5 MB, free: 15.27 MB / 186.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.036/9.313, allocations: 0.9721 GB / 1.198 GB, free: 22.77 MB / 282.8 MB Notification: Performance of FrontEnd: time 3.056e-06/9.313, allocations: 0 / 1.198 GB, free: 22.77 MB / 282.8 MB Notification: Performance of Transformations before backend: time 0.0007124/9.314, allocations: 219.2 kB / 1.198 GB, free: 22.77 MB / 282.8 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4074 * Number of variables: 4074 Notification: Performance of Generate backend data structure: time 0.6283/9.942, allocations: 78.77 MB / 1.275 GB, free: 12.89 MB / 282.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.375e-05/9.942, allocations: 16.03 kB / 1.275 GB, free: 12.88 MB / 282.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 21.21/31.15, allocations: 1.914 GB / 3.189 GB, free: 23.45 MB / 298.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1362/31.29, allocations: 38.74 MB / 3.227 GB, free: 16.82 MB / 298.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00146/31.29, allocations: 0.867 MB / 3.228 GB, free: 16.49 MB / 298.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.04052/31.33, allocations: 1.147 MB / 3.229 GB, free: 15.9 MB / 298.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.267/37.6, allocations: 0.6198 GB / 3.849 GB, free: 18.91 MB / 314.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.001113/37.6, allocations: 102.4 kB / 3.849 GB, free: 18.9 MB / 314.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.03705/37.64, allocations: 0.5062 MB / 3.849 GB, free: 18.6 MB / 314.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.01624/37.65, allocations: 3.582 MB / 3.853 GB, free: 17.23 MB / 314.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 12.74/50.4, allocations: 1.205 GB / 5.058 GB, free: 25.15 MB / 314.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 15.12/65.52, allocations: 1.743 GB / 6.801 GB, free: 58.63 MB / 410.8 MB Notification: Performance of preOpt comSubExp (simulation): time 1.211/66.73, allocations: 116.8 MB / 6.915 GB, free: 124.1 MB / 410.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001468/66.73, allocations: 445.8 kB / 6.915 GB, free: 123.7 MB / 410.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001038/66.73, allocations: 113.3 kB / 6.916 GB, free: 123.6 MB / 410.8 MB Notification: Performance of pre-optimization done (n=682): time 1.223e-05/66.73, allocations: 0 / 6.916 GB, free: 123.6 MB / 410.8 MB Notification: Performance of matching and sorting (n=780): time 5.266/72, allocations: 0.5054 GB / 7.421 GB, free: 117.9 MB / 410.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.002698/72, allocations: 3.373 MB / 7.424 GB, free: 114.2 MB / 410.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.03099/72.03, allocations: 10.21 MB / 7.434 GB, free: 104.3 MB / 410.8 MB Notification: Performance of collectPreVariables (initialization): time 0.00881/72.04, allocations: 143.4 kB / 7.434 GB, free: 104.2 MB / 410.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.006353/72.05, allocations: 7.184 MB / 7.441 GB, free: 97.79 MB / 410.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.01182/72.06, allocations: 2.83 MB / 7.444 GB, free: 94.98 MB / 410.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.01101/72.07, allocations: 332 kB / 7.444 GB, free: 94.65 MB / 410.8 MB Notification: Performance of setup shared object (initialization): time 0.001639/72.07, allocations: 1.005 MB / 7.445 GB, free: 93.64 MB / 410.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.16/73.23, allocations: 103.9 MB / 7.547 GB, free: 116.7 MB / 410.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.109/74.34, allocations: 112.3 MB / 7.656 GB, free: 107.6 MB / 410.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.004/75.34, allocations: 86.92 MB / 7.741 GB, free: 107.9 MB / 410.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0003758/75.34, allocations: 84.81 kB / 7.741 GB, free: 107.9 MB / 410.8 MB Notification: Performance of matching and sorting (n=2149) (initialization): time 2.364/77.71, allocations: 211.4 MB / 7.948 GB, free: 105.9 MB / 410.8 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002296/77.71, allocations: 133.5 kB / 7.948 GB, free: 105.9 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.6911/78.4, allocations: 72.88 MB / 8.019 GB, free: 103.3 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.08877/78.49, allocations: 13.96 MB / 8.033 GB, free: 92.18 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.6899/79.18, allocations: 42.8 MB / 8.075 GB, free: 105.9 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.13/79.31, allocations: 54.57 MB / 8.128 GB, free: 90.37 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.6927/80, allocations: 38.33 MB / 8.165 GB, free: 105.2 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.01367/80.02, allocations: 2.2 MB / 8.168 GB, free: 105.2 MB / 410.8 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1320 * Number of states: 0 () * Number of discrete variables: 84 (referenceSystem.fixedTranslation5.color[3],referenceSystem.fixedTranslation5.color[2],referenceSystem.fixedTranslation5.color[1],referenceSystem.fixedTranslation4.color[3],referenceSystem.fixedTranslation4.color[2],referenceSystem.fixedTranslation4.color[1],referenceSystem.fixedTranslation3.color[3],referenceSystem.fixedTranslation3.color[2],referenceSystem.fixedTranslation3.color[1],referenceSystem.fixedTranslation2.color[3],referenceSystem.fixedTranslation2.color[2],referenceSystem.fixedTranslation2.color[1],referenceSystem.fixedTranslation1.color[3],referenceSystem.fixedTranslation1.color[2],referenceSystem.fixedTranslation1.color[1],referenceSystem.fixedTranslation.color[3],referenceSystem.fixedTranslation.color[2],referenceSystem.fixedTranslation.color[1],referenceSystem.pointMass6.sphereColor[3],referenceSystem.pointMass6.sphereColor[2],referenceSystem.pointMass6.sphereColor[1],referenceSystem.pointMass5.sphereColor[3],referenceSystem.pointMass5.sphereColor[2],referenceSystem.pointMass5.sphereColor[1],referenceSystem.pointMass4.sphereColor[3],referenceSystem.pointMass4.sphereColor[2],referenceSystem.pointMass4.sphereColor[1],referenceSystem.pointMass3.sphereColor[3],referenceSystem.pointMass3.sphereColor[2],referenceSystem.pointMass3.sphereColor[1],referenceSystem.pointMass2.sphereColor[3],referenceSystem.pointMass2.sphereColor[2],referenceSystem.pointMass2.sphereColor[1],referenceSystem.pointMass1.sphereColor[3],referenceSystem.pointMass1.sphereColor[2],referenceSystem.pointMass1.sphereColor[1],freeMotion.arrowColor[3],freeMotion.arrowColor[2],freeMotion.arrowColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],fixedTranslation5.color[3],fixedTranslation5.color[2],fixedTranslation5.color[1],fixedTranslation4.color[3],fixedTranslation4.color[2],fixedTranslation4.color[1],fixedTranslation3.color[3],fixedTranslation3.color[2],fixedTranslation3.color[1],fixedTranslation2.color[3],fixedTranslation2.color[2],fixedTranslation2.color[1],fixedTranslation1.color[3],fixedTranslation1.color[2],fixedTranslation1.color[1],fixedTranslation.color[3],fixedTranslation.color[2],fixedTranslation.color[1],pointMass6.sphereColor[3],pointMass6.sphereColor[2],pointMass6.sphereColor[1],pointMass5.sphereColor[3],pointMass5.sphereColor[2],pointMass5.sphereColor[1],pointMass4.sphereColor[3],pointMass4.sphereColor[2],pointMass4.sphereColor[1],pointMass3.sphereColor[3],pointMass3.sphereColor[2],pointMass3.sphereColor[1],pointMass2.sphereColor[3],pointMass2.sphereColor[2],pointMass2.sphereColor[1],pointMass1.sphereColor[3],pointMass1.sphereColor[2],pointMass1.sphereColor[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1982): * Single equations (assignments): 1968 * Array equations: 7 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 3 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(4,100.0%),(4,100.0%)} * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(6,100.0%) 36,(3,100.0%) 3,(6,100.0%) 66} * Non-linear torn systems: 1 {4 9} Notification: Performance of prepare postOptimizeDAE: time 0.04107/80.06, allocations: 5.282 MB / 8.173 GB, free: 104.9 MB / 410.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.01641/80.07, allocations: 0.9349 MB / 8.174 GB, free: 104.9 MB / 410.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.3556/80.43, allocations: 32.71 MB / 8.206 GB, free: 104.6 MB / 410.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.184/81.61, allocations: 103.7 MB / 8.307 GB, free: 107.9 MB / 410.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001675/81.61, allocations: 27.91 kB / 8.307 GB, free: 107.9 MB / 410.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002468/81.61, allocations: 38.7 kB / 8.307 GB, free: 107.9 MB / 410.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 2.177/83.79, allocations: 242.6 MB / 8.544 GB, free: 106.4 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0002052/83.79, allocations: 28.05 kB / 8.544 GB, free: 106.4 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.3803/84.17, allocations: 39.81 MB / 8.583 GB, free: 106.4 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.08635/84.26, allocations: 12.69 MB / 8.595 GB, free: 106.4 MB / 410.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.009421/84.27, allocations: 1.348 MB / 8.596 GB, free: 106.4 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.3885/84.66, allocations: 48.06 MB / 8.643 GB, free: 101.9 MB / 410.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.002735/84.66, allocations: 3.022 MB / 8.646 GB, free: 99.18 MB / 410.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 3.174/87.83, allocations: 316.6 MB / 8.955 GB, free: 102.4 MB / 410.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.004784/87.84, allocations: 1.179 MB / 8.957 GB, free: 102.3 MB / 410.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.01394/87.85, allocations: 167.1 kB / 8.957 GB, free: 102.3 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.373/88.22, allocations: 37.14 MB / 8.993 GB, free: 82.93 MB / 410.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.004506/88.23, allocations: 0.5858 MB / 8.994 GB, free: 82.46 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.009955/88.24, allocations: 1.445 MB / 8.995 GB, free: 81.19 MB / 410.8 MB Notification: Performance of sorting global known variables: time 0.3045/88.54, allocations: 6.55 MB / 9.001 GB, free: 102.2 MB / 410.8 MB Notification: Performance of sort global known variables: time 7.22e-07/88.54, allocations: 0 / 9.001 GB, free: 102.2 MB / 410.8 MB Notification: Performance of remove unused functions: time 0.04766/88.59, allocations: 5.666 MB / 9.007 GB, free: 102.2 MB / 410.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 106 * Number of states: 24 ($STATESET2.x[3],$STATESET2.x[2],$STATESET2.x[1],freeMotion.r_rel_a[1],freeMotion.r_rel_a[2],freeMotion.r_rel_a[3],freeMotion.v_rel_a[1],freeMotion.v_rel_a[2],freeMotion.v_rel_a[3],freeMotion.w_rel_b[1],freeMotion.w_rel_b[2],freeMotion.w_rel_b[3],$STATESET1.x[3],$STATESET1.x[2],$STATESET1.x[1],referenceSystem.pointMass1.frame_a.r_0[1],referenceSystem.pointMass1.frame_a.r_0[2],referenceSystem.pointMass1.frame_a.r_0[3],referenceSystem.pointMass1.v_0[1],referenceSystem.pointMass1.v_0[2],referenceSystem.pointMass1.v_0[3],referenceSystem.pointMass6.w_a[1],referenceSystem.pointMass6.w_a[2],referenceSystem.pointMass6.w_a[3]) * 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 (633): * Single equations (assignments): 624 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 4 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(4,100.0%),(4,100.0%)} * Non-linear Jacobian: 2 {4,4} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(6,100.0%) 36,(6,100.0%) 66} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.008359/88.6, allocations: 376.9 kB / 9.007 GB, free: 102.1 MB / 410.8 MB Notification: Performance of simCode: created initialization part: time 1.963/90.56, allocations: 213 MB / 9.215 GB, free: 103.4 MB / 410.8 MB Notification: Performance of simCode: created event and clocks part: time 2.637e-05/90.56, allocations: 6.719 kB / 9.215 GB, free: 103.4 MB / 410.8 MB Notification: Performance of simCode: created simulation system equations: time 1.114/91.68, allocations: 105.6 MB / 9.318 GB, free: 104.8 MB / 410.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01578/91.69, allocations: 0.9891 MB / 9.319 GB, free: 104.8 MB / 410.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 1.372/93.06, allocations: 146.5 MB / 9.463 GB, free: 93.44 MB / 410.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02498/93.09, allocations: 8.103 MB / 9.47 GB, free: 89.21 MB / 410.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.06938/93.16, allocations: 4.696 MB / 9.475 GB, free: 87.16 MB / 410.8 MB Notification: Performance of SimCode: time 1.382e-06/93.16, allocations: 0 / 9.475 GB, free: 87.16 MB / 410.8 MB Notification: Performance of Templates: time 3.433/96.59, allocations: 0.7901 GB / 10.27 GB, free: 77.79 MB / 426.8 MB