Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody") Notification: Performance of loadModel(Modelica): time 2.167/2.167, allocations: 194.9 MB / 211.7 MB, free: 3 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003594/0.0003595, allocations: 8 kB / 264.5 MB, free: 12.93 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09718/0.09757, allocations: 44.51 MB / 309.1 MB, free: 364 kB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4585/0.5562, allocations: 87.02 MB / 396.1 MB, free: 15.39 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002996/0.5565, allocations: 93.53 kB / 396.2 MB, free: 15.39 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3019/0.8585, allocations: 72.12 MB / 468.3 MB, free: 2.801 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.355e-06/0.8585, allocations: 0 / 468.3 MB, free: 2.801 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0002543/0.8588, allocations: 72 kB / 468.4 MB, free: 2.73 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.02335/0.8822, allocations: 3.984 MB / 472.3 MB, free: 14.71 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.908e-05/0.8822, allocations: 11.97 kB / 472.4 MB, free: 14.7 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02105/0.9033, allocations: 2.151 MB / 474.5 MB, free: 12.54 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01912/0.9225, allocations: 4.454 MB / 479 MB, free: 8.078 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004114/0.9229, allocations: 274.1 kB / 479.2 MB, free: 7.832 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00202/0.925, allocations: 368.3 kB / 479.6 MB, free: 7.496 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02911/0.9541, allocations: 9.071 MB / 488.7 MB, free: 13.54 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002355/0.9544, allocations: 59.41 kB / 488.7 MB, free: 13.48 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001529/0.9559, allocations: 181.4 kB / 488.9 MB, free: 13.32 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002332/0.9583, allocations: 0.8721 MB / 489.8 MB, free: 12.45 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03027/0.9886, allocations: 7.355 MB / 497.1 MB, free: 5.086 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3982/1.387, allocations: 43.17 MB / 0.5276 GB, free: 69.29 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01326/1.4, allocations: 3.162 MB / 0.5307 GB, free: 68.62 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01446/1.415, allocations: 6.055 MB / 0.5366 GB, free: 67.08 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.977e-05/1.415, allocations: 50.5 kB / 0.5367 GB, free: 67.04 MB / 410.7 MB Notification: Performance of pre-optimization done (n=118): time 5.821e-06/1.415, allocations: 0 / 0.5367 GB, free: 67.04 MB / 410.7 MB Notification: Performance of matching and sorting (n=125): time 0.06175/1.477, allocations: 10.91 MB / 0.5473 GB, free: 64.14 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001986/1.479, allocations: 1.63 MB / 0.5489 GB, free: 62.62 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01165/1.49, allocations: 3.518 MB / 0.5524 GB, free: 62.29 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004922/1.491, allocations: 41.7 kB / 0.5524 GB, free: 62.26 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003507/1.494, allocations: 2.78 MB / 0.5551 GB, free: 60.77 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001218/1.496, allocations: 0.5144 MB / 0.5556 GB, free: 60.49 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000914/1.497, allocations: 106.8 kB / 0.5557 GB, free: 60.49 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0005816/1.497, allocations: 0.534 MB / 0.5562 GB, free: 60.18 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007015/1.504, allocations: 1.865 MB / 0.5581 GB, free: 60.16 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01011/1.514, allocations: 5.279 MB / 0.5632 GB, free: 55.71 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009924/1.524, allocations: 3.074 MB / 0.5662 GB, free: 55.69 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.00021/1.525, allocations: 32.66 kB / 0.5663 GB, free: 55.69 MB / 410.7 MB Notification: Performance of matching and sorting (n=695) (initialization): time 0.04173/1.567, allocations: 8.355 MB / 0.5744 GB, free: 55.04 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001507/1.567, allocations: 57.75 kB / 0.5745 GB, free: 55.04 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.02212/1.589, allocations: 3.095 MB / 0.5775 GB, free: 54.26 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.02229/1.611, allocations: 1.943 MB / 0.5794 GB, free: 54.05 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009061/1.62, allocations: 1.221 MB / 0.5806 GB, free: 53.9 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01796/1.638, allocations: 5.954 MB / 0.5864 GB, free: 50.23 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01013/1.649, allocations: 377.1 kB / 0.5868 GB, free: 50.12 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001656/1.65, allocations: 336 kB / 0.5871 GB, free: 50.09 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.006256/1.657, allocations: 1.832 MB / 0.5889 GB, free: 49.2 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001043/1.658, allocations: 293.9 kB / 0.5891 GB, free: 49.04 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009979/1.668, allocations: 2.674 MB / 0.5918 GB, free: 48.11 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.007544/1.675, allocations: 2.265 MB / 0.594 GB, free: 47.37 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.025e-05/1.675, allocations: 3.312 kB / 0.594 GB, free: 47.37 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.619e-05/1.675, allocations: 3.891 kB / 0.594 GB, free: 47.37 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009027/1.684, allocations: 3.341 MB / 0.5972 GB, free: 46.13 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.808e-05/1.684, allocations: 3.609 kB / 0.5972 GB, free: 46.13 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002078/1.687, allocations: 205.8 kB / 0.5974 GB, free: 46.12 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00547/1.692, allocations: 1.042 MB / 0.5985 GB, free: 45.9 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003826/1.693, allocations: 40.19 kB / 0.5985 GB, free: 45.88 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008735/1.701, allocations: 5.095 MB / 0.6035 GB, free: 42.52 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001208/1.703, allocations: 1.485 MB / 0.6049 GB, free: 41.07 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01259/1.715, allocations: 4.787 MB / 0.6096 GB, free: 37.83 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001123/1.716, allocations: 366.5 kB / 0.6099 GB, free: 37.46 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001072/1.717, allocations: 28.66 kB / 0.61 GB, free: 37.44 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002884/1.72, allocations: 121.9 kB / 0.6101 GB, free: 37.37 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005052/1.721, allocations: 73.3 kB / 0.6102 GB, free: 37.33 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001691/1.721, allocations: 38.44 kB / 0.6102 GB, free: 37.3 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.005803/1.727, allocations: 2.178 MB / 0.6123 GB, free: 35.52 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.903e-06/1.727, allocations: 0 / 0.6123 GB, free: 35.52 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.007123/1.734, allocations: 0.9459 MB / 0.6132 GB, free: 34.58 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.0007755/1.735, allocations: 166.9 kB / 0.6134 GB, free: 34.42 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.01431/1.749, allocations: 5.087 MB / 0.6184 GB, free: 30.01 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 9.447e-06/1.749, allocations: 0 / 0.6184 GB, free: 30.01 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.006901/1.756, allocations: 2.017 MB / 0.6203 GB, free: 28.26 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003352/1.76, allocations: 349.1 kB / 0.6207 GB, free: 27.96 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02161/1.781, allocations: 9.671 MB / 0.6301 GB, free: 19.18 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006025/1.787, allocations: 2.931 MB / 0.633 GB, free: 16.93 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.007327/1.795, allocations: 1.668 MB / 0.6346 GB, free: 15.89 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001118/1.796, allocations: 206.6 kB / 0.6348 GB, free: 15.7 MB / 410.7 MB Notification: Performance of SimCode: time 1.342e-06/1.796, allocations: 0 / 0.6348 GB, free: 15.7 MB / 410.7 MB Notification: Performance of Templates: time 0.09783/1.894, allocations: 32.31 MB / 0.6664 GB, free: 1.012 MB / 426.7 MB