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.Incompressible.Examples.TestGlycol.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.Incompressible.Examples.TestGlycol,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|medium.T|eta|lambda|s|cv|u|h|d",fileNamePrefix="Modelica_3.2.1_cpp_Modelica.Media.Incompressible.Examples.TestGlycol") Notification: Performance of loadModel(Modelica): time 1.584/1.584, allocations: 171.1 MB / 186.7 MB, free: 1.129 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003592/0.0003593, allocations: 8 kB / 233.2 MB, free: 3.027 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06979/0.07018, allocations: 38.77 MB / 272 MB, free: 12.17 MB / 234.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5912/0.6614, allocations: 182.4 MB / 454.4 MB, free: 114.8 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002277/0.6617, allocations: 74.53 kB / 454.4 MB, free: 114.7 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06697/0.7287, allocations: 22.33 MB / 476.8 MB, free: 92.57 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.539e-06/0.7287, allocations: 0 / 476.8 MB, free: 92.57 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.251e-05/0.7288, allocations: 4 kB / 476.8 MB, free: 92.56 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.0004496/0.7292, allocations: 434.9 kB / 477.2 MB, free: 92.09 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.645e-05/0.7293, allocations: 12.03 kB / 477.2 MB, free: 92.08 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003694/0.7297, allocations: 27.83 kB / 477.2 MB, free: 92.05 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001593/0.7298, allocations: 199.3 kB / 477.4 MB, free: 91.82 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.028e-05/0.7299, allocations: 8 kB / 477.4 MB, free: 91.81 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.953e-05/0.7299, allocations: 4 kB / 477.5 MB, free: 91.8 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002348/0.7301, allocations: 138.7 kB / 477.6 MB, free: 91.65 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.897e-06/0.7302, allocations: 0 / 477.6 MB, free: 91.65 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.108e-05/0.7302, allocations: 4 kB / 477.6 MB, free: 91.65 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.362e-06/0.7302, allocations: 8 kB / 477.6 MB, free: 91.64 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001844/0.7304, allocations: 107.8 kB / 477.7 MB, free: 91.54 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000594/0.731, allocations: 0.622 MB / 478.3 MB, free: 90.85 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001452/0.7312, allocations: 86.55 kB / 478.4 MB, free: 90.76 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004553/0.7316, allocations: 0.8154 MB / 479.2 MB, free: 89.76 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.183e-05/0.7317, allocations: 34.56 kB / 479.3 MB, free: 89.71 MB / 346.7 MB Notification: Performance of pre-optimization done (n=13): time 2.241e-06/0.7317, allocations: 0 / 479.3 MB, free: 89.71 MB / 346.7 MB Notification: Performance of matching and sorting (n=13): time 0.0003122/0.732, allocations: 125.9 kB / 479.4 MB, free: 89.59 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.052e-05/0.732, allocations: 55.41 kB / 479.4 MB, free: 89.52 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.02e-05/0.7321, allocations: 113.1 kB / 479.5 MB, free: 89.4 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.525e-05/0.7322, allocations: 29.7 kB / 479.6 MB, free: 89.36 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.841e-05/0.7322, allocations: 174.2 kB / 479.7 MB, free: 89.19 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.894e-05/0.7323, allocations: 39.45 kB / 479.8 MB, free: 89.15 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.188e-06/0.7323, allocations: 4 kB / 479.8 MB, free: 89.15 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 4.954e-05/0.7323, allocations: 314.8 kB / 480.1 MB, free: 88.83 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.034e-05/0.7324, allocations: 27.97 kB / 480.1 MB, free: 88.8 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.766e-05/0.7325, allocations: 73.67 kB / 480.2 MB, free: 88.71 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8e-05/0.7326, allocations: 35.94 kB / 480.2 MB, free: 88.68 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.868e-06/0.7326, allocations: 0 / 480.2 MB, free: 88.68 MB / 346.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002499/0.7329, allocations: 130 kB / 480.4 MB, free: 88.55 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.576e-05/0.7329, allocations: 8.109 kB / 480.4 MB, free: 88.54 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.122e-06/0.7329, allocations: 4 kB / 480.4 MB, free: 88.54 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.578e-05/0.7329, allocations: 4 kB / 480.4 MB, free: 88.53 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001535/0.7331, allocations: 31.97 kB / 480.4 MB, free: 88.5 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.329e-06/0.7331, allocations: 4 kB / 480.4 MB, free: 88.5 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.337e-05/0.7332, allocations: 19.78 kB / 480.4 MB, free: 88.48 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.371e-05/0.7333, allocations: 8 kB / 480.4 MB, free: 88.47 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (18): * Single equations (assignments): 18 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.416e-05/0.7334, allocations: 117.8 kB / 480.5 MB, free: 88.34 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.05e-05/0.7334, allocations: 11.91 kB / 480.6 MB, free: 88.33 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003482/0.7338, allocations: 162.5 kB / 480.7 MB, free: 88.16 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.958e-06/0.7338, allocations: 4 kB / 480.7 MB, free: 88.16 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.873e-06/0.7338, allocations: 3.984 kB / 480.7 MB, free: 88.16 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.855e-06/0.7338, allocations: 0 / 480.7 MB, free: 88.16 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004656/0.7343, allocations: 382.5 kB / 481.1 MB, free: 87.73 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.785e-06/0.7343, allocations: 4 kB / 481.1 MB, free: 87.72 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.597e-05/0.7344, allocations: 31.88 kB / 481.1 MB, free: 87.69 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.644e-06/0.7344, allocations: 0 / 481.1 MB, free: 87.69 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.246e-05/0.7345, allocations: 7.984 kB / 481.1 MB, free: 87.68 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.441e-06/0.7345, allocations: 4 kB / 481.1 MB, free: 87.68 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.67e-06/0.7345, allocations: 0 / 481.1 MB, free: 87.68 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001986/0.7347, allocations: 191.4 kB / 481.3 MB, free: 87.48 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.986e-05/0.7348, allocations: 104.9 kB / 481.4 MB, free: 87.36 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.272e-05/0.7348, allocations: 7.953 kB / 481.4 MB, free: 87.35 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001262/0.7349, allocations: 4 kB / 481.4 MB, free: 87.34 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.111e-05/0.735, allocations: 11.92 kB / 481.5 MB, free: 87.33 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.038e-05/0.735, allocations: 12 kB / 481.5 MB, free: 87.32 MB / 346.7 MB Notification: Performance of sorting global known variables: time 4.448e-05/0.7351, allocations: 95.2 kB / 481.6 MB, free: 87.23 MB / 346.7 MB Notification: Performance of sort global known variables: time 7.65e-07/0.7351, allocations: 0 / 481.6 MB, free: 87.23 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0004518/0.7355, allocations: 55.98 kB / 481.6 MB, free: 87.17 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 simulation (13): * Single equations (assignments): 13 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002503/0.7358, allocations: 171 kB / 481.8 MB, free: 87 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0001862/0.736, allocations: 75.91 kB / 481.9 MB, free: 86.92 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.106e-06/0.736, allocations: 4 kB / 481.9 MB, free: 86.92 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 6.375e-05/0.7361, allocations: 40.23 kB / 481.9 MB, free: 86.88 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003866/0.7365, allocations: 43.89 kB / 481.9 MB, free: 86.84 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004189/0.7369, allocations: 328.8 kB / 482.3 MB, free: 86.48 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001385/0.7371, allocations: 0.6931 MB / 483 MB, free: 85.76 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.379e-05/0.7372, allocations: 23.42 kB / 483 MB, free: 85.74 MB / 346.7 MB Notification: Performance of SimCode: time 1.305e-06/0.7372, allocations: 4 kB / 483 MB, free: 85.73 MB / 346.7 MB Notification: Performance of Templates: time 0.004322/0.7415, allocations: 2.254 MB / 485.2 MB, free: 83.5 MB / 346.7 MB