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/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.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 0.9288/0.9288, allocations: 111.2 MB / 124.2 MB, free: 11.21 MB / 106.7 MB Notification: Performance of FrontEnd - loaded program: time 2.573e-05/2.585e-05, allocations: 4 kB / 154.3 MB, free: 13.2 MB / 138.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1363/0.1363, allocations: 25.15 MB / 179.4 MB, free: 0.8047 MB / 138.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.05218/0.1886, allocations: 34.58 MB / 214 MB, free: 14.54 MB / 186.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002105/0.1888, allocations: 59.97 kB / 214.1 MB, free: 14.48 MB / 186.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01453/0.2034, allocations: 3.605 MB / 217.7 MB, free: 10.87 MB / 186.7 MB Notification: Performance of FrontEnd: time 1.795e-06/0.2034, allocations: 0 / 217.7 MB, free: 10.87 MB / 186.7 MB Notification: Performance of Transformations before backend: time 1.703e-05/0.2034, allocations: 4 kB / 217.7 MB, free: 10.86 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: 49 * Number of variables: 49 Notification: Performance of Generate backend data structure: time 0.0007512/0.2042, allocations: 482.2 kB / 218.1 MB, free: 10.34 MB / 186.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.205e-05/0.2042, allocations: 8.031 kB / 218.2 MB, free: 10.34 MB / 186.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.09e-05/0.2043, allocations: 23.72 kB / 218.2 MB, free: 10.31 MB / 186.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003009/0.2046, allocations: 219.8 kB / 218.4 MB, free: 10.06 MB / 186.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.538e-05/0.2047, allocations: 16.38 kB / 218.4 MB, free: 10.04 MB / 186.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.547e-05/0.2048, allocations: 20 kB / 218.4 MB, free: 10.02 MB / 186.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004412/0.2052, allocations: 197.9 kB / 218.6 MB, free: 9.82 MB / 186.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.88e-05/0.2052, allocations: 7.906 kB / 218.6 MB, free: 9.812 MB / 186.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.464e-05/0.2053, allocations: 11.95 kB / 218.6 MB, free: 9.801 MB / 186.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.965e-06/0.2053, allocations: 4 kB / 218.6 MB, free: 9.797 MB / 186.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003308/0.2056, allocations: 121.2 kB / 218.8 MB, free: 9.68 MB / 186.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001539/0.2072, allocations: 0.793 MB / 219.6 MB, free: 8.82 MB / 186.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004658/0.2077, allocations: 185 kB / 219.7 MB, free: 8.621 MB / 186.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002514/0.208, allocations: 89.72 kB / 219.8 MB, free: 8.527 MB / 186.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.358e-05/0.208, allocations: 0 / 219.8 MB, free: 8.527 MB / 186.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.586e-05/0.208, allocations: 46.55 kB / 219.9 MB, free: 8.473 MB / 186.7 MB Notification: Performance of pre-optimization done (n=21): time 2.206e-06/0.2081, allocations: 0 / 219.9 MB, free: 8.473 MB / 186.7 MB Notification: Performance of matching and sorting (n=25): time 0.001657/0.2097, allocations: 0.74 MB / 220.6 MB, free: 7.641 MB / 186.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.956e-05/0.2098, allocations: 81.11 kB / 220.7 MB, free: 7.543 MB / 186.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002157/0.21, allocations: 167.7 kB / 220.8 MB, free: 7.371 MB / 186.7 MB Notification: Performance of collectPreVariables (initialization): time 3.007e-05/0.2101, allocations: 25.7 kB / 220.9 MB, free: 7.34 MB / 186.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001316/0.2102, allocations: 199 kB / 221.1 MB, free: 7.145 MB / 186.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.177e-05/0.2103, allocations: 86.66 kB / 221.2 MB, free: 7.059 MB / 186.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.048e-05/0.2104, allocations: 8 kB / 221.2 MB, free: 7.051 MB / 186.7 MB Notification: Performance of setup shared object (initialization): time 0.0001632/0.2105, allocations: 318.8 kB / 221.5 MB, free: 6.73 MB / 186.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001483/0.2107, allocations: 48 kB / 221.5 MB, free: 6.684 MB / 186.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001955/0.2109, allocations: 108.2 kB / 221.6 MB, free: 6.562 MB / 186.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001782/0.2111, allocations: 66.89 kB / 221.7 MB, free: 6.5 MB / 186.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.653e-06/0.2111, allocations: 7.938 kB / 221.7 MB, free: 6.492 MB / 186.7 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0004785/0.2116, allocations: 201.6 kB / 221.9 MB, free: 6.289 MB / 186.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.063e-05/0.2116, allocations: 4 kB / 221.9 MB, free: 6.285 MB / 186.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.74e-06/0.2117, allocations: 12.03 kB / 221.9 MB, free: 6.273 MB / 186.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.375e-05/0.2117, allocations: 0 / 221.9 MB, free: 6.273 MB / 186.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000344/0.212, allocations: 63.91 kB / 222 MB, free: 6.211 MB / 186.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.597e-06/0.2121, allocations: 4 kB / 222 MB, free: 6.207 MB / 186.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001622/0.2122, allocations: 27.83 kB / 222 MB, free: 6.18 MB / 186.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.431e-05/0.2123, allocations: 8 kB / 222 MB, free: 6.172 MB / 186.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 0.0001146/0.2124, allocations: 116.9 kB / 222.1 MB, free: 6.051 MB / 186.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.936e-05/0.2125, allocations: 23.81 kB / 222.1 MB, free: 6.027 MB / 186.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.142e-05/0.2126, allocations: 25.66 kB / 222.2 MB, free: 6 MB / 186.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.667e-06/0.2126, allocations: 7.984 kB / 222.2 MB, free: 5.992 MB / 186.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.062e-06/0.2126, allocations: 0 / 222.2 MB, free: 5.992 MB / 186.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.429e-06/0.2126, allocations: 0 / 222.2 MB, free: 5.992 MB / 186.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001089/0.2137, allocations: 0.5713 MB / 222.8 MB, free: 5.355 MB / 186.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.89e-06/0.2138, allocations: 0 / 222.8 MB, free: 5.355 MB / 186.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003721/0.2141, allocations: 55.91 kB / 222.8 MB, free: 5.301 MB / 186.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.03e-05/0.2142, allocations: 7.984 kB / 222.8 MB, free: 5.293 MB / 186.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.644e-05/0.2142, allocations: 8 kB / 222.8 MB, free: 5.285 MB / 186.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.325e-06/0.2142, allocations: 0 / 222.8 MB, free: 5.285 MB / 186.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.556e-06/0.2142, allocations: 4 kB / 222.8 MB, free: 5.281 MB / 186.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007368/0.215, allocations: 0.4922 MB / 223.3 MB, free: 4.738 MB / 186.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001361/0.2151, allocations: 112.9 kB / 223.4 MB, free: 4.609 MB / 186.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.532e-05/0.2152, allocations: 8 kB / 223.4 MB, free: 4.602 MB / 186.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002768/0.2155, allocations: 12 kB / 223.4 MB, free: 4.59 MB / 186.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.31e-05/0.2156, allocations: 19.97 kB / 223.5 MB, free: 4.57 MB / 186.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.854e-05/0.2156, allocations: 4 kB / 223.5 MB, free: 4.566 MB / 186.7 MB Notification: Performance of sorting global known variables: time 0.0001466/0.2158, allocations: 135.3 kB / 223.6 MB, free: 4.434 MB / 186.7 MB Notification: Performance of sort global known variables: time 7.64e-07/0.2158, allocations: 0 / 223.6 MB, free: 4.434 MB / 186.7 MB Notification: Performance of remove unused functions: time 0.0005617/0.2164, allocations: 52 kB / 223.7 MB, free: 4.383 MB / 186.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.0001702/0.2166, allocations: 111.2 kB / 223.8 MB, free: 4.266 MB / 186.7 MB Notification: Performance of simCode: created initialization part: time 0.0003798/0.2169, allocations: 151.8 kB / 223.9 MB, free: 4.117 MB / 186.7 MB Notification: Performance of simCode: created event and clocks part: time 2.901e-06/0.217, allocations: 0 / 223.9 MB, free: 4.117 MB / 186.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001916/0.2172, allocations: 83.86 kB / 224 MB, free: 4.035 MB / 186.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004199/0.2176, allocations: 33.81 kB / 224 MB, free: 4.004 MB / 186.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001252/0.2189, allocations: 0.5748 MB / 224.6 MB, free: 3.387 MB / 186.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004467/0.2193, allocations: 0.756 MB / 225.4 MB, free: 2.605 MB / 186.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.626e-05/0.2194, allocations: 19.44 kB / 225.4 MB, free: 2.586 MB / 186.7 MB Notification: Performance of SimCode: time 1.362e-06/0.2195, allocations: 0 / 225.4 MB, free: 2.586 MB / 186.7 MB Notification: Performance of Templates: time 0.005932/0.2254, allocations: 2.451 MB / 227.8 MB, free: 148 kB / 186.7 MB