Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.1_cpp_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_cpp_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearColdWater") Notification: Performance of loadModel(Modelica): time 1.71/1.71, allocations: 171.2 MB / 187.3 MB, free: 1.121 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003599/0.00036, allocations: 8 kB / 233.8 MB, free: 3.055 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0863/0.08669, allocations: 38.76 MB / 272.6 MB, free: 12.21 MB / 234.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.228/1.315, allocations: 357.3 MB / 0.6151 GB, free: 97.47 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003255/1.315, allocations: 90.95 kB / 0.6152 GB, free: 97.42 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2683/1.583, allocations: 81.31 MB / 0.6946 GB, free: 21.89 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.535e-06/1.583, allocations: 0 / 0.6946 GB, free: 21.89 MB / 362.7 MB Notification: Performance of Transformations before backend: time 2.403e-05/1.583, allocations: 8 kB / 0.6946 GB, free: 21.88 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.001252/1.585, allocations: 0.6244 MB / 0.6952 GB, free: 21.21 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.177e-05/1.585, allocations: 8.031 kB / 0.6952 GB, free: 21.2 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003488/1.585, allocations: 43.7 kB / 0.6952 GB, free: 21.16 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004225/1.585, allocations: 282.8 kB / 0.6955 GB, free: 20.84 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.746e-05/1.586, allocations: 24.52 kB / 0.6955 GB, free: 20.82 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.416e-05/1.586, allocations: 24 kB / 0.6956 GB, free: 20.79 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006366/1.586, allocations: 299.7 kB / 0.6958 GB, free: 20.47 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.009e-05/1.586, allocations: 4 kB / 0.6959 GB, free: 20.47 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.101e-05/1.586, allocations: 15.94 kB / 0.6959 GB, free: 20.45 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.069e-05/1.586, allocations: 8 kB / 0.6959 GB, free: 20.45 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004619/1.587, allocations: 193.6 kB / 0.6961 GB, free: 20.26 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00209/1.589, allocations: 1.44 MB / 0.6975 GB, free: 18.7 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004171/1.589, allocations: 171.2 kB / 0.6976 GB, free: 18.52 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.181e-05/1.589, allocations: 4.188 kB / 0.6976 GB, free: 18.52 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.782e-05/1.589, allocations: 34.7 kB / 0.6977 GB, free: 18.47 MB / 362.7 MB Notification: Performance of pre-optimization done (n=21): time 2.935e-06/1.59, allocations: 0 / 0.6977 GB, free: 18.47 MB / 362.7 MB Notification: Performance of matching and sorting (n=26): time 0.003757/1.593, allocations: 1.007 MB / 0.6986 GB, free: 17.39 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.845e-05/1.593, allocations: 59.41 kB / 0.6987 GB, free: 17.32 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003921/1.594, allocations: 254.6 kB / 0.6989 GB, free: 17.06 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 5.202e-05/1.594, allocations: 33.7 kB / 0.699 GB, free: 17.02 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001117/1.594, allocations: 234.6 kB / 0.6992 GB, free: 16.79 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.336e-05/1.594, allocations: 94.64 kB / 0.6993 GB, free: 16.7 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.694e-05/1.594, allocations: 8 kB / 0.6993 GB, free: 16.69 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 7.961e-05/1.594, allocations: 326.8 kB / 0.6996 GB, free: 16.36 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002308/1.594, allocations: 87.75 kB / 0.6997 GB, free: 16.28 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002742/1.595, allocations: 178.9 kB / 0.6999 GB, free: 16.06 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000309/1.595, allocations: 115.9 kB / 0.7 GB, free: 15.95 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.978e-06/1.595, allocations: 0 / 0.7 GB, free: 15.95 MB / 362.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.001091/1.596, allocations: 370.8 kB / 0.7003 GB, free: 15.57 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.804e-05/1.596, allocations: 8 kB / 0.7003 GB, free: 15.57 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.221e-05/1.596, allocations: 0 / 0.7003 GB, free: 15.57 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004366/1.597, allocations: 77.91 kB / 0.7004 GB, free: 15.48 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005137/1.597, allocations: 67.91 kB / 0.7005 GB, free: 15.42 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002425/1.6, allocations: 2.693 MB / 0.7031 GB, free: 12.45 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000484/1.6, allocations: 16.06 kB / 0.7031 GB, free: 12.44 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.298e-05/1.6, allocations: 16 kB / 0.7031 GB, free: 12.42 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.000232/1.6, allocations: 157.7 kB / 0.7033 GB, free: 12.26 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.672e-05/1.601, allocations: 27.67 kB / 0.7033 GB, free: 12.23 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.832e-05/1.601, allocations: 42.17 kB / 0.7034 GB, free: 12.2 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.18e-06/1.601, allocations: 4 kB / 0.7034 GB, free: 12.19 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.973e-06/1.601, allocations: 0 / 0.7034 GB, free: 12.19 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007805/1.601, allocations: 0.5552 MB / 0.7039 GB, free: 11.55 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001375/1.603, allocations: 0.7108 MB / 0.7046 GB, free: 10.77 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.138e-06/1.603, allocations: 0 / 0.7046 GB, free: 10.77 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003731/1.603, allocations: 43.92 kB / 0.7046 GB, free: 10.73 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00045/1.604, allocations: 60.77 kB / 0.7047 GB, free: 10.67 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.813e-05/1.604, allocations: 4 kB / 0.7047 GB, free: 10.66 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001339/1.605, allocations: 1.413 MB / 0.7061 GB, free: 9.117 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.943e-06/1.605, allocations: 4.062 kB / 0.7061 GB, free: 9.113 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001018/1.606, allocations: 477 kB / 0.7065 GB, free: 8.625 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001029/1.606, allocations: 96.86 kB / 0.7066 GB, free: 8.512 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.396e-05/1.606, allocations: 4 kB / 0.7066 GB, free: 8.508 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003756/1.607, allocations: 23.98 kB / 0.7067 GB, free: 8.484 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.199e-05/1.607, allocations: 19.97 kB / 0.7067 GB, free: 8.465 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.802e-05/1.607, allocations: 4 kB / 0.7067 GB, free: 8.461 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002567/1.607, allocations: 190 kB / 0.7069 GB, free: 8.273 MB / 362.7 MB Notification: Performance of sort global known variables: time 3.9e-07/1.607, allocations: 0 / 0.7069 GB, free: 8.273 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0006422/1.608, allocations: 96 kB / 0.707 GB, free: 8.18 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.0002902/1.608, allocations: 163.3 kB / 0.7071 GB, free: 8.008 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0009944/1.609, allocations: 473 kB / 0.7076 GB, free: 7.52 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.897e-06/1.609, allocations: 0 / 0.7076 GB, free: 7.52 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005132/1.61, allocations: 239.3 kB / 0.7078 GB, free: 7.273 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001425/1.611, allocations: 152.4 kB / 0.7079 GB, free: 7.125 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001607/1.613, allocations: 0.8532 MB / 0.7088 GB, free: 6.238 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002354/1.613, allocations: 0.7648 MB / 0.7095 GB, free: 5.445 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001314/1.613, allocations: 27.44 kB / 0.7095 GB, free: 5.418 MB / 362.7 MB Notification: Performance of SimCode: time 1.303e-06/1.613, allocations: 0 / 0.7095 GB, free: 5.418 MB / 362.7 MB Notification: Performance of Templates: time 0.2414/1.855, allocations: 6.298 MB / 0.7157 GB, free: 98.54 MB / 362.7 MB