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.Accelerate.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.Accelerate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.1_cpp_Modelica.Mechanics.Translational.Examples.Accelerate") Notification: Performance of loadModel(Modelica): time 1.011/1.011, allocations: 111.1 MB / 126.7 MB, free: 6.141 MB / 106.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002824/0.0002825, allocations: 12 kB / 158.3 MB, free: 15.18 MB / 138.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.04599/0.0463, allocations: 25.17 MB / 183.5 MB, free: 5.984 MB / 154.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1718/0.2181, allocations: 33.41 MB / 216.9 MB, free: 6.777 MB / 170.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001906/0.2184, allocations: 63.94 kB / 217 MB, free: 6.77 MB / 170.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.004417/0.2228, allocations: 1.305 MB / 218.3 MB, free: 6.129 MB / 170.7 MB Notification: Performance of FrontEnd: time 3.467e-06/0.2228, allocations: 0 / 218.3 MB, free: 6.129 MB / 170.7 MB Notification: Performance of Transformations before backend: time 1.178e-05/0.2229, allocations: 6.172 kB / 218.3 MB, free: 6.129 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0002933/0.2232, allocations: 345.4 kB / 218.6 MB, free: 5.762 MB / 170.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.632e-05/0.2232, allocations: 11.72 kB / 218.6 MB, free: 5.762 MB / 170.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.762e-05/0.2233, allocations: 7.922 kB / 218.6 MB, free: 5.758 MB / 170.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001266/0.2234, allocations: 186.2 kB / 218.8 MB, free: 5.543 MB / 170.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.364e-05/0.2234, allocations: 7.688 kB / 218.8 MB, free: 5.543 MB / 170.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.019e-05/0.2235, allocations: 7.859 kB / 218.8 MB, free: 5.539 MB / 170.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001424/0.2236, allocations: 59.92 kB / 218.9 MB, free: 5.504 MB / 170.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.552e-05/0.2237, allocations: 7.859 kB / 218.9 MB, free: 5.5 MB / 170.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.208e-05/0.2237, allocations: 2.812 kB / 218.9 MB, free: 5.5 MB / 170.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.124e-06/0.2237, allocations: 3.953 kB / 218.9 MB, free: 5.496 MB / 170.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.833e-05/0.2238, allocations: 30.17 kB / 218.9 MB, free: 5.492 MB / 170.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006465/0.2244, allocations: 387.9 kB / 219.3 MB, free: 5.141 MB / 170.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001111/0.2246, allocations: 54.25 kB / 219.4 MB, free: 5.113 MB / 170.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.202e-06/0.2246, allocations: 3.531 kB / 219.4 MB, free: 5.113 MB / 170.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.47e-05/0.2246, allocations: 34.69 kB / 219.4 MB, free: 5.074 MB / 170.7 MB Notification: Performance of pre-optimization done (n=7): time 2.297e-06/0.2246, allocations: 0 / 219.4 MB, free: 5.074 MB / 170.7 MB Notification: Performance of matching and sorting (n=9): time 0.0007104/0.2254, allocations: 0.5155 MB / 219.9 MB, free: 4.602 MB / 170.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.717e-05/0.2254, allocations: 55.25 kB / 220 MB, free: 4.539 MB / 170.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.505e-05/0.2255, allocations: 108.2 kB / 220.1 MB, free: 4.441 MB / 170.7 MB Notification: Performance of collectPreVariables (initialization): time 1.141e-05/0.2255, allocations: 28.45 kB / 220.1 MB, free: 4.41 MB / 170.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.057e-05/0.2256, allocations: 158 kB / 220.3 MB, free: 4.258 MB / 170.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.629e-05/0.2256, allocations: 34.11 kB / 220.3 MB, free: 4.23 MB / 170.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.305e-06/0.2256, allocations: 7.75 kB / 220.3 MB, free: 4.23 MB / 170.7 MB Notification: Performance of setup shared object (initialization): time 4.829e-05/0.2257, allocations: 314.8 kB / 220.6 MB, free: 3.914 MB / 170.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.514e-05/0.2257, allocations: 18.56 kB / 220.6 MB, free: 3.914 MB / 170.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.435e-05/0.2258, allocations: 58.95 kB / 220.7 MB, free: 3.859 MB / 170.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.364e-05/0.2259, allocations: 34.02 kB / 220.7 MB, free: 3.848 MB / 170.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.072e-06/0.2259, allocations: 0 / 220.7 MB, free: 3.848 MB / 170.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001874/0.2261, allocations: 115.2 kB / 220.8 MB, free: 3.789 MB / 170.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.569e-05/0.2261, allocations: 7.312 kB / 220.8 MB, free: 3.789 MB / 170.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.261e-06/0.2261, allocations: 0 / 220.8 MB, free: 3.789 MB / 170.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.705e-05/0.2262, allocations: 7.5 kB / 220.9 MB, free: 3.785 MB / 170.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001133/0.2263, allocations: 22.2 kB / 220.9 MB, free: 3.781 MB / 170.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.62e-06/0.2263, allocations: 3.5 kB / 220.9 MB, free: 3.781 MB / 170.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.486e-05/0.2264, allocations: 4.094 kB / 220.9 MB, free: 3.777 MB / 170.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.079e-05/0.2264, allocations: 7.594 kB / 220.9 MB, free: 3.777 MB / 170.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 13 * 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.323e-05/0.2265, allocations: 125.1 kB / 221 MB, free: 3.656 MB / 170.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.915e-05/0.2265, allocations: 3.953 kB / 221 MB, free: 3.652 MB / 170.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.316e-05/0.2266, allocations: 15.59 kB / 221 MB, free: 3.652 MB / 170.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.939e-06/0.2266, allocations: 0 / 221 MB, free: 3.652 MB / 170.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.458e-06/0.2266, allocations: 480 / 221 MB, free: 3.652 MB / 170.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.817e-06/0.2266, allocations: 0 / 221 MB, free: 3.652 MB / 170.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005423/0.2272, allocations: 409.3 kB / 221.4 MB, free: 3.273 MB / 170.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.76e-06/0.2272, allocations: 7.781 kB / 221.4 MB, free: 3.27 MB / 170.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001287/0.2273, allocations: 18.77 kB / 221.5 MB, free: 3.266 MB / 170.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.474e-06/0.2273, allocations: 7.875 kB / 221.5 MB, free: 3.262 MB / 170.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.262e-05/0.2274, allocations: 3.875 kB / 221.5 MB, free: 3.262 MB / 170.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.547e-06/0.2274, allocations: 12 kB / 221.5 MB, free: 3.254 MB / 170.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.744e-06/0.2274, allocations: 0 / 221.5 MB, free: 3.254 MB / 170.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002541/0.2277, allocations: 291.7 kB / 221.8 MB, free: 2.98 MB / 170.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.037e-05/0.2277, allocations: 88.62 kB / 221.8 MB, free: 2.879 MB / 170.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.378e-05/0.2277, allocations: 11.5 kB / 221.9 MB, free: 2.875 MB / 170.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001011/0.2279, allocations: 0 / 221.9 MB, free: 2.875 MB / 170.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.597e-05/0.2279, allocations: 3.688 kB / 221.9 MB, free: 2.875 MB / 170.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.963e-06/0.2279, allocations: 7.812 kB / 221.9 MB, free: 2.871 MB / 170.7 MB Notification: Performance of sorting global known variables: time 4.483e-05/0.228, allocations: 96.89 kB / 222 MB, free: 2.793 MB / 170.7 MB Notification: Performance of sort global known variables: time 7.31e-07/0.228, allocations: 0 / 222 MB, free: 2.793 MB / 170.7 MB Notification: Performance of remove unused functions: time 0.0003746/0.2284, allocations: 15.31 kB / 222 MB, free: 2.793 MB / 170.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 2 (accelerate.s,accelerate.v) * 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 (9): * Single equations (assignments): 9 * 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.0001027/0.2285, allocations: 106.4 kB / 222.1 MB, free: 2.695 MB / 170.7 MB Notification: Performance of simCode: created initialization part: time 0.0001519/0.2286, allocations: 59.98 kB / 222.1 MB, free: 2.684 MB / 170.7 MB Notification: Performance of simCode: created event and clocks part: time 4.017e-06/0.2287, allocations: 4.188 kB / 222.1 MB, free: 2.68 MB / 170.7 MB Notification: Performance of simCode: created simulation system equations: time 4.972e-05/0.2287, allocations: 26.86 kB / 222.2 MB, free: 2.672 MB / 170.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002867/0.229, allocations: 17.89 kB / 222.2 MB, free: 2.668 MB / 170.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000632/0.2297, allocations: 428 kB / 222.6 MB, free: 2.289 MB / 170.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001324/0.2298, allocations: 0.6924 MB / 223.3 MB, free: 1.586 MB / 170.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.751e-05/0.2299, allocations: 11.41 kB / 223.3 MB, free: 1.578 MB / 170.7 MB Notification: Performance of SimCode: time 1.405e-06/0.2299, allocations: 0 / 223.3 MB, free: 1.578 MB / 170.7 MB Notification: Performance of Templates: time 0.002351/0.2322, allocations: 0.9664 MB / 224.3 MB, free: 1.098 MB / 170.7 MB