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.WhyArrows.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.WhyArrows,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.1_cpp_Modelica.Mechanics.Translational.Examples.WhyArrows") Notification: Performance of loadModel(Modelica): time 1.159/1.159, allocations: 111.1 MB / 126.7 MB, free: 6.141 MB / 106.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000266/0.0002662, allocations: 4 kB / 158.3 MB, free: 15.19 MB / 138.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.04833/0.04862, allocations: 25.17 MB / 183.5 MB, free: 5.984 MB / 154.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1764/0.2251, allocations: 33.66 MB / 217.2 MB, free: 6.738 MB / 170.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001911/0.2253, allocations: 64.19 kB / 217.2 MB, free: 6.73 MB / 170.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01139/0.2367, allocations: 3.328 MB / 220.6 MB, free: 5.352 MB / 170.7 MB Notification: Performance of FrontEnd: time 2.637e-06/0.2368, allocations: 0 / 220.6 MB, free: 5.352 MB / 170.7 MB Notification: Performance of Transformations before backend: time 1.254e-05/0.2368, allocations: 3.844 kB / 220.6 MB, free: 5.352 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: 56 * Number of variables: 56 Notification: Performance of Generate backend data structure: time 0.0005362/0.2373, allocations: 479.8 kB / 221 MB, free: 4.918 MB / 170.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.759e-05/0.2374, allocations: 11.31 kB / 221 MB, free: 4.918 MB / 170.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.342e-05/0.2374, allocations: 27.3 kB / 221.1 MB, free: 4.902 MB / 170.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001289/0.2376, allocations: 186.5 kB / 221.2 MB, free: 4.688 MB / 170.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.213e-05/0.2376, allocations: 15.66 kB / 221.3 MB, free: 4.688 MB / 170.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.005e-05/0.2377, allocations: 21.84 kB / 221.3 MB, free: 4.688 MB / 170.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004027/0.2381, allocations: 236.5 kB / 221.5 MB, free: 4.578 MB / 170.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.109e-05/0.2381, allocations: 7.906 kB / 221.5 MB, free: 4.57 MB / 170.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.721e-05/0.2382, allocations: 9.906 kB / 221.5 MB, free: 4.57 MB / 170.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.504e-06/0.2382, allocations: 3.844 kB / 221.5 MB, free: 4.57 MB / 170.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002868/0.2385, allocations: 136.4 kB / 221.7 MB, free: 4.543 MB / 170.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001143/0.2397, allocations: 0.8698 MB / 222.5 MB, free: 3.875 MB / 170.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002539/0.2399, allocations: 157.9 kB / 222.7 MB, free: 3.789 MB / 170.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.76e-05/0.24, allocations: 1.422 kB / 222.7 MB, free: 3.789 MB / 170.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.923e-05/0.24, allocations: 46.27 kB / 222.7 MB, free: 3.742 MB / 170.7 MB Notification: Performance of pre-optimization done (n=17): time 3.391e-06/0.24, allocations: 0 / 222.7 MB, free: 3.742 MB / 170.7 MB Notification: Performance of matching and sorting (n=17): time 0.0004228/0.2404, allocations: 165.7 kB / 222.9 MB, free: 3.684 MB / 170.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.865e-05/0.2405, allocations: 102.8 kB / 223 MB, free: 3.559 MB / 170.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001669/0.2407, allocations: 168.5 kB / 223.2 MB, free: 3.457 MB / 170.7 MB Notification: Performance of collectPreVariables (initialization): time 1.659e-05/0.2407, allocations: 29.2 kB / 223.2 MB, free: 3.426 MB / 170.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.828e-05/0.2408, allocations: 227.4 kB / 223.4 MB, free: 3.227 MB / 170.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.598e-05/0.2408, allocations: 61.86 kB / 223.5 MB, free: 3.184 MB / 170.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.278e-05/0.2409, allocations: 7.875 kB / 223.5 MB, free: 3.18 MB / 170.7 MB Notification: Performance of setup shared object (initialization): time 5.726e-05/0.2409, allocations: 329 kB / 223.8 MB, free: 2.859 MB / 170.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001101/0.241, allocations: 46.75 kB / 223.8 MB, free: 2.848 MB / 170.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000149/0.2412, allocations: 152.1 kB / 224 MB, free: 2.707 MB / 170.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001465/0.2414, allocations: 72.69 kB / 224.1 MB, free: 2.699 MB / 170.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.762e-06/0.2414, allocations: 0 / 224.1 MB, free: 2.699 MB / 170.7 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0004388/0.2418, allocations: 232.8 kB / 224.3 MB, free: 2.625 MB / 170.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.743e-05/0.2419, allocations: 8.469 kB / 224.3 MB, free: 2.621 MB / 170.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.794e-06/0.2419, allocations: 3.906 kB / 224.3 MB, free: 2.621 MB / 170.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.943e-05/0.2419, allocations: 7.719 kB / 224.3 MB, free: 2.621 MB / 170.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002519/0.2422, allocations: 60.66 kB / 224.4 MB, free: 2.609 MB / 170.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.12e-05/0.2422, allocations: 11.47 kB / 224.4 MB, free: 2.605 MB / 170.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001764/0.2424, allocations: 31.72 kB / 224.4 MB, free: 2.586 MB / 170.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.273e-05/0.2424, allocations: 19.22 kB / 224.4 MB, free: 2.582 MB / 170.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (33): * Single equations (assignments): 33 * 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.0001215/0.2425, allocations: 144 kB / 224.6 MB, free: 2.457 MB / 170.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.966e-05/0.2427, allocations: 23.48 kB / 224.6 MB, free: 2.441 MB / 170.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.583e-05/0.2427, allocations: 24.05 kB / 224.6 MB, free: 2.43 MB / 170.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.711e-06/0.2427, allocations: 3.812 kB / 224.6 MB, free: 2.43 MB / 170.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.542e-06/0.2428, allocations: 0 / 224.6 MB, free: 2.43 MB / 170.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.961e-06/0.2428, allocations: 0 / 224.6 MB, free: 2.43 MB / 170.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005945/0.2434, allocations: 418.3 kB / 225 MB, free: 2.062 MB / 170.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.164e-06/0.2434, allocations: 7.938 kB / 225 MB, free: 2.059 MB / 170.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002435/0.2437, allocations: 44.05 kB / 225.1 MB, free: 2.047 MB / 170.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.724e-06/0.2437, allocations: 0 / 225.1 MB, free: 2.047 MB / 170.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.98e-05/0.2437, allocations: 5.562 kB / 225.1 MB, free: 2.047 MB / 170.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.168e-06/0.2437, allocations: 3.844 kB / 225.1 MB, free: 2.047 MB / 170.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.599e-06/0.2437, allocations: 0.7812 kB / 225.1 MB, free: 2.047 MB / 170.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004419/0.2442, allocations: 430.5 kB / 225.5 MB, free: 1.711 MB / 170.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.146e-05/0.2443, allocations: 97.55 kB / 225.6 MB, free: 1.605 MB / 170.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.256e-05/0.2443, allocations: 6.531 kB / 225.6 MB, free: 1.605 MB / 170.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001992/0.2445, allocations: 2.25 kB / 225.6 MB, free: 1.605 MB / 170.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.732e-05/0.2446, allocations: 17.31 kB / 225.6 MB, free: 1.598 MB / 170.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.263e-05/0.2446, allocations: 4.719 kB / 225.6 MB, free: 1.598 MB / 170.7 MB Notification: Performance of sorting global known variables: time 0.0001242/0.2447, allocations: 145.6 kB / 225.8 MB, free: 1.504 MB / 170.7 MB Notification: Performance of sort global known variables: time 6.64e-07/0.2447, allocations: 0 / 225.8 MB, free: 1.504 MB / 170.7 MB Notification: Performance of remove unused functions: time 0.0005056/0.2453, allocations: 55.34 kB / 225.8 MB, free: 1.496 MB / 170.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 4 (inertia2.s,inertia2.v,mass1.s,mass1.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 (17): * Single equations (assignments): 17 * 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.0001115/0.2454, allocations: 109.2 kB / 225.9 MB, free: 1.398 MB / 170.7 MB Notification: Performance of simCode: created initialization part: time 0.0003178/0.2457, allocations: 144.8 kB / 226.1 MB, free: 1.367 MB / 170.7 MB Notification: Performance of simCode: created event and clocks part: time 4.351e-06/0.2457, allocations: 0 / 226.1 MB, free: 1.367 MB / 170.7 MB Notification: Performance of simCode: created simulation system equations: time 9.94e-05/0.2458, allocations: 57.8 kB / 226.1 MB, free: 1.355 MB / 170.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004096/0.2463, allocations: 29.72 kB / 226.2 MB, free: 1.348 MB / 170.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001119/0.2474, allocations: 0.7461 MB / 226.9 MB, free: 0.7461 MB / 170.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001847/0.2476, allocations: 0.7419 MB / 227.7 MB, free: 20 kB / 170.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.334e-05/0.2477, allocations: 18.94 kB / 227.7 MB, free: 16 kB / 170.7 MB Notification: Performance of SimCode: time 1.584e-06/0.2477, allocations: 0 / 227.7 MB, free: 16 kB / 170.7 MB Notification: Performance of Templates: time 0.004846/0.2525, allocations: 2.203 MB / 229.9 MB, free: 14.93 MB / 186.7 MB