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/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 1.0/package.mo) Using package Modelica with version 3.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/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.005/1.005, allocations: 111.2 MB / 124.2 MB, free: 11.16 MB / 106.7 MB Notification: Performance of FrontEnd - loaded program: time 2.1e-05/2.117e-05, allocations: 0 / 154.3 MB, free: 13.16 MB / 138.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1365/0.1365, allocations: 25.15 MB / 179.4 MB, free: 0.7891 MB / 138.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.05056/0.1871, allocations: 33.7 MB / 213.1 MB, free: 15.41 MB / 186.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002066/0.1874, allocations: 63.97 kB / 213.2 MB, free: 15.34 MB / 186.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01525/0.2027, allocations: 3.848 MB / 217 MB, free: 11.49 MB / 186.7 MB Notification: Performance of FrontEnd: time 1.733e-06/0.2027, allocations: 0 / 217 MB, free: 11.49 MB / 186.7 MB Notification: Performance of Transformations before backend: time 1.306e-05/0.2027, allocations: 4 kB / 217 MB, free: 11.48 MB / 186.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.0007131/0.2035, allocations: 466.3 kB / 217.5 MB, free: 10.98 MB / 186.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.135e-05/0.2035, allocations: 8.031 kB / 217.5 MB, free: 10.97 MB / 186.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.155e-05/0.2036, allocations: 27.72 kB / 217.5 MB, free: 10.95 MB / 186.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001998/0.2038, allocations: 194.8 kB / 217.7 MB, free: 10.71 MB / 186.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.17e-05/0.2039, allocations: 24.42 kB / 217.7 MB, free: 10.69 MB / 186.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.245e-05/0.2039, allocations: 20 kB / 217.8 MB, free: 10.67 MB / 186.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004662/0.2044, allocations: 214.2 kB / 218 MB, free: 10.45 MB / 186.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.73e-05/0.2044, allocations: 11.86 kB / 218 MB, free: 10.44 MB / 186.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.923e-05/0.2045, allocations: 12 kB / 218 MB, free: 10.43 MB / 186.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.462e-05/0.2045, allocations: 8 kB / 218 MB, free: 10.42 MB / 186.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003392/0.2049, allocations: 132.5 kB / 218.1 MB, free: 10.29 MB / 186.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001359/0.2062, allocations: 0.7707 MB / 218.9 MB, free: 9.461 MB / 186.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005747/0.2068, allocations: 251.6 kB / 219.1 MB, free: 9.188 MB / 186.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002804/0.2071, allocations: 114.5 kB / 219.3 MB, free: 9.066 MB / 186.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.969e-05/0.2072, allocations: 4 kB / 219.3 MB, free: 9.062 MB / 186.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.978e-05/0.2072, allocations: 42.56 kB / 219.3 MB, free: 9.012 MB / 186.7 MB Notification: Performance of pre-optimization done (n=28): time 2.984e-06/0.2072, allocations: 0 / 219.3 MB, free: 9.012 MB / 186.7 MB Notification: Performance of matching and sorting (n=40): time 0.003283/0.2105, allocations: 1.79 MB / 221.1 MB, free: 6.957 MB / 186.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.985e-05/0.2106, allocations: 110.9 kB / 221.2 MB, free: 6.824 MB / 186.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002161/0.2109, allocations: 166.5 kB / 221.4 MB, free: 6.652 MB / 186.7 MB Notification: Performance of collectPreVariables (initialization): time 4.174e-05/0.2109, allocations: 33.7 kB / 221.4 MB, free: 6.613 MB / 186.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001289/0.211, allocations: 195.2 kB / 221.6 MB, free: 6.422 MB / 186.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001462/0.2112, allocations: 145.8 kB / 221.7 MB, free: 6.277 MB / 186.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.924e-05/0.2112, allocations: 4 kB / 221.7 MB, free: 6.273 MB / 186.7 MB Notification: Performance of setup shared object (initialization): time 0.0001671/0.2114, allocations: 326.8 kB / 222.1 MB, free: 5.945 MB / 186.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002038/0.2116, allocations: 76.88 kB / 222.1 MB, free: 5.863 MB / 186.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002582/0.2119, allocations: 142.4 kB / 222.3 MB, free: 5.703 MB / 186.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002443/0.2122, allocations: 105.6 kB / 222.4 MB, free: 5.602 MB / 186.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.764e-06/0.2122, allocations: 0 / 222.4 MB, free: 5.602 MB / 186.7 MB Notification: Performance of matching and sorting (n=49) (initialization): time 0.0006422/0.2128, allocations: 294.5 kB / 222.7 MB, free: 5.309 MB / 186.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.007e-05/0.2129, allocations: 7.984 kB / 222.7 MB, free: 5.301 MB / 186.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.412e-06/0.2129, allocations: 0 / 222.7 MB, free: 5.301 MB / 186.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.149e-05/0.2129, allocations: 8.094 kB / 222.7 MB, free: 5.293 MB / 186.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004064/0.2133, allocations: 83.91 kB / 222.8 MB, free: 5.211 MB / 186.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.038e-05/0.2134, allocations: 4 kB / 222.8 MB, free: 5.207 MB / 186.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001489/0.2135, allocations: 11.95 kB / 222.8 MB, free: 5.195 MB / 186.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.457e-05/0.2136, allocations: 16 kB / 222.8 MB, free: 5.18 MB / 186.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 0.0001309/0.2137, allocations: 135.7 kB / 222.9 MB, free: 5.043 MB / 186.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000125/0.2138, allocations: 23.72 kB / 222.9 MB, free: 5.02 MB / 186.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.485e-05/0.2139, allocations: 33.64 kB / 223 MB, free: 4.988 MB / 186.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.735e-06/0.214, allocations: 4 kB / 223 MB, free: 4.984 MB / 186.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.409e-06/0.214, allocations: 8 kB / 223 MB, free: 4.977 MB / 186.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.078e-06/0.214, allocations: 3.984 kB / 223 MB, free: 4.973 MB / 186.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00186/0.2159, allocations: 1.004 MB / 224 MB, free: 3.883 MB / 186.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.11e-06/0.2159, allocations: 8.281 kB / 224 MB, free: 3.875 MB / 186.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004552/0.2164, allocations: 75.91 kB / 224.1 MB, free: 3.801 MB / 186.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.112e-05/0.2164, allocations: 4.047 kB / 224.1 MB, free: 3.797 MB / 186.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.36e-05/0.2164, allocations: 23.97 kB / 224.1 MB, free: 3.773 MB / 186.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.137e-05/0.2165, allocations: 7.938 kB / 224.1 MB, free: 3.766 MB / 186.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.335e-06/0.2165, allocations: 0 / 224.1 MB, free: 3.766 MB / 186.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001077/0.2176, allocations: 0.795 MB / 224.9 MB, free: 2.852 MB / 186.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.689e-05/0.2177, allocations: 96.83 kB / 225 MB, free: 2.738 MB / 186.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.833e-05/0.2177, allocations: 20.05 kB / 225 MB, free: 2.719 MB / 186.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000287/0.218, allocations: 8 kB / 225 MB, free: 2.711 MB / 186.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.798e-05/0.2181, allocations: 31.86 kB / 225.1 MB, free: 2.68 MB / 186.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.818e-05/0.2182, allocations: 16 kB / 225.1 MB, free: 2.664 MB / 186.7 MB Notification: Performance of sorting global known variables: time 0.000146/0.2183, allocations: 131.4 kB / 225.2 MB, free: 2.535 MB / 186.7 MB Notification: Performance of sort global known variables: time 8.02e-07/0.2183, allocations: 4 kB / 225.2 MB, free: 2.531 MB / 186.7 MB Notification: Performance of remove unused functions: time 0.0005871/0.2189, allocations: 64 kB / 225.3 MB, free: 2.469 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.0001704/0.2191, allocations: 115.2 kB / 225.4 MB, free: 2.344 MB / 186.7 MB Notification: Performance of simCode: created initialization part: time 0.0005163/0.2196, allocations: 227.6 kB / 225.6 MB, free: 2.121 MB / 186.7 MB Notification: Performance of simCode: created event and clocks part: time 3.546e-06/0.2197, allocations: 0 / 225.6 MB, free: 2.121 MB / 186.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002545/0.2199, allocations: 132.1 kB / 225.7 MB, free: 1.992 MB / 186.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006006/0.2205, allocations: 61.22 kB / 225.8 MB, free: 1.938 MB / 186.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001574/0.2221, allocations: 0.7879 MB / 226.6 MB, free: 1.09 MB / 186.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004943/0.2226, allocations: 0.7647 MB / 227.3 MB, free: 308 kB / 186.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001002/0.2228, allocations: 27.42 kB / 227.4 MB, free: 280 kB / 186.7 MB Notification: Performance of SimCode: time 1.832e-06/0.2228, allocations: 0 / 227.4 MB, free: 280 kB / 186.7 MB Notification: Performance of Templates: time 0.006346/0.2291, allocations: 3.082 MB / 230.5 MB, free: 13.2 MB / 202.7 MB