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.Damper.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.Damper,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.1_cpp_Modelica.Mechanics.Translational.Examples.Damper") Notification: Performance of loadModel(Modelica): time 1.004/1.004, allocations: 111.3 MB / 119.1 MB, free: 11.16 MB / 106.7 MB Notification: Performance of FrontEnd - loaded program: time 1.355e-05/1.375e-05, allocations: 0 / 148.1 MB, free: 6.227 MB / 122.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.04625/0.04629, allocations: 25.17 MB / 173.3 MB, free: 13.01 MB / 154.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1733/0.2197, allocations: 33.02 MB / 206.3 MB, free: 6.73 MB / 170.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001804/0.2199, allocations: 58.78 kB / 206.4 MB, free: 6.73 MB / 170.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01341/0.2333, allocations: 3.807 MB / 210.2 MB, free: 6.164 MB / 170.7 MB Notification: Performance of FrontEnd: time 2.053e-06/0.2334, allocations: 4 kB / 210.2 MB, free: 6.16 MB / 170.7 MB Notification: Performance of Transformations before backend: time 1.848e-05/0.2334, allocations: 4.844 kB / 210.2 MB, free: 6.16 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: 54 * Number of variables: 54 Notification: Performance of Generate backend data structure: time 0.0005402/0.234, allocations: 474.6 kB / 210.6 MB, free: 5.754 MB / 170.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.906e-05/0.234, allocations: 9.656 kB / 210.7 MB, free: 5.754 MB / 170.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.162e-05/0.2341, allocations: 25.31 kB / 210.7 MB, free: 5.742 MB / 170.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001232/0.2342, allocations: 206 kB / 210.9 MB, free: 5.516 MB / 170.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.968e-05/0.2343, allocations: 7.344 kB / 210.9 MB, free: 5.516 MB / 170.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.171e-05/0.2343, allocations: 13.62 kB / 210.9 MB, free: 5.516 MB / 170.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00031/0.2347, allocations: 120.1 kB / 211 MB, free: 5.516 MB / 170.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003572/0.235, allocations: 192.9 kB / 211.2 MB, free: 5.449 MB / 170.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.402e-05/0.2351, allocations: 2.844 kB / 211.2 MB, free: 5.449 MB / 170.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.255e-05/0.2351, allocations: 0 / 211.2 MB, free: 5.449 MB / 170.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.943e-06/0.2351, allocations: 5.625 kB / 211.2 MB, free: 5.449 MB / 170.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001001/0.2361, allocations: 0.7198 MB / 211.9 MB, free: 5.008 MB / 170.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004434/0.2366, allocations: 230 kB / 212.2 MB, free: 4.93 MB / 170.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002238/0.2368, allocations: 112.2 kB / 212.3 MB, free: 4.898 MB / 170.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.208e-05/0.2369, allocations: 5.344 kB / 212.3 MB, free: 4.898 MB / 170.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.84e-05/0.2369, allocations: 40.88 kB / 212.3 MB, free: 4.855 MB / 170.7 MB Notification: Performance of pre-optimization done (n=28): time 3.246e-06/0.2369, allocations: 3.984 kB / 212.3 MB, free: 4.852 MB / 170.7 MB Notification: Performance of matching and sorting (n=40): time 0.002228/0.2392, allocations: 1.655 MB / 214 MB, free: 3.52 MB / 170.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.078e-05/0.2392, allocations: 115.4 kB / 214.1 MB, free: 3.387 MB / 170.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001208/0.2393, allocations: 140.6 kB / 214.2 MB, free: 3.285 MB / 170.7 MB Notification: Performance of collectPreVariables (initialization): time 2.093e-05/0.2394, allocations: 25.7 kB / 214.2 MB, free: 3.254 MB / 170.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.677e-05/0.2394, allocations: 207.5 kB / 214.5 MB, free: 3.078 MB / 170.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.576e-05/0.2395, allocations: 132.9 kB / 214.6 MB, free: 2.988 MB / 170.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.488e-05/0.2396, allocations: 0 / 214.6 MB, free: 2.988 MB / 170.7 MB Notification: Performance of setup shared object (initialization): time 6.046e-05/0.2396, allocations: 331.6 kB / 214.9 MB, free: 2.672 MB / 170.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001602/0.2398, allocations: 69.25 kB / 215 MB, free: 2.668 MB / 170.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001926/0.24, allocations: 135.6 kB / 215.1 MB, free: 2.605 MB / 170.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001988/0.2402, allocations: 94.89 kB / 215.2 MB, free: 2.598 MB / 170.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.894e-06/0.2402, allocations: 3.938 kB / 215.2 MB, free: 2.594 MB / 170.7 MB Notification: Performance of matching and sorting (n=49) (initialization): time 0.0005057/0.2408, allocations: 258.7 kB / 215.5 MB, free: 2.539 MB / 170.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.744e-05/0.2408, allocations: 6.188 kB / 215.5 MB, free: 2.539 MB / 170.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.948e-06/0.2408, allocations: 1.719 kB / 215.5 MB, free: 2.539 MB / 170.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.837e-05/0.2408, allocations: 3 kB / 215.5 MB, free: 2.539 MB / 170.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003909/0.2412, allocations: 85.56 kB / 215.5 MB, free: 2.535 MB / 170.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.452e-06/0.2413, allocations: 7.5 kB / 215.6 MB, free: 2.531 MB / 170.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000135/0.2414, allocations: 1.562 kB / 215.6 MB, free: 2.531 MB / 170.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.956e-05/0.2414, allocations: 14.66 kB / 215.6 MB, free: 2.531 MB / 170.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (49): * Single equations (assignments): 49 * 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 7.82e-05/0.2415, allocations: 114.3 kB / 215.7 MB, free: 2.414 MB / 170.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001131/0.2417, allocations: 23.81 kB / 215.7 MB, free: 2.402 MB / 170.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.03e-05/0.2417, allocations: 31.86 kB / 215.7 MB, free: 2.398 MB / 170.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.597e-06/0.2418, allocations: 4.312 kB / 215.7 MB, free: 2.398 MB / 170.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.588e-06/0.2418, allocations: 2 kB / 215.7 MB, free: 2.398 MB / 170.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.544e-06/0.2418, allocations: 0 / 215.7 MB, free: 2.398 MB / 170.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00154/0.2433, allocations: 0.9278 MB / 216.7 MB, free: 17.86 MB / 186.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.391e-06/0.2434, allocations: 2.031 kB / 216.7 MB, free: 17.86 MB / 186.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004359/0.2438, allocations: 79.55 kB / 216.8 MB, free: 17.85 MB / 186.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.793e-06/0.2438, allocations: 4.75 kB / 216.8 MB, free: 17.85 MB / 186.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.924e-05/0.2439, allocations: 10.11 kB / 216.8 MB, free: 17.85 MB / 186.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.25e-06/0.2439, allocations: 8.5 kB / 216.8 MB, free: 17.85 MB / 186.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.257e-06/0.2439, allocations: 6.844 kB / 216.8 MB, free: 17.84 MB / 186.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007552/0.2447, allocations: 0.7632 MB / 217.5 MB, free: 17.27 MB / 186.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.618e-05/0.2448, allocations: 96.48 kB / 217.6 MB, free: 17.16 MB / 186.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.399e-05/0.2448, allocations: 12.64 kB / 217.7 MB, free: 17.16 MB / 186.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002887/0.2451, allocations: 0 / 217.7 MB, free: 17.16 MB / 186.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.682e-05/0.2452, allocations: 36.69 kB / 217.7 MB, free: 17.15 MB / 186.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.259e-05/0.2452, allocations: 11.59 kB / 217.7 MB, free: 17.15 MB / 186.7 MB Notification: Performance of sorting global known variables: time 9.331e-05/0.2453, allocations: 109.7 kB / 217.8 MB, free: 17.08 MB / 186.7 MB Notification: Performance of sort global known variables: time 7.59e-07/0.2454, allocations: 0 / 217.8 MB, free: 17.08 MB / 186.7 MB Notification: Performance of remove unused functions: time 0.0005553/0.2459, allocations: 55.12 kB / 217.9 MB, free: 17.08 MB / 186.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 6 (springDamper3.s_rel,springDamper3.v_rel,damper1.s_rel,damper1.v_rel,damper2.s_rel,damper2.v_rel) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (40): * Single equations (assignments): 40 * 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.0001464/0.2461, allocations: 108.5 kB / 218 MB, free: 16.98 MB / 186.7 MB Notification: Performance of simCode: created initialization part: time 0.0003857/0.2465, allocations: 210.4 kB / 218.2 MB, free: 16.96 MB / 186.7 MB Notification: Performance of simCode: created event and clocks part: time 3.484e-06/0.2465, allocations: 4 kB / 218.2 MB, free: 16.96 MB / 186.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001783/0.2467, allocations: 114.5 kB / 218.3 MB, free: 16.95 MB / 186.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000561/0.2473, allocations: 44.47 kB / 218.3 MB, free: 16.95 MB / 186.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001203/0.2485, allocations: 0.7655 MB / 219.1 MB, free: 16.39 MB / 186.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004589/0.249, allocations: 0.7686 MB / 219.9 MB, free: 15.69 MB / 186.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.499e-05/0.2491, allocations: 26.47 kB / 219.9 MB, free: 15.68 MB / 186.7 MB Notification: Performance of SimCode: time 1.565e-06/0.2491, allocations: 0 / 219.9 MB, free: 15.68 MB / 186.7 MB Notification: Performance of Templates: time 0.005114/0.2542, allocations: 2.991 MB / 222.9 MB, free: 15.18 MB / 186.7 MB