Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Media.Incompressible.Examples.TestGlycol.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/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.2_Modelica.Media.Incompressible.Examples.TestGlycol") Notification: Performance of loadModel(Modelica): time 1.976/1.976, allocations: 194.9 MB / 211.7 MB, free: 3 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000473/0.0004732, allocations: 12 kB / 264.5 MB, free: 12.94 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09567/0.09617, allocations: 44.5 MB / 309 MB, free: 380 kB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5685/0.6648, allocations: 187.8 MB / 496.8 MB, free: 4.086 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003599/0.6652, allocations: 80.52 kB / 496.9 MB, free: 4.043 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.09819/0.7634, allocations: 22.78 MB / 0.5075 GB, free: 404 kB / 394.7 MB Notification: Performance of FrontEnd: time 2.715e-06/0.7635, allocations: 0 / 0.5075 GB, free: 404 kB / 394.7 MB Notification: Performance of Transformations before backend: time 1.268e-05/0.7635, allocations: 4 kB / 0.5075 GB, free: 400 kB / 394.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.0007436/0.7642, allocations: 450.2 kB / 0.5079 GB, free: 15.91 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.545e-05/0.7643, allocations: 8.031 kB / 0.5079 GB, free: 15.9 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004205/0.7647, allocations: 30.69 kB / 0.508 GB, free: 15.88 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002916/0.765, allocations: 194.1 kB / 0.5081 GB, free: 15.65 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.704e-05/0.7651, allocations: 6.625 kB / 0.5081 GB, free: 15.65 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.614e-05/0.7651, allocations: 6.562 kB / 0.5082 GB, free: 15.64 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003367/0.7655, allocations: 136.2 kB / 0.5083 GB, free: 15.52 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.321e-05/0.7655, allocations: 3.953 kB / 0.5083 GB, free: 15.52 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.506e-05/0.7655, allocations: 2.062 kB / 0.5083 GB, free: 15.52 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.475e-05/0.7655, allocations: 4 kB / 0.5083 GB, free: 15.51 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002619/0.7658, allocations: 112.6 kB / 0.5084 GB, free: 15.43 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009314/0.7668, allocations: 0.6262 MB / 0.509 GB, free: 14.8 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000211/0.767, allocations: 85.73 kB / 0.5091 GB, free: 14.72 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008564/0.7679, allocations: 0.8023 MB / 0.5099 GB, free: 13.74 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.188e-05/0.7679, allocations: 40.75 kB / 0.5099 GB, free: 13.7 MB / 410.7 MB Notification: Performance of pre-optimization done (n=13): time 3.336e-06/0.7679, allocations: 0 / 0.5099 GB, free: 13.7 MB / 410.7 MB Notification: Performance of matching and sorting (n=13): time 0.000435/0.7684, allocations: 126.4 kB / 0.51 GB, free: 13.59 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.097e-05/0.7684, allocations: 51.41 kB / 0.5101 GB, free: 13.53 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001336/0.7686, allocations: 120.5 kB / 0.5102 GB, free: 13.4 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.74e-05/0.7686, allocations: 29.7 kB / 0.5102 GB, free: 13.36 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.724e-05/0.7687, allocations: 99.88 kB / 0.5103 GB, free: 13.26 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.241e-05/0.7688, allocations: 47.34 kB / 0.5104 GB, free: 13.21 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.135e-05/0.7688, allocations: 4 kB / 0.5104 GB, free: 13.21 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001768/0.769, allocations: 322.8 kB / 0.5107 GB, free: 12.89 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.218e-05/0.7691, allocations: 23.98 kB / 0.5107 GB, free: 12.86 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001209/0.7692, allocations: 69.08 kB / 0.5108 GB, free: 12.78 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001066/0.7693, allocations: 39.94 kB / 0.5108 GB, free: 12.74 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.43e-06/0.7693, allocations: 4 kB / 0.5108 GB, free: 12.73 MB / 410.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.000343/0.7697, allocations: 130 kB / 0.5109 GB, free: 12.6 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.955e-05/0.7697, allocations: 5.406 kB / 0.5109 GB, free: 12.6 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.113e-06/0.7698, allocations: 0 / 0.5109 GB, free: 12.6 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.986e-05/0.7698, allocations: 4 kB / 0.5109 GB, free: 12.59 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002237/0.77, allocations: 35.91 kB / 0.511 GB, free: 12.56 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.145e-05/0.77, allocations: 4 kB / 0.511 GB, free: 12.55 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001143/0.7702, allocations: 20 kB / 0.511 GB, free: 12.54 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.809e-05/0.7702, allocations: 4 kB / 0.511 GB, free: 12.53 MB / 410.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 0.0001289/0.7703, allocations: 129.7 kB / 0.5111 GB, free: 12.39 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.031e-05/0.7704, allocations: 7.906 kB / 0.5111 GB, free: 12.39 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000486/0.7709, allocations: 158.5 kB / 0.5113 GB, free: 12.23 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.035e-06/0.7709, allocations: 8 kB / 0.5113 GB, free: 12.22 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.09e-06/0.7709, allocations: 0 / 0.5113 GB, free: 12.22 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.32e-06/0.7709, allocations: 0 / 0.5113 GB, free: 12.22 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007332/0.7717, allocations: 386.5 kB / 0.5117 GB, free: 11.79 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.451e-06/0.7717, allocations: 7.922 kB / 0.5117 GB, free: 11.78 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001492/0.7719, allocations: 24 kB / 0.5117 GB, free: 11.75 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5e-06/0.7719, allocations: 0 / 0.5117 GB, free: 11.75 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.854e-05/0.7719, allocations: 7.984 kB / 0.5117 GB, free: 11.75 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.743e-06/0.7719, allocations: 7.938 kB / 0.5117 GB, free: 11.74 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.944e-06/0.7719, allocations: 4 kB / 0.5117 GB, free: 11.73 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000298/0.7723, allocations: 195.4 kB / 0.5119 GB, free: 11.53 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001066/0.7724, allocations: 104.9 kB / 0.512 GB, free: 11.41 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.639e-05/0.7724, allocations: 4 kB / 0.512 GB, free: 11.4 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001421/0.7726, allocations: 0 / 0.512 GB, free: 11.4 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.216e-05/0.7726, allocations: 11.98 kB / 0.512 GB, free: 11.39 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.623e-05/0.7726, allocations: 8 kB / 0.512 GB, free: 11.38 MB / 410.7 MB Notification: Performance of sorting global known variables: time 7.642e-05/0.7727, allocations: 91.27 kB / 0.5121 GB, free: 11.29 MB / 410.7 MB Notification: Performance of sort global known variables: time 4.51e-07/0.7727, allocations: 4 kB / 0.5121 GB, free: 11.29 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0005188/0.7733, allocations: 59.92 kB / 0.5122 GB, free: 11.23 MB / 410.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.0003791/0.7737, allocations: 167.1 kB / 0.5123 GB, free: 11.05 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0002589/0.7739, allocations: 75.91 kB / 0.5124 GB, free: 10.98 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.216e-06/0.774, allocations: 0 / 0.5124 GB, free: 10.98 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 9.242e-05/0.7741, allocations: 43.92 kB / 0.5124 GB, free: 10.94 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005263/0.7746, allocations: 44.22 kB / 0.5125 GB, free: 10.89 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006147/0.7752, allocations: 307.4 kB / 0.5128 GB, free: 10.57 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003501/0.7756, allocations: 0.6931 MB / 0.5135 GB, free: 9.848 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.000258/0.7759, allocations: 32.69 kB / 0.5135 GB, free: 9.812 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.125e-05/0.776, allocations: 23.42 kB / 0.5135 GB, free: 9.789 MB / 410.7 MB Notification: Performance of SimCode: time 1.032e-06/0.776, allocations: 0 / 0.5135 GB, free: 9.789 MB / 410.7 MB Notification: Performance of Templates: time 0.008182/0.7842, allocations: 2.235 MB / 0.5157 GB, free: 7.578 MB / 410.7 MB