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.LinearFluid.LinearColdWater.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.LinearFluid.LinearColdWater,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearColdWater") Notification: Performance of loadModel(Modelica): time 1.955/1.955, allocations: 171.1 MB / 186.7 MB, free: 1.133 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003514/0.0003515, allocations: 12 kB / 233.9 MB, free: 2.375 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08346/0.08384, allocations: 38.76 MB / 272.6 MB, free: 11.53 MB / 234.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.23/1.314, allocations: 357.3 MB / 0.6152 GB, free: 97.15 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004066/1.315, allocations: 91.56 kB / 0.6153 GB, free: 97.09 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2603/1.575, allocations: 81.33 MB / 0.6947 GB, free: 21.41 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.124e-06/1.575, allocations: 4.188 kB / 0.6947 GB, free: 21.41 MB / 362.7 MB Notification: Performance of Transformations before backend: time 2.268e-05/1.575, allocations: 4 kB / 0.6947 GB, free: 21.41 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.001188/1.576, allocations: 0.6244 MB / 0.6953 GB, free: 20.73 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.911e-05/1.576, allocations: 8.031 kB / 0.6953 GB, free: 20.73 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000347/1.577, allocations: 43.72 kB / 0.6953 GB, free: 20.68 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004098/1.577, allocations: 270.6 kB / 0.6956 GB, free: 20.38 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.828e-05/1.577, allocations: 24.52 kB / 0.6956 GB, free: 20.35 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.077e-05/1.577, allocations: 24 kB / 0.6956 GB, free: 20.33 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006095/1.578, allocations: 295.7 kB / 0.6959 GB, free: 20.01 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.02e-05/1.578, allocations: 8 kB / 0.6959 GB, free: 20 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.424e-05/1.578, allocations: 8 kB / 0.6959 GB, free: 20 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.639e-06/1.578, allocations: 8 kB / 0.6959 GB, free: 19.99 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004682/1.579, allocations: 201.5 kB / 0.6961 GB, free: 19.79 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001958/1.58, allocations: 1.432 MB / 0.6975 GB, free: 18.24 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000412/1.581, allocations: 171.2 kB / 0.6977 GB, free: 18.06 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.474e-05/1.581, allocations: 8.172 kB / 0.6977 GB, free: 18.05 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.131e-05/1.581, allocations: 34.7 kB / 0.6977 GB, free: 18.01 MB / 362.7 MB Notification: Performance of pre-optimization done (n=21): time 2.815e-06/1.581, allocations: 4 kB / 0.6977 GB, free: 18.01 MB / 362.7 MB Notification: Performance of matching and sorting (n=26): time 0.003575/1.585, allocations: 1.003 MB / 0.6987 GB, free: 16.93 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.552e-05/1.585, allocations: 55.41 kB / 0.6988 GB, free: 16.86 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003165/1.585, allocations: 254.6 kB / 0.699 GB, free: 16.61 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.356e-05/1.585, allocations: 33.7 kB / 0.6991 GB, free: 16.57 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.871e-05/1.585, allocations: 180.1 kB / 0.6992 GB, free: 16.39 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.143e-05/1.585, allocations: 90.72 kB / 0.6993 GB, free: 16.3 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.339e-05/1.585, allocations: 4 kB / 0.6993 GB, free: 16.3 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 7.67e-05/1.585, allocations: 342.8 kB / 0.6996 GB, free: 15.95 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002223/1.586, allocations: 91.73 kB / 0.6997 GB, free: 15.86 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002727/1.586, allocations: 178.8 kB / 0.6999 GB, free: 15.65 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002897/1.586, allocations: 112 kB / 0.7 GB, free: 15.54 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.715e-06/1.586, allocations: 0 / 0.7 GB, free: 15.54 MB / 362.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0009882/1.587, allocations: 386.6 kB / 0.7004 GB, free: 15.15 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.832e-05/1.587, allocations: 4 kB / 0.7004 GB, free: 15.14 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.948e-06/1.587, allocations: 4 kB / 0.7004 GB, free: 15.14 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003972/1.588, allocations: 77.92 kB / 0.7005 GB, free: 15.06 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004892/1.588, allocations: 75.84 kB / 0.7005 GB, free: 14.98 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00235/1.591, allocations: 2.678 MB / 0.7031 GB, free: 12.04 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004686/1.591, allocations: 31.86 kB / 0.7032 GB, free: 12 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.611e-05/1.591, allocations: 12 kB / 0.7032 GB, free: 11.99 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 () * 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.0003005/1.591, allocations: 153.8 kB / 0.7033 GB, free: 11.83 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.37e-05/1.591, allocations: 27.95 kB / 0.7034 GB, free: 11.8 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.853e-05/1.592, allocations: 42.11 kB / 0.7034 GB, free: 11.77 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.308e-06/1.592, allocations: 3.984 kB / 0.7034 GB, free: 11.77 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.192e-06/1.592, allocations: 0 / 0.7034 GB, free: 11.77 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007796/1.592, allocations: 0.563 MB / 0.704 GB, free: 11.11 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00134/1.594, allocations: 0.707 MB / 0.7046 GB, free: 10.34 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.817e-06/1.594, allocations: 0 / 0.7046 GB, free: 10.34 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003676/1.594, allocations: 43.92 kB / 0.7047 GB, free: 10.3 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004423/1.595, allocations: 60.81 kB / 0.7047 GB, free: 10.24 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.972e-05/1.595, allocations: 11.98 kB / 0.7048 GB, free: 10.23 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001322/1.596, allocations: 1.397 MB / 0.7061 GB, free: 8.695 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.984e-06/1.596, allocations: 0 / 0.7061 GB, free: 8.695 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009791/1.597, allocations: 473.2 kB / 0.7066 GB, free: 8.211 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.562e-05/1.597, allocations: 100.7 kB / 0.7067 GB, free: 8.094 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.567e-05/1.597, allocations: 12.12 kB / 0.7067 GB, free: 8.082 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003774/1.598, allocations: 11.94 kB / 0.7067 GB, free: 8.07 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.253e-05/1.598, allocations: 16.25 kB / 0.7067 GB, free: 8.055 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3e-05/1.598, allocations: 15.98 kB / 0.7067 GB, free: 8.039 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002279/1.598, allocations: 178 kB / 0.7069 GB, free: 7.863 MB / 362.7 MB Notification: Performance of sort global known variables: time 4.2e-07/1.598, allocations: 0 / 0.7069 GB, free: 7.863 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0006807/1.599, allocations: 100 kB / 0.707 GB, free: 7.766 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 () * 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.0002759/1.599, allocations: 175.1 kB / 0.7072 GB, free: 7.582 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0009297/1.6, allocations: 469.1 kB / 0.7076 GB, free: 7.098 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.747e-06/1.6, allocations: 0 / 0.7076 GB, free: 7.098 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005027/1.6, allocations: 239.2 kB / 0.7078 GB, free: 6.852 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001377/1.602, allocations: 156.3 kB / 0.708 GB, free: 6.699 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001584/1.603, allocations: 0.8239 MB / 0.7088 GB, free: 5.852 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000239/1.604, allocations: 0.7687 MB / 0.7095 GB, free: 5.055 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0004634/1.604, allocations: 54.94 kB / 0.7096 GB, free: 5.004 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001015/1.604, allocations: 23.44 kB / 0.7096 GB, free: 4.98 MB / 362.7 MB Notification: Performance of SimCode: time 1.012e-06/1.604, allocations: 0 / 0.7096 GB, free: 4.98 MB / 362.7 MB Notification: Performance of Templates: time 0.2884/1.893, allocations: 5.98 MB / 0.7154 GB, free: 99.09 MB / 362.7 MB