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.593/1.593, allocations: 171.2 MB / 184.3 MB, free: 11.96 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 2.679e-05/2.697e-05, allocations: 0 / 228.8 MB, free: 15.32 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2076/0.2076, allocations: 38.76 MB / 267.6 MB, free: 9.438 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1142/0.3219, allocations: 75.7 MB / 343.3 MB, free: 13.62 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002741/0.3222, allocations: 83.95 kB / 343.4 MB, free: 13.54 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4414/0.7636, allocations: 59.04 MB / 402.4 MB, free: 43.54 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.636e-06/0.7637, allocations: 0 / 402.4 MB, free: 43.54 MB / 298.7 MB Notification: Performance of Transformations before backend: time 0.0001096/0.7638, allocations: 44 kB / 402.5 MB, free: 43.49 MB / 298.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.01738/0.7812, allocations: 3.437 MB / 405.9 MB, free: 40 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.419e-05/0.7813, allocations: 12.03 kB / 405.9 MB, free: 39.98 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01403/0.7953, allocations: 2.317 MB / 408.2 MB, free: 37.66 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01351/0.8089, allocations: 4.833 MB / 413.1 MB, free: 32.77 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002352/0.8091, allocations: 180.3 kB / 413.2 MB, free: 32.59 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001171/0.8103, allocations: 231.8 kB / 413.5 MB, free: 32.37 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01971/0.83, allocations: 8.464 MB / 421.9 MB, free: 23.05 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001188/0.8302, allocations: 51.53 kB / 422 MB, free: 23 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005454/0.8308, allocations: 123.8 kB / 422.1 MB, free: 22.88 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001214/0.832, allocations: 0.7302 MB / 422.8 MB, free: 22.14 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02207/0.8541, allocations: 9.45 MB / 432.3 MB, free: 12.68 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04897/0.9031, allocations: 37.72 MB / 470 MB, free: 5.727 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01604/0.9192, allocations: 4.029 MB / 474 MB, free: 1.539 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004754/0.924, allocations: 2.199 MB / 476.2 MB, free: 15.32 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001199/0.9241, allocations: 21 kB / 476.2 MB, free: 15.3 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.08e-05/0.9242, allocations: 54.5 kB / 476.3 MB, free: 15.24 MB / 346.7 MB Notification: Performance of pre-optimization done (n=122): time 5.398e-06/0.9242, allocations: 0 / 476.3 MB, free: 15.24 MB / 346.7 MB Notification: Performance of matching and sorting (n=136): time 0.05505/0.9793, allocations: 14.48 MB / 490.8 MB, free: 0.5742 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.1946/1.174, allocations: 3.044 MB / 493.8 MB, free: 91.06 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005658/1.18, allocations: 2.618 MB / 496.4 MB, free: 90.84 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004362/1.18, allocations: 43.81 kB / 496.5 MB, free: 90.81 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001468/1.182, allocations: 2.053 MB / 498.5 MB, free: 90.02 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008755/1.182, allocations: 0.569 MB / 499.1 MB, free: 89.75 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005874/1.183, allocations: 91.39 kB / 499.2 MB, free: 89.75 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0003232/1.183, allocations: 0.5116 MB / 499.7 MB, free: 89.43 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005043/1.188, allocations: 2.289 MB / 0.4902 GB, free: 89.41 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00618/1.195, allocations: 5.158 MB / 0.4953 GB, free: 85.7 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006577/1.201, allocations: 3.357 MB / 0.4985 GB, free: 85.68 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.03e-05/1.201, allocations: 29.53 kB / 0.4986 GB, free: 85.68 MB / 346.7 MB Notification: Performance of matching and sorting (n=627) (initialization): time 0.02444/1.226, allocations: 8.952 MB / 0.5073 GB, free: 83.65 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.633e-05/1.226, allocations: 53.59 kB / 0.5074 GB, free: 83.65 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01404/1.24, allocations: 4.498 MB / 0.5118 GB, free: 82.57 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01003/1.25, allocations: 2.181 MB / 0.5139 GB, free: 82.32 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005653/1.256, allocations: 1.192 MB / 0.5151 GB, free: 82.2 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007396/1.263, allocations: 7.388 MB / 0.5223 GB, free: 76.45 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006799/1.27, allocations: 0.5626 MB / 0.5228 GB, free: 76.35 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001148/1.271, allocations: 300.7 kB / 0.5231 GB, free: 76.32 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 () * 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.001378/1.273, allocations: 466 kB / 0.5235 GB, free: 75.93 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006995/1.273, allocations: 256.5 kB / 0.5238 GB, free: 75.79 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001038/1.274, allocations: 418.8 kB / 0.5242 GB, free: 75.52 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01299/1.288, allocations: 4.557 MB / 0.5286 GB, free: 72.18 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.092e-05/1.288, allocations: 8 kB / 0.5286 GB, free: 72.17 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.701e-05/1.288, allocations: 3.469 kB / 0.5287 GB, free: 72.17 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01138/1.299, allocations: 5.345 MB / 0.5339 GB, free: 67.95 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.74e-05/1.299, allocations: 0 / 0.5339 GB, free: 67.95 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002074/1.301, allocations: 282.2 kB / 0.5341 GB, free: 67.75 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01003/1.311, allocations: 2.375 MB / 0.5365 GB, free: 66.28 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005057/1.312, allocations: 44.06 kB / 0.5365 GB, free: 66.25 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01024/1.322, allocations: 8.828 MB / 0.5451 GB, free: 57.95 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001793/1.324, allocations: 2.891 MB / 0.5479 GB, free: 54.88 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01838/1.342, allocations: 8.109 MB / 0.5559 GB, free: 47.02 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008521/1.343, allocations: 329.7 kB / 0.5562 GB, free: 46.67 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008411/1.344, allocations: 35.98 kB / 0.5562 GB, free: 46.64 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002914/1.347, allocations: 268.7 kB / 0.5565 GB, free: 46.38 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005868/1.348, allocations: 95.83 kB / 0.5566 GB, free: 46.28 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002341/1.348, allocations: 45.83 kB / 0.5566 GB, free: 46.24 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.003585/1.351, allocations: 1.816 MB / 0.5584 GB, free: 44.41 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.356e-06/1.351, allocations: 0 / 0.5584 GB, free: 44.41 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.006109/1.358, allocations: 0.9286 MB / 0.5593 GB, free: 43.49 MB / 346.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 () * 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.0006017/1.358, allocations: 172.9 kB / 0.5595 GB, free: 43.32 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.01276/1.371, allocations: 6.43 MB / 0.5657 GB, free: 36.79 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 7.631e-06/1.371, allocations: 0 / 0.5657 GB, free: 36.79 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.007063/1.378, allocations: 3.397 MB / 0.569 GB, free: 33.26 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002266/1.38, allocations: 286.9 kB / 0.5693 GB, free: 32.98 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01804/1.398, allocations: 7.701 MB / 0.5768 GB, free: 25.32 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003196/1.402, allocations: 2.337 MB / 0.5791 GB, free: 22.96 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001447/1.403, allocations: 231.3 kB / 0.5793 GB, free: 22.74 MB / 346.7 MB Notification: Performance of SimCode: time 2.738e-06/1.403, allocations: 0 / 0.5793 GB, free: 22.74 MB / 346.7 MB Notification: Performance of Templates: time 0.3559/1.759, allocations: 131.6 MB / 0.7079 GB, free: 28.68 MB / 362.7 MB