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.LinearColdWater.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.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.647/1.647, allocations: 171.2 MB / 184.2 MB, free: 11.96 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 2.958e-05/2.959e-05, allocations: 4 kB / 228.8 MB, free: 15.32 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2098/0.2098, allocations: 38.77 MB / 267.6 MB, free: 9.434 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.7633/0.9732, allocations: 357.2 MB / 0.6102 GB, free: 17.51 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002632/0.9735, allocations: 90.31 kB / 0.6103 GB, free: 17.46 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4086/1.382, allocations: 80.92 MB / 0.6893 GB, free: 93.63 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.275e-06/1.382, allocations: 0 / 0.6893 GB, free: 93.63 MB / 362.7 MB Notification: Performance of Transformations before backend: time 2.24e-05/1.382, allocations: 8.375 kB / 0.6893 GB, free: 93.62 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.0009219/1.383, allocations: 0.5849 MB / 0.6899 GB, free: 92.99 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.196e-05/1.383, allocations: 16.02 kB / 0.6899 GB, free: 92.97 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003355/1.384, allocations: 35.62 kB / 0.6899 GB, free: 92.94 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003568/1.384, allocations: 282.5 kB / 0.6902 GB, free: 92.62 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.456e-05/1.384, allocations: 20.56 kB / 0.6902 GB, free: 92.6 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.153e-05/1.384, allocations: 27.95 kB / 0.6902 GB, free: 92.57 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00052/1.385, allocations: 291.7 kB / 0.6905 GB, free: 92.26 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.851e-05/1.385, allocations: 11.92 kB / 0.6905 GB, free: 92.25 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.317e-05/1.385, allocations: 12 kB / 0.6905 GB, free: 92.24 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.47e-06/1.385, allocations: 4 kB / 0.6905 GB, free: 92.23 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004013/1.385, allocations: 193.6 kB / 0.6907 GB, free: 92.04 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001761/1.387, allocations: 1.433 MB / 0.6921 GB, free: 90.49 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003687/1.387, allocations: 171.2 kB / 0.6923 GB, free: 90.32 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001649/1.387, allocations: 85.23 kB / 0.6924 GB, free: 90.23 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.633e-05/1.387, allocations: 4.188 kB / 0.6924 GB, free: 90.23 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.979e-05/1.388, allocations: 38.7 kB / 0.6924 GB, free: 90.18 MB / 362.7 MB Notification: Performance of pre-optimization done (n=21): time 3.736e-06/1.388, allocations: 0 / 0.6924 GB, free: 90.18 MB / 362.7 MB Notification: Performance of matching and sorting (n=26): time 0.002659/1.39, allocations: 0.8648 MB / 0.6932 GB, free: 89.26 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.719e-05/1.39, allocations: 59.36 kB / 0.6933 GB, free: 89.19 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000289/1.391, allocations: 242.8 kB / 0.6935 GB, free: 88.95 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.864e-05/1.391, allocations: 29.7 kB / 0.6936 GB, free: 88.91 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.367e-05/1.391, allocations: 222.5 kB / 0.6938 GB, free: 88.69 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.092e-05/1.391, allocations: 102.6 kB / 0.6939 GB, free: 88.59 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.019e-05/1.391, allocations: 8 kB / 0.6939 GB, free: 88.58 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 5.839e-05/1.391, allocations: 322.8 kB / 0.6942 GB, free: 88.26 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001842/1.391, allocations: 79.78 kB / 0.6943 GB, free: 88.18 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002261/1.391, allocations: 178.9 kB / 0.6944 GB, free: 87.96 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002501/1.392, allocations: 120 kB / 0.6945 GB, free: 87.85 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.592e-06/1.392, allocations: 3.938 kB / 0.6946 GB, free: 87.84 MB / 362.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0008454/1.392, allocations: 362.9 kB / 0.6949 GB, free: 87.48 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.911e-05/1.392, allocations: 4 kB / 0.6949 GB, free: 87.47 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.053e-05/1.393, allocations: 4 kB / 0.6949 GB, free: 87.47 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003364/1.393, allocations: 65.98 kB / 0.695 GB, free: 87.4 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003616/1.393, allocations: 67.91 kB / 0.695 GB, free: 87.33 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001995/1.395, allocations: 2.666 MB / 0.6976 GB, free: 84.39 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004453/1.396, allocations: 28.05 kB / 0.6977 GB, free: 84.37 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.171e-05/1.396, allocations: 15.94 kB / 0.6977 GB, free: 84.35 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.0001186/1.396, allocations: 124.9 kB / 0.6978 GB, free: 84.22 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.915e-05/1.396, allocations: 27.72 kB / 0.6978 GB, free: 84.2 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.892e-05/1.396, allocations: 37.95 kB / 0.6979 GB, free: 84.16 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.017e-06/1.396, allocations: 4 kB / 0.6979 GB, free: 84.16 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.447e-06/1.396, allocations: 0 / 0.6979 GB, free: 84.16 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006393/1.397, allocations: 0.5551 MB / 0.6984 GB, free: 83.51 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001212/1.398, allocations: 0.7108 MB / 0.6991 GB, free: 82.74 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.589e-06/1.398, allocations: 0 / 0.6991 GB, free: 82.74 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000275/1.398, allocations: 52 kB / 0.6991 GB, free: 82.69 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002874/1.399, allocations: 52.78 kB / 0.6992 GB, free: 82.63 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.73e-05/1.399, allocations: 4 kB / 0.6992 GB, free: 82.63 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001118/1.4, allocations: 1.386 MB / 0.7006 GB, free: 81.11 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.125e-06/1.4, allocations: 0 / 0.7006 GB, free: 81.11 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008626/1.401, allocations: 478.9 kB / 0.701 GB, free: 80.61 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001067/1.401, allocations: 96.86 kB / 0.7011 GB, free: 80.5 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.567e-05/1.401, allocations: 4 kB / 0.7011 GB, free: 80.5 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003125/1.401, allocations: 23.95 kB / 0.7011 GB, free: 80.47 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.634e-05/1.401, allocations: 15.98 kB / 0.7011 GB, free: 80.46 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.998e-05/1.401, allocations: 11.98 kB / 0.7012 GB, free: 80.45 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002212/1.402, allocations: 183.1 kB / 0.7013 GB, free: 80.27 MB / 362.7 MB Notification: Performance of sort global known variables: time 7.24e-07/1.402, allocations: 0 / 0.7013 GB, free: 80.27 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0006482/1.402, allocations: 111.9 kB / 0.7014 GB, free: 80.16 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.0002591/1.403, allocations: 163.2 kB / 0.7016 GB, free: 79.99 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0008954/1.403, allocations: 457.7 kB / 0.702 GB, free: 79.52 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 5.179e-06/1.404, allocations: 0 / 0.702 GB, free: 79.52 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004277/1.404, allocations: 234.4 kB / 0.7023 GB, free: 79.27 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001062/1.405, allocations: 151.4 kB / 0.7024 GB, free: 79.13 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001212/1.406, allocations: 0.5291 MB / 0.7029 GB, free: 78.57 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002237/1.407, allocations: 0.7765 MB / 0.7037 GB, free: 77.77 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001226/1.407, allocations: 31.38 kB / 0.7037 GB, free: 77.73 MB / 362.7 MB Notification: Performance of SimCode: time 2.311e-06/1.407, allocations: 0 / 0.7037 GB, free: 77.73 MB / 362.7 MB Notification: Performance of Templates: time 0.00956/1.416, allocations: 6.255 MB / 0.7098 GB, free: 71.48 MB / 362.7 MB