Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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/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) Using package ModelicaTest with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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.271/2.271, allocations: 234.9 MB / 251.1 MB, free: 9.559 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006277/0.0006279, allocations: 12 kB / 314.9 MB, free: 9.609 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3551/0.3557, allocations: 54.85 MB / 369.8 MB, free: 10.75 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1924/0.5483, allocations: 89.58 MB / 459.4 MB, free: 1.035 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000298/0.5486, allocations: 79.95 kB / 459.5 MB, free: 0.957 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5061/1.055, allocations: 47.1 MB / 0.4947 GB, free: 78.51 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.414e-06/1.055, allocations: 0 / 0.4947 GB, free: 78.51 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0001326/1.055, allocations: 47.94 kB / 0.4947 GB, free: 78.46 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.008448/1.063, allocations: 2.389 MB / 0.4971 GB, free: 76.02 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.94e-05/1.063, allocations: 8.031 kB / 0.4971 GB, free: 76.01 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01285/1.076, allocations: 1.763 MB / 0.4988 GB, free: 74.24 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004444/1.081, allocations: 1.35 MB / 0.5001 GB, free: 72.84 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002067/1.081, allocations: 180.7 kB / 0.5003 GB, free: 72.66 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001468/1.083, allocations: 251.8 kB / 0.5005 GB, free: 72.42 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01622/1.099, allocations: 6.591 MB / 0.507 GB, free: 65.06 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001503/1.099, allocations: 35.69 kB / 0.507 GB, free: 65.03 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008412/1.1, allocations: 127.9 kB / 0.5071 GB, free: 64.9 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001249/1.101, allocations: 0.6955 MB / 0.5078 GB, free: 64.2 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01453/1.116, allocations: 5.497 MB / 0.5132 GB, free: 58.7 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03842/1.154, allocations: 31.73 MB / 0.5441 GB, free: 25.84 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006816/1.161, allocations: 2.345 MB / 0.5464 GB, free: 23.35 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001677/1.161, allocations: 43.97 kB / 0.5465 GB, free: 23.3 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.171e-05/1.161, allocations: 46.5 kB / 0.5465 GB, free: 23.25 MB / 394.7 MB Notification: Performance of pre-optimization done (n=96): time 5.13e-06/1.161, allocations: 0 / 0.5465 GB, free: 23.25 MB / 394.7 MB Notification: Performance of matching and sorting (n=115): time 0.04104/1.202, allocations: 9.856 MB / 0.5561 GB, free: 13.2 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.919e-05/1.203, allocations: 141.1 kB / 0.5563 GB, free: 13.03 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005172/1.208, allocations: 2.595 MB / 0.5588 GB, free: 10.41 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002852/1.208, allocations: 41.7 kB / 0.5589 GB, free: 10.36 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001531/1.21, allocations: 2.023 MB / 0.5608 GB, free: 8.309 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006672/1.21, allocations: 470.2 kB / 0.5613 GB, free: 7.844 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000488/1.211, allocations: 84 kB / 0.5614 GB, free: 7.762 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.000289/1.211, allocations: 0.5004 MB / 0.5618 GB, free: 7.25 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003388/1.215, allocations: 1.367 MB / 0.5632 GB, free: 5.875 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005087/1.22, allocations: 4.134 MB / 0.5672 GB, free: 352 kB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006194/1.226, allocations: 2.369 MB / 0.5695 GB, free: 13.97 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001025/1.226, allocations: 28 kB / 0.5696 GB, free: 13.95 MB / 410.7 MB Notification: Performance of matching and sorting (n=567) (initialization): time 0.017/1.243, allocations: 5.522 MB / 0.575 GB, free: 8.41 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001119/1.243, allocations: 52.88 kB / 0.575 GB, free: 8.359 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001762/1.243, allocations: 100 kB / 0.5751 GB, free: 8.262 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002047/1.246, allocations: 476.8 kB / 0.5756 GB, free: 7.793 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006473/1.252, allocations: 1.018 MB / 0.5765 GB, free: 6.773 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006767/1.259, allocations: 3.454 MB / 0.5799 GB, free: 3.184 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004515/1.263, allocations: 231.5 kB / 0.5801 GB, free: 2.957 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001055/1.265, allocations: 272 kB / 0.5804 GB, free: 2.691 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.004142/1.269, allocations: 1.388 MB / 0.5818 GB, free: 1.293 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006613/1.269, allocations: 217.2 kB / 0.582 GB, free: 1.078 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004947/1.274, allocations: 1.473 MB / 0.5834 GB, free: 15.6 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.23e-05/1.274, allocations: 12 kB / 0.5834 GB, free: 15.59 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.226e-05/1.274, allocations: 4 kB / 0.5834 GB, free: 15.58 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.54e-05/1.274, allocations: 7.984 kB / 0.5834 GB, free: 15.57 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01506/1.29, allocations: 4.459 MB / 0.5878 GB, free: 11.04 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.366e-05/1.29, allocations: 8 kB / 0.5878 GB, free: 11.04 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001811/1.291, allocations: 171.7 kB / 0.588 GB, free: 10.87 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001674/1.293, allocations: 316.5 kB / 0.5883 GB, free: 10.55 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002509/1.293, allocations: 23.98 kB / 0.5883 GB, free: 10.53 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005738/1.299, allocations: 2.874 MB / 0.5911 GB, free: 7.52 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.69e-06/1.299, allocations: 3.984 kB / 0.5911 GB, free: 7.516 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008573/1.308, allocations: 3.284 MB / 0.5943 GB, free: 4.211 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001551/1.309, allocations: 430 kB / 0.5947 GB, free: 3.77 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007026/1.31, allocations: 16 kB / 0.5947 GB, free: 3.754 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001762/1.312, allocations: 47.94 kB / 0.5948 GB, free: 3.707 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003368/1.312, allocations: 64.55 kB / 0.5948 GB, free: 3.645 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000128/1.313, allocations: 24 kB / 0.5948 GB, free: 3.621 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.004821/1.317, allocations: 1.605 MB / 0.5964 GB, free: 2.004 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.182e-06/1.317, allocations: 0 / 0.5964 GB, free: 2.004 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.00511/1.323, allocations: 0.6173 MB / 0.597 GB, free: 1.387 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.0005858/1.323, allocations: 147.1 kB / 0.5972 GB, free: 1.234 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.008709/1.332, allocations: 3.324 MB / 0.6004 GB, free: 13.92 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 5.771e-06/1.332, allocations: 0 / 0.6004 GB, free: 13.92 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002256/1.334, allocations: 0.9348 MB / 0.6013 GB, free: 12.97 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001509/1.336, allocations: 188.6 kB / 0.6015 GB, free: 12.78 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01834/1.354, allocations: 6.816 MB / 0.6082 GB, free: 5.914 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00453/1.359, allocations: 2.243 MB / 0.6103 GB, free: 3.633 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0011/1.36, allocations: 203.3 kB / 0.6105 GB, free: 3.438 MB / 442.7 MB Notification: Performance of SimCode: time 1.272e-06/1.36, allocations: 0 / 0.6105 GB, free: 3.438 MB / 442.7 MB Notification: Performance of Templates: time 0.4485/1.808, allocations: 44.63 MB / 0.6541 GB, free: 143.6 MB / 474.7 MB