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.549/1.549, allocations: 171.2 MB / 186.8 MB, free: 1.039 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000378/0.0003781, allocations: 8 kB / 233.2 MB, free: 3.016 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08159/0.08199, allocations: 38.78 MB / 272 MB, free: 12.15 MB / 234.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3283/0.4104, allocations: 81.39 MB / 353.4 MB, free: 8.73 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004327/0.4109, allocations: 87.08 kB / 353.5 MB, free: 8.684 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3055/0.7164, allocations: 71.46 MB / 425 MB, free: 6.719 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.326e-06/0.7164, allocations: 4 kB / 425 MB, free: 6.715 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0001922/0.7166, allocations: 68 kB / 425 MB, free: 6.648 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.01597/0.7326, allocations: 3.993 MB / 429 MB, free: 2.59 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.142e-05/0.7327, allocations: 8.031 kB / 429 MB, free: 2.582 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02284/0.7556, allocations: 2.136 MB / 431.2 MB, free: 448 kB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.3288/1.084, allocations: 4.427 MB / 435.6 MB, free: 74.49 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003637/1.085, allocations: 274.8 kB / 435.9 MB, free: 74.48 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001503/1.086, allocations: 371 kB / 436.2 MB, free: 74.48 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0208/1.107, allocations: 9.072 MB / 445.3 MB, free: 71.93 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003028/1.108, allocations: 61.03 kB / 445.4 MB, free: 71.93 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001278/1.109, allocations: 180.2 kB / 445.5 MB, free: 71.93 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00144/1.11, allocations: 0.8704 MB / 446.4 MB, free: 71.93 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0175/1.128, allocations: 7.359 MB / 453.8 MB, free: 71.79 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06338/1.191, allocations: 43.16 MB / 496.9 MB, free: 40.69 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01617/1.207, allocations: 3.172 MB / 0.4884 GB, free: 39.34 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01672/1.224, allocations: 6.041 MB / 0.4943 GB, free: 36 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.461e-05/1.224, allocations: 48.69 kB / 0.4943 GB, free: 35.95 MB / 346.7 MB Notification: Performance of pre-optimization done (n=118): time 4.988e-06/1.224, allocations: 0 / 0.4943 GB, free: 35.95 MB / 346.7 MB Notification: Performance of matching and sorting (n=125): time 0.04633/1.271, allocations: 10.91 MB / 0.505 GB, free: 31.1 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.00119/1.272, allocations: 1.624 MB / 0.5066 GB, free: 29.48 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00614/1.278, allocations: 3.148 MB / 0.5096 GB, free: 28.07 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002819/1.278, allocations: 41.7 kB / 0.5097 GB, free: 28.03 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001826/1.28, allocations: 2.726 MB / 0.5123 GB, free: 25.55 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006815/1.281, allocations: 0.5258 MB / 0.5128 GB, free: 25.1 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004483/1.281, allocations: 106.5 kB / 0.5129 GB, free: 25 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0003135/1.282, allocations: 0.5327 MB / 0.5135 GB, free: 24.52 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003784/1.286, allocations: 1.855 MB / 0.5153 GB, free: 22.95 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005663/1.291, allocations: 5.265 MB / 0.5204 GB, free: 16.34 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005392/1.297, allocations: 3.052 MB / 0.5234 GB, free: 13.6 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.255e-05/1.297, allocations: 32 kB / 0.5234 GB, free: 13.57 MB / 346.7 MB Notification: Performance of matching and sorting (n=695) (initialization): time 0.01718/1.314, allocations: 7.568 MB / 0.5308 GB, free: 7.02 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.349e-05/1.314, allocations: 59.59 kB / 0.5309 GB, free: 6.965 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.005565/1.32, allocations: 2.411 MB / 0.5332 GB, free: 5.008 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003942/1.324, allocations: 1.133 MB / 0.5343 GB, free: 4.176 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004683/1.328, allocations: 1.222 MB / 0.5355 GB, free: 3.105 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007397/1.336, allocations: 4.796 MB / 0.5402 GB, free: 14.64 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005728/1.342, allocations: 371 kB / 0.5406 GB, free: 14.34 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001201/1.343, allocations: 335.1 kB / 0.5409 GB, free: 14.02 MB / 362.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): 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.005124/1.348, allocations: 1.831 MB / 0.5427 GB, free: 12.41 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008192/1.349, allocations: 300 kB / 0.543 GB, free: 12.11 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007557/1.356, allocations: 2.661 MB / 0.5456 GB, free: 9.926 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.00646/1.363, allocations: 2.267 MB / 0.5478 GB, free: 7.641 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.924e-05/1.363, allocations: 3.984 kB / 0.5478 GB, free: 7.637 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.559e-05/1.363, allocations: 11.94 kB / 0.5478 GB, free: 7.625 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008968/1.372, allocations: 3.353 MB / 0.5511 GB, free: 4.238 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.176e-05/1.372, allocations: 0 / 0.5511 GB, free: 4.238 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001471/1.374, allocations: 203.7 kB / 0.5513 GB, free: 4.039 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004319/1.378, allocations: 1.037 MB / 0.5523 GB, free: 2.988 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003133/1.378, allocations: 27.97 kB / 0.5523 GB, free: 2.961 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2164/1.595, allocations: 5.095 MB / 0.5573 GB, free: 78.67 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001162/1.596, allocations: 1.484 MB / 0.5587 GB, free: 77.32 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01141/1.607, allocations: 4.867 MB / 0.5635 GB, free: 76.79 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001041/1.608, allocations: 363.7 kB / 0.5638 GB, free: 76.7 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000834/1.609, allocations: 27.66 kB / 0.5638 GB, free: 76.7 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002314/1.612, allocations: 124.7 kB / 0.564 GB, free: 76.7 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004424/1.612, allocations: 78.27 kB / 0.564 GB, free: 76.7 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001877/1.612, allocations: 39.3 kB / 0.5641 GB, free: 76.7 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.005571/1.618, allocations: 2.182 MB / 0.5662 GB, free: 76.55 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.396e-06/1.618, allocations: 0 / 0.5662 GB, free: 76.55 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.006528/1.624, allocations: 0.9294 MB / 0.5671 GB, free: 76.55 MB / 362.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.0006322/1.625, allocations: 167.8 kB / 0.5673 GB, free: 76.46 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.01059/1.636, allocations: 5.057 MB / 0.5722 GB, free: 76.03 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 7.759e-06/1.636, allocations: 0 / 0.5722 GB, free: 76.03 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00457/1.64, allocations: 2.003 MB / 0.5742 GB, free: 75.59 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002529/1.643, allocations: 354.8 kB / 0.5745 GB, free: 75.57 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01962/1.663, allocations: 10.04 MB / 0.5843 GB, free: 71.88 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005522/1.668, allocations: 2.937 MB / 0.5872 GB, free: 71.1 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001049/1.669, allocations: 249.8 kB / 0.5874 GB, free: 71.09 MB / 362.7 MB Notification: Performance of SimCode: time 1.722e-06/1.669, allocations: 0 / 0.5874 GB, free: 71.09 MB / 362.7 MB Notification: Performance of Templates: time 0.3568/2.026, allocations: 108.4 MB / 0.6933 GB, free: 94.54 MB / 378.7 MB