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.FreeBody.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.FreeBody,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|body.body.frame_a.r_0.1.|body.body.frame_a.r_0.2.|body.body.frame_a.r_0.3.|body.body.w_a.1.|body.body.w_a.2.|body.body.w_a.3.|body.v_0.1.|body.v_0.2.|body.v_0.3.",fileNamePrefix="Modelica_3.2.1_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody") Notification: Performance of loadModel(Modelica): time 1.625/1.625, allocations: 171.2 MB / 184.2 MB, free: 11.96 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 2.653e-05/2.67e-05, allocations: 4 kB / 228.8 MB, free: 15.32 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2034/0.2034, allocations: 38.78 MB / 267.6 MB, free: 9.289 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1311/0.3346, allocations: 81.31 MB / 348.9 MB, free: 7.855 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004583/0.3351, allocations: 79.94 kB / 349 MB, free: 7.777 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4959/0.831, allocations: 71.48 MB / 420.5 MB, free: 25.52 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.267e-06/0.8311, allocations: 0 / 420.5 MB, free: 25.52 MB / 298.7 MB Notification: Performance of Transformations before backend: time 0.0001892/0.8313, allocations: 71.94 kB / 420.5 MB, free: 25.45 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: 1295 * Number of variables: 1295 Notification: Performance of Generate backend data structure: time 0.01466/0.8459, allocations: 3.787 MB / 424.3 MB, free: 21.61 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.503e-05/0.846, allocations: 12.03 kB / 424.3 MB, free: 21.59 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01139/0.8574, allocations: 2.125 MB / 426.5 MB, free: 19.46 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01293/0.8704, allocations: 4.424 MB / 430.9 MB, free: 14.97 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002914/0.8707, allocations: 271.2 kB / 431.1 MB, free: 14.71 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001415/0.8721, allocations: 371.8 kB / 431.5 MB, free: 14.34 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01918/0.8913, allocations: 9.015 MB / 440.5 MB, free: 4.363 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001654/0.8916, allocations: 55.47 kB / 440.6 MB, free: 4.309 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009881/0.8926, allocations: 179.9 kB / 440.8 MB, free: 4.133 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001309/0.8939, allocations: 0.8724 MB / 441.6 MB, free: 3.258 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01786/0.9118, allocations: 7.255 MB / 448.9 MB, free: 11.98 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2602/1.172, allocations: 43.15 MB / 492 MB, free: 72.64 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009791/1.182, allocations: 3.144 MB / 495.2 MB, free: 71.97 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002337/1.184, allocations: 1.367 MB / 496.5 MB, free: 71.94 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01133/1.196, allocations: 6.05 MB / 0.4908 GB, free: 70.38 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.486e-05/1.196, allocations: 48.72 kB / 0.4909 GB, free: 70.34 MB / 346.7 MB Notification: Performance of pre-optimization done (n=118): time 7.051e-06/1.196, allocations: 3.047 kB / 0.4909 GB, free: 70.34 MB / 346.7 MB Notification: Performance of matching and sorting (n=125): time 0.02777/1.223, allocations: 8.928 MB / 0.4996 GB, free: 68.15 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.00118/1.225, allocations: 1.614 MB / 0.5012 GB, free: 66.63 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006169/1.231, allocations: 3.115 MB / 0.5042 GB, free: 66.3 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002848/1.231, allocations: 39.95 kB / 0.5042 GB, free: 66.27 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001845/1.233, allocations: 2.723 MB / 0.5069 GB, free: 64.67 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006802/1.234, allocations: 0.5231 MB / 0.5074 GB, free: 64.39 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004459/1.234, allocations: 109.5 kB / 0.5075 GB, free: 64.39 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0003401/1.235, allocations: 0.5361 MB / 0.508 GB, free: 64.07 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003804/1.238, allocations: 1.816 MB / 0.5098 GB, free: 64.05 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00552/1.244, allocations: 5.216 MB / 0.5149 GB, free: 59.61 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005774/1.25, allocations: 3.043 MB / 0.5179 GB, free: 59.1 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001144/1.25, allocations: 36.97 kB / 0.5179 GB, free: 59.1 MB / 346.7 MB Notification: Performance of matching and sorting (n=695) (initialization): time 0.01831/1.268, allocations: 7.494 MB / 0.5252 GB, free: 56.99 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001053/1.268, allocations: 55.91 kB / 0.5253 GB, free: 56.99 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.006045/1.275, allocations: 2.371 MB / 0.5276 GB, free: 56.27 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004155/1.279, allocations: 1.136 MB / 0.5287 GB, free: 56.06 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005137/1.284, allocations: 1.224 MB / 0.5299 GB, free: 55.91 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006117/1.29, allocations: 4.701 MB / 0.5345 GB, free: 52.63 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005768/1.296, allocations: 370.8 kB / 0.5348 GB, free: 52.53 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001059/1.297, allocations: 338.4 kB / 0.5352 GB, free: 52.49 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 556 * Number of states: 0 () * Number of discrete variables: 33 (spring2.color[3],spring2.color[2],spring2.color[1],spring2.massColor[3],spring2.massColor[2],spring2.massColor[1],body.color[3],body.color[2],body.color[1],body.body.sphereColor[3],body.body.sphereColor[2],body.body.sphereColor[1],body.frameTranslation.color[3],body.frameTranslation.color[2],body.frameTranslation.color[1],spring1.color[3],spring1.color[2],spring1.color[1],spring1.massColor[3],spring1.massColor[2],spring1.massColor[1],bar2.color[3],bar2.color[2],bar2.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 (657): * Single equations (assignments): 648 * Array equations: 5 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(4,100.0%),(3,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 1} * Non-linear torn systems: 1 {3 1} Notification: Performance of prepare postOptimizeDAE: time 0.001167/1.298, allocations: 0.5164 MB / 0.5357 GB, free: 52.06 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006579/1.299, allocations: 301.9 kB / 0.536 GB, free: 51.89 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007075/1.306, allocations: 2.66 MB / 0.5386 GB, free: 50.97 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.005816/1.312, allocations: 2.245 MB / 0.5408 GB, free: 50.07 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.69e-05/1.312, allocations: 4 kB / 0.5408 GB, free: 50.06 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.718e-05/1.312, allocations: 7.734 kB / 0.5408 GB, free: 50.06 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007411/1.319, allocations: 3.349 MB / 0.544 GB, free: 47.44 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.13e-05/1.319, allocations: 3.625 kB / 0.544 GB, free: 47.44 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001373/1.321, allocations: 204 kB / 0.5442 GB, free: 47.28 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003696/1.325, allocations: 1.038 MB / 0.5452 GB, free: 46.57 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002896/1.325, allocations: 33.58 kB / 0.5453 GB, free: 46.55 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006231/1.331, allocations: 4.991 MB / 0.5502 GB, free: 41.91 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0009459/1.332, allocations: 1.476 MB / 0.5516 GB, free: 40.35 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008986/1.341, allocations: 4.84 MB / 0.5563 GB, free: 36.14 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001013/1.342, allocations: 365.8 kB / 0.5567 GB, free: 35.77 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008994/1.343, allocations: 30.94 kB / 0.5567 GB, free: 35.74 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002341/1.345, allocations: 118.6 kB / 0.5568 GB, free: 35.68 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004231/1.346, allocations: 80.33 kB / 0.5569 GB, free: 35.63 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001621/1.346, allocations: 39.03 kB / 0.5569 GB, free: 35.6 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.005071/1.351, allocations: 2.14 MB / 0.559 GB, free: 33.71 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.123e-06/1.351, allocations: 0 / 0.559 GB, free: 33.71 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.006433/1.358, allocations: 0.9298 MB / 0.5599 GB, free: 32.79 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 12 ($STATESET1.x[3],$STATESET1.x[2],$STATESET1.x[1],body.v_0[1],body.v_0[2],body.v_0[3],body.body.frame_a.r_0[1],body.body.frame_a.r_0[2],body.body.frame_a.r_0[3],body.body.w_a[1],body.body.w_a[2],body.body.w_a[3]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (93): * Single equations (assignments): 86 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 3 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(3,100.0%),(4,100.0%)} * Non-linear Jacobian: 1 {4} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005759/1.358, allocations: 162.3 kB / 0.5601 GB, free: 32.63 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.01024/1.369, allocations: 5.001 MB / 0.565 GB, free: 28.12 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 6.79e-06/1.369, allocations: 0 / 0.565 GB, free: 28.12 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004472/1.373, allocations: 1.993 MB / 0.5669 GB, free: 26.36 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002556/1.376, allocations: 363.4 kB / 0.5673 GB, free: 26.05 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01597/1.392, allocations: 7.221 MB / 0.5743 GB, free: 19.67 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005061/1.397, allocations: 2.94 MB / 0.5772 GB, free: 17.41 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009986/1.398, allocations: 254.6 kB / 0.5774 GB, free: 17.17 MB / 346.7 MB Notification: Performance of SimCode: time 1.865e-06/1.398, allocations: 0 / 0.5774 GB, free: 17.17 MB / 346.7 MB Notification: Performance of Templates: time 0.3554/1.753, allocations: 108.3 MB / 0.6832 GB, free: 45.7 MB / 362.7 MB