Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.Water.ConstantPropertyLiquidWater.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.Water.ConstantPropertyLiquidWater,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T",fileNamePrefix="Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.Water.ConstantPropertyLiquidWater") Notification: Performance of loadModel(Modelica): time 1.704/1.704, allocations: 171.2 MB / 186.7 MB, free: 1.121 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005137/0.0005139, allocations: 12 kB / 233.9 MB, free: 2.387 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1071/0.1076, allocations: 38.77 MB / 272.6 MB, free: 11.53 MB / 234.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.8156/0.9233, allocations: 255.7 MB / 0.5159 GB, free: 56.46 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003347/0.9237, allocations: 96.42 kB / 0.516 GB, free: 56.41 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5562/1.48, allocations: 84.41 MB / 0.5984 GB, free: 112.8 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.224e-06/1.48, allocations: 0 / 0.5984 GB, free: 112.8 MB / 362.7 MB Notification: Performance of Transformations before backend: time 2.33e-05/1.48, allocations: 6.781 kB / 0.5985 GB, free: 112.8 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.0008465/1.481, allocations: 0.5489 MB / 0.599 GB, free: 112.4 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.814e-05/1.481, allocations: 10.94 kB / 0.599 GB, free: 112.4 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003594/1.481, allocations: 37.36 kB / 0.599 GB, free: 112.4 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000412/1.482, allocations: 287.8 kB / 0.5993 GB, free: 112.1 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.89e-05/1.482, allocations: 18.53 kB / 0.5993 GB, free: 112.1 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.246e-05/1.482, allocations: 30.52 kB / 0.5994 GB, free: 112.1 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006078/1.482, allocations: 313.3 kB / 0.5997 GB, free: 112 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.02e-05/1.482, allocations: 2.062 kB / 0.5997 GB, free: 112 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.04e-05/1.482, allocations: 14.25 kB / 0.5997 GB, free: 112 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.1e-05/1.482, allocations: 6.688 kB / 0.5997 GB, free: 112 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004297/1.483, allocations: 177.5 kB / 0.5998 GB, free: 112 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002116/1.485, allocations: 1.733 MB / 0.6015 GB, free: 110.7 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002911/1.485, allocations: 142.3 kB / 0.6017 GB, free: 110.7 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001501/1.486, allocations: 168.6 kB / 0.6018 GB, free: 110.5 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.625e-05/1.486, allocations: 37.62 kB / 0.6019 GB, free: 110.4 MB / 362.7 MB Notification: Performance of pre-optimization done (n=15): time 2.174e-06/1.486, allocations: 0 / 0.6019 GB, free: 110.4 MB / 362.7 MB Notification: Performance of matching and sorting (n=21): time 0.002342/1.488, allocations: 0.7925 MB / 0.6026 GB, free: 110 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.677e-05/1.488, allocations: 51.59 kB / 0.6027 GB, free: 110 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003368/1.488, allocations: 278.9 kB / 0.603 GB, free: 109.9 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.155e-05/1.488, allocations: 25.7 kB / 0.603 GB, free: 109.8 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001095/1.488, allocations: 204.9 kB / 0.6032 GB, free: 109.7 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.534e-05/1.489, allocations: 71.67 kB / 0.6032 GB, free: 109.6 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.043e-05/1.489, allocations: 6.25 kB / 0.6033 GB, free: 109.6 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 7.963e-05/1.489, allocations: 344.8 kB / 0.6036 GB, free: 109.3 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001682/1.489, allocations: 66.64 kB / 0.6036 GB, free: 109.3 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002279/1.489, allocations: 191.1 kB / 0.6038 GB, free: 109.2 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002328/1.489, allocations: 105.2 kB / 0.6039 GB, free: 109.2 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.946e-06/1.489, allocations: 0 / 0.6039 GB, free: 109.2 MB / 362.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0007328/1.49, allocations: 335.8 kB / 0.6042 GB, free: 109.1 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.88e-05/1.49, allocations: 8.656 kB / 0.6043 GB, free: 109.1 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.949e-06/1.49, allocations: 10.69 kB / 0.6043 GB, free: 109.1 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000106/1.49, allocations: 25.58 kB / 0.6043 GB, free: 109.1 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005422/1.491, allocations: 82.34 kB / 0.6044 GB, free: 109.1 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001055/1.492, allocations: 1.299 MB / 0.6056 GB, free: 107.8 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004001/1.492, allocations: 14.31 kB / 0.6057 GB, free: 107.8 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.091e-05/1.492, allocations: 19.69 kB / 0.6057 GB, free: 107.8 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.0002075/1.493, allocations: 163.9 kB / 0.6058 GB, free: 107.6 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.602e-05/1.493, allocations: 33.78 kB / 0.6059 GB, free: 107.6 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004611/1.493, allocations: 192.2 kB / 0.606 GB, free: 107.5 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.438e-06/1.493, allocations: 2.594 kB / 0.606 GB, free: 107.5 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.174e-06/1.493, allocations: 0 / 0.606 GB, free: 107.5 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003945/1.494, allocations: 487.9 kB / 0.6065 GB, free: 107 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001485/1.495, allocations: 0.7657 MB / 0.6073 GB, free: 106.4 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.121e-06/1.495, allocations: 3.312 kB / 0.6073 GB, free: 106.4 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000302/1.495, allocations: 39.95 kB / 0.6073 GB, free: 106.4 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.411e-05/1.495, allocations: 10.92 kB / 0.6073 GB, free: 106.4 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.283e-05/1.495, allocations: 16.25 kB / 0.6073 GB, free: 106.4 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.522e-06/1.496, allocations: 7.031 kB / 0.6073 GB, free: 106.4 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.569e-06/1.496, allocations: 3.188 kB / 0.6073 GB, free: 106.4 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005946/1.496, allocations: 396 kB / 0.6077 GB, free: 106.1 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001148/1.496, allocations: 105.7 kB / 0.6078 GB, free: 106 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.336e-05/1.496, allocations: 11.25 kB / 0.6078 GB, free: 106 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004091/1.497, allocations: 20.75 kB / 0.6078 GB, free: 106 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.531e-05/1.497, allocations: 16.05 kB / 0.6079 GB, free: 106 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.213e-05/1.497, allocations: 17.94 kB / 0.6079 GB, free: 106 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002559/1.497, allocations: 198 kB / 0.6081 GB, free: 105.8 MB / 362.7 MB Notification: Performance of sort global known variables: time 4.01e-07/1.497, allocations: 3.125 kB / 0.6081 GB, free: 105.8 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0006952/1.498, allocations: 113.8 kB / 0.6082 GB, free: 105.8 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.0003933/1.498, allocations: 231.4 kB / 0.6084 GB, free: 105.7 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0006489/1.499, allocations: 305.5 kB / 0.6087 GB, free: 105.5 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 4.478e-06/1.499, allocations: 0 / 0.6087 GB, free: 105.5 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001556/1.499, allocations: 77.25 kB / 0.6088 GB, free: 105.5 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001408/1.501, allocations: 161.8 kB / 0.6089 GB, free: 105.5 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001317/1.502, allocations: 0.7411 MB / 0.6096 GB, free: 105 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002394/1.502, allocations: 0.7625 MB / 0.6104 GB, free: 104.3 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0004352/1.503, allocations: 63.8 kB / 0.6104 GB, free: 104.3 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.013e-05/1.503, allocations: 29.12 kB / 0.6105 GB, free: 104.3 MB / 362.7 MB Notification: Performance of SimCode: time 1.152e-06/1.503, allocations: 7.938 kB / 0.6105 GB, free: 104.3 MB / 362.7 MB Notification: Performance of Templates: time 0.01623/1.519, allocations: 6.529 MB / 0.6169 GB, free: 102.7 MB / 362.7 MB