Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.2_cpp_Modelica.Media.Incompressible.Examples.TestGlycol.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/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_cpp_Modelica.Media.Incompressible.Examples.TestGlycol") Notification: Performance of loadModel(Modelica): time 1.802/1.802, allocations: 194.9 MB / 211.7 MB, free: 2.98 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003604/0.0003604, allocations: 8 kB / 263.9 MB, free: 13.57 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08142/0.08181, allocations: 44.51 MB / 308.4 MB, free: 0.9883 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4534/0.5352, allocations: 187.8 MB / 496.2 MB, free: 6.281 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002107/0.5355, allocations: 80.28 kB / 496.3 MB, free: 6.238 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.07895/0.6144, allocations: 22.76 MB / 0.5069 GB, free: 2.586 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.64e-06/0.6145, allocations: 4 kB / 0.5069 GB, free: 2.582 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.638e-05/0.6145, allocations: 5.25 kB / 0.5069 GB, free: 2.578 MB / 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.0006338/0.6152, allocations: 441.1 kB / 0.5073 GB, free: 2.109 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.84e-05/0.6152, allocations: 8.031 kB / 0.5073 GB, free: 2.102 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003966/0.6156, allocations: 32.19 kB / 0.5074 GB, free: 2.07 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002452/0.6159, allocations: 199.1 kB / 0.5076 GB, free: 1.844 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.716e-05/0.6159, allocations: 6.5 kB / 0.5076 GB, free: 1.84 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.457e-05/0.616, allocations: 7.188 kB / 0.5076 GB, free: 1.836 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002857/0.6162, allocations: 136.9 kB / 0.5077 GB, free: 1.711 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.269e-05/0.6163, allocations: 11.83 kB / 0.5077 GB, free: 1.699 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.207e-05/0.6163, allocations: 3.375 kB / 0.5077 GB, free: 1.699 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.318e-06/0.6163, allocations: 4 kB / 0.5077 GB, free: 1.695 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002218/0.6166, allocations: 105.5 kB / 0.5078 GB, free: 1.617 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008686/0.6174, allocations: 0.619 MB / 0.5084 GB, free: 0.9922 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001857/0.6176, allocations: 85.11 kB / 0.5085 GB, free: 0.918 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008466/0.6185, allocations: 0.812 MB / 0.5093 GB, free: 15.93 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.601e-05/0.6186, allocations: 34.55 kB / 0.5093 GB, free: 15.89 MB / 410.7 MB Notification: Performance of pre-optimization done (n=13): time 3.587e-06/0.6186, allocations: 4 kB / 0.5093 GB, free: 15.88 MB / 410.7 MB Notification: Performance of matching and sorting (n=13): time 0.0003654/0.619, allocations: 127.8 kB / 0.5095 GB, free: 15.78 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.588e-05/0.619, allocations: 51.41 kB / 0.5095 GB, free: 15.71 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000112/0.6191, allocations: 105.8 kB / 0.5096 GB, free: 15.61 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.718e-05/0.6192, allocations: 28.08 kB / 0.5096 GB, free: 15.57 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001044/0.6193, allocations: 172.6 kB / 0.5098 GB, free: 15.41 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.897e-05/0.6194, allocations: 42.48 kB / 0.5098 GB, free: 15.37 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.594e-06/0.6194, allocations: 2.312 kB / 0.5098 GB, free: 15.37 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001585/0.6195, allocations: 321.1 kB / 0.5101 GB, free: 15.05 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.44e-05/0.6196, allocations: 30.47 kB / 0.5102 GB, free: 15.03 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001028/0.6197, allocations: 67.45 kB / 0.5102 GB, free: 14.95 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.443e-05/0.6199, allocations: 34.38 kB / 0.5103 GB, free: 14.93 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.111e-06/0.6199, allocations: 7.953 kB / 0.5103 GB, free: 14.93 MB / 410.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0003083/0.6202, allocations: 140.1 kB / 0.5104 GB, free: 14.8 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.79e-05/0.6202, allocations: 4 kB / 0.5104 GB, free: 14.8 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.599e-06/0.6202, allocations: 0 / 0.5104 GB, free: 14.8 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.672e-05/0.6203, allocations: 4 kB / 0.5104 GB, free: 14.8 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001575/0.6204, allocations: 38.28 kB / 0.5105 GB, free: 14.76 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.008e-05/0.6205, allocations: 4 kB / 0.5105 GB, free: 14.76 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.456e-05/0.6206, allocations: 14.25 kB / 0.5105 GB, free: 14.75 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.803e-05/0.6206, allocations: 12 kB / 0.5105 GB, free: 14.73 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.0001236/0.6207, allocations: 121.7 kB / 0.5106 GB, free: 14.61 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.238e-05/0.6208, allocations: 11.86 kB / 0.5106 GB, free: 14.6 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004165/0.6212, allocations: 138.7 kB / 0.5107 GB, free: 14.48 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.043e-06/0.6213, allocations: 7.938 kB / 0.5107 GB, free: 14.48 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.004e-06/0.6213, allocations: 7.984 kB / 0.5108 GB, free: 14.47 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.386e-06/0.6213, allocations: 0 / 0.5108 GB, free: 14.47 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006278/0.6219, allocations: 390.1 kB / 0.5111 GB, free: 14.07 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.287e-06/0.6219, allocations: 0 / 0.5111 GB, free: 14.07 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001053/0.6221, allocations: 26.42 kB / 0.5112 GB, free: 14.05 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.477e-06/0.6221, allocations: 0 / 0.5112 GB, free: 14.05 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.798e-05/0.6221, allocations: 7.984 kB / 0.5112 GB, free: 14.04 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.942e-06/0.6221, allocations: 0 / 0.5112 GB, free: 14.04 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.215e-06/0.6221, allocations: 3.984 kB / 0.5112 GB, free: 14.04 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002764/0.6224, allocations: 206.8 kB / 0.5114 GB, free: 13.84 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001026/0.6225, allocations: 106 kB / 0.5115 GB, free: 13.72 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.522e-05/0.6226, allocations: 5.562 kB / 0.5115 GB, free: 13.72 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001265/0.6227, allocations: 1.375 kB / 0.5115 GB, free: 13.72 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.73e-05/0.6227, allocations: 9.984 kB / 0.5115 GB, free: 13.71 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.122e-05/0.6228, allocations: 8 kB / 0.5115 GB, free: 13.7 MB / 410.7 MB Notification: Performance of sorting global known variables: time 7.575e-05/0.6229, allocations: 90.83 kB / 0.5116 GB, free: 13.62 MB / 410.7 MB Notification: Performance of sort global known variables: time 8.27e-07/0.6229, allocations: 4 kB / 0.5116 GB, free: 13.61 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0004787/0.6234, allocations: 66.98 kB / 0.5116 GB, free: 13.55 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.0003173/0.6237, allocations: 152.8 kB / 0.5118 GB, free: 13.4 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0002337/0.6239, allocations: 85.09 kB / 0.5119 GB, free: 13.33 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.247e-06/0.624, allocations: 0 / 0.5119 GB, free: 13.33 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001287/0.6241, allocations: 44.3 kB / 0.5119 GB, free: 13.3 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007206/0.6248, allocations: 50.41 kB / 0.512 GB, free: 13.26 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008157/0.6257, allocations: 321.4 kB / 0.5123 GB, free: 12.92 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005001/0.6262, allocations: 0.697 MB / 0.5129 GB, free: 12.2 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001502/0.6264, allocations: 27.41 kB / 0.513 GB, free: 12.17 MB / 410.7 MB Notification: Performance of SimCode: time 2.635e-06/0.6264, allocations: 0 / 0.513 GB, free: 12.17 MB / 410.7 MB Notification: Performance of Templates: time 0.008465/0.6349, allocations: 2.246 MB / 0.5152 GB, free: 9.941 MB / 410.7 MB