Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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/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.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.613/1.613, allocations: 171.1 MB / 187.3 MB, free: 1.152 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003589/0.000359, allocations: 8 kB / 233.8 MB, free: 3.09 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08229/0.08267, allocations: 38.76 MB / 272.5 MB, free: 12.25 MB / 234.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.7824/0.8651, allocations: 182.4 MB / 454.9 MB, free: 92.09 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002435/0.8654, allocations: 77.58 kB / 455 MB, free: 92.09 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.07651/0.9419, allocations: 22.32 MB / 477.3 MB, free: 80.5 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.955e-06/0.942, allocations: 0 / 477.3 MB, free: 80.5 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.305e-05/0.942, allocations: 7.938 kB / 477.3 MB, free: 80.49 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.000562/0.9426, allocations: 441.6 kB / 477.7 MB, free: 80.02 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.859e-05/0.9426, allocations: 8.031 kB / 477.7 MB, free: 80.02 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003876/0.943, allocations: 27.89 kB / 477.8 MB, free: 79.99 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001988/0.9432, allocations: 202.1 kB / 478 MB, free: 79.76 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.726e-05/0.9433, allocations: 7.984 kB / 478 MB, free: 79.75 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.992e-05/0.9433, allocations: 7.75 kB / 478 MB, free: 79.75 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002819/0.9436, allocations: 130.8 kB / 478.1 MB, free: 79.63 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.22e-05/0.9436, allocations: 0 / 478.1 MB, free: 79.63 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.51e-05/0.9436, allocations: 11.62 kB / 478.1 MB, free: 79.62 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.284e-06/0.9437, allocations: 4 kB / 478.1 MB, free: 79.62 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002221/0.9439, allocations: 113.6 kB / 478.2 MB, free: 79.53 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007589/0.9447, allocations: 0.6158 MB / 478.9 MB, free: 78.91 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001815/0.9449, allocations: 94.48 kB / 478.9 MB, free: 78.83 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005836/0.9455, allocations: 0.8095 MB / 479.8 MB, free: 77.84 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.869e-05/0.9455, allocations: 36.44 kB / 479.8 MB, free: 77.8 MB / 346.7 MB Notification: Performance of pre-optimization done (n=13): time 2.164e-06/0.9455, allocations: 0 / 479.8 MB, free: 77.8 MB / 346.7 MB Notification: Performance of matching and sorting (n=13): time 0.0003714/0.9459, allocations: 127 kB / 479.9 MB, free: 77.69 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.14e-05/0.9459, allocations: 55.34 kB / 480 MB, free: 77.62 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.475e-05/0.946, allocations: 116.3 kB / 480.1 MB, free: 77.5 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.852e-05/0.9461, allocations: 33.14 kB / 480.1 MB, free: 77.47 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.56e-05/0.9461, allocations: 177.5 kB / 480.3 MB, free: 77.3 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.464e-05/0.9462, allocations: 38.77 kB / 480.3 MB, free: 77.26 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.568e-06/0.9462, allocations: 3.312 kB / 480.3 MB, free: 77.26 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 5.983e-05/0.9463, allocations: 314 kB / 480.6 MB, free: 76.95 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.718e-05/0.9464, allocations: 26.61 kB / 480.7 MB, free: 76.93 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.8e-05/0.9465, allocations: 71.56 kB / 480.7 MB, free: 76.85 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.747e-05/0.9466, allocations: 32.88 kB / 480.8 MB, free: 76.83 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.715e-06/0.9466, allocations: 4 kB / 480.8 MB, free: 76.83 MB / 346.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002752/0.9469, allocations: 139.8 kB / 480.9 MB, free: 76.71 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.812e-05/0.9469, allocations: 14.08 kB / 480.9 MB, free: 76.7 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.803e-06/0.9469, allocations: 4.156 kB / 480.9 MB, free: 76.7 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.841e-05/0.9469, allocations: 4 kB / 480.9 MB, free: 76.69 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002017/0.9471, allocations: 27.98 kB / 481 MB, free: 76.66 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.031e-05/0.9472, allocations: 7.984 kB / 481 MB, free: 76.66 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001029/0.9473, allocations: 14.97 kB / 481 MB, free: 76.64 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.718e-05/0.9473, allocations: 8 kB / 481 MB, free: 76.64 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 9.106e-05/0.9474, allocations: 120.2 kB / 481.1 MB, free: 76.52 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.104e-05/0.9475, allocations: 11.84 kB / 481.1 MB, free: 76.5 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004166/0.9479, allocations: 147.9 kB / 481.3 MB, free: 76.38 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.35e-06/0.9479, allocations: 4 kB / 481.3 MB, free: 76.38 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.779e-06/0.9479, allocations: 3.938 kB / 481.3 MB, free: 76.37 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.769e-06/0.9479, allocations: 3.984 kB / 481.3 MB, free: 76.37 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005536/0.9485, allocations: 384.2 kB / 481.6 MB, free: 75.98 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.757e-06/0.9485, allocations: 3.953 kB / 481.6 MB, free: 75.97 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001399/0.9487, allocations: 31.92 kB / 481.7 MB, free: 75.94 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.268e-06/0.9487, allocations: 0 / 481.7 MB, free: 75.94 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.375e-05/0.9487, allocations: 3.984 kB / 481.7 MB, free: 75.94 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.277e-06/0.9487, allocations: 4 kB / 481.7 MB, free: 75.93 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.903e-06/0.9487, allocations: 0 / 481.7 MB, free: 75.93 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002247/0.949, allocations: 193.2 kB / 481.9 MB, free: 75.75 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.199e-05/0.949, allocations: 111.2 kB / 482 MB, free: 75.63 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.638e-05/0.9491, allocations: 3.125 kB / 482 MB, free: 75.63 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001401/0.9492, allocations: 4 kB / 482 MB, free: 75.62 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.487e-05/0.9493, allocations: 11.42 kB / 482 MB, free: 75.62 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.184e-05/0.9493, allocations: 8 kB / 482 MB, free: 75.61 MB / 346.7 MB Notification: Performance of sorting global known variables: time 4.93e-05/0.9494, allocations: 90.27 kB / 482.1 MB, free: 75.52 MB / 346.7 MB Notification: Performance of sort global known variables: time 3.51e-07/0.9494, allocations: 4 kB / 482.1 MB, free: 75.52 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.000471/0.9498, allocations: 58.55 kB / 482.2 MB, free: 75.47 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.0003007/0.9502, allocations: 170.1 kB / 482.3 MB, free: 75.3 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0002298/0.9504, allocations: 76.16 kB / 482.4 MB, free: 75.24 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.9504, allocations: 0 / 482.4 MB, free: 75.24 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 7.671e-05/0.9505, allocations: 45.92 kB / 482.4 MB, free: 75.2 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005067/0.951, allocations: 43.7 kB / 482.5 MB, free: 75.17 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005031/0.9515, allocations: 322.3 kB / 482.8 MB, free: 74.83 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001559/0.9517, allocations: 0.697 MB / 483.5 MB, free: 74.11 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.085e-05/0.9518, allocations: 27.41 kB / 483.5 MB, free: 74.08 MB / 346.7 MB Notification: Performance of SimCode: time 1.172e-06/0.9518, allocations: 0 / 483.5 MB, free: 74.08 MB / 346.7 MB Notification: Performance of Templates: time 0.005474/0.9573, allocations: 2.26 MB / 485.8 MB, free: 71.83 MB / 346.7 MB