Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.2_cpp_Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/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.2_cpp_Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir") Notification: Performance of loadModel(Modelica): time 1.883/1.883, allocations: 194.8 MB / 212.3 MB, free: 3.008 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003657/0.0003658, allocations: 12 kB / 264.5 MB, free: 13.61 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1058/0.1062, allocations: 44.5 MB / 309 MB, free: 1.039 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.041/1.147, allocations: 333.9 MB / 0.6278 GB, free: 49.38 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003247/1.147, allocations: 90.7 kB / 0.6279 GB, free: 49.33 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5411/1.689, allocations: 87.56 MB / 0.7134 GB, free: 133.2 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.933e-06/1.689, allocations: 0 / 0.7134 GB, free: 133.2 MB / 410.7 MB Notification: Performance of Transformations before backend: time 2.433e-05/1.689, allocations: 3.938 kB / 0.7135 GB, free: 133.2 MB / 410.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.0009919/1.69, allocations: 0.55 MB / 0.714 GB, free: 132.7 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.086e-05/1.69, allocations: 7.781 kB / 0.714 GB, free: 132.7 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003658/1.69, allocations: 51.05 kB / 0.714 GB, free: 132.7 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004374/1.691, allocations: 286.3 kB / 0.7143 GB, free: 132.4 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.549e-05/1.691, allocations: 20 kB / 0.7143 GB, free: 132.4 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.645e-05/1.691, allocations: 26.88 kB / 0.7144 GB, free: 132.4 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006664/1.691, allocations: 292.8 kB / 0.7146 GB, free: 132.2 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.262e-05/1.691, allocations: 7.75 kB / 0.7146 GB, free: 132.2 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.581e-05/1.691, allocations: 8 kB / 0.7147 GB, free: 132.2 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.046e-05/1.691, allocations: 9.875 kB / 0.7147 GB, free: 132.2 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004652/1.692, allocations: 196.4 kB / 0.7149 GB, free: 132.1 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002303/1.694, allocations: 1.284 MB / 0.7161 GB, free: 130.9 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005211/1.695, allocations: 192.9 kB / 0.7163 GB, free: 130.8 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001717/1.695, allocations: 169.8 kB / 0.7165 GB, free: 130.6 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.539e-05/1.695, allocations: 38.69 kB / 0.7165 GB, free: 130.5 MB / 410.7 MB Notification: Performance of pre-optimization done (n=21): time 2.685e-06/1.695, allocations: 3.125 kB / 0.7165 GB, free: 130.5 MB / 410.7 MB Notification: Performance of matching and sorting (n=26): time 0.003666/1.699, allocations: 1.035 MB / 0.7175 GB, free: 129.8 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.331e-05/1.699, allocations: 57.78 kB / 0.7176 GB, free: 129.7 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003606/1.699, allocations: 258.1 kB / 0.7178 GB, free: 129.5 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 4.685e-05/1.699, allocations: 41.31 kB / 0.7178 GB, free: 129.5 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.999e-05/1.699, allocations: 232.4 kB / 0.7181 GB, free: 129.3 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.452e-05/1.699, allocations: 86.28 kB / 0.7181 GB, free: 129.2 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.437e-05/1.699, allocations: 11.69 kB / 0.7182 GB, free: 129.2 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 7.098e-05/1.7, allocations: 330 kB / 0.7185 GB, free: 128.9 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002052/1.7, allocations: 74.38 kB / 0.7185 GB, free: 128.8 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002581/1.7, allocations: 176.3 kB / 0.7187 GB, free: 128.7 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002813/1.7, allocations: 111.3 kB / 0.7188 GB, free: 128.6 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.148e-06/1.7, allocations: 0 / 0.7188 GB, free: 128.6 MB / 410.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.000899/1.701, allocations: 433.1 kB / 0.7192 GB, free: 128.3 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.115e-05/1.701, allocations: 3.938 kB / 0.7192 GB, free: 128.3 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.196e-05/1.701, allocations: 8.25 kB / 0.7192 GB, free: 128.3 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002041/1.702, allocations: 41.27 kB / 0.7193 GB, free: 128.3 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005615/1.702, allocations: 77.8 kB / 0.7194 GB, free: 128.3 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00193/1.704, allocations: 2.577 MB / 0.7219 GB, free: 125.6 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004788/1.705, allocations: 25.72 kB / 0.7219 GB, free: 125.6 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.304e-05/1.705, allocations: 18.8 kB / 0.7219 GB, free: 125.6 MB / 410.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.0002531/1.705, allocations: 152.6 kB / 0.7221 GB, free: 125.4 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.232e-05/1.705, allocations: 29.44 kB / 0.7221 GB, free: 125.4 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007864/1.706, allocations: 355.6 kB / 0.7224 GB, free: 125.1 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.963e-06/1.706, allocations: 10.12 kB / 0.7224 GB, free: 125.1 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.518e-06/1.706, allocations: 0 / 0.7224 GB, free: 125.1 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006207/1.706, allocations: 0.6081 MB / 0.723 GB, free: 124.5 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001361/1.708, allocations: 0.7618 MB / 0.7238 GB, free: 123.8 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.168e-06/1.708, allocations: 3.938 kB / 0.7238 GB, free: 123.8 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005085/1.708, allocations: 52.52 kB / 0.7238 GB, free: 123.8 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001118/1.709, allocations: 24.06 kB / 0.7239 GB, free: 123.8 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.702e-05/1.709, allocations: 8.031 kB / 0.7239 GB, free: 123.8 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008994/1.709, allocations: 1.284 MB / 0.7251 GB, free: 122.5 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.445e-06/1.709, allocations: 0 / 0.7251 GB, free: 122.5 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009207/1.71, allocations: 0.5198 MB / 0.7256 GB, free: 122.1 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001247/1.711, allocations: 100.5 kB / 0.7257 GB, free: 121.9 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.2e-05/1.711, allocations: 7 kB / 0.7257 GB, free: 121.9 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004537/1.711, allocations: 19.28 kB / 0.7257 GB, free: 121.9 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.107e-05/1.711, allocations: 23.27 kB / 0.7258 GB, free: 121.9 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.307e-05/1.711, allocations: 15.45 kB / 0.7258 GB, free: 121.9 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0002532/1.711, allocations: 188.5 kB / 0.726 GB, free: 121.8 MB / 410.7 MB Notification: Performance of sort global known variables: time 4.81e-07/1.711, allocations: 0 / 0.726 GB, free: 121.8 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0007272/1.712, allocations: 114.7 kB / 0.7261 GB, free: 121.8 MB / 410.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.0004759/1.713, allocations: 256.6 kB / 0.7263 GB, free: 121.6 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0009638/1.714, allocations: 447.3 kB / 0.7267 GB, free: 121.3 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.408e-06/1.714, allocations: 0 / 0.7267 GB, free: 121.3 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004128/1.714, allocations: 220.6 kB / 0.7269 GB, free: 121.1 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001588/1.716, allocations: 161 kB / 0.7271 GB, free: 121 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001696/1.718, allocations: 0.837 MB / 0.7279 GB, free: 120.4 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000257/1.718, allocations: 0.7654 MB / 0.7287 GB, free: 119.7 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001798/1.718, allocations: 40.7 kB / 0.7287 GB, free: 119.7 MB / 410.7 MB Notification: Performance of SimCode: time 1.232e-06/1.718, allocations: 0 / 0.7287 GB, free: 119.7 MB / 410.7 MB Notification: Performance of Templates: time 0.01481/1.733, allocations: 7.101 MB / 0.7356 GB, free: 113.6 MB / 410.7 MB