Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.1_cpp_Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir.conf.json Using package ModelicaServices with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo) Running command: translateModel(Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="Modelica_3.2.1_cpp_Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir") Notification: Performance of loadModel(Modelica): time 1.709/1.709, allocations: 171.2 MB / 184.2 MB, free: 11.96 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 2.581e-05/2.594e-05, allocations: 4 kB / 228.8 MB, free: 15.32 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2073/0.2074, allocations: 38.77 MB / 267.6 MB, free: 9.457 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.7426/0.9501, allocations: 328.6 MB / 0.5822 GB, free: 44.08 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002596/0.9504, allocations: 92.05 kB / 0.5823 GB, free: 44.02 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4341/1.385, allocations: 87.18 MB / 0.6674 GB, free: 112.6 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.021e-06/1.385, allocations: 0 / 0.6674 GB, free: 112.6 MB / 362.7 MB Notification: Performance of Transformations before backend: time 2.05e-05/1.385, allocations: 4 kB / 0.6674 GB, free: 112.6 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.0006804/1.385, allocations: 0.5255 MB / 0.6679 GB, free: 112 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.893e-05/1.385, allocations: 8.031 kB / 0.6679 GB, free: 112 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003265/1.386, allocations: 43.61 kB / 0.668 GB, free: 112 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003613/1.386, allocations: 289.8 kB / 0.6683 GB, free: 111.6 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.293e-05/1.386, allocations: 17.25 kB / 0.6683 GB, free: 111.6 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.961e-05/1.386, allocations: 24 kB / 0.6683 GB, free: 111.6 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005418/1.387, allocations: 301.3 kB / 0.6686 GB, free: 111.3 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.866e-05/1.387, allocations: 0 / 0.6686 GB, free: 111.3 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.648e-05/1.387, allocations: 15.94 kB / 0.6686 GB, free: 111.3 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.266e-06/1.387, allocations: 4 kB / 0.6686 GB, free: 111.3 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003912/1.387, allocations: 198.1 kB / 0.6688 GB, free: 111.1 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001745/1.389, allocations: 1.289 MB / 0.67 GB, free: 109.7 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004157/1.389, allocations: 178.6 kB / 0.6702 GB, free: 109.5 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001657/1.39, allocations: 93.22 kB / 0.6703 GB, free: 109.4 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001406/1.39, allocations: 166.4 kB / 0.6705 GB, free: 109.2 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.266e-05/1.39, allocations: 38.75 kB / 0.6705 GB, free: 109.1 MB / 362.7 MB Notification: Performance of pre-optimization done (n=21): time 3.198e-06/1.39, allocations: 4 kB / 0.6705 GB, free: 109.1 MB / 362.7 MB Notification: Performance of matching and sorting (n=26): time 0.00261/1.392, allocations: 0.9009 MB / 0.6714 GB, free: 108.2 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.918e-05/1.392, allocations: 59.41 kB / 0.6714 GB, free: 108.1 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002797/1.393, allocations: 234.8 kB / 0.6717 GB, free: 107.9 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.161e-05/1.393, allocations: 29.7 kB / 0.6717 GB, free: 107.8 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.544e-05/1.393, allocations: 238.4 kB / 0.6719 GB, free: 107.6 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.098e-05/1.393, allocations: 85.92 kB / 0.672 GB, free: 107.5 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.903e-05/1.393, allocations: 8 kB / 0.672 GB, free: 107.5 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 5.969e-05/1.393, allocations: 330.8 kB / 0.6723 GB, free: 107.2 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001756/1.393, allocations: 75.78 kB / 0.6724 GB, free: 107.1 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002097/1.394, allocations: 171.8 kB / 0.6726 GB, free: 106.9 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002256/1.394, allocations: 115.9 kB / 0.6727 GB, free: 106.8 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.346e-06/1.394, allocations: 0 / 0.6727 GB, free: 106.8 MB / 362.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0007514/1.395, allocations: 419 kB / 0.6731 GB, free: 106.3 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.964e-05/1.395, allocations: 7.984 kB / 0.6731 GB, free: 106.3 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.503e-06/1.395, allocations: 4.406 kB / 0.6731 GB, free: 106.3 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002016/1.395, allocations: 49.64 kB / 0.6731 GB, free: 106.3 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000399/1.395, allocations: 75.91 kB / 0.6732 GB, free: 106.2 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001591/1.397, allocations: 2.568 MB / 0.6757 GB, free: 103.4 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003574/1.397, allocations: 23.92 kB / 0.6757 GB, free: 103.3 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.16e-05/1.397, allocations: 16 kB / 0.6757 GB, free: 103.3 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (40): * Single equations (assignments): 38 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 1 {1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0001221/1.397, allocations: 116.9 kB / 0.6759 GB, free: 103.2 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.986e-05/1.398, allocations: 35.81 kB / 0.6759 GB, free: 103.2 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006932/1.398, allocations: 358.4 kB / 0.6762 GB, free: 102.8 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.659e-06/1.398, allocations: 7.938 kB / 0.6762 GB, free: 102.8 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.353e-06/1.398, allocations: 0 / 0.6762 GB, free: 102.8 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005311/1.399, allocations: 0.6151 MB / 0.6768 GB, free: 102 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001141/1.4, allocations: 0.7451 MB / 0.6776 GB, free: 101.2 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.826e-06/1.4, allocations: 8 kB / 0.6776 GB, free: 101.2 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000374/1.4, allocations: 59.89 kB / 0.6776 GB, free: 101.2 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001033/1.401, allocations: 24.84 kB / 0.6777 GB, free: 101.1 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.414e-05/1.401, allocations: 4.031 kB / 0.6777 GB, free: 101.1 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007725/1.401, allocations: 1.287 MB / 0.6789 GB, free: 99.71 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.735e-06/1.401, allocations: 8 kB / 0.6789 GB, free: 99.7 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007269/1.402, allocations: 0.5079 MB / 0.6794 GB, free: 99.15 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001038/1.402, allocations: 100.8 kB / 0.6795 GB, free: 99.03 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.604e-05/1.402, allocations: 11.98 kB / 0.6795 GB, free: 99.02 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003584/1.403, allocations: 20 kB / 0.6796 GB, free: 99 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.468e-05/1.403, allocations: 23.91 kB / 0.6796 GB, free: 98.98 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.931e-05/1.403, allocations: 11.98 kB / 0.6796 GB, free: 98.96 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002151/1.403, allocations: 183.1 kB / 0.6798 GB, free: 98.79 MB / 362.7 MB Notification: Performance of sort global known variables: time 8.07e-07/1.403, allocations: 0 / 0.6798 GB, free: 98.79 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0006661/1.404, allocations: 116 kB / 0.6799 GB, free: 98.68 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (volume.medium.p,volume.medium.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (25): * Single equations (assignments): 24 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003802/1.404, allocations: 250.5 kB / 0.6801 GB, free: 98.44 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.000708/1.405, allocations: 445.7 kB / 0.6805 GB, free: 97.98 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.835e-06/1.405, allocations: 0 / 0.6805 GB, free: 97.98 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003247/1.405, allocations: 222.4 kB / 0.6807 GB, free: 97.75 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009727/1.406, allocations: 156 kB / 0.6809 GB, free: 97.59 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009776/1.407, allocations: 0.4991 MB / 0.6814 GB, free: 97.06 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002206/1.407, allocations: 0.7687 MB / 0.6821 GB, free: 96.27 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001196/1.408, allocations: 35.44 kB / 0.6822 GB, free: 96.23 MB / 362.7 MB Notification: Performance of SimCode: time 1.543e-06/1.408, allocations: 0 / 0.6822 GB, free: 96.23 MB / 362.7 MB Notification: Performance of Templates: time 0.01045/1.418, allocations: 7.092 MB / 0.6891 GB, free: 89.15 MB / 362.7 MB