Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.2_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.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.ThreeSprings,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.",fileNamePrefix="Modelica_3.2.2_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings") Notification: Performance of loadModel(Modelica): time 1.792/1.792, allocations: 194.8 MB / 212.3 MB, free: 3.016 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003367/0.0003369, allocations: 12 kB / 264.5 MB, free: 13.62 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08714/0.0875, allocations: 44.5 MB / 309 MB, free: 1.047 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3987/0.4863, allocations: 86.1 MB / 395.1 MB, free: 14.82 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002912/0.4866, allocations: 99.22 kB / 395.2 MB, free: 14.82 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3054/0.7921, allocations: 78.19 MB / 473.4 MB, free: 14.14 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.805e-06/0.7922, allocations: 0 / 473.4 MB, free: 14.14 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.0002751/0.7925, allocations: 79.67 kB / 473.5 MB, free: 14.07 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1465 * Number of variables: 1465 Notification: Performance of Generate backend data structure: time 0.02256/0.815, allocations: 4.224 MB / 477.7 MB, free: 9.801 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.59e-05/0.8151, allocations: 8.031 kB / 477.7 MB, free: 9.793 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01837/0.8335, allocations: 2.233 MB / 479.9 MB, free: 7.551 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01852/0.8521, allocations: 4.362 MB / 484.3 MB, free: 3.188 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004367/0.8525, allocations: 321.3 kB / 484.6 MB, free: 2.898 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002171/0.8547, allocations: 404.3 kB / 485 MB, free: 2.527 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0307/0.8854, allocations: 10.29 MB / 495.3 MB, free: 7.215 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002233/0.8857, allocations: 55.5 kB / 495.3 MB, free: 7.16 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001049/0.8868, allocations: 211.9 kB / 495.5 MB, free: 6.977 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0023/0.8891, allocations: 0.9814 MB / 496.5 MB, free: 5.992 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0277/0.9168, allocations: 8.144 MB / 0.4928 GB, free: 13.84 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3541/1.271, allocations: 48.25 MB / 0.54 GB, free: 61.07 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01567/1.287, allocations: 3.557 MB / 0.5434 GB, free: 60.41 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01511/1.302, allocations: 6.509 MB / 0.5498 GB, free: 58.14 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.312e-05/1.302, allocations: 48.81 kB / 0.5498 GB, free: 58.11 MB / 410.7 MB Notification: Performance of pre-optimization done (n=131): time 5.17e-06/1.302, allocations: 0 / 0.5498 GB, free: 58.11 MB / 410.7 MB Notification: Performance of matching and sorting (n=138): time 0.0497/1.352, allocations: 11.97 MB / 0.5615 GB, free: 54.91 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001278/1.353, allocations: 1.606 MB / 0.5631 GB, free: 53.39 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007795/1.361, allocations: 3.798 MB / 0.5668 GB, free: 53.05 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003879/1.361, allocations: 46.34 kB / 0.5668 GB, free: 53.02 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002332/1.364, allocations: 3.03 MB / 0.5698 GB, free: 51.27 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000875/1.365, allocations: 0.5755 MB / 0.5704 GB, free: 50.97 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006204/1.365, allocations: 121.1 kB / 0.5705 GB, free: 50.97 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0003495/1.366, allocations: 0.5652 MB / 0.571 GB, free: 50.64 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004978/1.371, allocations: 1.959 MB / 0.5729 GB, free: 50.63 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007378/1.378, allocations: 5.87 MB / 0.5787 GB, free: 45.57 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0075/1.386, allocations: 3.307 MB / 0.5819 GB, free: 45.55 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001391/1.386, allocations: 40.72 kB / 0.582 GB, free: 45.55 MB / 410.7 MB Notification: Performance of matching and sorting (n=786) (initialization): time 0.02839/1.414, allocations: 8.612 MB / 0.5904 GB, free: 44.41 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001239/1.414, allocations: 62.91 kB / 0.5904 GB, free: 44.41 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0111/1.425, allocations: 2.744 MB / 0.5931 GB, free: 43.64 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009816/1.435, allocations: 1.633 MB / 0.5947 GB, free: 43.38 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007222/1.443, allocations: 1.348 MB / 0.596 GB, free: 43.21 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008822/1.451, allocations: 5.624 MB / 0.6015 GB, free: 39.35 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007352/1.459, allocations: 429.2 kB / 0.6019 GB, free: 39.24 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00153/1.46, allocations: 387.9 kB / 0.6023 GB, free: 39.19 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 634 * Number of states: 0 () * Number of discrete variables: 36 (spring3.color[3],spring3.color[2],spring3.color[1],spring3.massColor[3],spring3.massColor[2],spring3.massColor[1],spring2.color[3],spring2.color[2],spring2.color[1],spring2.massColor[3],spring2.massColor[2],spring2.massColor[1],bar2.color[3],bar2.color[2],bar2.color[1],spring1.color[3],spring1.color[2],spring1.color[1],spring1.massColor[3],spring1.massColor[2],spring1.massColor[1],bar1.color[3],bar1.color[2],bar1.color[1],body1.sphereColor[3],body1.sphereColor[2],body1.sphereColor[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 (717): * Single equations (assignments): 707 * 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: 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: 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: 1 {6 26} Notification: Performance of prepare postOptimizeDAE: time 0.005751/1.466, allocations: 1.978 MB / 0.6042 GB, free: 38.23 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008108/1.467, allocations: 321.5 kB / 0.6045 GB, free: 38.06 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01098/1.478, allocations: 2.996 MB / 0.6074 GB, free: 37.08 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.009352/1.487, allocations: 2.581 MB / 0.61 GB, free: 36.3 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.636e-05/1.488, allocations: 6.844 kB / 0.61 GB, free: 36.3 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.424e-05/1.488, allocations: 3.562 kB / 0.61 GB, free: 36.3 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008142/1.496, allocations: 3.555 MB / 0.6134 GB, free: 35.02 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.545e-05/1.496, allocations: 0 / 0.6134 GB, free: 35.02 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001558/1.497, allocations: 170.5 kB / 0.6136 GB, free: 35 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.008206/1.506, allocations: 1.428 MB / 0.615 GB, free: 34.67 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002692/1.506, allocations: 35.91 kB / 0.615 GB, free: 34.64 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009046/1.515, allocations: 5.837 MB / 0.6207 GB, free: 29.2 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001042/1.516, allocations: 1.464 MB / 0.6222 GB, free: 27.65 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0138/1.53, allocations: 5.093 MB / 0.6271 GB, free: 23.35 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001092/1.531, allocations: 378.8 kB / 0.6275 GB, free: 22.97 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006675/1.532, allocations: 31.33 kB / 0.6275 GB, free: 22.95 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002448/1.534, allocations: 141.1 kB / 0.6277 GB, free: 22.86 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002941/1.534, allocations: 79.03 kB / 0.6277 GB, free: 22.82 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001592/1.535, allocations: 42.98 kB / 0.6278 GB, free: 22.78 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.005253/1.54, allocations: 2.332 MB / 0.6301 GB, free: 20.88 MB / 410.7 MB Notification: Performance of sort global known variables: time 8.52e-07/1.54, allocations: 0 / 0.6301 GB, free: 20.88 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.006754/1.547, allocations: 0.9731 MB / 0.631 GB, free: 19.91 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],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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (73): * Single equations (assignments): 65 * 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: 2 * 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: 1 {6 29} Notification: Performance of Backend phase and start with SimCode phase: time 0.0006002/1.547, allocations: 178.2 kB / 0.6312 GB, free: 19.75 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.01356/1.561, allocations: 5.288 MB / 0.6363 GB, free: 15.12 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 7.965e-06/1.561, allocations: 0 / 0.6363 GB, free: 15.12 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.006247/1.567, allocations: 1.952 MB / 0.6383 GB, free: 13.42 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002606/1.57, allocations: 350.7 kB / 0.6386 GB, free: 13.11 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0225/1.592, allocations: 10.75 MB / 0.6491 GB, free: 3.371 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00487/1.597, allocations: 3.128 MB / 0.6521 GB, free: 0.9805 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001131/1.599, allocations: 254.1 kB / 0.6524 GB, free: 0.7422 MB / 410.7 MB Notification: Performance of SimCode: time 1.172e-06/1.599, allocations: 0 / 0.6524 GB, free: 0.7422 MB / 410.7 MB Notification: Performance of Templates: time 0.5342/2.133, allocations: 131.5 MB / 0.7808 GB, free: 67.3 MB / 442.7 MB