Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.1_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_Modelica.Media.Incompressible.Examples.TestGlycol") Notification: Performance of loadModel(Modelica): time 1.785/1.785, allocations: 171.2 MB / 186.7 MB, free: 1.035 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003517/0.0003519, allocations: 8 kB / 233.8 MB, free: 2.387 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08916/0.08954, allocations: 38.77 MB / 272.6 MB, free: 11.55 MB / 234.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.7425/0.8321, allocations: 182.4 MB / 455 MB, free: 91.48 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002661/0.8324, allocations: 82.7 kB / 455.1 MB, free: 91.48 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.07542/0.9078, allocations: 22.34 MB / 477.4 MB, free: 79.59 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.395e-06/0.9079, allocations: 0 / 477.4 MB, free: 79.59 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.466e-05/0.9079, allocations: 4 kB / 477.4 MB, free: 79.58 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.0005876/0.9085, allocations: 437.9 kB / 477.8 MB, free: 79.11 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.301e-05/0.9086, allocations: 8.031 kB / 477.8 MB, free: 79.11 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000417/0.909, allocations: 35.5 kB / 477.9 MB, free: 79.07 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002151/0.9092, allocations: 194 kB / 478.1 MB, free: 78.85 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.67e-05/0.9093, allocations: 7.625 kB / 478.1 MB, free: 78.85 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.007e-05/0.9093, allocations: 7.562 kB / 478.1 MB, free: 78.84 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002863/0.9096, allocations: 129.8 kB / 478.2 MB, free: 78.72 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.143e-05/0.9096, allocations: 4 kB / 478.2 MB, free: 78.72 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.417e-05/0.9096, allocations: 3.75 kB / 478.2 MB, free: 78.72 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.356e-06/0.9097, allocations: 4 kB / 478.2 MB, free: 78.71 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002214/0.9099, allocations: 114.4 kB / 478.3 MB, free: 78.63 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007279/0.9106, allocations: 0.6233 MB / 479 MB, free: 78 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001682/0.9108, allocations: 83.23 kB / 479 MB, free: 77.93 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005903/0.9114, allocations: 0.8104 MB / 479.8 MB, free: 76.94 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.704e-05/0.9115, allocations: 30.56 kB / 479.9 MB, free: 76.9 MB / 346.7 MB Notification: Performance of pre-optimization done (n=13): time 2.905e-06/0.9115, allocations: 0 / 479.9 MB, free: 76.9 MB / 346.7 MB Notification: Performance of matching and sorting (n=13): time 0.0004162/0.9119, allocations: 133.9 kB / 480 MB, free: 76.79 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.862e-05/0.912, allocations: 51.41 kB / 480.1 MB, free: 76.73 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000102/0.9121, allocations: 120.6 kB / 480.2 MB, free: 76.6 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.975e-05/0.9121, allocations: 29.14 kB / 480.2 MB, free: 76.57 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.853e-05/0.9122, allocations: 110.9 kB / 480.3 MB, free: 76.46 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.363e-05/0.9122, allocations: 38.83 kB / 480.3 MB, free: 76.43 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.478e-06/0.9122, allocations: 3.5 kB / 480.4 MB, free: 76.43 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 6.14e-05/0.9123, allocations: 314.1 kB / 480.7 MB, free: 76.12 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.753e-05/0.9124, allocations: 26.61 kB / 480.7 MB, free: 76.1 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.938e-05/0.9125, allocations: 75.66 kB / 480.8 MB, free: 76.02 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.687e-05/0.9126, allocations: 33.62 kB / 480.8 MB, free: 76 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.726e-06/0.9126, allocations: 0 / 480.8 MB, free: 76 MB / 346.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.000281/0.9129, allocations: 134 kB / 480.9 MB, free: 75.88 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.146e-05/0.9129, allocations: 13.05 kB / 480.9 MB, free: 75.87 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.414e-06/0.9129, allocations: 0 / 480.9 MB, free: 75.87 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.835e-05/0.9129, allocations: 4 kB / 480.9 MB, free: 75.87 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002088/0.9132, allocations: 31.92 kB / 481 MB, free: 75.84 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.979e-06/0.9132, allocations: 4 kB / 481 MB, free: 75.83 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001044/0.9133, allocations: 19.08 kB / 481 MB, free: 75.82 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.767e-05/0.9133, allocations: 7.438 kB / 481 MB, free: 75.81 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.295e-05/0.9134, allocations: 119.8 kB / 481.1 MB, free: 75.69 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.519e-05/0.9135, allocations: 15.94 kB / 481.1 MB, free: 75.68 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004359/0.9139, allocations: 156.4 kB / 481.3 MB, free: 75.54 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.598e-06/0.914, allocations: 0 / 481.3 MB, free: 75.54 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.159e-06/0.914, allocations: 4 kB / 481.3 MB, free: 75.54 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.861e-06/0.914, allocations: 3.984 kB / 481.3 MB, free: 75.54 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005481/0.9145, allocations: 397.1 kB / 481.7 MB, free: 75.13 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.667e-06/0.9146, allocations: 3.953 kB / 481.7 MB, free: 75.13 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001398/0.9147, allocations: 23.98 kB / 481.7 MB, free: 75.11 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.719e-06/0.9147, allocations: 0 / 481.7 MB, free: 75.11 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.3e-05/0.9148, allocations: 0 / 481.7 MB, free: 75.11 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.146e-06/0.9148, allocations: 0 / 481.7 MB, free: 75.11 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.953e-06/0.9148, allocations: 4 kB / 481.7 MB, free: 75.1 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002361/0.915, allocations: 205.9 kB / 481.9 MB, free: 74.91 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.116e-05/0.9151, allocations: 107.9 kB / 482 MB, free: 74.79 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.721e-05/0.9151, allocations: 4 kB / 482 MB, free: 74.79 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001396/0.9153, allocations: 3.312 kB / 482 MB, free: 74.79 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.555e-05/0.9153, allocations: 7.984 kB / 482 MB, free: 74.78 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.049e-05/0.9154, allocations: 4 kB / 482 MB, free: 74.77 MB / 346.7 MB Notification: Performance of sorting global known variables: time 5.18e-05/0.9154, allocations: 94.27 kB / 482.1 MB, free: 74.68 MB / 346.7 MB Notification: Performance of sort global known variables: time 4.11e-07/0.9154, allocations: 0 / 482.1 MB, free: 74.68 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0005106/0.9159, allocations: 62.34 kB / 482.2 MB, free: 74.63 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.000312/0.9163, allocations: 166.3 kB / 482.4 MB, free: 74.46 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0002289/0.9165, allocations: 84.83 kB / 482.4 MB, free: 74.39 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.186e-06/0.9165, allocations: 320 / 482.4 MB, free: 74.39 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 7.258e-05/0.9166, allocations: 38.86 kB / 482.5 MB, free: 74.36 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004976/0.9171, allocations: 38.77 kB / 482.5 MB, free: 74.33 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005033/0.9176, allocations: 295.2 kB / 482.8 MB, free: 74.03 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001559/0.9178, allocations: 0.7009 MB / 483.5 MB, free: 73.3 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0002457/0.9181, allocations: 37.02 kB / 483.5 MB, free: 73.26 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.047e-05/0.9182, allocations: 17.62 kB / 483.6 MB, free: 73.25 MB / 346.7 MB Notification: Performance of SimCode: time 8.82e-07/0.9182, allocations: 0 / 483.6 MB, free: 73.25 MB / 346.7 MB Notification: Performance of Templates: time 0.008047/0.9262, allocations: 2.235 MB / 485.8 MB, free: 71.04 MB / 346.7 MB