Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.2_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_Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir") Notification: Performance of loadModel(Modelica): time 2.035/2.035, allocations: 194.9 MB / 211.7 MB, free: 3 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005277/0.000528, allocations: 8 kB / 264.6 MB, free: 12.93 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1394/0.1399, allocations: 44.51 MB / 309.1 MB, free: 364 kB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.082/1.222, allocations: 333.9 MB / 0.6279 GB, free: 48.72 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003359/1.222, allocations: 94.88 kB / 0.628 GB, free: 48.66 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5587/1.781, allocations: 87.56 MB / 0.7135 GB, free: 133.1 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.833e-06/1.781, allocations: 0 / 0.7135 GB, free: 133.1 MB / 410.7 MB Notification: Performance of Transformations before backend: time 2.261e-05/1.781, allocations: 7.656 kB / 0.7135 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.001036/1.782, allocations: 0.5513 MB / 0.7141 GB, free: 132.6 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.225e-05/1.782, allocations: 14 kB / 0.7141 GB, free: 132.6 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003667/1.783, allocations: 44.77 kB / 0.7141 GB, free: 132.6 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004469/1.783, allocations: 287.2 kB / 0.7144 GB, free: 132.3 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.669e-05/1.783, allocations: 19.59 kB / 0.7144 GB, free: 132.3 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.863e-05/1.783, allocations: 26.53 kB / 0.7144 GB, free: 132.3 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000652/1.784, allocations: 293.4 kB / 0.7147 GB, free: 132.1 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.961e-05/1.784, allocations: 0 / 0.7147 GB, free: 132.1 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.282e-05/1.784, allocations: 11.97 kB / 0.7147 GB, free: 132.1 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.009e-05/1.784, allocations: 3.844 kB / 0.7147 GB, free: 132.1 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004624/1.785, allocations: 208.3 kB / 0.7149 GB, free: 132 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002169/1.787, allocations: 1.277 MB / 0.7162 GB, free: 130.8 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005097/1.787, allocations: 199 kB / 0.7164 GB, free: 130.7 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001666/1.787, allocations: 166 kB / 0.7165 GB, free: 130.5 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.555e-05/1.787, allocations: 38.69 kB / 0.7166 GB, free: 130.4 MB / 410.7 MB Notification: Performance of pre-optimization done (n=21): time 3.627e-06/1.787, allocations: 4 kB / 0.7166 GB, free: 130.4 MB / 410.7 MB Notification: Performance of matching and sorting (n=26): time 0.003912/1.791, allocations: 1.038 MB / 0.7176 GB, free: 129.6 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.478e-05/1.791, allocations: 54.78 kB / 0.7176 GB, free: 129.6 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003734/1.792, allocations: 257.8 kB / 0.7179 GB, free: 129.4 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 4.659e-05/1.792, allocations: 31.83 kB / 0.7179 GB, free: 129.4 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001042/1.792, allocations: 174 kB / 0.7181 GB, free: 129.2 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.639e-05/1.792, allocations: 94.05 kB / 0.7182 GB, free: 129.1 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.241e-05/1.792, allocations: 7.875 kB / 0.7182 GB, free: 129.1 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 8.874e-05/1.792, allocations: 338.6 kB / 0.7185 GB, free: 128.8 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002123/1.792, allocations: 78 kB / 0.7186 GB, free: 128.7 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002639/1.793, allocations: 176.3 kB / 0.7188 GB, free: 128.6 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002787/1.793, allocations: 103 kB / 0.7188 GB, free: 128.5 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.049e-06/1.793, allocations: 3.969 kB / 0.7189 GB, free: 128.5 MB / 410.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0009936/1.794, allocations: 443.4 kB / 0.7193 GB, free: 128.2 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.418e-05/1.794, allocations: 9.344 kB / 0.7193 GB, free: 128.2 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.421e-05/1.794, allocations: 7.312 kB / 0.7193 GB, free: 128.2 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000228/1.794, allocations: 54.72 kB / 0.7193 GB, free: 128.2 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005531/1.795, allocations: 69.19 kB / 0.7194 GB, free: 128.2 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002029/1.797, allocations: 2.577 MB / 0.7219 GB, free: 125.5 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004913/1.798, allocations: 20.09 kB / 0.7219 GB, free: 125.5 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.82e-05/1.798, allocations: 19.73 kB / 0.722 GB, free: 125.5 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.0002896/1.798, allocations: 149.4 kB / 0.7221 GB, free: 125.3 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.15e-05/1.798, allocations: 35.06 kB / 0.7221 GB, free: 125.3 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007724/1.799, allocations: 363.1 kB / 0.7225 GB, free: 125 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.561e-06/1.799, allocations: 0 / 0.7225 GB, free: 125 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.941e-06/1.799, allocations: 3.75 kB / 0.7225 GB, free: 125 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006221/1.799, allocations: 0.6077 MB / 0.7231 GB, free: 124.4 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001349/1.801, allocations: 0.7622 MB / 0.7238 GB, free: 123.7 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.981e-06/1.801, allocations: 3.594 kB / 0.7238 GB, free: 123.7 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000501/1.801, allocations: 56.12 kB / 0.7239 GB, free: 123.7 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001099/1.801, allocations: 19.34 kB / 0.7239 GB, free: 123.7 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.642e-05/1.802, allocations: 4 kB / 0.7239 GB, free: 123.7 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009431/1.802, allocations: 1.291 MB / 0.7252 GB, free: 122.4 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.036e-06/1.803, allocations: 0 / 0.7252 GB, free: 122.4 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009299/1.803, allocations: 0.5204 MB / 0.7257 GB, free: 122 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001202/1.804, allocations: 104.6 kB / 0.7258 GB, free: 121.8 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.415e-05/1.804, allocations: 7.938 kB / 0.7258 GB, free: 121.8 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004455/1.804, allocations: 15.81 kB / 0.7258 GB, free: 121.8 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.214e-05/1.804, allocations: 23.73 kB / 0.7258 GB, free: 121.8 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.34e-05/1.804, allocations: 15.83 kB / 0.7258 GB, free: 121.8 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0002515/1.805, allocations: 183.5 kB / 0.726 GB, free: 121.7 MB / 410.7 MB Notification: Performance of sort global known variables: time 3.91e-07/1.805, allocations: 0 / 0.726 GB, free: 121.7 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0007149/1.805, allocations: 117.9 kB / 0.7261 GB, free: 121.7 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.0004682/1.806, allocations: 251.6 kB / 0.7264 GB, free: 121.5 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0009343/1.807, allocations: 440.8 kB / 0.7268 GB, free: 121.2 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.719e-06/1.807, allocations: 3.875 kB / 0.7268 GB, free: 121.2 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003922/1.807, allocations: 228.1 kB / 0.727 GB, free: 121 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001499/1.809, allocations: 160.7 kB / 0.7272 GB, free: 120.9 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001561/1.81, allocations: 0.7925 MB / 0.7279 GB, free: 120.4 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002586/1.81, allocations: 0.7724 MB / 0.7287 GB, free: 119.6 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0005084/1.811, allocations: 64.95 kB / 0.7287 GB, free: 119.6 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001115/1.811, allocations: 26.44 kB / 0.7288 GB, free: 119.6 MB / 410.7 MB Notification: Performance of SimCode: time 1.042e-06/1.811, allocations: 0 / 0.7288 GB, free: 119.6 MB / 410.7 MB Notification: Performance of Templates: time 0.01858/1.83, allocations: 7.26 MB / 0.7359 GB, free: 112.9 MB / 410.7 MB