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.Water.ConstantPropertyLiquidWater.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.Water.ConstantPropertyLiquidWater,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T",fileNamePrefix="Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.Water.ConstantPropertyLiquidWater") Notification: Performance of loadModel(Modelica): time 2.051/2.051, allocations: 194.9 MB / 211.7 MB, free: 3 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003574/0.0003575, allocations: 8 kB / 264.5 MB, free: 12.94 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09733/0.09771, allocations: 44.51 MB / 309.1 MB, free: 372 kB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.194/1.292, allocations: 261 MB / 0.5567 GB, free: 111.3 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004791/1.292, allocations: 92.08 kB / 0.5568 GB, free: 111.3 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3488/1.641, allocations: 84.41 MB / 0.6392 GB, free: 42.66 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.913e-06/1.641, allocations: 0 / 0.6392 GB, free: 42.66 MB / 410.7 MB Notification: Performance of Transformations before backend: time 2.121e-05/1.641, allocations: 8 kB / 0.6392 GB, free: 42.66 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.000876/1.642, allocations: 0.5427 MB / 0.6397 GB, free: 42.07 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.946e-05/1.642, allocations: 12.03 kB / 0.6398 GB, free: 42.05 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000355/1.643, allocations: 39.62 kB / 0.6398 GB, free: 42.02 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004208/1.643, allocations: 282.8 kB / 0.6401 GB, free: 41.7 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.412e-05/1.643, allocations: 20.5 kB / 0.6401 GB, free: 41.68 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.212e-05/1.643, allocations: 24 kB / 0.6401 GB, free: 41.66 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006443/1.644, allocations: 313.4 kB / 0.6404 GB, free: 41.32 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.128e-05/1.644, allocations: 4 kB / 0.6404 GB, free: 41.31 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.152e-05/1.644, allocations: 12 kB / 0.6404 GB, free: 41.3 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.042e-05/1.644, allocations: 4 kB / 0.6404 GB, free: 41.3 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004287/1.644, allocations: 189.5 kB / 0.6406 GB, free: 41.11 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002252/1.647, allocations: 1.724 MB / 0.6423 GB, free: 39.24 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000303/1.647, allocations: 130.5 kB / 0.6424 GB, free: 39.1 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001682/1.647, allocations: 174.2 kB / 0.6426 GB, free: 38.89 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.975e-05/1.647, allocations: 34.56 kB / 0.6426 GB, free: 38.85 MB / 410.7 MB Notification: Performance of pre-optimization done (n=15): time 3.818e-06/1.647, allocations: 0 / 0.6426 GB, free: 38.85 MB / 410.7 MB Notification: Performance of matching and sorting (n=21): time 0.002545/1.65, allocations: 0.8162 MB / 0.6434 GB, free: 37.96 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.268e-05/1.65, allocations: 55.55 kB / 0.6435 GB, free: 37.89 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003759/1.65, allocations: 278.5 kB / 0.6437 GB, free: 37.61 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 3.583e-05/1.65, allocations: 33.7 kB / 0.6438 GB, free: 37.57 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000117/1.65, allocations: 187.6 kB / 0.6439 GB, free: 37.38 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.175e-05/1.651, allocations: 82.83 kB / 0.644 GB, free: 37.3 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.972e-05/1.651, allocations: 8 kB / 0.644 GB, free: 37.29 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 9.05e-05/1.651, allocations: 338.8 kB / 0.6443 GB, free: 36.95 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001699/1.651, allocations: 67.91 kB / 0.6444 GB, free: 36.89 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002297/1.651, allocations: 187.5 kB / 0.6446 GB, free: 36.65 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002433/1.651, allocations: 104 kB / 0.6447 GB, free: 36.55 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.045e-05/1.651, allocations: 4 kB / 0.6447 GB, free: 36.54 MB / 410.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0007206/1.652, allocations: 323.8 kB / 0.645 GB, free: 36.22 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.249e-05/1.652, allocations: 8 kB / 0.645 GB, free: 36.21 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.097e-05/1.652, allocations: 4 kB / 0.645 GB, free: 36.21 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001279/1.652, allocations: 20.86 kB / 0.645 GB, free: 36.18 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005271/1.653, allocations: 91.83 kB / 0.6451 GB, free: 36.09 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001099/1.654, allocations: 1.292 MB / 0.6464 GB, free: 34.67 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003905/1.654, allocations: 23.89 kB / 0.6464 GB, free: 34.64 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.085e-05/1.654, allocations: 20.25 kB / 0.6464 GB, free: 34.62 MB / 410.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.0002342/1.655, allocations: 153.7 kB / 0.6466 GB, free: 34.46 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.089e-05/1.655, allocations: 23.72 kB / 0.6466 GB, free: 34.44 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004911/1.655, allocations: 207.3 kB / 0.6468 GB, free: 34.24 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.683e-06/1.655, allocations: 4 kB / 0.6468 GB, free: 34.23 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.957e-06/1.655, allocations: 3.953 kB / 0.6468 GB, free: 34.23 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004282/1.656, allocations: 479.8 kB / 0.6473 GB, free: 33.68 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001799/1.658, allocations: 0.7801 MB / 0.648 GB, free: 32.79 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.871e-06/1.658, allocations: 0 / 0.648 GB, free: 32.79 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003925/1.658, allocations: 51.91 kB / 0.6481 GB, free: 32.74 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.122e-05/1.658, allocations: 4 kB / 0.6481 GB, free: 32.74 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.569e-05/1.658, allocations: 4 kB / 0.6481 GB, free: 32.73 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.835e-06/1.658, allocations: 4 kB / 0.6481 GB, free: 32.73 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.282e-06/1.658, allocations: 7.938 kB / 0.6481 GB, free: 32.72 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008011/1.659, allocations: 390.8 kB / 0.6485 GB, free: 32.3 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001462/1.659, allocations: 116.8 kB / 0.6486 GB, free: 32.16 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.592e-05/1.659, allocations: 8 kB / 0.6486 GB, free: 32.16 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005934/1.66, allocations: 15.98 kB / 0.6486 GB, free: 32.14 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.134e-05/1.66, allocations: 19.94 kB / 0.6486 GB, free: 32.12 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.025e-05/1.66, allocations: 15.98 kB / 0.6486 GB, free: 32.11 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.000351/1.66, allocations: 202 kB / 0.6488 GB, free: 31.91 MB / 410.7 MB Notification: Performance of sort global known variables: time 5.01e-07/1.66, allocations: 0 / 0.6488 GB, free: 31.91 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001084/1.661, allocations: 115.9 kB / 0.6489 GB, free: 31.79 MB / 410.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.0005098/1.662, allocations: 238.7 kB / 0.6492 GB, free: 31.55 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0008161/1.663, allocations: 313.2 kB / 0.6495 GB, free: 31.23 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.849e-06/1.663, allocations: 0 / 0.6495 GB, free: 31.23 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002106/1.663, allocations: 71.91 kB / 0.6495 GB, free: 31.16 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001865/1.665, allocations: 154.2 kB / 0.6497 GB, free: 31.01 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001686/1.667, allocations: 0.7414 MB / 0.6504 GB, free: 30.21 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003066/1.667, allocations: 0.768 MB / 0.6511 GB, free: 29.42 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0006623/1.668, allocations: 55.27 kB / 0.6512 GB, free: 29.37 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001285/1.668, allocations: 31.38 kB / 0.6512 GB, free: 29.34 MB / 410.7 MB Notification: Performance of SimCode: time 1.102e-06/1.668, allocations: 0 / 0.6512 GB, free: 29.34 MB / 410.7 MB Notification: Performance of Templates: time 0.02387/1.692, allocations: 6.52 MB / 0.6576 GB, free: 22.82 MB / 410.7 MB