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/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package ModelicaTest with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/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.187/2.187, allocations: 235.1 MB / 243 MB, free: 9.594 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 1.589e-05/1.59e-05, allocations: 0 / 303.2 MB, free: 13.3 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.298/0.298, allocations: 54.85 MB / 358 MB, free: 14.96 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1521/0.4502, allocations: 88.83 MB / 446.9 MB, free: 6 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002378/0.4505, allocations: 75.95 kB / 446.9 MB, free: 5.926 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4069/0.8573, allocations: 45.97 MB / 492.9 MB, free: 87.52 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.053e-06/0.8574, allocations: 0 / 492.9 MB, free: 87.52 MB / 394.7 MB Notification: Performance of Transformations before backend: time 7.987e-05/0.8575, allocations: 40 kB / 492.9 MB, free: 87.48 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.005818/0.8633, allocations: 2.299 MB / 495.2 MB, free: 85.13 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.227e-05/0.8634, allocations: 12.03 kB / 495.3 MB, free: 85.12 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008803/0.8722, allocations: 1.763 MB / 497 MB, free: 83.35 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003353/0.8756, allocations: 1.359 MB / 498.4 MB, free: 81.95 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000102/0.8757, allocations: 76 kB / 498.5 MB, free: 81.88 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006957/0.8764, allocations: 136 kB / 498.6 MB, free: 81.74 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.006655/0.8831, allocations: 3.729 MB / 0.4905 GB, free: 78.01 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009832/0.893, allocations: 6.059 MB / 0.4965 GB, free: 71.2 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001012/0.8931, allocations: 43.53 kB / 0.4965 GB, free: 71.15 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004007/0.8935, allocations: 27.98 kB / 0.4965 GB, free: 71.12 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0009024/0.8945, allocations: 0.6954 MB / 0.4972 GB, free: 70.43 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02755/0.922, allocations: 30.37 MB / 0.5269 GB, free: 39.21 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002478/0.9245, allocations: 1.99 MB / 0.5288 GB, free: 37.07 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001163/0.9257, allocations: 0.9556 MB / 0.5297 GB, free: 36.11 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001043/0.9258, allocations: 39.34 kB / 0.5298 GB, free: 36.07 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.295e-05/0.9259, allocations: 47.16 kB / 0.5298 GB, free: 36.02 MB / 394.7 MB Notification: Performance of pre-optimization done (n=96): time 4.483e-06/0.9259, allocations: 0 / 0.5298 GB, free: 36.02 MB / 394.7 MB Notification: Performance of matching and sorting (n=117): time 0.01992/0.9458, allocations: 8.39 MB / 0.538 GB, free: 27.52 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.031e-05/0.9459, allocations: 145.1 kB / 0.5382 GB, free: 27.34 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003276/0.9492, allocations: 1.995 MB / 0.5401 GB, free: 25.32 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001794/0.9494, allocations: 25.7 kB / 0.5401 GB, free: 25.29 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001132/0.9506, allocations: 2.115 MB / 0.5422 GB, free: 23.14 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004113/0.951, allocations: 462.1 kB / 0.5426 GB, free: 22.68 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002224/0.9512, allocations: 192 / 0.5426 GB, free: 22.68 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0002753/0.9515, allocations: 0.5048 MB / 0.5431 GB, free: 22.16 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002175/0.9537, allocations: 1.309 MB / 0.5444 GB, free: 20.85 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003573/0.9573, allocations: 4.176 MB / 0.5485 GB, free: 15.21 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003959/0.9613, allocations: 2.355 MB / 0.5508 GB, free: 12.86 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.052e-05/0.9614, allocations: 32 kB / 0.5508 GB, free: 12.82 MB / 394.7 MB Notification: Performance of matching and sorting (n=593) (initialization): time 0.01106/0.9725, allocations: 5.043 MB / 0.5557 GB, free: 7.777 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.943e-05/0.9726, allocations: 48 kB / 0.5558 GB, free: 7.73 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.971e-05/0.9727, allocations: 104 kB / 0.5559 GB, free: 7.629 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00126/0.974, allocations: 468.7 kB / 0.5563 GB, free: 7.168 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003879/0.9779, allocations: 1.064 MB / 0.5574 GB, free: 6.102 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004093/0.982, allocations: 3.164 MB / 0.5605 GB, free: 2.824 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003939/0.986, allocations: 147.5 kB / 0.5606 GB, free: 2.68 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007722/0.9868, allocations: 295.1 kB / 0.5609 GB, free: 2.395 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 472 * 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 (560): * Single equations (assignments): 556 * 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.0006713/0.9875, allocations: 352.7 kB / 0.5612 GB, free: 2.039 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000424/0.9879, allocations: 201.4 kB / 0.5614 GB, free: 1.84 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002852/0.9908, allocations: 1.413 MB / 0.5628 GB, free: 428 kB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.459e-05/0.9908, allocations: 12 kB / 0.5628 GB, free: 416 kB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.961e-06/0.9909, allocations: 4 kB / 0.5628 GB, free: 412 kB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.543e-05/0.9909, allocations: 3.984 kB / 0.5628 GB, free: 408 kB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01048/1.001, allocations: 4.012 MB / 0.5667 GB, free: 12.35 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.3e-05/1.001, allocations: 0 / 0.5667 GB, free: 12.35 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001115/1.003, allocations: 171.8 kB / 0.5669 GB, free: 12.18 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001146/1.004, allocations: 308.5 kB / 0.5672 GB, free: 11.88 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001331/1.004, allocations: 4 kB / 0.5672 GB, free: 11.87 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004234/1.008, allocations: 2.618 MB / 0.5697 GB, free: 9.141 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.035e-05/1.008, allocations: 11.92 kB / 0.5698 GB, free: 9.129 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006389/1.015, allocations: 3.242 MB / 0.5729 GB, free: 5.836 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001082/1.016, allocations: 410.3 kB / 0.5733 GB, free: 5.414 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002751/1.016, allocations: 0 / 0.5733 GB, free: 5.414 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001041/1.017, allocations: 35.94 kB / 0.5733 GB, free: 5.379 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001981/1.017, allocations: 60.44 kB / 0.5734 GB, free: 5.32 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001128/1.017, allocations: 28 kB / 0.5734 GB, free: 5.293 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.00272/1.02, allocations: 1.302 MB / 0.5747 GB, free: 3.973 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.253e-06/1.02, allocations: 4.062 kB / 0.5747 GB, free: 3.969 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.004761/1.025, allocations: 0.5195 MB / 0.5752 GB, free: 3.449 MB / 410.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 (88): * Single equations (assignments): 84 * 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.0004425/1.025, allocations: 126.5 kB / 0.5753 GB, free: 3.32 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.006619/1.032, allocations: 3.147 MB / 0.5784 GB, free: 192 kB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 5.201e-06/1.032, allocations: 0 / 0.5784 GB, free: 192 kB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001772/1.034, allocations: 0.9094 MB / 0.5793 GB, free: 15.27 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001088/1.035, allocations: 143.2 kB / 0.5794 GB, free: 15.12 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01194/1.047, allocations: 4.814 MB / 0.5841 GB, free: 10.25 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003811/1.051, allocations: 2.243 MB / 0.5863 GB, free: 7.969 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000829/1.052, allocations: 191.4 kB / 0.5865 GB, free: 7.781 MB / 426.7 MB Notification: Performance of SimCode: time 4.536e-06/1.052, allocations: 0 / 0.5865 GB, free: 7.781 MB / 426.7 MB Notification: Performance of Templates: time 0.33/1.382, allocations: 43.36 MB / 0.6288 GB, free: 136.9 MB / 458.7 MB