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.LinearFluid.LinearWater_pT.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.LinearFluid.LinearWater_pT,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.LinearFluid.LinearWater_pT") Notification: Performance of loadModel(Modelica): time 1.768/1.768, allocations: 171.2 MB / 187.3 MB, free: 1.125 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004867/0.0004868, allocations: 16 kB / 233.8 MB, free: 0.9492 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09043/0.09095, allocations: 38.77 MB / 272.6 MB, free: 10.11 MB / 234.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.014/8.105, allocations: 2.791 GB / 3.057 GB, free: 24.95 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003241/8.106, allocations: 90.02 kB / 3.057 GB, free: 24.89 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.418/12.52, allocations: 0.949 GB / 4.006 GB, free: 42.72 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.615e-06/12.52, allocations: 4 kB / 4.006 GB, free: 42.72 MB / 362.7 MB Notification: Performance of Transformations before backend: time 3.404e-05/12.52, allocations: 4.844 kB / 4.006 GB, free: 42.72 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.006352/12.53, allocations: 1.219 MB / 4.008 GB, free: 41.98 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.881e-05/12.53, allocations: 11.16 kB / 4.008 GB, free: 41.98 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005335/12.53, allocations: 44.78 kB / 4.008 GB, free: 41.95 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005916/12.53, allocations: 274.3 kB / 4.008 GB, free: 41.71 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.035e-05/12.53, allocations: 21.34 kB / 4.008 GB, free: 41.7 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.891e-05/12.53, allocations: 28.72 kB / 4.008 GB, free: 41.69 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009211/12.53, allocations: 299.2 kB / 4.008 GB, free: 41.51 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.623e-05/12.53, allocations: 4 kB / 4.008 GB, free: 41.51 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.364e-05/12.53, allocations: 11.97 kB / 4.008 GB, free: 41.5 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.439e-05/12.53, allocations: 6.75 kB / 4.008 GB, free: 41.5 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006911/12.53, allocations: 199.6 kB / 4.008 GB, free: 41.43 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002904/12.54, allocations: 1.431 MB / 4.01 GB, free: 40.22 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006114/12.54, allocations: 172.9 kB / 4.01 GB, free: 40.14 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.543e-05/12.54, allocations: 9.891 kB / 4.01 GB, free: 40.13 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.307e-05/12.54, allocations: 32.58 kB / 4.01 GB, free: 40.09 MB / 362.7 MB Notification: Performance of pre-optimization done (n=21): time 3.717e-06/12.54, allocations: 4 kB / 4.01 GB, free: 40.09 MB / 362.7 MB Notification: Performance of matching and sorting (n=26): time 0.005066/12.54, allocations: 1.007 MB / 4.011 GB, free: 39.46 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.055e-05/12.54, allocations: 54.66 kB / 4.011 GB, free: 39.4 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004709/12.54, allocations: 254.7 kB / 4.011 GB, free: 39.25 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 4.519e-05/12.54, allocations: 33.3 kB / 4.011 GB, free: 39.21 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001289/12.54, allocations: 233.5 kB / 4.012 GB, free: 39 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000111/12.54, allocations: 91.69 kB / 4.012 GB, free: 38.93 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.981e-05/12.54, allocations: 11.94 kB / 4.012 GB, free: 38.92 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 8.267e-05/12.54, allocations: 330.3 kB / 4.012 GB, free: 38.6 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000319/12.54, allocations: 83.61 kB / 4.012 GB, free: 38.56 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003928/12.54, allocations: 179.8 kB / 4.012 GB, free: 38.41 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004061/12.54, allocations: 118.4 kB / 4.012 GB, free: 38.36 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.607e-06/12.54, allocations: 0 / 4.012 GB, free: 38.36 MB / 362.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.001373/12.55, allocations: 363.4 kB / 4.013 GB, free: 38.18 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.428e-05/12.55, allocations: 9.844 kB / 4.013 GB, free: 38.18 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.185e-05/12.55, allocations: 3.688 kB / 4.013 GB, free: 38.18 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005165/12.55, allocations: 72.52 kB / 4.013 GB, free: 38.14 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000675/12.55, allocations: 67.81 kB / 4.013 GB, free: 38.14 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003189/12.55, allocations: 2.684 MB / 4.016 GB, free: 35.45 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006913/12.55, allocations: 18.41 kB / 4.016 GB, free: 35.44 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.695e-05/12.55, allocations: 15.23 kB / 4.016 GB, free: 35.44 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * 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 (39): * Single equations (assignments): 37 * 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%) 2} * Non-linear torn systems: 1 {1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0003091/12.55, allocations: 157.4 kB / 4.016 GB, free: 35.29 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001202/12.55, allocations: 26.66 kB / 4.016 GB, free: 35.28 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001242/12.55, allocations: 37.39 kB / 4.016 GB, free: 35.25 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.829e-06/12.55, allocations: 0 / 4.016 GB, free: 35.25 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.015e-05/12.55, allocations: 3.938 kB / 4.016 GB, free: 35.25 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001127/12.55, allocations: 0.5647 MB / 4.016 GB, free: 34.73 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00205/12.55, allocations: 0.7022 MB / 4.017 GB, free: 34.25 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.725e-06/12.55, allocations: 3.953 kB / 4.017 GB, free: 34.24 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000524/12.56, allocations: 46.98 kB / 4.017 GB, free: 34.24 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000608/12.56, allocations: 63.28 kB / 4.017 GB, free: 34.21 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.867e-05/12.56, allocations: 4 kB / 4.017 GB, free: 34.21 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001849/12.56, allocations: 1.402 MB / 4.018 GB, free: 32.84 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.29e-06/12.56, allocations: 0 / 4.018 GB, free: 32.84 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001454/12.56, allocations: 476.5 kB / 4.019 GB, free: 32.55 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001484/12.56, allocations: 103.5 kB / 4.019 GB, free: 32.45 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000104/12.56, allocations: 4 kB / 4.019 GB, free: 32.44 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005514/12.56, allocations: 14.48 kB / 4.019 GB, free: 32.44 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.267e-05/12.56, allocations: 19.08 kB / 4.019 GB, free: 32.43 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.226e-05/12.56, allocations: 8.062 kB / 4.019 GB, free: 32.43 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.000337/12.56, allocations: 188.9 kB / 4.019 GB, free: 32.31 MB / 362.7 MB Notification: Performance of sort global known variables: time 6.32e-07/12.56, allocations: 0 / 4.019 GB, free: 32.31 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001195/12.56, allocations: 120 kB / 4.019 GB, free: 32.2 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 (24): * Single equations (assignments): 23 * 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%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005865/12.56, allocations: 304.6 kB / 4.02 GB, free: 31.95 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001322/12.56, allocations: 467.8 kB / 4.02 GB, free: 31.49 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 4.328e-06/12.56, allocations: 0 / 4.02 GB, free: 31.49 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006895/12.56, allocations: 230.1 kB / 4.02 GB, free: 31.27 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001966/12.57, allocations: 162.4 kB / 4.02 GB, free: 31.16 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001934/12.57, allocations: 0.8536 MB / 4.021 GB, free: 30.39 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002436/12.57, allocations: 0.7681 MB / 4.022 GB, free: 29.62 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001543/12.57, allocations: 30.95 kB / 4.022 GB, free: 29.6 MB / 362.7 MB Notification: Performance of SimCode: time 9.82e-07/12.57, allocations: 4 kB / 4.022 GB, free: 29.59 MB / 362.7 MB Notification: Performance of Templates: time 0.0141/12.58, allocations: 7.163 MB / 4.029 GB, free: 25.61 MB / 362.7 MB