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/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.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 0.9519/0.9519, allocations: 111.2 MB / 119.1 MB, free: 11.16 MB / 106.7 MB Notification: Performance of FrontEnd - loaded program: time 1.671e-05/1.674e-05, allocations: 0 / 148.1 MB, free: 6.23 MB / 122.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.04583/0.04587, allocations: 25.18 MB / 173.3 MB, free: 13.01 MB / 154.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1743/0.2202, allocations: 32.66 MB / 205.9 MB, free: 7.066 MB / 170.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001719/0.2204, allocations: 60.53 kB / 206 MB, free: 7.066 MB / 170.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.004448/0.2249, allocations: 1.29 MB / 207.3 MB, free: 6.688 MB / 170.7 MB Notification: Performance of FrontEnd: time 2.953e-06/0.2249, allocations: 1.375 kB / 207.3 MB, free: 6.688 MB / 170.7 MB Notification: Performance of Transformations before backend: time 9.796e-06/0.2249, allocations: 1.375 kB / 207.3 MB, free: 6.688 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.0002812/0.2252, allocations: 340.3 kB / 207.6 MB, free: 6.336 MB / 170.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.93e-05/0.2253, allocations: 9.625 kB / 207.6 MB, free: 6.336 MB / 170.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.582e-05/0.2253, allocations: 11.98 kB / 207.7 MB, free: 6.328 MB / 170.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001414/0.2255, allocations: 175 kB / 207.8 MB, free: 6.129 MB / 170.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.376e-05/0.2255, allocations: 2.75 kB / 207.8 MB, free: 6.129 MB / 170.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.648e-05/0.2255, allocations: 12.05 kB / 207.8 MB, free: 6.121 MB / 170.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001097/0.2257, allocations: 32.98 kB / 207.9 MB, free: 6.121 MB / 170.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001121/0.2258, allocations: 55.2 kB / 207.9 MB, free: 6.09 MB / 170.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.636e-05/0.2258, allocations: 3.906 kB / 207.9 MB, free: 6.086 MB / 170.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.159e-05/0.2258, allocations: 5.328 kB / 207.9 MB, free: 6.082 MB / 170.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.571e-06/0.2258, allocations: 5.375 kB / 207.9 MB, free: 6.078 MB / 170.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006121/0.2265, allocations: 345 kB / 208.3 MB, free: 5.801 MB / 170.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.823e-05/0.2266, allocations: 53.8 kB / 208.3 MB, free: 5.773 MB / 170.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.776e-05/0.2266, allocations: 15.36 kB / 208.3 MB, free: 5.766 MB / 170.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.115e-06/0.2267, allocations: 9.312 kB / 208.4 MB, free: 5.758 MB / 170.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.515e-05/0.2267, allocations: 33.95 kB / 208.4 MB, free: 5.719 MB / 170.7 MB Notification: Performance of pre-optimization done (n=7): time 2.726e-06/0.2267, allocations: 0 / 208.4 MB, free: 5.719 MB / 170.7 MB Notification: Performance of matching and sorting (n=9): time 0.0006531/0.2274, allocations: 485.8 kB / 208.9 MB, free: 5.273 MB / 170.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.317e-05/0.2274, allocations: 52.78 kB / 208.9 MB, free: 5.211 MB / 170.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.468e-05/0.2275, allocations: 101.6 kB / 209 MB, free: 5.117 MB / 170.7 MB Notification: Performance of collectPreVariables (initialization): time 9.909e-06/0.2275, allocations: 25.7 kB / 209 MB, free: 5.086 MB / 170.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.33e-05/0.2275, allocations: 167.2 kB / 209.2 MB, free: 4.93 MB / 170.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.368e-05/0.2276, allocations: 33.22 kB / 209.2 MB, free: 4.906 MB / 170.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.902e-06/0.2276, allocations: 0 / 209.2 MB, free: 4.906 MB / 170.7 MB Notification: Performance of setup shared object (initialization): time 4.868e-05/0.2276, allocations: 314.7 kB / 209.5 MB, free: 4.594 MB / 170.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.11e-05/0.2277, allocations: 17.06 kB / 209.6 MB, free: 4.594 MB / 170.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.083e-05/0.2278, allocations: 61.56 kB / 209.6 MB, free: 4.539 MB / 170.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.857e-05/0.2278, allocations: 22.08 kB / 209.6 MB, free: 4.539 MB / 170.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.476e-06/0.2279, allocations: 1.375 kB / 209.6 MB, free: 4.539 MB / 170.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001865/0.228, allocations: 92.31 kB / 209.7 MB, free: 4.5 MB / 170.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.915e-05/0.2281, allocations: 5.312 kB / 209.7 MB, free: 4.5 MB / 170.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.873e-05/0.2281, allocations: 10.91 kB / 209.7 MB, free: 4.492 MB / 170.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.728e-05/0.2281, allocations: 3.375 kB / 209.7 MB, free: 4.492 MB / 170.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001234/0.2283, allocations: 21.38 kB / 209.8 MB, free: 4.492 MB / 170.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.066e-06/0.2283, allocations: 2.469 kB / 209.8 MB, free: 4.492 MB / 170.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.52e-05/0.2284, allocations: 1.75 kB / 209.8 MB, free: 4.492 MB / 170.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.08e-05/0.2284, allocations: 2.875 kB / 209.8 MB, free: 4.492 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 () * 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 5.468e-05/0.2284, allocations: 110.4 kB / 209.9 MB, free: 4.383 MB / 170.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.007e-05/0.2285, allocations: 10.2 kB / 209.9 MB, free: 4.375 MB / 170.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.324e-05/0.2285, allocations: 13.7 kB / 209.9 MB, free: 4.363 MB / 170.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.974e-06/0.2286, allocations: 5.047 kB / 209.9 MB, free: 4.359 MB / 170.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.488e-06/0.2286, allocations: 1.188 kB / 209.9 MB, free: 4.359 MB / 170.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.002e-06/0.2286, allocations: 0 / 209.9 MB, free: 4.359 MB / 170.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004804/0.2291, allocations: 375.7 kB / 210.3 MB, free: 4.039 MB / 170.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.071e-06/0.2291, allocations: 5.938 kB / 210.3 MB, free: 4.035 MB / 170.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001206/0.2292, allocations: 18.31 kB / 210.3 MB, free: 4.035 MB / 170.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.096e-06/0.2292, allocations: 2.312 kB / 210.3 MB, free: 4.035 MB / 170.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.382e-05/0.2293, allocations: 6.562 kB / 210.3 MB, free: 4.035 MB / 170.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.705e-06/0.2293, allocations: 10.72 kB / 210.3 MB, free: 4.027 MB / 170.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.317e-06/0.2293, allocations: 2.188 kB / 210.3 MB, free: 4.027 MB / 170.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002316/0.2295, allocations: 276.8 kB / 210.6 MB, free: 3.762 MB / 170.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.888e-05/0.2296, allocations: 90.61 kB / 210.7 MB, free: 3.664 MB / 170.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.082e-05/0.2296, allocations: 5.438 kB / 210.7 MB, free: 3.66 MB / 170.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.793e-05/0.2297, allocations: 6.156 kB / 210.7 MB, free: 3.656 MB / 170.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.614e-05/0.2298, allocations: 5.484 kB / 210.7 MB, free: 3.656 MB / 170.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.07e-05/0.2298, allocations: 5.625 kB / 210.7 MB, free: 3.656 MB / 170.7 MB Notification: Performance of sorting global known variables: time 3.188e-05/0.2298, allocations: 83.97 kB / 210.8 MB, free: 3.582 MB / 170.7 MB Notification: Performance of sort global known variables: time 7.15e-07/0.2298, allocations: 0 / 210.8 MB, free: 3.582 MB / 170.7 MB Notification: Performance of remove unused functions: time 0.0003522/0.2302, allocations: 17.59 kB / 210.8 MB, free: 3.578 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 () * 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.0001116/0.2303, allocations: 105.4 kB / 210.9 MB, free: 3.484 MB / 170.7 MB Notification: Performance of simCode: created initialization part: time 0.0001386/0.2305, allocations: 47.09 kB / 211 MB, free: 3.48 MB / 170.7 MB Notification: Performance of simCode: created event and clocks part: time 3.79e-06/0.2305, allocations: 1.375 kB / 211 MB, free: 3.48 MB / 170.7 MB Notification: Performance of simCode: created simulation system equations: time 4.751e-05/0.2305, allocations: 26.44 kB / 211 MB, free: 3.477 MB / 170.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002734/0.2308, allocations: 13.84 kB / 211 MB, free: 3.473 MB / 170.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004803/0.2313, allocations: 286.2 kB / 211.3 MB, free: 3.223 MB / 170.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001374/0.2315, allocations: 0.6993 MB / 212 MB, free: 2.523 MB / 170.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.827e-05/0.2315, allocations: 11.56 kB / 212 MB, free: 2.516 MB / 170.7 MB Notification: Performance of SimCode: time 1.73e-06/0.2315, allocations: 1.375 kB / 212 MB, free: 2.516 MB / 170.7 MB Notification: Performance of Templates: time 0.002576/0.2341, allocations: 0.9081 MB / 212.9 MB, free: 2.461 MB / 170.7 MB