Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/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@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/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.73/1.73, allocations: 194.9 MB / 211.7 MB, free: 2.973 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003613/0.0003615, allocations: 11.98 kB / 264 MB, free: 13.54 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09338/0.09376, allocations: 44.5 MB / 308.5 MB, free: 0.9727 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.8547/0.9485, allocations: 333.9 MB / 0.6273 GB, free: 51.02 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002629/0.9488, allocations: 95.31 kB / 0.6274 GB, free: 50.96 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4512/1.4, allocations: 87.55 MB / 0.7129 GB, free: 133.1 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.456e-06/1.4, allocations: 6.656 kB / 0.7129 GB, free: 133.1 MB / 410.7 MB Notification: Performance of Transformations before backend: time 2.035e-05/1.4, allocations: 3.938 kB / 0.7129 GB, free: 133.1 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.0007624/1.401, allocations: 0.5557 MB / 0.7135 GB, free: 132.7 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.474e-05/1.401, allocations: 6.719 kB / 0.7135 GB, free: 132.7 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003306/1.401, allocations: 39.84 kB / 0.7135 GB, free: 132.7 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003655/1.402, allocations: 293.3 kB / 0.7138 GB, free: 132.4 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.385e-05/1.402, allocations: 18.75 kB / 0.7138 GB, free: 132.4 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.991e-05/1.402, allocations: 22.53 kB / 0.7139 GB, free: 132.4 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005435/1.402, allocations: 289.8 kB / 0.7141 GB, free: 132.2 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.937e-05/1.402, allocations: 0 / 0.7141 GB, free: 132.2 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.698e-05/1.402, allocations: 14.69 kB / 0.7141 GB, free: 132.2 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.241e-06/1.402, allocations: 3.844 kB / 0.7141 GB, free: 132.2 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004019/1.403, allocations: 203.2 kB / 0.7143 GB, free: 132.2 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001773/1.405, allocations: 1.292 MB / 0.7156 GB, free: 131 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004174/1.405, allocations: 177.3 kB / 0.7158 GB, free: 130.9 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001372/1.405, allocations: 176.6 kB / 0.7159 GB, free: 130.7 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.936e-05/1.405, allocations: 34.56 kB / 0.716 GB, free: 130.7 MB / 410.7 MB Notification: Performance of pre-optimization done (n=21): time 3.368e-06/1.405, allocations: 3.828 kB / 0.716 GB, free: 130.7 MB / 410.7 MB Notification: Performance of matching and sorting (n=26): time 0.002763/1.408, allocations: 1.039 MB / 0.717 GB, free: 129.9 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.448e-05/1.408, allocations: 55.12 kB / 0.717 GB, free: 129.8 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002761/1.408, allocations: 233.5 kB / 0.7173 GB, free: 129.7 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 3.202e-05/1.408, allocations: 33.48 kB / 0.7173 GB, free: 129.6 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.424e-05/1.409, allocations: 230.1 kB / 0.7175 GB, free: 129.4 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.08e-05/1.409, allocations: 96.95 kB / 0.7176 GB, free: 129.3 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.026e-05/1.409, allocations: 15.91 kB / 0.7176 GB, free: 129.3 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 5.757e-05/1.409, allocations: 326.2 kB / 0.7179 GB, free: 129 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001739/1.409, allocations: 74.78 kB / 0.718 GB, free: 129 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002095/1.409, allocations: 170.3 kB / 0.7182 GB, free: 128.8 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002242/1.409, allocations: 113.1 kB / 0.7183 GB, free: 128.8 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.993e-06/1.409, allocations: 0 / 0.7183 GB, free: 128.8 MB / 410.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0007293/1.41, allocations: 431.2 kB / 0.7187 GB, free: 128.5 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.94e-05/1.41, allocations: 10.88 kB / 0.7187 GB, free: 128.5 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.492e-06/1.41, allocations: 3.062 kB / 0.7187 GB, free: 128.5 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001758/1.41, allocations: 45.5 kB / 0.7187 GB, free: 128.4 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003764/1.411, allocations: 77.16 kB / 0.7188 GB, free: 128.4 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001665/1.412, allocations: 2.581 MB / 0.7213 GB, free: 125.7 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000351/1.413, allocations: 19.67 kB / 0.7214 GB, free: 125.7 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.845e-05/1.413, allocations: 15.81 kB / 0.7214 GB, free: 125.7 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.0002076/1.413, allocations: 151.7 kB / 0.7215 GB, free: 125.6 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.266e-05/1.413, allocations: 27.34 kB / 0.7215 GB, free: 125.6 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006112/1.414, allocations: 369.2 kB / 0.7219 GB, free: 125.3 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.98e-06/1.414, allocations: 6.562 kB / 0.7219 GB, free: 125.3 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.846e-06/1.414, allocations: 0 / 0.7219 GB, free: 125.3 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005247/1.414, allocations: 0.6107 MB / 0.7225 GB, free: 124.7 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001158/1.416, allocations: 0.7576 MB / 0.7232 GB, free: 124 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.913e-06/1.416, allocations: 0 / 0.7232 GB, free: 124 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004008/1.416, allocations: 57.81 kB / 0.7233 GB, free: 124 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001005/1.416, allocations: 24.16 kB / 0.7233 GB, free: 124 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.721e-05/1.416, allocations: 6.875 kB / 0.7233 GB, free: 124 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007861/1.417, allocations: 1.286 MB / 0.7246 GB, free: 122.6 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.705e-06/1.417, allocations: 0 / 0.7246 GB, free: 122.6 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007668/1.418, allocations: 0.5326 MB / 0.7251 GB, free: 122.2 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.58e-05/1.418, allocations: 100.6 kB / 0.7252 GB, free: 122.1 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.013e-05/1.418, allocations: 4 kB / 0.7252 GB, free: 122.1 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003761/1.418, allocations: 19.88 kB / 0.7252 GB, free: 122.1 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.999e-05/1.418, allocations: 15.73 kB / 0.7252 GB, free: 122.1 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.848e-05/1.418, allocations: 15.61 kB / 0.7252 GB, free: 122.1 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.000212/1.419, allocations: 187.9 kB / 0.7254 GB, free: 121.9 MB / 410.7 MB Notification: Performance of sort global known variables: time 7.2e-07/1.419, allocations: 0 / 0.7254 GB, free: 121.9 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0006564/1.419, allocations: 120.4 kB / 0.7255 GB, free: 121.9 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.0003694/1.42, allocations: 248 kB / 0.7258 GB, free: 121.8 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0007104/1.42, allocations: 449.7 kB / 0.7262 GB, free: 121.4 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.985e-06/1.42, allocations: 0.8125 kB / 0.7262 GB, free: 121.4 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003477/1.421, allocations: 232 kB / 0.7264 GB, free: 121.3 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001078/1.422, allocations: 155.3 kB / 0.7266 GB, free: 121.2 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001271/1.423, allocations: 0.8215 MB / 0.7274 GB, free: 120.6 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002326/1.423, allocations: 0.7711 MB / 0.7281 GB, free: 119.8 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001239/1.424, allocations: 34.8 kB / 0.7282 GB, free: 119.8 MB / 410.7 MB Notification: Performance of SimCode: time 1.915e-06/1.424, allocations: 4 kB / 0.7282 GB, free: 119.8 MB / 410.7 MB Notification: Performance of Templates: time 0.01082/1.434, allocations: 7.099 MB / 0.7351 GB, free: 114.9 MB / 410.7 MB