Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir.conf.json Using package ModelicaServices with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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_Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir") Notification: Performance of loadModel(Modelica): time 1.917/1.917, allocations: 171.2 MB / 186.7 MB, free: 1.121 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005243/0.0005244, allocations: 8 kB / 233.9 MB, free: 2.387 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1191/0.1196, allocations: 38.77 MB / 272.6 MB, free: 11.54 MB / 234.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.302/1.422, allocations: 328.6 MB / 0.5872 GB, free: 109.7 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000335/1.422, allocations: 93.47 kB / 0.5873 GB, free: 109.7 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2826/1.705, allocations: 87.58 MB / 0.6728 GB, free: 42.65 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.254e-06/1.705, allocations: 0 / 0.6728 GB, free: 42.65 MB / 362.7 MB Notification: Performance of Transformations before backend: time 2.314e-05/1.705, allocations: 7.984 kB / 0.6728 GB, free: 42.64 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.0009347/1.706, allocations: 0.5582 MB / 0.6733 GB, free: 42.04 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.163e-05/1.706, allocations: 12.03 kB / 0.6733 GB, free: 42.03 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003532/1.706, allocations: 35.7 kB / 0.6734 GB, free: 41.99 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004475/1.707, allocations: 298.8 kB / 0.6737 GB, free: 41.66 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.377e-05/1.707, allocations: 16.56 kB / 0.6737 GB, free: 41.64 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.53e-05/1.707, allocations: 24 kB / 0.6737 GB, free: 41.62 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006476/1.707, allocations: 293.4 kB / 0.674 GB, free: 41.31 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.236e-05/1.707, allocations: 4 kB / 0.674 GB, free: 41.31 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.453e-05/1.707, allocations: 11.94 kB / 0.674 GB, free: 41.3 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.138e-05/1.708, allocations: 11.98 kB / 0.674 GB, free: 41.29 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000454/1.708, allocations: 190.2 kB / 0.6742 GB, free: 41.1 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002128/1.71, allocations: 1.289 MB / 0.6755 GB, free: 39.68 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005075/1.711, allocations: 195.2 kB / 0.6756 GB, free: 39.48 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001592/1.711, allocations: 174.3 kB / 0.6758 GB, free: 39.28 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.348e-05/1.711, allocations: 34.75 kB / 0.6758 GB, free: 39.23 MB / 362.7 MB Notification: Performance of pre-optimization done (n=21): time 3.076e-06/1.711, allocations: 3.938 kB / 0.6758 GB, free: 39.23 MB / 362.7 MB Notification: Performance of matching and sorting (n=26): time 0.003439/1.714, allocations: 1.031 MB / 0.6768 GB, free: 38.11 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.233e-05/1.714, allocations: 59.34 kB / 0.6769 GB, free: 38.04 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003685/1.715, allocations: 254.6 kB / 0.6771 GB, free: 37.78 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 4.272e-05/1.715, allocations: 37.7 kB / 0.6772 GB, free: 37.74 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001004/1.715, allocations: 176.2 kB / 0.6773 GB, free: 37.56 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.195e-05/1.715, allocations: 94.64 kB / 0.6774 GB, free: 37.47 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.362e-05/1.715, allocations: 12 kB / 0.6775 GB, free: 37.46 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 7.966e-05/1.715, allocations: 340.3 kB / 0.6778 GB, free: 37.12 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002055/1.715, allocations: 79.75 kB / 0.6779 GB, free: 37.04 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002583/1.716, allocations: 179.8 kB / 0.678 GB, free: 36.82 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002652/1.716, allocations: 107.9 kB / 0.6781 GB, free: 36.71 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.546e-06/1.716, allocations: 7.938 kB / 0.6781 GB, free: 36.71 MB / 362.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0008417/1.717, allocations: 440 kB / 0.6786 GB, free: 36.25 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.974e-05/1.717, allocations: 8 kB / 0.6786 GB, free: 36.24 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.037e-05/1.717, allocations: 4 kB / 0.6786 GB, free: 36.23 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002002/1.717, allocations: 37.7 kB / 0.6786 GB, free: 36.19 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005599/1.718, allocations: 76.08 kB / 0.6787 GB, free: 36.12 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001875/1.72, allocations: 2.572 MB / 0.6812 GB, free: 33.28 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004439/1.72, allocations: 32.17 kB / 0.6812 GB, free: 33.25 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.046e-05/1.72, allocations: 12 kB / 0.6812 GB, free: 33.23 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 () * Number of clocked 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.0002413/1.72, allocations: 157.7 kB / 0.6814 GB, free: 33.07 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.956e-05/1.72, allocations: 27.72 kB / 0.6814 GB, free: 33.04 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007006/1.721, allocations: 362.6 kB / 0.6817 GB, free: 32.66 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.2e-06/1.721, allocations: 3.984 kB / 0.6818 GB, free: 32.66 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.658e-06/1.721, allocations: 7.938 kB / 0.6818 GB, free: 32.65 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005868/1.722, allocations: 0.6075 MB / 0.6824 GB, free: 31.94 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001239/1.723, allocations: 0.7548 MB / 0.6831 GB, free: 31.1 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.04e-06/1.723, allocations: 0 / 0.6831 GB, free: 31.1 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004999/1.724, allocations: 59.89 kB / 0.6831 GB, free: 31.04 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001062/1.724, allocations: 28.75 kB / 0.6832 GB, free: 31.01 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.633e-05/1.724, allocations: 4 kB / 0.6832 GB, free: 31.01 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008562/1.725, allocations: 1.292 MB / 0.6844 GB, free: 29.58 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.024e-06/1.725, allocations: 0 / 0.6844 GB, free: 29.58 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008384/1.725, allocations: 0.5064 MB / 0.6849 GB, free: 29.04 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.826e-05/1.726, allocations: 96.83 kB / 0.685 GB, free: 28.92 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.875e-05/1.726, allocations: 4 kB / 0.685 GB, free: 28.92 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000436/1.726, allocations: 23.83 kB / 0.6851 GB, free: 28.89 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.808e-05/1.726, allocations: 23.98 kB / 0.6851 GB, free: 28.87 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.065e-05/1.726, allocations: 19.98 kB / 0.6851 GB, free: 28.85 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002282/1.726, allocations: 178 kB / 0.6853 GB, free: 28.68 MB / 362.7 MB Notification: Performance of sort global known variables: time 3.91e-07/1.726, allocations: 0 / 0.6853 GB, free: 28.68 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0007554/1.727, allocations: 120 kB / 0.6854 GB, free: 28.56 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 () * Number of clocked 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.0004384/1.728, allocations: 246.9 kB / 0.6856 GB, free: 28.3 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0008302/1.728, allocations: 446.3 kB / 0.686 GB, free: 27.84 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 5.631e-06/1.728, allocations: 12.25 kB / 0.6861 GB, free: 27.83 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003744/1.729, allocations: 214.5 kB / 0.6863 GB, free: 27.61 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001403/1.73, allocations: 161.3 kB / 0.6864 GB, free: 27.45 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001428/1.732, allocations: 0.8034 MB / 0.6872 GB, free: 26.62 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002329/1.732, allocations: 0.7726 MB / 0.688 GB, free: 25.82 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0004594/1.732, allocations: 58.94 kB / 0.688 GB, free: 25.77 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001109/1.733, allocations: 31.42 kB / 0.688 GB, free: 25.73 MB / 362.7 MB Notification: Performance of SimCode: time 1.183e-06/1.733, allocations: 7.938 kB / 0.688 GB, free: 25.73 MB / 362.7 MB Notification: Performance of Templates: time 0.01819/1.751, allocations: 7.25 MB / 0.6951 GB, free: 18.49 MB / 362.7 MB