Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.2_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/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.2_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody") Notification: Performance of loadModel(Modelica): time 1.884/1.884, allocations: 194.9 MB / 211.7 MB, free: 2.984 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003623/0.0003624, allocations: 8 kB / 263.9 MB, free: 13.56 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08224/0.08263, allocations: 44.51 MB / 308.5 MB, free: 0.9805 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3544/0.437, allocations: 87.03 MB / 395.5 MB, free: 18.82 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002133/0.4373, allocations: 81.97 kB / 395.6 MB, free: 18.82 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.301/0.7383, allocations: 71.62 MB / 467.2 MB, free: 6.781 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.661e-06/0.7384, allocations: 3.938 kB / 467.2 MB, free: 6.777 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0002222/0.7386, allocations: 72 kB / 467.3 MB, free: 6.707 MB / 346.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.01733/0.7559, allocations: 3.981 MB / 471.2 MB, free: 2.66 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.096e-05/0.756, allocations: 12.03 kB / 471.2 MB, free: 2.648 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01285/0.7689, allocations: 2.148 MB / 473.4 MB, free: 0.4922 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01521/0.7841, allocations: 4.462 MB / 477.9 MB, free: 11.96 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004267/0.7846, allocations: 275.2 kB / 478.1 MB, free: 11.7 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001725/0.7863, allocations: 359.9 kB / 478.5 MB, free: 11.34 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02405/0.8104, allocations: 9.08 MB / 487.6 MB, free: 1.301 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002034/0.8107, allocations: 51.47 kB / 487.6 MB, free: 1.25 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001324/0.812, allocations: 187.8 kB / 487.8 MB, free: 1.066 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001741/0.8138, allocations: 0.8646 MB / 488.7 MB, free: 208 kB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01968/0.8335, allocations: 7.355 MB / 496 MB, free: 8.832 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3522/1.186, allocations: 43.17 MB / 0.5265 GB, free: 70.36 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009971/1.196, allocations: 3.16 MB / 0.5296 GB, free: 69.7 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01178/1.208, allocations: 6.067 MB / 0.5356 GB, free: 68.15 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.726e-05/1.208, allocations: 45.88 kB / 0.5356 GB, free: 68.11 MB / 410.7 MB Notification: Performance of pre-optimization done (n=118): time 5.403e-06/1.208, allocations: 3.656 kB / 0.5356 GB, free: 68.11 MB / 410.7 MB Notification: Performance of matching and sorting (n=125): time 0.03198/1.24, allocations: 10.92 MB / 0.5463 GB, free: 65.25 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001201/1.241, allocations: 1.629 MB / 0.5479 GB, free: 63.72 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006187/1.247, allocations: 3.14 MB / 0.5509 GB, free: 63.41 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003061/1.247, allocations: 45.98 kB / 0.551 GB, free: 63.38 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001919/1.249, allocations: 2.724 MB / 0.5536 GB, free: 61.82 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007283/1.25, allocations: 0.5214 MB / 0.5541 GB, free: 61.55 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005551/1.251, allocations: 105.5 kB / 0.5542 GB, free: 61.55 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0003785/1.251, allocations: 0.5357 MB / 0.5548 GB, free: 61.23 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0037/1.255, allocations: 1.865 MB / 0.5566 GB, free: 61.21 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005707/1.261, allocations: 5.271 MB / 0.5617 GB, free: 56.77 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005793/1.266, allocations: 3.077 MB / 0.5647 GB, free: 56.74 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001075/1.267, allocations: 33.91 kB / 0.5648 GB, free: 56.74 MB / 410.7 MB Notification: Performance of matching and sorting (n=695) (initialization): time 0.02381/1.29, allocations: 8.261 MB / 0.5728 GB, free: 56.38 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001036/1.291, allocations: 57.94 kB / 0.5729 GB, free: 56.38 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01114/1.302, allocations: 3.091 MB / 0.5759 GB, free: 55.7 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01079/1.313, allocations: 1.944 MB / 0.5778 GB, free: 55.49 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00504/1.318, allocations: 1.223 MB / 0.579 GB, free: 55.34 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01025/1.328, allocations: 5.955 MB / 0.5848 GB, free: 51.66 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005956/1.334, allocations: 382.5 kB / 0.5852 GB, free: 51.56 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001237/1.335, allocations: 339.2 kB / 0.5855 GB, free: 51.52 MB / 410.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 () * Number of clocked 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): 3 * Torn equation systems: 1 * 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: 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 prepare postOptimizeDAE: time 0.004524/1.34, allocations: 1.83 MB / 0.5873 GB, free: 50.64 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007014/1.341, allocations: 294.2 kB / 0.5876 GB, free: 50.48 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006993/1.348, allocations: 2.672 MB / 0.5902 GB, free: 49.54 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.005761/1.353, allocations: 2.265 MB / 0.5924 GB, free: 48.8 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.24e-05/1.353, allocations: 3.906 kB / 0.5924 GB, free: 48.8 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.886e-05/1.353, allocations: 3.891 kB / 0.5924 GB, free: 48.8 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008329/1.362, allocations: 3.343 MB / 0.5957 GB, free: 47.56 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.126e-05/1.362, allocations: 0 / 0.5957 GB, free: 47.56 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001396/1.363, allocations: 209.9 kB / 0.5959 GB, free: 47.55 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00421/1.367, allocations: 1.031 MB / 0.5969 GB, free: 47.34 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003373/1.368, allocations: 34.19 kB / 0.5969 GB, free: 47.32 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006976/1.375, allocations: 5.088 MB / 0.6019 GB, free: 43.97 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001028/1.376, allocations: 1.495 MB / 0.6033 GB, free: 42.51 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009562/1.386, allocations: 4.864 MB / 0.6081 GB, free: 39.47 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001014/1.387, allocations: 368 kB / 0.6084 GB, free: 39.11 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009/1.388, allocations: 27.33 kB / 0.6085 GB, free: 39.08 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002319/1.39, allocations: 125.9 kB / 0.6086 GB, free: 39.01 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004592/1.39, allocations: 76.02 kB / 0.6086 GB, free: 38.97 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001804/1.391, allocations: 43.84 kB / 0.6087 GB, free: 38.93 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.005184/1.396, allocations: 2.171 MB / 0.6108 GB, free: 37.15 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.909e-06/1.396, allocations: 2.438 kB / 0.6108 GB, free: 37.15 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.006597/1.402, allocations: 0.9442 MB / 0.6117 GB, free: 36.22 MB / 410.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 () * Number of clocked 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.0006426/1.403, allocations: 167.9 kB / 0.6119 GB, free: 36.07 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.01065/1.414, allocations: 5.103 MB / 0.6169 GB, free: 31.64 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 7.592e-06/1.414, allocations: 4 kB / 0.6169 GB, free: 31.64 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004929/1.419, allocations: 1.995 MB / 0.6188 GB, free: 29.91 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002569/1.421, allocations: 352 kB / 0.6192 GB, free: 29.61 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01907/1.441, allocations: 10.04 MB / 0.629 GB, free: 20.53 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005665/1.446, allocations: 2.93 MB / 0.6318 GB, free: 18.28 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001026/1.447, allocations: 249.5 kB / 0.6321 GB, free: 18.05 MB / 410.7 MB Notification: Performance of SimCode: time 1.942e-06/1.447, allocations: 0 / 0.6321 GB, free: 18.05 MB / 410.7 MB Notification: Performance of Templates: time 0.406/1.853, allocations: 109 MB / 0.7385 GB, free: 136.3 MB / 458.7 MB