Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.1_cpp_Modelica.Media.Examples.Tests.MediaTestModels.Water.ConstantPropertyLiquidWater.conf.json Using package ModelicaServices with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo) Running command: translateModel(Modelica.Media.Examples.Tests.MediaTestModels.Water.ConstantPropertyLiquidWater,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T",fileNamePrefix="Modelica_3.2.1_cpp_Modelica.Media.Examples.Tests.MediaTestModels.Water.ConstantPropertyLiquidWater") Notification: Performance of loadModel(Modelica): time 1.565/1.565, allocations: 171.2 MB / 186.8 MB, free: 1.035 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000353/0.000353, allocations: 15.98 kB / 233.3 MB, free: 3 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0675/0.06787, allocations: 38.77 MB / 272 MB, free: 12.15 MB / 234.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6613/0.7292, allocations: 255.7 MB / 0.5153 GB, free: 59.96 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002633/0.7295, allocations: 92.06 kB / 0.5154 GB, free: 59.9 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.453/1.183, allocations: 84.41 MB / 0.5978 GB, free: 111.2 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.404e-06/1.183, allocations: 0 / 0.5978 GB, free: 111.2 MB / 362.7 MB Notification: Performance of Transformations before backend: time 2.798e-05/1.183, allocations: 9.688 kB / 0.5978 GB, free: 111.2 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.0006941/1.183, allocations: 0.5394 MB / 0.5984 GB, free: 110.8 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.406e-05/1.183, allocations: 8.938 kB / 0.5984 GB, free: 110.8 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003129/1.184, allocations: 41.25 kB / 0.5984 GB, free: 110.8 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003317/1.184, allocations: 284.9 kB / 0.5987 GB, free: 110.6 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.146e-05/1.184, allocations: 21.94 kB / 0.5987 GB, free: 110.6 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.594e-05/1.184, allocations: 36.73 kB / 0.5988 GB, free: 110.6 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005254/1.185, allocations: 304 kB / 0.599 GB, free: 110.5 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.996e-05/1.185, allocations: 3.219 kB / 0.599 GB, free: 110.5 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.332e-05/1.185, allocations: 10.44 kB / 0.5991 GB, free: 110.5 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.77e-06/1.185, allocations: 6.875 kB / 0.5991 GB, free: 110.5 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003719/1.185, allocations: 188.2 kB / 0.5992 GB, free: 110.5 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001794/1.187, allocations: 1.728 MB / 0.6009 GB, free: 109.1 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002466/1.187, allocations: 135.1 kB / 0.6011 GB, free: 109.1 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001281/1.187, allocations: 174 kB / 0.6012 GB, free: 108.9 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.097e-05/1.187, allocations: 34.41 kB / 0.6013 GB, free: 108.9 MB / 362.7 MB Notification: Performance of pre-optimization done (n=15): time 2.789e-06/1.187, allocations: 0 / 0.6013 GB, free: 108.9 MB / 362.7 MB Notification: Performance of matching and sorting (n=21): time 0.001953/1.189, allocations: 0.7958 MB / 0.602 GB, free: 108.5 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.323e-05/1.189, allocations: 51.59 kB / 0.6021 GB, free: 108.4 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002804/1.19, allocations: 250.7 kB / 0.6023 GB, free: 108.3 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.666e-05/1.19, allocations: 33.3 kB / 0.6024 GB, free: 108.3 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.449e-05/1.19, allocations: 256.4 kB / 0.6026 GB, free: 108.1 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.778e-05/1.19, allocations: 76.41 kB / 0.6027 GB, free: 108 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.539e-05/1.19, allocations: 6.812 kB / 0.6027 GB, free: 108 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 5.845e-05/1.19, allocations: 329.8 kB / 0.603 GB, free: 107.7 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001535/1.19, allocations: 69.66 kB / 0.6031 GB, free: 107.7 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002022/1.19, allocations: 188.1 kB / 0.6032 GB, free: 107.6 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002167/1.191, allocations: 105.5 kB / 0.6033 GB, free: 107.6 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.087e-06/1.191, allocations: 3.719 kB / 0.6033 GB, free: 107.6 MB / 362.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0006287/1.191, allocations: 315.1 kB / 0.6036 GB, free: 107.5 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.865e-05/1.191, allocations: 10.5 kB / 0.6037 GB, free: 107.5 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.36e-05/1.191, allocations: 3.938 kB / 0.6037 GB, free: 107.5 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.789e-05/1.191, allocations: 27.64 kB / 0.6037 GB, free: 107.5 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003678/1.192, allocations: 81.08 kB / 0.6038 GB, free: 107.5 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009363/1.193, allocations: 1.302 MB / 0.605 GB, free: 106.3 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000298/1.193, allocations: 21.56 kB / 0.6051 GB, free: 106.3 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.786e-05/1.193, allocations: 18.83 kB / 0.6051 GB, free: 106.3 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * 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 (41): * Single equations (assignments): 40 * 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: 0 * Non-linear torn systems: 1 {1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0001722/1.193, allocations: 163 kB / 0.6052 GB, free: 106.1 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.727e-05/1.193, allocations: 23.53 kB / 0.6052 GB, free: 106.1 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000414/1.194, allocations: 209.2 kB / 0.6054 GB, free: 106.1 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.74e-06/1.194, allocations: 3.812 kB / 0.6054 GB, free: 106.1 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.232e-06/1.194, allocations: 0 / 0.6054 GB, free: 106.1 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003585/1.194, allocations: 482.6 kB / 0.6059 GB, free: 105.6 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001253/1.196, allocations: 0.7702 MB / 0.6067 GB, free: 105.1 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.896e-06/1.196, allocations: 7.156 kB / 0.6067 GB, free: 105.1 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002471/1.196, allocations: 47.92 kB / 0.6067 GB, free: 105.1 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.413e-06/1.196, allocations: 7.328 kB / 0.6067 GB, free: 105.1 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.959e-05/1.196, allocations: 6.188 kB / 0.6067 GB, free: 105.1 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.596e-06/1.196, allocations: 3.812 kB / 0.6067 GB, free: 105.1 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.545e-06/1.196, allocations: 3.812 kB / 0.6067 GB, free: 105.1 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005371/1.196, allocations: 0.4907 MB / 0.6072 GB, free: 104.8 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.29e-05/1.197, allocations: 108.1 kB / 0.6073 GB, free: 104.7 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.25e-05/1.197, allocations: 10.3 kB / 0.6073 GB, free: 104.7 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003505/1.197, allocations: 18.56 kB / 0.6073 GB, free: 104.7 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.578e-05/1.197, allocations: 26.23 kB / 0.6074 GB, free: 104.6 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.613e-05/1.197, allocations: 14.25 kB / 0.6074 GB, free: 104.6 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002242/1.197, allocations: 206.9 kB / 0.6076 GB, free: 104.6 MB / 362.7 MB Notification: Performance of sort global known variables: time 6.8e-07/1.197, allocations: 0 / 0.6076 GB, free: 104.6 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.000657/1.198, allocations: 108.8 kB / 0.6077 GB, free: 104.6 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 1 (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 (21): * Single equations (assignments): 21 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003359/1.198, allocations: 239.8 kB / 0.6079 GB, free: 104.5 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0005139/1.199, allocations: 293.4 kB / 0.6082 GB, free: 104.3 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 4.091e-06/1.199, allocations: 0 / 0.6082 GB, free: 104.3 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001418/1.199, allocations: 78.98 kB / 0.6083 GB, free: 104.3 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001032/1.2, allocations: 159.1 kB / 0.6084 GB, free: 104.3 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001071/1.201, allocations: 0.7691 MB / 0.6092 GB, free: 103.9 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002251/1.201, allocations: 0.7653 MB / 0.6099 GB, free: 103.2 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.555e-05/1.202, allocations: 37.23 kB / 0.61 GB, free: 103.2 MB / 362.7 MB Notification: Performance of SimCode: time 1.394e-06/1.202, allocations: 3.781 kB / 0.61 GB, free: 103.2 MB / 362.7 MB Notification: Performance of Templates: time 0.009588/1.211, allocations: 5.898 MB / 0.6157 GB, free: 102.7 MB / 362.7 MB