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.259/2.259, allocations: 234.9 MB / 250.5 MB, free: 9.547 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004408/0.000441, allocations: 16 kB / 314.3 MB, free: 9.59 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2794/0.2799, allocations: 54.86 MB / 369.2 MB, free: 10.72 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.PointMass): time 0.01974/0.2997, allocations: 14.09 MB / 383.3 MB, free: 12.57 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.009327/0.3091, allocations: 3.669 MB / 386.9 MB, free: 8.898 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002401/0.3115, allocations: 63.88 kB / 387 MB, free: 8.836 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002203/0.3137, allocations: 0.6688 MB / 387.7 MB, free: 8.164 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.006487/0.3203, allocations: 1.874 MB / 389.5 MB, free: 6.285 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001207/0.3215, allocations: 235.5 kB / 389.8 MB, free: 6.055 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.002565/0.3241, allocations: 1.107 MB / 390.9 MB, free: 4.941 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002877/0.327, allocations: 1.492 MB / 392.4 MB, free: 3.41 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001035/0.3281, allocations: 0.541 MB / 392.9 MB, free: 2.867 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001195/0.3293, allocations: 0.6967 MB / 393.6 MB, free: 2.168 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000273/0.3296, allocations: 80 kB / 393.7 MB, free: 2.09 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00143/0.3311, allocations: 0.6163 MB / 394.3 MB, free: 1.473 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001123/0.3322, allocations: 0.8026 MB / 395.1 MB, free: 0.668 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006115/0.3329, allocations: 476.1 kB / 395.6 MB, free: 200 kB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004313/0.3372, allocations: 2.81 MB / 398.4 MB, free: 13.38 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.617e-06/0.3372, allocations: 0 / 398.4 MB, free: 13.38 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.568e-06/0.3372, allocations: 0 / 398.4 MB, free: 13.38 MB / 330.7 MB Notification: Performance of Transformations before backend: time 6.173e-05/0.3373, allocations: 4 kB / 398.4 MB, free: 13.38 MB / 330.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.00535/0.3427, allocations: 2.294 MB / 400.7 MB, free: 11.03 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.348e-05/0.3428, allocations: 8.031 kB / 400.7 MB, free: 11.02 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008188/0.351, allocations: 1.888 MB / 402.6 MB, free: 9.125 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002628/0.3536, allocations: 1.06 MB / 403.6 MB, free: 8.02 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001479/0.3538, allocations: 114.9 kB / 403.8 MB, free: 7.906 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006248/0.3544, allocations: 151.9 kB / 403.9 MB, free: 7.758 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01294/0.3674, allocations: 6.236 MB / 410.1 MB, free: 1.039 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.614e-05/0.3675, allocations: 23.81 kB / 410.2 MB, free: 1.016 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003475/0.3679, allocations: 79.88 kB / 410.2 MB, free: 0.9375 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002866/0.3708, allocations: 1.39 MB / 411.6 MB, free: 15.54 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01323/0.384, allocations: 5.404 MB / 417 MB, free: 10.13 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03768/0.4218, allocations: 24.78 MB / 441.8 MB, free: 0.5469 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006459/0.4283, allocations: 2.378 MB / 444.2 MB, free: 14.02 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004821/0.4288, allocations: 319.8 kB / 444.5 MB, free: 13.65 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.316e-05/0.4289, allocations: 54.36 kB / 444.6 MB, free: 13.59 MB / 378.7 MB Notification: Performance of pre-optimization done (n=96): time 5.505e-06/0.4289, allocations: 0 / 444.6 MB, free: 13.59 MB / 378.7 MB Notification: Performance of matching and sorting (n=106): time 0.03119/0.4601, allocations: 8.761 MB / 453.3 MB, free: 4.629 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001113/0.4602, allocations: 144.6 kB / 453.5 MB, free: 4.457 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005078/0.4653, allocations: 2.599 MB / 456.1 MB, free: 1.832 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001872/0.4656, allocations: 41.7 kB / 456.1 MB, free: 1.785 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00206/0.4676, allocations: 2.019 MB / 458.1 MB, free: 15.74 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006299/0.4683, allocations: 434.6 kB / 458.5 MB, free: 15.31 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003089/0.4686, allocations: 83.94 kB / 458.6 MB, free: 15.23 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0004337/0.4691, allocations: 0.4885 MB / 459.1 MB, free: 14.73 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002886/0.472, allocations: 1.316 MB / 460.4 MB, free: 13.4 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005826/0.4778, allocations: 4.062 MB / 464.5 MB, free: 7.945 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004754/0.4826, allocations: 2.296 MB / 466.8 MB, free: 5.656 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.15e-05/0.4828, allocations: 28 kB / 466.8 MB, free: 5.629 MB / 394.7 MB Notification: Performance of matching and sorting (n=557) (initialization): time 0.01329/0.4961, allocations: 5.368 MB / 472.2 MB, free: 256 kB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001059/0.4962, allocations: 53.23 kB / 472.2 MB, free: 204 kB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001383/0.4964, allocations: 100 kB / 472.3 MB, free: 104 kB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.2541/0.7505, allocations: 465.3 kB / 472.8 MB, free: 87.79 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004092/0.7546, allocations: 0.9723 MB / 473.8 MB, free: 87.79 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005373/0.76, allocations: 3.454 MB / 477.2 MB, free: 86.18 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003774/0.7638, allocations: 230.8 kB / 477.4 MB, free: 86.11 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007523/0.7646, allocations: 267.9 kB / 477.7 MB, free: 86.08 MB / 394.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.002911/0.7676, allocations: 1.368 MB / 479.1 MB, free: 85.42 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004598/0.768, allocations: 214.6 kB / 479.3 MB, free: 85.42 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003169/0.7712, allocations: 1.315 MB / 480.6 MB, free: 84.91 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.958e-05/0.7713, allocations: 19.66 kB / 480.6 MB, free: 84.91 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.097e-05/0.7713, allocations: 3.969 kB / 480.6 MB, free: 84.91 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.748e-05/0.7714, allocations: 10.03 kB / 480.6 MB, free: 84.91 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009479/0.7809, allocations: 4.232 MB / 484.9 MB, free: 83.3 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.268e-05/0.7809, allocations: 0 / 484.9 MB, free: 83.3 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008661/0.7818, allocations: 138 kB / 485 MB, free: 83.29 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001149/0.783, allocations: 317.2 kB / 485.3 MB, free: 83.21 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001081/0.7831, allocations: 16.69 kB / 485.3 MB, free: 83.2 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003859/0.787, allocations: 2.897 MB / 488.2 MB, free: 81.3 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.582e-06/0.787, allocations: 3.531 kB / 488.2 MB, free: 81.3 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005063/0.7921, allocations: 3.049 MB / 491.3 MB, free: 80.05 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008828/0.793, allocations: 412.6 kB / 491.7 MB, free: 79.83 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003051/0.7933, allocations: 15.88 kB / 491.7 MB, free: 79.82 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009839/0.7943, allocations: 43.83 kB / 491.7 MB, free: 79.8 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001592/0.7945, allocations: 65.75 kB / 491.8 MB, free: 79.79 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000104/0.7946, allocations: 27.47 kB / 491.8 MB, free: 79.79 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.002678/0.7973, allocations: 1.602 MB / 493.4 MB, free: 78.7 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.194e-06/0.7974, allocations: 0 / 493.4 MB, free: 78.7 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.004029/0.8014, allocations: 0.5975 MB / 494 MB, free: 78.11 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.000354/0.8018, allocations: 139.2 kB / 494.2 MB, free: 77.96 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.005379/0.8072, allocations: 3.186 MB / 497.3 MB, free: 75.18 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 6.085e-06/0.8072, allocations: 4 kB / 497.3 MB, free: 75.18 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001346/0.8086, allocations: 0.8642 MB / 498.2 MB, free: 74.34 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0012/0.8098, allocations: 193.1 kB / 498.4 MB, free: 74.16 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01061/0.8205, allocations: 6.697 MB / 0.4933 GB, free: 67.44 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002455/0.823, allocations: 2.218 MB / 0.4954 GB, free: 65.19 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000687/0.8237, allocations: 191.4 kB / 0.4956 GB, free: 65 MB / 394.7 MB Notification: Performance of SimCode: time 1.714e-06/0.8237, allocations: 4 kB / 0.4956 GB, free: 65 MB / 394.7 MB Notification: Performance of Templates: time 0.05921/0.8829, allocations: 43.76 MB / 0.5383 GB, free: 21.22 MB / 394.7 MB