Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/../OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.1_cpp_Modelica.Mechanics.Translational.Examples.Oscillator.conf.json Using package ModelicaServices with version 1.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/ModelicaServices 1.0/package.mo) Using package Modelica with version 3.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Modelica 3.1/package.mo) Running command: translateModel(Modelica.Mechanics.Translational.Examples.Oscillator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.1_cpp_Modelica.Mechanics.Translational.Examples.Oscillator") Notification: Performance of loadModel(Modelica): time 1.027/1.027, allocations: 111.2 MB / 119.1 MB, free: 11.16 MB / 106.7 MB Notification: Performance of FrontEnd - loaded program: time 1.295e-05/1.301e-05, allocations: 0 / 148.1 MB, free: 6.227 MB / 122.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.04437/0.04441, allocations: 25.17 MB / 173.3 MB, free: 13.02 MB / 154.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1977/0.2421, allocations: 33.9 MB / 207.2 MB, free: 6.988 MB / 170.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001894/0.2423, allocations: 67.92 kB / 207.3 MB, free: 6.984 MB / 170.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01333/0.2557, allocations: 3.564 MB / 210.8 MB, free: 6.426 MB / 170.7 MB Notification: Performance of FrontEnd: time 1.878e-06/0.2557, allocations: 0 / 210.8 MB, free: 6.426 MB / 170.7 MB Notification: Performance of Transformations before backend: time 1.666e-05/0.2558, allocations: 4.75 kB / 210.8 MB, free: 6.426 MB / 170.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 49 * Number of variables: 49 Notification: Performance of Generate backend data structure: time 0.0005899/0.2564, allocations: 480.9 kB / 211.3 MB, free: 6.02 MB / 170.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.806e-05/0.2564, allocations: 8.156 kB / 211.3 MB, free: 6.02 MB / 170.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.766e-05/0.2565, allocations: 24.72 kB / 211.3 MB, free: 6.008 MB / 170.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002127/0.2567, allocations: 220.9 kB / 211.5 MB, free: 5.797 MB / 170.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.673e-05/0.2568, allocations: 6 kB / 211.5 MB, free: 5.797 MB / 170.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.82e-05/0.2568, allocations: 12.91 kB / 211.6 MB, free: 5.797 MB / 170.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002899/0.2571, allocations: 106.4 kB / 211.7 MB, free: 5.797 MB / 170.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003395/0.2575, allocations: 170.1 kB / 211.8 MB, free: 5.742 MB / 170.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.973e-05/0.2575, allocations: 3.953 kB / 211.8 MB, free: 5.738 MB / 170.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.278e-05/0.2575, allocations: 5.188 kB / 211.8 MB, free: 5.734 MB / 170.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.701e-06/0.2576, allocations: 8.812 kB / 211.8 MB, free: 5.73 MB / 170.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001239/0.2588, allocations: 0.7386 MB / 212.6 MB, free: 5.305 MB / 170.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00038/0.2592, allocations: 174.3 kB / 212.8 MB, free: 5.25 MB / 170.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002084/0.2594, allocations: 91.03 kB / 212.8 MB, free: 5.23 MB / 170.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.628e-05/0.2595, allocations: 1.75 kB / 212.8 MB, free: 5.23 MB / 170.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.824e-05/0.2595, allocations: 36.34 kB / 212.9 MB, free: 5.188 MB / 170.7 MB Notification: Performance of pre-optimization done (n=21): time 3.494e-06/0.2595, allocations: 0 / 212.9 MB, free: 5.188 MB / 170.7 MB Notification: Performance of matching and sorting (n=25): time 0.001267/0.2608, allocations: 0.6992 MB / 213.6 MB, free: 4.691 MB / 170.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.594e-05/0.2608, allocations: 83.16 kB / 213.7 MB, free: 4.598 MB / 170.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000128/0.261, allocations: 136 kB / 213.8 MB, free: 4.508 MB / 170.7 MB Notification: Performance of collectPreVariables (initialization): time 1.989e-05/0.261, allocations: 27.11 kB / 213.8 MB, free: 4.477 MB / 170.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.662e-05/0.2611, allocations: 203.1 kB / 214 MB, free: 4.301 MB / 170.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.15e-05/0.2612, allocations: 94.5 kB / 214.1 MB, free: 4.238 MB / 170.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.234e-05/0.2612, allocations: 0 / 214.1 MB, free: 4.238 MB / 170.7 MB Notification: Performance of setup shared object (initialization): time 5.383e-05/0.2613, allocations: 321.1 kB / 214.4 MB, free: 3.926 MB / 170.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001184/0.2614, allocations: 43.28 kB / 214.5 MB, free: 3.926 MB / 170.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001421/0.2615, allocations: 96.66 kB / 214.6 MB, free: 3.879 MB / 170.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001509/0.2617, allocations: 67.14 kB / 214.6 MB, free: 3.867 MB / 170.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.491e-06/0.2617, allocations: 0 / 214.6 MB, free: 3.867 MB / 170.7 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0003949/0.2621, allocations: 182.7 kB / 214.8 MB, free: 3.824 MB / 170.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.946e-05/0.2622, allocations: 5.406 kB / 214.8 MB, free: 3.824 MB / 170.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.116e-06/0.2622, allocations: 2.234 kB / 214.8 MB, free: 3.824 MB / 170.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.784e-05/0.2622, allocations: 2.938 kB / 214.8 MB, free: 3.824 MB / 170.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003391/0.2626, allocations: 64.11 kB / 214.9 MB, free: 3.816 MB / 170.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.355e-06/0.2626, allocations: 3.031 kB / 214.9 MB, free: 3.816 MB / 170.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001556/0.2627, allocations: 12.38 kB / 214.9 MB, free: 3.812 MB / 170.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.203e-05/0.2628, allocations: 10.16 kB / 214.9 MB, free: 3.812 MB / 170.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (31): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.23e-05/0.2629, allocations: 106.7 kB / 215 MB, free: 3.703 MB / 170.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.81e-05/0.263, allocations: 26.73 kB / 215 MB, free: 3.688 MB / 170.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.231e-05/0.2631, allocations: 21.97 kB / 215.1 MB, free: 3.68 MB / 170.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.049e-06/0.2631, allocations: 3.531 kB / 215.1 MB, free: 3.68 MB / 170.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.974e-06/0.2631, allocations: 4.844 kB / 215.1 MB, free: 3.676 MB / 170.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.975e-06/0.2631, allocations: 3.078 kB / 215.1 MB, free: 3.676 MB / 170.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008749/0.264, allocations: 0.515 MB / 215.6 MB, free: 3.363 MB / 170.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.085e-06/0.264, allocations: 1.375 kB / 215.6 MB, free: 3.363 MB / 170.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003484/0.2644, allocations: 65.12 kB / 215.6 MB, free: 3.355 MB / 170.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.876e-06/0.2644, allocations: 4.391 kB / 215.7 MB, free: 3.355 MB / 170.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.22e-05/0.2645, allocations: 1.562 kB / 215.7 MB, free: 3.355 MB / 170.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.216e-06/0.2645, allocations: 8.438 kB / 215.7 MB, free: 3.352 MB / 170.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.338e-06/0.2645, allocations: 1.438 kB / 215.7 MB, free: 3.352 MB / 170.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005442/0.265, allocations: 485 kB / 216.1 MB, free: 3.031 MB / 170.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.114e-05/0.2652, allocations: 108.6 kB / 216.2 MB, free: 2.926 MB / 170.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.842e-05/0.2652, allocations: 2.016 kB / 216.2 MB, free: 2.926 MB / 170.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002707/0.2655, allocations: 11.78 kB / 216.3 MB, free: 2.922 MB / 170.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.19e-05/0.2656, allocations: 22.14 kB / 216.3 MB, free: 2.918 MB / 170.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.718e-05/0.2656, allocations: 3.812 kB / 216.3 MB, free: 2.918 MB / 170.7 MB Notification: Performance of sorting global known variables: time 7.592e-05/0.2657, allocations: 118.4 kB / 216.4 MB, free: 2.844 MB / 170.7 MB Notification: Performance of sort global known variables: time 7.03e-07/0.2657, allocations: 0 / 216.4 MB, free: 2.844 MB / 170.7 MB Notification: Performance of remove unused functions: time 0.0005155/0.2662, allocations: 38.34 kB / 216.4 MB, free: 2.844 MB / 170.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 4 (mass1.s,mass1.v,damper1.s_rel,damper1.v_rel) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (25): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001124/0.2663, allocations: 102.3 kB / 216.5 MB, free: 2.754 MB / 170.7 MB Notification: Performance of simCode: created initialization part: time 0.0003136/0.2667, allocations: 138.9 kB / 216.7 MB, free: 2.742 MB / 170.7 MB Notification: Performance of simCode: created event and clocks part: time 2.759e-06/0.2667, allocations: 0 / 216.7 MB, free: 2.742 MB / 170.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001444/0.2668, allocations: 77.08 kB / 216.7 MB, free: 2.734 MB / 170.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004236/0.2673, allocations: 25.83 kB / 216.8 MB, free: 2.73 MB / 170.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001058/0.2684, allocations: 0.5574 MB / 217.3 MB, free: 2.352 MB / 170.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002993/0.2687, allocations: 0.7522 MB / 218.1 MB, free: 17.65 MB / 186.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.725e-05/0.2688, allocations: 22.59 kB / 218.1 MB, free: 17.64 MB / 186.7 MB Notification: Performance of SimCode: time 2.227e-06/0.2688, allocations: 0 / 218.1 MB, free: 17.64 MB / 186.7 MB Notification: Performance of Templates: time 0.004603/0.2734, allocations: 2.389 MB / 220.5 MB, free: 17.35 MB / 186.7 MB