Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.2_cpp_ModelicaTest.MultiBody.Parts.PointMass.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package ModelicaTest with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/package.mo) Running command: translateModel(ModelicaTest.MultiBody.Parts.PointMass,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|rev.phi|rev.w",fileNamePrefix="ModelicaTest_3.2.2_cpp_ModelicaTest.MultiBody.Parts.PointMass") Notification: Performance of loadModel(ModelicaTest): time 2.235/2.235, allocations: 234.9 MB / 250.5 MB, free: 9.535 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004331/0.0004333, allocations: 12 kB / 314.4 MB, free: 9.539 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2739/0.2743, allocations: 54.85 MB / 369.3 MB, free: 10.71 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1497/0.4241, allocations: 89.59 MB / 458.9 MB, free: 0.9883 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000402/0.4246, allocations: 75.95 kB / 458.9 MB, free: 0.9141 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4166/0.8412, allocations: 46.93 MB / 0.494 GB, free: 78.63 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.676e-06/0.8413, allocations: 0 / 0.494 GB, free: 78.63 MB / 394.7 MB Notification: Performance of Transformations before backend: time 7.352e-05/0.8414, allocations: 44 kB / 0.494 GB, free: 78.59 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: 946 * Number of variables: 946 Notification: Performance of Generate backend data structure: time 0.005426/0.8468, allocations: 2.385 MB / 0.4964 GB, free: 76.14 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.98e-05/0.8469, allocations: 8.031 kB / 0.4964 GB, free: 76.13 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008837/0.8557, allocations: 1.771 MB / 0.4981 GB, free: 74.36 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003322/0.8591, allocations: 1.35 MB / 0.4994 GB, free: 72.96 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001513/0.8593, allocations: 184.7 kB / 0.4996 GB, free: 72.78 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000762/0.86, allocations: 239.8 kB / 0.4998 GB, free: 72.54 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01184/0.8719, allocations: 6.571 MB / 0.5063 GB, free: 65.21 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001123/0.8721, allocations: 43.67 kB / 0.5063 GB, free: 65.17 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005626/0.8726, allocations: 131.8 kB / 0.5064 GB, free: 65.04 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000907/0.8736, allocations: 0.6916 MB / 0.5071 GB, free: 64.34 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01074/0.8843, allocations: 5.501 MB / 0.5125 GB, free: 58.83 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02912/0.9135, allocations: 31.72 MB / 0.5434 GB, free: 25.98 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005209/0.9187, allocations: 2.347 MB / 0.5457 GB, free: 23.48 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000124/0.9189, allocations: 39.97 kB / 0.5458 GB, free: 23.45 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.803e-05/0.919, allocations: 50.5 kB / 0.5458 GB, free: 23.39 MB / 394.7 MB Notification: Performance of pre-optimization done (n=96): time 4.563e-06/0.919, allocations: 0 / 0.5458 GB, free: 23.39 MB / 394.7 MB Notification: Performance of matching and sorting (n=115): time 0.02942/0.9484, allocations: 9.732 MB / 0.5553 GB, free: 13.46 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.156e-05/0.9485, allocations: 137.1 kB / 0.5555 GB, free: 13.29 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003685/0.9522, allocations: 2.326 MB / 0.5577 GB, free: 10.95 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001692/0.9524, allocations: 41.7 kB / 0.5578 GB, free: 10.9 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001085/0.9535, allocations: 2.027 MB / 0.5598 GB, free: 8.844 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004243/0.9539, allocations: 466.2 kB / 0.5602 GB, free: 8.383 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002459/0.9542, allocations: 80 kB / 0.5603 GB, free: 8.305 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0002625/0.9545, allocations: 0.4965 MB / 0.5608 GB, free: 7.797 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002317/0.9568, allocations: 1.371 MB / 0.5621 GB, free: 6.418 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003594/0.9604, allocations: 4.119 MB / 0.5661 GB, free: 0.9023 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004278/0.9647, allocations: 2.368 MB / 0.5684 GB, free: 14.53 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.357e-05/0.9648, allocations: 32 kB / 0.5685 GB, free: 14.5 MB / 410.7 MB Notification: Performance of matching and sorting (n=567) (initialization): time 0.01353/0.9783, allocations: 5.526 MB / 0.5739 GB, free: 8.961 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.571e-05/0.9785, allocations: 49.72 kB / 0.5739 GB, free: 8.914 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001338/0.9786, allocations: 104.8 kB / 0.574 GB, free: 8.812 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00144/0.9801, allocations: 472.5 kB / 0.5745 GB, free: 8.348 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004138/0.9842, allocations: 1.014 MB / 0.5754 GB, free: 7.332 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005667/0.9899, allocations: 3.454 MB / 0.5788 GB, free: 3.742 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003888/0.9939, allocations: 231.6 kB / 0.579 GB, free: 3.516 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007824/0.9947, allocations: 279.9 kB / 0.5793 GB, free: 3.242 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 448 * Number of states: 0 () * Number of discrete variables: 18 (rev.cylinderColor[3],rev.cylinderColor[2],rev.cylinderColor[1],pointMass.sphereColor[3],pointMass.sphereColor[2],pointMass.sphereColor[1],fixedTranslation.color[3],fixedTranslation.color[2],fixedTranslation.color[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]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (534): * Single equations (assignments): 530 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 9} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002976/0.9977, allocations: 1.372 MB / 0.5806 GB, free: 1.859 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005507/0.9983, allocations: 221.2 kB / 0.5809 GB, free: 1.641 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003537/1.002, allocations: 1.477 MB / 0.5823 GB, free: 156 kB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.402e-05/1.002, allocations: 12 kB / 0.5823 GB, free: 144 kB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.092e-05/1.002, allocations: 4 kB / 0.5823 GB, free: 140 kB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.618e-05/1.002, allocations: 7.984 kB / 0.5823 GB, free: 132 kB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01107/1.013, allocations: 4.459 MB / 0.5867 GB, free: 11.6 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.629e-05/1.013, allocations: 4 kB / 0.5867 GB, free: 11.59 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001114/1.014, allocations: 167.8 kB / 0.5868 GB, free: 11.43 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001174/1.015, allocations: 324.5 kB / 0.5872 GB, free: 11.11 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001322/1.016, allocations: 23.98 kB / 0.5872 GB, free: 11.09 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004653/1.02, allocations: 2.871 MB / 0.59 GB, free: 8.078 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.859e-06/1.02, allocations: 0 / 0.59 GB, free: 8.078 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006419/1.027, allocations: 3.328 MB / 0.5932 GB, free: 4.707 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001163/1.028, allocations: 434 kB / 0.5936 GB, free: 4.262 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003264/1.028, allocations: 12 kB / 0.5937 GB, free: 4.25 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001075/1.029, allocations: 59.95 kB / 0.5937 GB, free: 4.191 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001975/1.03, allocations: 56.48 kB / 0.5938 GB, free: 4.137 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001125/1.03, allocations: 24 kB / 0.5938 GB, free: 4.113 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.003737/1.033, allocations: 1.609 MB / 0.5954 GB, free: 2.492 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.342e-06/1.033, allocations: 0 / 0.5954 GB, free: 2.492 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.004908/1.038, allocations: 0.6171 MB / 0.596 GB, free: 1.875 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 2 (rev.phi,rev.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 (86): * Single equations (assignments): 82 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 7} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004234/1.039, allocations: 143.1 kB / 0.5961 GB, free: 1.727 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.007031/1.046, allocations: 3.326 MB / 0.5993 GB, free: 14.41 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 9.433e-06/1.046, allocations: 5.375 kB / 0.5993 GB, free: 14.4 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001841/1.048, allocations: 0.9275 MB / 0.6003 GB, free: 13.46 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001343/1.049, allocations: 204.1 kB / 0.6004 GB, free: 13.26 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01396/1.063, allocations: 6.8 MB / 0.6071 GB, free: 6.402 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003395/1.067, allocations: 2.234 MB / 0.6093 GB, free: 4.133 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008267/1.067, allocations: 203.4 kB / 0.6095 GB, free: 3.938 MB / 442.7 MB Notification: Performance of SimCode: time 2.002e-06/1.067, allocations: 0 / 0.6095 GB, free: 3.938 MB / 442.7 MB Notification: Performance of Templates: time 0.3321/1.4, allocations: 44.63 MB / 0.653 GB, free: 145 MB / 474.7 MB