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.138/2.138, allocations: 235 MB / 248.1 MB, free: 14.37 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.858e-05/2.881e-05, allocations: 4 kB / 309.7 MB, free: 1.336 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3134/0.3134, allocations: 54.85 MB / 364.5 MB, free: 5.387 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1343/0.4478, allocations: 89.5 MB / 454 MB, free: 6.863 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002468/0.4481, allocations: 80.77 kB / 454.1 MB, free: 6.785 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1809/0.6291, allocations: 46.97 MB / 0.4893 GB, free: 7.422 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.002e-06/0.6291, allocations: 0 / 0.4893 GB, free: 7.422 MB / 426.7 MB Notification: Performance of Transformations before backend: time 9.099e-05/0.6292, allocations: 43.98 kB / 0.4894 GB, free: 7.379 MB / 426.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.006674/0.6359, allocations: 2.311 MB / 0.4916 GB, free: 5.012 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.65e-05/0.636, allocations: 12.03 kB / 0.4916 GB, free: 5 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009642/0.6456, allocations: 1.763 MB / 0.4934 GB, free: 3.23 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003779/0.6494, allocations: 1.35 MB / 0.4947 GB, free: 1.836 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002045/0.6497, allocations: 184.7 kB / 0.4949 GB, free: 1.652 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007893/0.6505, allocations: 243.8 kB / 0.4951 GB, free: 1.414 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01421/0.6647, allocations: 6.532 MB / 0.5015 GB, free: 10.12 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001168/0.6649, allocations: 39.62 kB / 0.5015 GB, free: 10.08 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004845/0.6654, allocations: 127.9 kB / 0.5016 GB, free: 9.957 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001162/0.6665, allocations: 0.6955 MB / 0.5023 GB, free: 9.258 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01269/0.6793, allocations: 5.412 MB / 0.5076 GB, free: 3.84 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3006/0.9799, allocations: 31.71 MB / 0.5386 GB, free: 101.4 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005695/0.9856, allocations: 2.339 MB / 0.5408 GB, free: 100.7 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001591/0.9873, allocations: 0.968 MB / 0.5418 GB, free: 100.7 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001294/0.9874, allocations: 43.47 kB / 0.5418 GB, free: 100.7 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.819e-05/0.9875, allocations: 48.64 kB / 0.5419 GB, free: 100.7 MB / 458.7 MB Notification: Performance of pre-optimization done (n=96): time 5.152e-06/0.9875, allocations: 0 / 0.5419 GB, free: 100.7 MB / 458.7 MB Notification: Performance of matching and sorting (n=115): time 0.03047/1.018, allocations: 8.474 MB / 0.5502 GB, free: 98.84 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.547e-05/1.018, allocations: 146.4 kB / 0.5503 GB, free: 98.68 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004035/1.022, allocations: 2.31 MB / 0.5525 GB, free: 98.39 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001971/1.022, allocations: 39.48 kB / 0.5526 GB, free: 98.36 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001199/1.024, allocations: 2.024 MB / 0.5546 GB, free: 97.23 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004654/1.024, allocations: 469 kB / 0.555 GB, free: 96.98 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002316/1.024, allocations: 84.66 kB / 0.5551 GB, free: 96.98 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0002827/1.025, allocations: 0.4904 MB / 0.5556 GB, free: 96.66 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002354/1.027, allocations: 1.343 MB / 0.5569 GB, free: 96.64 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003505/1.03, allocations: 4.096 MB / 0.5609 GB, free: 93.05 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003902/1.034, allocations: 2.365 MB / 0.5632 GB, free: 92.73 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.815e-05/1.035, allocations: 32.83 kB / 0.5632 GB, free: 92.73 MB / 458.7 MB Notification: Performance of matching and sorting (n=567) (initialization): time 0.01141/1.046, allocations: 5.465 MB / 0.5686 GB, free: 91.08 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.453e-05/1.046, allocations: 50.56 kB / 0.5686 GB, free: 91.08 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001009/1.046, allocations: 98.31 kB / 0.5687 GB, free: 91.08 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001317/1.048, allocations: 473.2 kB / 0.5692 GB, free: 90.98 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004128/1.052, allocations: 1.016 MB / 0.5701 GB, free: 90.86 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004402/1.056, allocations: 3.396 MB / 0.5735 GB, free: 88.71 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003991/1.06, allocations: 225.5 kB / 0.5737 GB, free: 88.62 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006128/1.061, allocations: 274.8 kB / 0.5739 GB, free: 88.59 MB / 458.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 () * 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.0007006/1.061, allocations: 443.6 kB / 0.5744 GB, free: 88.22 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004688/1.062, allocations: 219.3 kB / 0.5746 GB, free: 88.1 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003013/1.065, allocations: 1.469 MB / 0.576 GB, free: 87.53 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.155e-05/1.065, allocations: 14.86 kB / 0.576 GB, free: 87.53 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.123e-05/1.065, allocations: 5.688 kB / 0.576 GB, free: 87.53 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.397e-05/1.065, allocations: 3.938 kB / 0.576 GB, free: 87.53 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009527/1.075, allocations: 4.445 MB / 0.5804 GB, free: 85.84 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.211e-05/1.075, allocations: 1.406 kB / 0.5804 GB, free: 85.84 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001076/1.076, allocations: 180.5 kB / 0.5805 GB, free: 85.82 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001164/1.077, allocations: 310.8 kB / 0.5808 GB, free: 85.74 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001163/1.077, allocations: 18.73 kB / 0.5809 GB, free: 85.73 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003702/1.081, allocations: 2.801 MB / 0.5836 GB, free: 83.86 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.305e-06/1.081, allocations: 7.906 kB / 0.5836 GB, free: 83.85 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005501/1.086, allocations: 3.295 MB / 0.5868 GB, free: 82.37 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001164/1.088, allocations: 425.9 kB / 0.5872 GB, free: 82.09 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004629/1.088, allocations: 16.16 kB / 0.5872 GB, free: 82.08 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001218/1.089, allocations: 52.06 kB / 0.5873 GB, free: 82.07 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001892/1.09, allocations: 66.92 kB / 0.5874 GB, free: 82.05 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001105/1.09, allocations: 32.64 kB / 0.5874 GB, free: 82.05 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.003075/1.093, allocations: 1.58 MB / 0.5889 GB, free: 81.46 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.045e-06/1.093, allocations: 3.844 kB / 0.5889 GB, free: 81.46 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.004525/1.097, allocations: 0.621 MB / 0.5895 GB, free: 81.38 MB / 458.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 () * 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.0003899/1.098, allocations: 148.7 kB / 0.5897 GB, free: 81.26 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.006344/1.104, allocations: 3.282 MB / 0.5929 GB, free: 79.93 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 6.058e-06/1.104, allocations: 0 / 0.5929 GB, free: 79.93 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001525/1.106, allocations: 0.9146 MB / 0.5938 GB, free: 79.09 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001439/1.107, allocations: 183.9 kB / 0.594 GB, free: 78.92 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0106/1.118, allocations: 4.867 MB / 0.5987 GB, free: 74.58 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004252/1.122, allocations: 2.242 MB / 0.6009 GB, free: 72.79 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001784/1.124, allocations: 193.7 kB / 0.6011 GB, free: 72.61 MB / 458.7 MB Notification: Performance of SimCode: time 3.261e-06/1.124, allocations: 0 / 0.6011 GB, free: 72.61 MB / 458.7 MB Notification: Performance of Templates: time 0.1025/1.227, allocations: 44.64 MB / 0.6447 GB, free: 30.83 MB / 458.7 MB