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.633/1.633, allocations: 171.2 MB / 184.3 MB, free: 11.95 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 2.521e-05/2.542e-05, allocations: 0 / 228.8 MB, free: 15.31 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2129/0.2129, allocations: 38.77 MB / 267.6 MB, free: 9.426 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.522/6.735, allocations: 2.791 GB / 3.052 GB, free: 74.86 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002592/6.735, allocations: 91.98 kB / 3.053 GB, free: 74.8 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.623/10.36, allocations: 0.9482 GB / 4.001 GB, free: 48.75 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.987e-06/10.36, allocations: 0 / 4.001 GB, free: 48.75 MB / 362.7 MB Notification: Performance of Transformations before backend: time 2.071e-05/10.36, allocations: 3.562 kB / 4.001 GB, free: 48.75 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.003938/10.36, allocations: 1.18 MB / 4.002 GB, free: 48.12 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.056e-05/10.36, allocations: 11.73 kB / 4.002 GB, free: 48.12 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003634/10.36, allocations: 44.66 kB / 4.002 GB, free: 48.1 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003752/10.36, allocations: 280.8 kB / 4.002 GB, free: 47.88 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.199e-05/10.36, allocations: 18.94 kB / 4.002 GB, free: 47.88 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.978e-05/10.36, allocations: 24.75 kB / 4.002 GB, free: 47.88 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005531/10.36, allocations: 298.2 kB / 4.003 GB, free: 47.79 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.806e-05/10.36, allocations: 1.5 kB / 4.003 GB, free: 47.79 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.229e-05/10.36, allocations: 9.875 kB / 4.003 GB, free: 47.79 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.738e-06/10.36, allocations: 6.688 kB / 4.003 GB, free: 47.79 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004095/10.36, allocations: 196.3 kB / 4.003 GB, free: 47.79 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001724/10.37, allocations: 1.426 MB / 4.004 GB, free: 46.76 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003658/10.37, allocations: 178.4 kB / 4.004 GB, free: 46.73 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001819/10.37, allocations: 91.88 kB / 4.004 GB, free: 46.72 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.459e-05/10.37, allocations: 3.75 kB / 4.004 GB, free: 46.72 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.097e-05/10.37, allocations: 34.72 kB / 4.004 GB, free: 46.68 MB / 362.7 MB Notification: Performance of pre-optimization done (n=21): time 3.307e-06/10.37, allocations: 3.781 kB / 4.004 GB, free: 46.68 MB / 362.7 MB Notification: Performance of matching and sorting (n=26): time 0.00275/10.37, allocations: 0.8595 MB / 4.005 GB, free: 46.36 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.448e-05/10.37, allocations: 55 kB / 4.005 GB, free: 46.3 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002868/10.37, allocations: 233.5 kB / 4.006 GB, free: 46.18 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.882e-05/10.37, allocations: 31.27 kB / 4.006 GB, free: 46.15 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.736e-05/10.37, allocations: 242.8 kB / 4.006 GB, free: 45.96 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.088e-05/10.37, allocations: 89.34 kB / 4.006 GB, free: 45.91 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.011e-05/10.37, allocations: 9.938 kB / 4.006 GB, free: 45.91 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 6.169e-05/10.37, allocations: 325.7 kB / 4.006 GB, free: 45.59 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001883/10.37, allocations: 85.44 kB / 4.006 GB, free: 45.59 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002283/10.37, allocations: 172.7 kB / 4.006 GB, free: 45.48 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002511/10.37, allocations: 110.7 kB / 4.007 GB, free: 45.48 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.236e-06/10.37, allocations: 7.5 kB / 4.007 GB, free: 45.48 MB / 362.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0008861/10.37, allocations: 362.4 kB / 4.007 GB, free: 45.42 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.026e-05/10.37, allocations: 10.38 kB / 4.007 GB, free: 45.42 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.168e-06/10.37, allocations: 0 / 4.007 GB, free: 45.42 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003226/10.37, allocations: 61.83 kB / 4.007 GB, free: 45.41 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003478/10.37, allocations: 70.8 kB / 4.007 GB, free: 45.41 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001975/10.37, allocations: 2.672 MB / 4.01 GB, free: 42.9 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003912/10.37, allocations: 24.19 kB / 4.01 GB, free: 42.9 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.238e-05/10.37, allocations: 13.31 kB / 4.01 GB, free: 42.9 MB / 362.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 () * 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.0001123/10.37, allocations: 126.1 kB / 4.01 GB, free: 42.79 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.728e-05/10.37, allocations: 32.23 kB / 4.01 GB, free: 42.77 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.707e-05/10.37, allocations: 41.89 kB / 4.01 GB, free: 42.77 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.448e-06/10.37, allocations: 0 / 4.01 GB, free: 42.77 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.345e-06/10.37, allocations: 3.469 kB / 4.01 GB, free: 42.77 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006177/10.38, allocations: 0.5551 MB / 4.01 GB, free: 42.32 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001195/10.38, allocations: 0.6915 MB / 4.011 GB, free: 42 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.487e-06/10.38, allocations: 3.406 kB / 4.011 GB, free: 42 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002633/10.38, allocations: 45.58 kB / 4.011 GB, free: 42 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002767/10.38, allocations: 52.47 kB / 4.011 GB, free: 41.99 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.771e-05/10.38, allocations: 3.875 kB / 4.011 GB, free: 41.99 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001074/10.38, allocations: 1.392 MB / 4.013 GB, free: 40.73 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.601e-06/10.38, allocations: 3.531 kB / 4.013 GB, free: 40.73 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008106/10.38, allocations: 471.5 kB / 4.013 GB, free: 40.55 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.645e-05/10.38, allocations: 105.2 kB / 4.013 GB, free: 40.44 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.73e-05/10.38, allocations: 10.69 kB / 4.013 GB, free: 40.44 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002974/10.38, allocations: 11.81 kB / 4.013 GB, free: 40.44 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.358e-05/10.38, allocations: 21.44 kB / 4.013 GB, free: 40.43 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.823e-05/10.38, allocations: 11.02 kB / 4.013 GB, free: 40.43 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.000205/10.38, allocations: 185.1 kB / 4.013 GB, free: 40.36 MB / 362.7 MB Notification: Performance of sort global known variables: time 7.38e-07/10.38, allocations: 4.391 kB / 4.013 GB, free: 40.36 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0007543/10.38, allocations: 115.8 kB / 4.013 GB, free: 40.36 MB / 362.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 () * 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.0003959/10.38, allocations: 296.5 kB / 4.014 GB, free: 40.26 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0008366/10.38, allocations: 470.9 kB / 4.014 GB, free: 40.04 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 4.962e-06/10.38, allocations: 0 / 4.014 GB, free: 40.04 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004451/10.38, allocations: 240.2 kB / 4.014 GB, free: 39.92 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0011/10.38, allocations: 157.5 kB / 4.015 GB, free: 39.92 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001119/10.38, allocations: 0.5176 MB / 4.015 GB, free: 39.73 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009214/10.39, allocations: 0.7658 MB / 4.016 GB, free: 55.04 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001141/10.39, allocations: 31 kB / 4.016 GB, free: 55.03 MB / 378.7 MB Notification: Performance of SimCode: time 1.686e-06/10.39, allocations: 0 / 4.016 GB, free: 55.03 MB / 378.7 MB Notification: Performance of Templates: time 0.01097/10.4, allocations: 7.151 MB / 4.023 GB, free: 54.93 MB / 378.7 MB