Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.1_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity.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) Running command: translateModel(Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|body1.frame_a.r_0.1.|body1.frame_a.r_0.2.|body1.frame_a.r_0.3.|body1.v_0.1.|body1.v_0.2.|body1.v_0.3.|body1.w_a.1.|body1.w_a.2.|body1.w_a.3.|body2.frame_a.r_0.1.|body2.frame_a.r_0.2.|body2.frame_a.r_0.3.|body2.v_0.1.|body2.v_0.2.|body2.v_0.3.|body2.w_a.1.|body2.w_a.2.|body2.w_a.3.",fileNamePrefix="Modelica_3.2.1_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity") Notification: Performance of loadModel(Modelica): time 1.563/1.563, allocations: 171.1 MB / 186.7 MB, free: 1.043 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003651/0.0003652, allocations: 11.98 kB / 233.3 MB, free: 2.996 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06773/0.06812, allocations: 38.76 MB / 272 MB, free: 12.16 MB / 234.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2919/0.36, allocations: 75.79 MB / 347.8 MB, free: 14.23 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002705/0.3603, allocations: 83.95 kB / 347.9 MB, free: 14.19 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2756/0.6359, allocations: 59.01 MB / 406.9 MB, free: 8.801 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.491e-06/0.636, allocations: 0 / 406.9 MB, free: 8.801 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0001166/0.6361, allocations: 48 kB / 406.9 MB, free: 8.754 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: 908 * Number of variables: 908 Notification: Performance of Generate backend data structure: time 0.01844/0.6545, allocations: 3.6 MB / 410.5 MB, free: 5.09 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.355e-05/0.6546, allocations: 8.031 kB / 410.5 MB, free: 5.082 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01423/0.6688, allocations: 2.317 MB / 412.9 MB, free: 2.758 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01547/0.6843, allocations: 4.851 MB / 417.7 MB, free: 13.86 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002985/0.6847, allocations: 172.4 kB / 417.9 MB, free: 13.68 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00123/0.6859, allocations: 227.8 kB / 418.1 MB, free: 13.46 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02378/0.7097, allocations: 8.579 MB / 426.7 MB, free: 4.027 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001483/0.7099, allocations: 47.53 kB / 426.7 MB, free: 3.98 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006928/0.7106, allocations: 131.9 kB / 426.9 MB, free: 3.852 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001453/0.7121, allocations: 0.722 MB / 427.6 MB, free: 3.129 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.2237/0.9358, allocations: 9.654 MB / 437.2 MB, free: 82.94 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04085/0.9767, allocations: 37.73 MB / 475 MB, free: 58.65 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01468/0.9914, allocations: 4.041 MB / 479 MB, free: 57.29 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001273/0.9916, allocations: 15.92 kB / 479 MB, free: 57.28 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.809e-05/0.9916, allocations: 46.08 kB / 479.1 MB, free: 57.23 MB / 346.7 MB Notification: Performance of pre-optimization done (n=122): time 5.17e-06/0.9916, allocations: 2.906 kB / 479.1 MB, free: 57.23 MB / 346.7 MB Notification: Performance of matching and sorting (n=136): time 0.05917/1.051, allocations: 17.74 MB / 496.8 MB, free: 51.28 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.002055/1.053, allocations: 3.083 MB / 499.9 MB, free: 48.22 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005355/1.058, allocations: 2.694 MB / 0.4908 GB, free: 47.31 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004375/1.059, allocations: 45.52 kB / 0.4908 GB, free: 47.27 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001347/1.06, allocations: 2.057 MB / 0.4929 GB, free: 45.78 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008297/1.061, allocations: 0.5554 MB / 0.4934 GB, free: 45.38 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004359/1.061, allocations: 100.1 kB / 0.4935 GB, free: 45.3 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0002794/1.062, allocations: 0.5102 MB / 0.494 GB, free: 44.91 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005156/1.067, allocations: 2.386 MB / 0.4963 GB, free: 44.17 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006198/1.073, allocations: 5.263 MB / 0.5015 GB, free: 38.26 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006241/1.079, allocations: 3.427 MB / 0.5048 GB, free: 35.27 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.876e-05/1.08, allocations: 28 kB / 0.5048 GB, free: 35.25 MB / 346.7 MB Notification: Performance of matching and sorting (n=627) (initialization): time 0.023/1.103, allocations: 9.155 MB / 0.5138 GB, free: 27.76 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.932e-05/1.103, allocations: 48.22 kB / 0.5138 GB, free: 27.71 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01232/1.115, allocations: 4.516 MB / 0.5182 GB, free: 23.54 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00902/1.124, allocations: 2.185 MB / 0.5204 GB, free: 21.33 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005023/1.129, allocations: 1.189 MB / 0.5215 GB, free: 20.14 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007062/1.136, allocations: 7.453 MB / 0.5288 GB, free: 12.16 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00614/1.142, allocations: 0.563 MB / 0.5294 GB, free: 11.6 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009505/1.143, allocations: 308.8 kB / 0.5296 GB, free: 11.3 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 466 * Number of states: 0 () * Number of discrete variables: 15 (body2.sphereColor[3],body2.sphereColor[2],body2.sphereColor[1],body1.sphereColor[3],body1.sphereColor[2],body1.sphereColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (581): * Single equations (assignments): 566 * Array equations: 7 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 6 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 4 {(3,100.0%),(4,100.0%),(3,100.0%),(4,100.0%)} * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(2,100.0%) 1,(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0029/1.146, allocations: 1.405 MB / 0.531 GB, free: 9.891 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007071/1.147, allocations: 256.7 kB / 0.5313 GB, free: 9.637 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001013/1.148, allocations: 419.2 kB / 0.5317 GB, free: 9.219 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01299/1.161, allocations: 4.588 MB / 0.5361 GB, free: 4.594 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.159e-05/1.161, allocations: 4 kB / 0.5362 GB, free: 4.59 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.798e-05/1.161, allocations: 7.984 kB / 0.5362 GB, free: 4.582 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01175/1.173, allocations: 5.333 MB / 0.5414 GB, free: 15.21 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.892e-05/1.173, allocations: 0 / 0.5414 GB, free: 15.21 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002121/1.175, allocations: 287.5 kB / 0.5416 GB, free: 14.93 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01077/1.186, allocations: 2.366 MB / 0.544 GB, free: 12.54 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005228/1.186, allocations: 43.95 kB / 0.544 GB, free: 12.49 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01355/1.2, allocations: 9.004 MB / 0.5528 GB, free: 2.98 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.2004/1.401, allocations: 2.905 MB / 0.5556 GB, free: 89.56 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02125/1.422, allocations: 8.135 MB / 0.5636 GB, free: 88.91 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008677/1.423, allocations: 337.4 kB / 0.5639 GB, free: 88.82 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006885/1.423, allocations: 36.17 kB / 0.5639 GB, free: 88.82 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002671/1.426, allocations: 268.9 kB / 0.5642 GB, free: 88.82 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005942/1.427, allocations: 99.55 kB / 0.5643 GB, free: 88.82 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002395/1.427, allocations: 50.27 kB / 0.5643 GB, free: 88.82 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.00468/1.432, allocations: 1.9 MB / 0.5662 GB, free: 88.68 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.851e-06/1.432, allocations: 2 kB / 0.5662 GB, free: 88.68 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.00589/1.438, allocations: 0.9258 MB / 0.5671 GB, free: 88.68 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 24 ($STATESET2.x[3],$STATESET2.x[2],$STATESET2.x[1],body2.frame_a.r_0[1],body2.frame_a.r_0[2],body2.frame_a.r_0[3],body2.v_0[1],body2.v_0[2],body2.v_0[3],body2.w_a[1],body2.w_a[2],body2.w_a[3],$STATESET1.x[3],$STATESET1.x[2],$STATESET1.x[1],body1.frame_a.r_0[1],body1.frame_a.r_0[2],body1.frame_a.r_0[3],body1.v_0[1],body1.v_0[2],body1.v_0[3],body1.w_a[1],body1.w_a[2],body1.w_a[3]) * 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 (92): * Single equations (assignments): 81 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 6 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 4 {(3,100.0%),(4,100.0%),(3,100.0%),(4,100.0%)} * Non-linear Jacobian: 2 {4,4} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(2,100.0%) 1,(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006133/1.438, allocations: 173 kB / 0.5672 GB, free: 88.59 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.01373/1.452, allocations: 6.551 MB / 0.5736 GB, free: 87.95 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 8.324e-06/1.452, allocations: 3.531 kB / 0.5736 GB, free: 87.95 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.007684/1.46, allocations: 3.419 MB / 0.577 GB, free: 87.07 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00227/1.462, allocations: 280.2 kB / 0.5773 GB, free: 87.06 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01994/1.482, allocations: 9.77 MB / 0.5868 GB, free: 83.73 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002942/1.485, allocations: 2.352 MB / 0.5891 GB, free: 82.97 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001436/1.486, allocations: 228.9 kB / 0.5893 GB, free: 82.96 MB / 362.7 MB Notification: Performance of SimCode: time 1.787e-06/1.487, allocations: 0 / 0.5893 GB, free: 82.96 MB / 362.7 MB Notification: Performance of Templates: time 0.3492/1.836, allocations: 131.6 MB / 0.7178 GB, free: 88.62 MB / 362.7 MB