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 1.9/1.9, allocations: 209.3 MB / 222.4 MB, free: 7.723 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.346e-05/3.37e-05, allocations: 4 kB / 277.8 MB, free: 15.31 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08817/0.08824, allocations: 48.69 MB / 326.5 MB, free: 14.52 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3543/0.4425, allocations: 82.9 MB / 409.4 MB, free: 8.129 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002191/0.4428, allocations: 69.22 kB / 409.5 MB, free: 8.121 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1951/0.6379, allocations: 46.9 MB / 456.4 MB, free: 15.94 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.384e-06/0.638, allocations: 0 / 456.4 MB, free: 15.94 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.0001019/0.6381, allocations: 44 kB / 456.4 MB, free: 15.9 MB / 362.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.007112/0.6452, allocations: 2.317 MB / 458.8 MB, free: 13.71 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.021e-05/0.6453, allocations: 8.031 kB / 458.8 MB, free: 13.7 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0152/0.6605, allocations: 1.759 MB / 460.5 MB, free: 11.94 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003971/0.6645, allocations: 1.356 MB / 461.9 MB, free: 10.8 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002578/0.6648, allocations: 189 kB / 462.1 MB, free: 10.68 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001091/0.6659, allocations: 236.5 kB / 462.3 MB, free: 10.5 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01548/0.6814, allocations: 6.529 MB / 468.8 MB, free: 3.766 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001271/0.6816, allocations: 43.59 kB / 468.9 MB, free: 3.723 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006463/0.6823, allocations: 123.9 kB / 469 MB, free: 3.602 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00125/0.6835, allocations: 0.6877 MB / 469.7 MB, free: 2.91 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01688/0.7004, allocations: 5.416 MB / 475.1 MB, free: 13.49 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04736/0.7478, allocations: 31.56 MB / 0.4948 GB, free: 12.81 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006217/0.7541, allocations: 2.351 MB / 0.4971 GB, free: 10.31 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002193/0.7563, allocations: 0.9678 MB / 0.498 GB, free: 9.332 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001394/0.7565, allocations: 43.94 kB / 0.4981 GB, free: 9.289 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.299e-05/0.7566, allocations: 46.5 kB / 0.4981 GB, free: 9.234 MB / 410.7 MB Notification: Performance of pre-optimization done (n=96): time 5.431e-06/0.7566, allocations: 4 kB / 0.4981 GB, free: 9.23 MB / 410.7 MB Notification: Performance of matching and sorting (n=115): time 0.03251/0.7891, allocations: 8.465 MB / 0.5064 GB, free: 0.6367 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001061/0.7893, allocations: 145 kB / 0.5065 GB, free: 476 kB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004848/0.7941, allocations: 2.313 MB / 0.5088 GB, free: 14.12 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002051/0.7944, allocations: 41.7 kB / 0.5088 GB, free: 14.08 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002011/0.7964, allocations: 2.019 MB / 0.5108 GB, free: 12.03 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006828/0.7971, allocations: 474.1 kB / 0.5112 GB, free: 11.56 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003507/0.7974, allocations: 84 kB / 0.5113 GB, free: 11.48 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.000456/0.7979, allocations: 0.4926 MB / 0.5118 GB, free: 10.98 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00299/0.8009, allocations: 1.34 MB / 0.5131 GB, free: 9.629 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005839/0.8068, allocations: 4.099 MB / 0.5171 GB, free: 4.133 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004992/0.8118, allocations: 2.366 MB / 0.5194 GB, free: 1.766 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.615e-05/0.8119, allocations: 28 kB / 0.5194 GB, free: 1.738 MB / 426.7 MB Notification: Performance of matching and sorting (n=567) (initialization): time 0.2841/1.096, allocations: 5.461 MB / 0.5248 GB, free: 116.2 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.469e-05/1.096, allocations: 46.94 kB / 0.5248 GB, free: 116.2 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001155/1.096, allocations: 98.62 kB / 0.5249 GB, free: 116.2 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001305/1.098, allocations: 468.2 kB / 0.5254 GB, free: 116.2 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004177/1.102, allocations: 1.018 MB / 0.5264 GB, free: 116.2 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004991/1.107, allocations: 3.373 MB / 0.5297 GB, free: 114.9 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004025/1.111, allocations: 235.2 kB / 0.5299 GB, free: 114.9 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008701/1.112, allocations: 274.2 kB / 0.5301 GB, free: 114.9 MB / 426.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.000781/1.113, allocations: 448.6 kB / 0.5306 GB, free: 114.7 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004928/1.113, allocations: 218.7 kB / 0.5308 GB, free: 114.7 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003405/1.117, allocations: 1.464 MB / 0.5322 GB, free: 114.7 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.453e-05/1.117, allocations: 13.03 kB / 0.5322 GB, free: 114.7 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.093e-05/1.117, allocations: 3.281 kB / 0.5322 GB, free: 114.7 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.255e-05/1.117, allocations: 5.844 kB / 0.5322 GB, free: 114.7 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01105/1.128, allocations: 4.457 MB / 0.5366 GB, free: 114.2 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.402e-05/1.128, allocations: 0 / 0.5366 GB, free: 114.2 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001136/1.129, allocations: 168.7 kB / 0.5367 GB, free: 114.2 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001133/1.13, allocations: 314.7 kB / 0.537 GB, free: 114.2 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001412/1.13, allocations: 26.44 kB / 0.5371 GB, free: 114.2 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003888/1.134, allocations: 2.81 MB / 0.5398 GB, free: 112.9 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.622e-06/1.134, allocations: 0 / 0.5398 GB, free: 112.9 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005906/1.14, allocations: 3.304 MB / 0.543 GB, free: 112.4 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001117/1.141, allocations: 430.8 kB / 0.5434 GB, free: 112.2 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003924/1.142, allocations: 16.5 kB / 0.5435 GB, free: 112.2 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001154/1.143, allocations: 52.36 kB / 0.5435 GB, free: 112.2 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001869/1.143, allocations: 56.91 kB / 0.5436 GB, free: 112.2 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001132/1.143, allocations: 30.22 kB / 0.5436 GB, free: 112.2 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.003044/1.146, allocations: 1.584 MB / 0.5451 GB, free: 112 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.079e-06/1.146, allocations: 0 / 0.5451 GB, free: 112 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.004468/1.151, allocations: 0.614 MB / 0.5457 GB, free: 111.9 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 () * 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.0004034/1.151, allocations: 152.9 kB / 0.5459 GB, free: 111.8 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.00637/1.158, allocations: 3.283 MB / 0.5491 GB, free: 110.6 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 6.562e-06/1.158, allocations: 0 / 0.5491 GB, free: 110.6 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00162/1.159, allocations: 0.9204 MB / 0.55 GB, free: 110.3 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001293/1.161, allocations: 191.4 kB / 0.5502 GB, free: 110.2 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01059/1.171, allocations: 4.856 MB / 0.5549 GB, free: 108.4 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002706/1.174, allocations: 2.236 MB / 0.5571 GB, free: 107.3 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007912/1.175, allocations: 203.8 kB / 0.5573 GB, free: 107.3 MB / 426.7 MB Notification: Performance of SimCode: time 1.76e-06/1.175, allocations: 0 / 0.5573 GB, free: 107.3 MB / 426.7 MB Notification: Performance of Templates: time 0.06227/1.237, allocations: 44.6 MB / 0.6009 GB, free: 77.46 MB / 426.7 MB