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.LinearFluid.LinearWater_pT.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.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.564/1.564, allocations: 171.2 MB / 186.8 MB, free: 1.035 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003584/0.0003585, allocations: 8 kB / 233.3 MB, free: 2.992 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07081/0.07119, allocations: 38.76 MB / 272 MB, free: 12.15 MB / 234.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.646/6.717, allocations: 2.791 GB / 3.057 GB, free: 49.08 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000266/6.717, allocations: 90.75 kB / 3.057 GB, free: 49.03 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.575/10.29, allocations: 0.949 GB / 4.006 GB, free: 56.9 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.237e-06/10.29, allocations: 0 / 4.006 GB, free: 56.9 MB / 378.7 MB Notification: Performance of Transformations before backend: time 2.112e-05/10.29, allocations: 7.438 kB / 4.006 GB, free: 56.9 MB / 378.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.003867/10.3, allocations: 1.228 MB / 4.007 GB, free: 56.38 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.523e-05/10.3, allocations: 7.875 kB / 4.007 GB, free: 56.38 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003282/10.3, allocations: 37.12 kB / 4.007 GB, free: 56.37 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003397/10.3, allocations: 276.5 kB / 4.007 GB, free: 56.15 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.223e-05/10.3, allocations: 25.06 kB / 4.007 GB, free: 56.15 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.795e-05/10.3, allocations: 29.5 kB / 4.007 GB, free: 56.14 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005281/10.3, allocations: 295.1 kB / 4.008 GB, free: 56.05 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.794e-05/10.3, allocations: 0 / 4.008 GB, free: 56.05 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.112e-05/10.3, allocations: 11.31 kB / 4.008 GB, free: 56.05 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.787e-06/10.3, allocations: 13.19 kB / 4.008 GB, free: 56.05 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004314/10.3, allocations: 192.7 kB / 4.008 GB, free: 56.05 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00178/10.3, allocations: 1.439 MB / 4.009 GB, free: 55.02 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003757/10.3, allocations: 176.7 kB / 4.01 GB, free: 55 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.257e-05/10.3, allocations: 3.438 kB / 4.01 GB, free: 55 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.112e-05/10.3, allocations: 31.5 kB / 4.01 GB, free: 54.96 MB / 378.7 MB Notification: Performance of pre-optimization done (n=21): time 2.473e-06/10.3, allocations: 7.469 kB / 4.01 GB, free: 54.96 MB / 378.7 MB Notification: Performance of matching and sorting (n=26): time 0.002864/10.3, allocations: 1.001 MB / 4.011 GB, free: 54.54 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.485e-05/10.3, allocations: 59.73 kB / 4.011 GB, free: 54.48 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002848/10.3, allocations: 231.7 kB / 4.011 GB, free: 54.38 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.798e-05/10.3, allocations: 34.23 kB / 4.011 GB, free: 54.34 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.996e-05/10.3, allocations: 236.3 kB / 4.011 GB, free: 54.15 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.565e-05/10.3, allocations: 89.59 kB / 4.011 GB, free: 54.1 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.039e-05/10.3, allocations: 7.594 kB / 4.011 GB, free: 54.1 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 6.257e-05/10.3, allocations: 330.5 kB / 4.011 GB, free: 53.79 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000208/10.3, allocations: 90.53 kB / 4.012 GB, free: 53.78 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002465/10.3, allocations: 175.3 kB / 4.012 GB, free: 53.68 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002518/10.31, allocations: 117.9 kB / 4.012 GB, free: 53.67 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.92e-06/10.31, allocations: 0 / 4.012 GB, free: 53.67 MB / 378.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0008847/10.31, allocations: 362.6 kB / 4.012 GB, free: 53.61 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.212e-05/10.31, allocations: 11.44 kB / 4.012 GB, free: 53.61 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.524e-06/10.31, allocations: 3.75 kB / 4.012 GB, free: 53.61 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003268/10.31, allocations: 68.47 kB / 4.012 GB, free: 53.59 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003343/10.31, allocations: 66.47 kB / 4.012 GB, free: 53.59 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002144/10.31, allocations: 2.687 MB / 4.015 GB, free: 51.09 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003812/10.31, allocations: 16.62 kB / 4.015 GB, free: 51.09 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.26e-05/10.31, allocations: 13.62 kB / 4.015 GB, free: 51.09 MB / 378.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.0002029/10.31, allocations: 158.6 kB / 4.015 GB, free: 50.97 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.82e-05/10.31, allocations: 29.42 kB / 4.015 GB, free: 50.96 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.03e-05/10.31, allocations: 41.73 kB / 4.015 GB, free: 50.95 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.227e-06/10.31, allocations: 0.5156 kB / 4.015 GB, free: 50.95 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.061e-06/10.31, allocations: 3.844 kB / 4.015 GB, free: 50.95 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007071/10.31, allocations: 0.5647 MB / 4.016 GB, free: 50.5 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001334/10.31, allocations: 0.6971 MB / 4.016 GB, free: 50.19 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.24e-06/10.31, allocations: 1.125 kB / 4.016 GB, free: 50.19 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000256/10.31, allocations: 42.28 kB / 4.017 GB, free: 50.19 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003516/10.31, allocations: 73.61 kB / 4.017 GB, free: 50.17 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.968e-05/10.31, allocations: 8.062 kB / 4.017 GB, free: 50.17 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001173/10.31, allocations: 1.39 MB / 4.018 GB, free: 48.91 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.035e-06/10.31, allocations: 3.328 kB / 4.018 GB, free: 48.91 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008539/10.31, allocations: 487.2 kB / 4.018 GB, free: 48.73 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.821e-05/10.31, allocations: 101.3 kB / 4.019 GB, free: 48.63 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.763e-05/10.31, allocations: 6.188 kB / 4.019 GB, free: 48.63 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002831/10.32, allocations: 15.11 kB / 4.019 GB, free: 48.63 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.971e-05/10.32, allocations: 18.95 kB / 4.019 GB, free: 48.63 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.237e-05/10.32, allocations: 12.67 kB / 4.019 GB, free: 48.63 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002337/10.32, allocations: 184.2 kB / 4.019 GB, free: 48.55 MB / 378.7 MB Notification: Performance of sort global known variables: time 6.94e-07/10.32, allocations: 0 / 4.019 GB, free: 48.55 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0007568/10.32, allocations: 122.7 kB / 4.019 GB, free: 48.55 MB / 378.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.0004243/10.32, allocations: 300.7 kB / 4.019 GB, free: 48.45 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0008432/10.32, allocations: 465.9 kB / 4.02 GB, free: 48.23 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.671e-06/10.32, allocations: 4.156 kB / 4.02 GB, free: 48.23 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004819/10.32, allocations: 229.9 kB / 4.02 GB, free: 48.12 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001065/10.32, allocations: 155 kB / 4.02 GB, free: 48.11 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001444/10.32, allocations: 0.8547 MB / 4.021 GB, free: 47.73 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000253/10.32, allocations: 0.7707 MB / 4.022 GB, free: 47.04 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000113/10.32, allocations: 28.16 kB / 4.022 GB, free: 47.03 MB / 378.7 MB Notification: Performance of SimCode: time 1.339e-06/10.32, allocations: 0 / 4.022 GB, free: 47.03 MB / 378.7 MB Notification: Performance of Templates: time 0.01139/10.33, allocations: 7.169 MB / 4.029 GB, free: 46.91 MB / 378.7 MB