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.898/1.898, allocations: 209.3 MB / 224.8 MB, free: 284 kB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004407/0.0004408, allocations: 12 kB / 282.6 MB, free: 9.602 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2911/0.2915, allocations: 48.7 MB / 331.3 MB, free: 6.496 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1265/0.4181, allocations: 83 MB / 414.3 MB, free: 11.43 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002573/0.4184, allocations: 71.97 kB / 414.3 MB, free: 11.36 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.186/0.6044, allocations: 46.88 MB / 461.2 MB, free: 12.06 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.844e-06/0.6045, allocations: 4 kB / 461.2 MB, free: 12.05 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0001052/0.6046, allocations: 44 kB / 461.3 MB, free: 12.01 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: 945 * Number of variables: 945 Notification: Performance of Generate backend data structure: time 0.00743/0.612, allocations: 2.381 MB / 463.6 MB, free: 9.57 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.447e-05/0.6121, allocations: 8.031 kB / 463.6 MB, free: 9.562 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009835/0.622, allocations: 1.767 MB / 465.4 MB, free: 7.789 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004082/0.6261, allocations: 1.346 MB / 466.8 MB, free: 6.398 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002626/0.6264, allocations: 184.7 kB / 466.9 MB, free: 6.215 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001144/0.6275, allocations: 243.8 kB / 467.2 MB, free: 5.977 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2473/0.8748, allocations: 6.57 MB / 473.8 MB, free: 94.74 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001297/0.875, allocations: 39.28 kB / 473.8 MB, free: 94.74 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006359/0.8756, allocations: 121.8 kB / 473.9 MB, free: 94.74 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001216/0.8769, allocations: 0.6939 MB / 474.6 MB, free: 94.74 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0125/0.8894, allocations: 5.493 MB / 480.1 MB, free: 94.71 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03168/0.9211, allocations: 31.56 MB / 0.4997 GB, free: 72.09 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005762/0.9269, allocations: 2.358 MB / 0.502 GB, free: 70.91 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001389/0.9271, allocations: 40.88 kB / 0.502 GB, free: 70.91 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.748e-05/0.9271, allocations: 45.69 kB / 0.502 GB, free: 70.86 MB / 394.7 MB Notification: Performance of pre-optimization done (n=96): time 5.251e-06/0.9272, allocations: 0 / 0.502 GB, free: 70.86 MB / 394.7 MB Notification: Performance of matching and sorting (n=115): time 0.03174/0.9589, allocations: 9.726 MB / 0.5115 GB, free: 67 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.522e-05/0.959, allocations: 143.2 kB / 0.5117 GB, free: 66.84 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004327/0.9633, allocations: 2.33 MB / 0.514 GB, free: 66 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002001/0.9636, allocations: 44.73 kB / 0.514 GB, free: 65.96 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001263/0.9648, allocations: 2.027 MB / 0.516 GB, free: 64.41 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005209/0.9654, allocations: 466.8 kB / 0.5164 GB, free: 64.09 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003429/0.9658, allocations: 85.41 kB / 0.5165 GB, free: 64.02 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0002683/0.966, allocations: 0.492 MB / 0.517 GB, free: 63.63 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002601/0.9686, allocations: 1.372 MB / 0.5183 GB, free: 63.2 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004291/0.973, allocations: 4.115 MB / 0.5223 GB, free: 58.94 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004251/0.9772, allocations: 2.37 MB / 0.5247 GB, free: 57.99 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.145e-05/0.9774, allocations: 32.75 kB / 0.5247 GB, free: 57.98 MB / 394.7 MB Notification: Performance of matching and sorting (n=567) (initialization): time 0.01229/0.9897, allocations: 5.515 MB / 0.5301 GB, free: 55.89 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.359e-05/0.9898, allocations: 51.94 kB / 0.5301 GB, free: 55.89 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000112/0.9899, allocations: 101.9 kB / 0.5302 GB, free: 55.89 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001397/0.9913, allocations: 469.3 kB / 0.5307 GB, free: 55.8 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004065/0.9954, allocations: 1.02 MB / 0.5317 GB, free: 55.47 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004537/1, allocations: 3.45 MB / 0.535 GB, free: 52.25 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003866/1.004, allocations: 235.3 kB / 0.5353 GB, free: 52.04 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007362/1.005, allocations: 277 kB / 0.5355 GB, free: 51.78 MB / 394.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.002753/1.007, allocations: 1.381 MB / 0.5369 GB, free: 50.55 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004887/1.008, allocations: 221.1 kB / 0.5371 GB, free: 50.34 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003128/1.011, allocations: 1.471 MB / 0.5385 GB, free: 49.12 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.624e-05/1.011, allocations: 13.25 kB / 0.5385 GB, free: 49.11 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.05e-05/1.011, allocations: 7.953 kB / 0.5385 GB, free: 49.1 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.801e-05/1.011, allocations: 3.938 kB / 0.5385 GB, free: 49.1 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009877/1.021, allocations: 4.467 MB / 0.5429 GB, free: 45.14 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.349e-05/1.021, allocations: 7.984 kB / 0.5429 GB, free: 45.13 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001046/1.022, allocations: 167.8 kB / 0.5431 GB, free: 44.96 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001082/1.023, allocations: 324.4 kB / 0.5434 GB, free: 44.64 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001298/1.023, allocations: 16.7 kB / 0.5434 GB, free: 44.63 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003655/1.027, allocations: 2.89 MB / 0.5462 GB, free: 41.62 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.245e-06/1.027, allocations: 0 / 0.5462 GB, free: 41.62 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005317/1.032, allocations: 3.335 MB / 0.5495 GB, free: 38.25 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001029/1.034, allocations: 422.1 kB / 0.5499 GB, free: 37.81 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003038/1.034, allocations: 16 kB / 0.5499 GB, free: 37.8 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001063/1.035, allocations: 59.59 kB / 0.55 GB, free: 37.74 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001753/1.035, allocations: 56.44 kB / 0.55 GB, free: 37.69 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001022/1.035, allocations: 28 kB / 0.55 GB, free: 37.66 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.002912/1.038, allocations: 1.605 MB / 0.5516 GB, free: 36.04 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.039e-06/1.038, allocations: 0 / 0.5516 GB, free: 36.04 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.004497/1.043, allocations: 0.6083 MB / 0.5522 GB, free: 35.44 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 (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.0003517/1.043, allocations: 151.5 kB / 0.5523 GB, free: 35.29 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.006209/1.049, allocations: 3.312 MB / 0.5556 GB, free: 31.98 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 6.173e-06/1.049, allocations: 4 kB / 0.5556 GB, free: 31.98 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001629/1.051, allocations: 0.9409 MB / 0.5565 GB, free: 31.03 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00127/1.052, allocations: 187.2 kB / 0.5567 GB, free: 30.85 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01194/1.064, allocations: 6.789 MB / 0.5633 GB, free: 24.02 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002831/1.067, allocations: 2.238 MB / 0.5655 GB, free: 21.75 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007578/1.068, allocations: 195.4 kB / 0.5657 GB, free: 21.56 MB / 394.7 MB Notification: Performance of SimCode: time 1.718e-06/1.068, allocations: 0 / 0.5657 GB, free: 21.56 MB / 394.7 MB Notification: Performance of Templates: time 0.07098/1.139, allocations: 44.61 MB / 0.6092 GB, free: 9.176 MB / 426.7 MB