Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.1_cpp_ModelicaTest.MultiBody.Parts.PointMass.conf.json Using package ModelicaServices with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo) Using package ModelicaTest with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.1/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.1_cpp_ModelicaTest.MultiBody.Parts.PointMass") Notification: Performance of loadModel(ModelicaTest): time 2.102/2.102, allocations: 209.3 MB / 224.8 MB, free: 200 kB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004425/0.0004427, allocations: 8 kB / 282.5 MB, free: 9.648 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2957/0.2961, allocations: 48.71 MB / 331.2 MB, free: 6.477 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.PointMass): time 0.0278/0.324, allocations: 14.07 MB / 345.3 MB, free: 12.71 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.01451/0.3386, allocations: 3.649 MB / 348.9 MB, free: 9.879 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003964/0.3426, allocations: 63.06 kB / 349 MB, free: 9.871 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003104/0.3457, allocations: 0.6795 MB / 349.6 MB, free: 9.371 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01042/0.3562, allocations: 1.87 MB / 351.5 MB, free: 8.059 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001894/0.3582, allocations: 233.1 kB / 351.7 MB, free: 7.906 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.003644/0.3618, allocations: 1.111 MB / 352.9 MB, free: 7.238 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003931/0.3658, allocations: 1.491 MB / 354.3 MB, free: 6.301 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001377/0.3672, allocations: 0.5394 MB / 354.9 MB, free: 6.023 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00163/0.3689, allocations: 0.6972 MB / 355.6 MB, free: 5.66 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003738/0.3693, allocations: 72.22 kB / 355.7 MB, free: 5.66 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00193/0.3712, allocations: 0.6232 MB / 356.3 MB, free: 5.359 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001347/0.3726, allocations: 0.7987 MB / 357.1 MB, free: 4.559 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0007958/0.3734, allocations: 476.1 kB / 357.5 MB, free: 4.086 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005726/0.3792, allocations: 2.81 MB / 360.3 MB, free: 1.27 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.674e-06/0.3792, allocations: 0 / 360.3 MB, free: 1.27 MB / 282.7 MB Notification: Performance of FrontEnd: time 3.484e-06/0.3792, allocations: 0 / 360.3 MB, free: 1.27 MB / 282.7 MB Notification: Performance of Transformations before backend: time 6.945e-05/0.3793, allocations: 0 / 360.3 MB, free: 1.27 MB / 282.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 945 * Number of variables: 945 Notification: Performance of Generate backend data structure: time 0.007677/0.387, allocations: 2.291 MB / 362.6 MB, free: 14.92 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.782e-05/0.3871, allocations: 8.031 kB / 362.6 MB, free: 14.91 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01323/0.4003, allocations: 1.892 MB / 364.5 MB, free: 13.01 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00379/0.4042, allocations: 1.06 MB / 365.6 MB, free: 11.91 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001918/0.4044, allocations: 114.9 kB / 365.7 MB, free: 11.8 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008583/0.4053, allocations: 155.9 kB / 365.9 MB, free: 11.65 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01955/0.4249, allocations: 6.224 MB / 372.1 MB, free: 4.938 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001255/0.4251, allocations: 27.8 kB / 372.1 MB, free: 4.91 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000635/0.4257, allocations: 75.89 kB / 372.2 MB, free: 4.836 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004378/0.4301, allocations: 1.382 MB / 373.6 MB, free: 3.449 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01995/0.4501, allocations: 5.412 MB / 379 MB, free: 14.03 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05143/0.5016, allocations: 24.63 MB / 403.6 MB, free: 4.605 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009517/0.5111, allocations: 2.375 MB / 406 MB, free: 2.082 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006374/0.5118, allocations: 327.6 kB / 406.3 MB, free: 1.707 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.456e-05/0.5119, allocations: 46.5 kB / 406.4 MB, free: 1.652 MB / 330.7 MB Notification: Performance of pre-optimization done (n=96): time 6.014e-06/0.5119, allocations: 0 / 406.4 MB, free: 1.652 MB / 330.7 MB Notification: Performance of matching and sorting (n=106): time 0.04653/0.5585, allocations: 8.762 MB / 415.1 MB, free: 8.695 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001337/0.5586, allocations: 144.5 kB / 415.3 MB, free: 8.523 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008444/0.5671, allocations: 2.595 MB / 417.9 MB, free: 5.902 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003213/0.5675, allocations: 41.7 kB / 417.9 MB, free: 5.855 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003997/0.5715, allocations: 2.019 MB / 419.9 MB, free: 3.809 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001107/0.5727, allocations: 430.7 kB / 420.3 MB, free: 3.383 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000517/0.5732, allocations: 88 kB / 420.4 MB, free: 3.297 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0008107/0.5741, allocations: 0.4885 MB / 420.9 MB, free: 2.797 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005802/0.5799, allocations: 1.312 MB / 422.2 MB, free: 1.477 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005741/0.5857, allocations: 4.066 MB / 426.3 MB, free: 12.02 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004764/0.5905, allocations: 2.298 MB / 428.6 MB, free: 9.723 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.865e-05/0.5906, allocations: 28 kB / 428.6 MB, free: 9.695 MB / 362.7 MB Notification: Performance of matching and sorting (n=557) (initialization): time 0.01324/0.6038, allocations: 5.37 MB / 434 MB, free: 4.316 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.461e-05/0.604, allocations: 44 kB / 434 MB, free: 4.273 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001402/0.6041, allocations: 100.9 kB / 434.1 MB, free: 4.176 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001506/0.6056, allocations: 480.4 kB / 434.6 MB, free: 3.703 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003781/0.6094, allocations: 0.9669 MB / 435.6 MB, free: 2.734 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005788/0.6153, allocations: 3.47 MB / 439 MB, free: 15.13 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003544/0.6188, allocations: 231.5 kB / 439.3 MB, free: 14.9 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005795/0.6195, allocations: 268 kB / 439.5 MB, free: 14.64 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 447 * 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 (524): * Single equations (assignments): 520 * 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.002687/0.6222, allocations: 1.356 MB / 440.9 MB, free: 13.27 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005049/0.6227, allocations: 221.1 kB / 441.1 MB, free: 13.05 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0033/0.626, allocations: 1.321 MB / 442.4 MB, free: 11.72 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.693e-05/0.6261, allocations: 12 kB / 442.4 MB, free: 11.71 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.084e-05/0.6261, allocations: 4 kB / 442.4 MB, free: 11.7 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.664e-05/0.6261, allocations: 3.984 kB / 442.4 MB, free: 11.7 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01069/0.6368, allocations: 4.234 MB / 446.7 MB, free: 7.402 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.155e-05/0.6369, allocations: 4 kB / 446.7 MB, free: 7.398 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008763/0.6378, allocations: 135.8 kB / 446.8 MB, free: 7.266 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001186/0.639, allocations: 316.6 kB / 447.1 MB, free: 6.953 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001604/0.6392, allocations: 23.91 kB / 447.1 MB, free: 6.93 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004867/0.644, allocations: 2.89 MB / 450 MB, free: 3.91 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.649e-06/0.6441, allocations: 8 kB / 450 MB, free: 3.902 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006063/0.6502, allocations: 3.058 MB / 453.1 MB, free: 0.8242 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001117/0.6513, allocations: 422 kB / 453.5 MB, free: 400 kB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003027/0.6516, allocations: 12 kB / 453.5 MB, free: 388 kB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001036/0.6527, allocations: 47.94 kB / 453.6 MB, free: 340 kB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001851/0.6529, allocations: 52.31 kB / 453.6 MB, free: 288 kB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001079/0.653, allocations: 32 kB / 453.6 MB, free: 256 kB / 378.7 MB Notification: Performance of sorting global known variables: time 0.00344/0.6565, allocations: 1.601 MB / 455.2 MB, free: 14.63 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.059e-06/0.6565, allocations: 0 / 455.2 MB, free: 14.63 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.004267/0.6608, allocations: 0.5899 MB / 455.8 MB, free: 14.04 MB / 394.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 (77): * Single equations (assignments): 73 * 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.0003986/0.6612, allocations: 143 kB / 456 MB, free: 13.89 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.006889/0.6681, allocations: 3.183 MB / 459.2 MB, free: 10.71 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 7.898e-06/0.6682, allocations: 4 kB / 459.2 MB, free: 10.71 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001717/0.6699, allocations: 0.8604 MB / 460 MB, free: 9.836 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001246/0.6712, allocations: 188.2 kB / 460.2 MB, free: 9.648 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01379/0.685, allocations: 6.7 MB / 466.9 MB, free: 2.902 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003494/0.6885, allocations: 2.217 MB / 469.1 MB, free: 0.6484 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007614/0.6893, allocations: 183.4 kB / 469.3 MB, free: 480 kB / 394.7 MB Notification: Performance of SimCode: time 1.83e-06/0.6894, allocations: 7.938 kB / 469.3 MB, free: 472 kB / 394.7 MB Notification: Performance of Templates: time 0.3009/0.9903, allocations: 43.74 MB / 0.501 GB, free: 114 MB / 410.7 MB