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.61/1.61, allocations: 171.2 MB / 184.3 MB, free: 11.95 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 2.57e-05/2.592e-05, allocations: 0 / 228.8 MB, free: 15.32 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2476/0.2477, allocations: 38.78 MB / 267.6 MB, free: 9.434 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.7566/1.004, allocations: 255.6 MB / 0.5109 GB, free: 131.3 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002603/1.005, allocations: 86.81 kB / 0.511 GB, free: 131.3 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2308/1.235, allocations: 84.01 MB / 0.5931 GB, free: 46.34 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.153e-06/1.236, allocations: 0 / 0.5931 GB, free: 46.34 MB / 362.7 MB Notification: Performance of Transformations before backend: time 2.788e-05/1.236, allocations: 4 kB / 0.5931 GB, free: 46.33 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.0006442/1.236, allocations: 0.5152 MB / 0.5936 GB, free: 45.77 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.209e-05/1.236, allocations: 12.03 kB / 0.5936 GB, free: 45.76 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003261/1.237, allocations: 47.55 kB / 0.5936 GB, free: 45.71 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003513/1.237, allocations: 286.5 kB / 0.5939 GB, free: 45.39 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.422e-05/1.237, allocations: 20.56 kB / 0.5939 GB, free: 45.37 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.688e-05/1.237, allocations: 24 kB / 0.5939 GB, free: 45.35 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005195/1.238, allocations: 309.4 kB / 0.5942 GB, free: 45.01 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.91e-05/1.238, allocations: 3.938 kB / 0.5942 GB, free: 45.01 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.583e-05/1.238, allocations: 16 kB / 0.5942 GB, free: 44.99 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.045e-05/1.238, allocations: 8 kB / 0.5943 GB, free: 44.98 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003693/1.238, allocations: 177.6 kB / 0.5944 GB, free: 44.81 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00187/1.24, allocations: 1.72 MB / 0.5961 GB, free: 42.94 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002529/1.24, allocations: 129.3 kB / 0.5962 GB, free: 42.81 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001253/1.24, allocations: 76.78 kB / 0.5963 GB, free: 42.73 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001379/1.241, allocations: 162.2 kB / 0.5965 GB, free: 42.54 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.638e-05/1.241, allocations: 46.55 kB / 0.5965 GB, free: 42.48 MB / 362.7 MB Notification: Performance of pre-optimization done (n=15): time 3.083e-06/1.241, allocations: 0 / 0.5965 GB, free: 42.48 MB / 362.7 MB Notification: Performance of matching and sorting (n=21): time 0.001817/1.242, allocations: 0.677 MB / 0.5972 GB, free: 41.75 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.324e-05/1.242, allocations: 51.59 kB / 0.5972 GB, free: 41.69 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000293/1.243, allocations: 247.1 kB / 0.5974 GB, free: 41.44 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.652e-05/1.243, allocations: 33.7 kB / 0.5975 GB, free: 41.4 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.178e-05/1.243, allocations: 254.1 kB / 0.5977 GB, free: 41.15 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.629e-05/1.243, allocations: 78.83 kB / 0.5978 GB, free: 41.07 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.825e-05/1.243, allocations: 12 kB / 0.5978 GB, free: 41.06 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 5.981e-05/1.243, allocations: 326.7 kB / 0.5981 GB, free: 40.73 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001455/1.243, allocations: 67.78 kB / 0.5982 GB, free: 40.66 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001947/1.243, allocations: 191.3 kB / 0.5984 GB, free: 40.42 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001996/1.244, allocations: 100 kB / 0.5985 GB, free: 40.32 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.436e-06/1.244, allocations: 4 kB / 0.5985 GB, free: 40.32 MB / 362.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0006125/1.244, allocations: 302.3 kB / 0.5988 GB, free: 40.02 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.032e-05/1.244, allocations: 12.09 kB / 0.5988 GB, free: 40 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.269e-06/1.244, allocations: 4 kB / 0.5988 GB, free: 40 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000127/1.245, allocations: 28.84 kB / 0.5988 GB, free: 39.97 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003684/1.245, allocations: 79.91 kB / 0.5989 GB, free: 39.89 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009098/1.246, allocations: 1.295 MB / 0.6001 GB, free: 38.46 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003264/1.246, allocations: 16 kB / 0.6002 GB, free: 38.45 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.72e-05/1.246, allocations: 16 kB / 0.6002 GB, free: 38.43 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 () * 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.0001105/1.246, allocations: 132.9 kB / 0.6003 GB, free: 38.3 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.903e-05/1.246, allocations: 27.72 kB / 0.6003 GB, free: 38.27 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004574/1.247, allocations: 200 kB / 0.6005 GB, free: 38.07 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.56e-06/1.247, allocations: 7.953 kB / 0.6005 GB, free: 38.06 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.747e-06/1.247, allocations: 0 / 0.6005 GB, free: 38.06 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000329/1.247, allocations: 475.7 kB / 0.601 GB, free: 37.51 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00126/1.249, allocations: 0.7721 MB / 0.6017 GB, free: 36.63 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.14e-06/1.249, allocations: 4 kB / 0.6017 GB, free: 36.63 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002315/1.249, allocations: 44.25 kB / 0.6018 GB, free: 36.59 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.635e-06/1.249, allocations: 11.98 kB / 0.6018 GB, free: 36.57 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.171e-05/1.249, allocations: 15.98 kB / 0.6018 GB, free: 36.56 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.397e-06/1.249, allocations: 4 kB / 0.6018 GB, free: 36.55 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.502e-06/1.249, allocations: 0 / 0.6018 GB, free: 36.55 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005185/1.249, allocations: 494.1 kB / 0.6023 GB, free: 35.97 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.838e-05/1.25, allocations: 108.8 kB / 0.6024 GB, free: 35.85 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.657e-05/1.25, allocations: 15.89 kB / 0.6024 GB, free: 35.83 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003351/1.25, allocations: 20.05 kB / 0.6024 GB, free: 35.81 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.266e-05/1.25, allocations: 15.92 kB / 0.6024 GB, free: 35.8 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.739e-05/1.25, allocations: 19.98 kB / 0.6024 GB, free: 35.78 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002323/1.25, allocations: 195.1 kB / 0.6026 GB, free: 35.59 MB / 362.7 MB Notification: Performance of sort global known variables: time 7.63e-07/1.25, allocations: 0 / 0.6026 GB, free: 35.59 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0006755/1.251, allocations: 111.9 kB / 0.6027 GB, free: 35.48 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 () * 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.0003403/1.251, allocations: 236.6 kB / 0.603 GB, free: 35.24 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.000545/1.252, allocations: 298.7 kB / 0.6032 GB, free: 34.94 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 4.065e-06/1.252, allocations: 0 / 0.6032 GB, free: 34.94 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001304/1.252, allocations: 79.98 kB / 0.6033 GB, free: 34.86 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000962/1.253, allocations: 153.2 kB / 0.6035 GB, free: 34.71 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008483/1.254, allocations: 473.2 kB / 0.6039 GB, free: 34.19 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002212/1.254, allocations: 0.7758 MB / 0.6047 GB, free: 33.39 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001053/1.254, allocations: 27.44 kB / 0.6047 GB, free: 33.36 MB / 362.7 MB Notification: Performance of SimCode: time 1.57e-06/1.254, allocations: 4 kB / 0.6047 GB, free: 33.36 MB / 362.7 MB Notification: Performance of Templates: time 0.009282/1.264, allocations: 5.886 MB / 0.6105 GB, free: 27.47 MB / 362.7 MB