Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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/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_cpp_Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir") Notification: Performance of loadModel(Modelica): time 1.65/1.65, allocations: 171.2 MB / 187.3 MB, free: 1.129 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003634/0.0003636, allocations: 12 kB / 233.8 MB, free: 0.9531 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08606/0.08646, allocations: 38.77 MB / 272.6 MB, free: 10.11 MB / 234.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.206/1.292, allocations: 328.6 MB / 0.5871 GB, free: 105.2 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003229/1.293, allocations: 96.14 kB / 0.5872 GB, free: 105.2 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2765/1.569, allocations: 87.57 MB / 0.6727 GB, free: 22.18 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.595e-06/1.569, allocations: 4 kB / 0.6727 GB, free: 22.17 MB / 362.7 MB Notification: Performance of Transformations before backend: time 2.539e-05/1.569, allocations: 8 kB / 0.6727 GB, free: 22.16 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.001008/1.57, allocations: 0.5543 MB / 0.6733 GB, free: 21.56 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.52e-05/1.57, allocations: 8.031 kB / 0.6733 GB, free: 21.55 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003592/1.571, allocations: 39.7 kB / 0.6733 GB, free: 21.52 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004465/1.571, allocations: 286.9 kB / 0.6736 GB, free: 21.2 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.801e-05/1.571, allocations: 24.56 kB / 0.6736 GB, free: 21.17 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.886e-05/1.571, allocations: 24 kB / 0.6736 GB, free: 21.15 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006757/1.572, allocations: 289.3 kB / 0.6739 GB, free: 20.84 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.336e-05/1.572, allocations: 4 kB / 0.6739 GB, free: 20.84 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.305e-05/1.572, allocations: 12 kB / 0.6739 GB, free: 20.83 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.065e-05/1.572, allocations: 11.92 kB / 0.6739 GB, free: 20.82 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004589/1.573, allocations: 202.1 kB / 0.6741 GB, free: 20.62 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002267/1.575, allocations: 1.285 MB / 0.6754 GB, free: 19.21 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005154/1.575, allocations: 183.2 kB / 0.6755 GB, free: 19.02 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001771/1.576, allocations: 182.3 kB / 0.6757 GB, free: 18.8 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.16e-05/1.576, allocations: 34.75 kB / 0.6758 GB, free: 18.76 MB / 362.7 MB Notification: Performance of pre-optimization done (n=21): time 3.186e-06/1.576, allocations: 0 / 0.6758 GB, free: 18.76 MB / 362.7 MB Notification: Performance of matching and sorting (n=26): time 0.00358/1.579, allocations: 1.031 MB / 0.6768 GB, free: 17.64 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.574e-05/1.579, allocations: 63.33 kB / 0.6768 GB, free: 17.56 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003465/1.58, allocations: 254.6 kB / 0.6771 GB, free: 17.31 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 4.251e-05/1.58, allocations: 33.7 kB / 0.6771 GB, free: 17.27 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001009/1.58, allocations: 230.6 kB / 0.6773 GB, free: 17.04 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001003/1.58, allocations: 94.69 kB / 0.6774 GB, free: 16.95 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.352e-05/1.58, allocations: 8 kB / 0.6774 GB, free: 16.94 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 7.019e-05/1.58, allocations: 328.3 kB / 0.6777 GB, free: 16.61 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000206/1.58, allocations: 87.75 kB / 0.6778 GB, free: 16.53 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002519/1.581, allocations: 175.7 kB / 0.678 GB, free: 16.31 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002747/1.581, allocations: 108 kB / 0.6781 GB, free: 16.21 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.819e-06/1.581, allocations: 0 / 0.6781 GB, free: 16.21 MB / 362.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0008593/1.582, allocations: 435.8 kB / 0.6785 GB, free: 15.75 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.924e-05/1.582, allocations: 8 kB / 0.6785 GB, free: 15.74 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.048e-05/1.582, allocations: 4.406 kB / 0.6785 GB, free: 15.74 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000205/1.582, allocations: 49.69 kB / 0.6786 GB, free: 15.68 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005496/1.583, allocations: 71.91 kB / 0.6786 GB, free: 15.61 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001837/1.584, allocations: 2.584 MB / 0.6811 GB, free: 12.76 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004336/1.585, allocations: 19.84 kB / 0.6812 GB, free: 12.74 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.231e-05/1.585, allocations: 19.98 kB / 0.6812 GB, free: 12.72 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.0002397/1.585, allocations: 146 kB / 0.6813 GB, free: 12.57 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.936e-05/1.585, allocations: 31.72 kB / 0.6814 GB, free: 12.54 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007067/1.586, allocations: 358.7 kB / 0.6817 GB, free: 12.16 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.59e-06/1.586, allocations: 4 kB / 0.6817 GB, free: 12.16 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.248e-06/1.586, allocations: 0 / 0.6817 GB, free: 12.16 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005855/1.587, allocations: 0.6152 MB / 0.6823 GB, free: 11.44 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001224/1.588, allocations: 0.7547 MB / 0.683 GB, free: 10.6 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.979e-06/1.588, allocations: 3.984 kB / 0.683 GB, free: 10.6 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005038/1.588, allocations: 59.91 kB / 0.6831 GB, free: 10.54 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001047/1.589, allocations: 16.84 kB / 0.6831 GB, free: 10.52 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.559e-05/1.589, allocations: 8.031 kB / 0.6831 GB, free: 10.51 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008554/1.589, allocations: 1.296 MB / 0.6844 GB, free: 9.082 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.405e-06/1.589, allocations: 0 / 0.6844 GB, free: 9.082 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008996/1.59, allocations: 0.5061 MB / 0.6849 GB, free: 8.535 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001291/1.591, allocations: 108.8 kB / 0.685 GB, free: 8.41 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.317e-05/1.591, allocations: 4 kB / 0.685 GB, free: 8.406 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004628/1.591, allocations: 20.06 kB / 0.685 GB, free: 8.387 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.555e-05/1.591, allocations: 23.92 kB / 0.685 GB, free: 8.363 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.554e-05/1.591, allocations: 15.98 kB / 0.685 GB, free: 8.348 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002546/1.592, allocations: 186 kB / 0.6852 GB, free: 8.164 MB / 362.7 MB Notification: Performance of sort global known variables: time 3.71e-07/1.592, allocations: 0 / 0.6852 GB, free: 8.164 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0007833/1.592, allocations: 112 kB / 0.6853 GB, free: 8.055 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.0005051/1.593, allocations: 251.4 kB / 0.6856 GB, free: 7.797 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0009415/1.594, allocations: 458 kB / 0.686 GB, free: 7.324 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 4.94e-06/1.594, allocations: 0 / 0.686 GB, free: 7.324 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000393/1.594, allocations: 222.4 kB / 0.6862 GB, free: 7.094 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001561/1.596, allocations: 160 kB / 0.6864 GB, free: 6.941 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001609/1.597, allocations: 0.8286 MB / 0.6872 GB, free: 6.078 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002426/1.598, allocations: 0.7687 MB / 0.6879 GB, free: 5.281 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001639/1.598, allocations: 35.42 kB / 0.688 GB, free: 5.246 MB / 362.7 MB Notification: Performance of SimCode: time 1.012e-06/1.598, allocations: 0 / 0.688 GB, free: 5.246 MB / 362.7 MB Notification: Performance of Templates: time 0.2486/1.847, allocations: 7.096 MB / 0.6949 GB, free: 93.66 MB / 362.7 MB