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.Examples.ReferenceAir.MoistAir1.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.Examples.ReferenceAir.MoistAir1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.Xi.1.|volume.medium.p",fileNamePrefix="Modelica_3.2.1_cpp_Modelica.Media.Examples.ReferenceAir.MoistAir1") Notification: Performance of loadModel(Modelica): time 1.736/1.736, allocations: 171.2 MB / 186.7 MB, free: 1.043 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003766/0.0003767, allocations: 15.98 kB / 233.2 MB, free: 3.008 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06752/0.06792, allocations: 38.76 MB / 272 MB, free: 12.17 MB / 234.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 14.83/14.9, allocations: 6.524 GB / 6.789 GB, free: 49.43 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002305/14.9, allocations: 82.53 kB / 6.789 GB, free: 49.35 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.922/18.82, allocations: 0.838 GB / 7.627 GB, free: 19.23 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.443e-06/18.82, allocations: 0 / 7.627 GB, free: 19.23 MB / 394.7 MB Notification: Performance of Transformations before backend: time 2.809e-05/18.82, allocations: 7.844 kB / 7.627 GB, free: 19.23 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: 107 * Number of variables: 107 Notification: Performance of Generate backend data structure: time 0.01112/18.83, allocations: 2.933 MB / 7.63 GB, free: 17.58 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.049e-05/18.83, allocations: 10.38 kB / 7.63 GB, free: 17.58 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004541/18.83, allocations: 58.97 kB / 7.63 GB, free: 17.55 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005742/18.83, allocations: 363.7 kB / 7.631 GB, free: 17.32 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.438e-05/18.83, allocations: 29.53 kB / 7.631 GB, free: 17.32 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.593e-05/18.83, allocations: 48.2 kB / 7.631 GB, free: 17.31 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00162/18.83, allocations: 0.5129 MB / 7.631 GB, free: 17.27 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.002e-05/18.83, allocations: 0 / 7.631 GB, free: 17.27 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.165e-05/18.84, allocations: 20.19 kB / 7.631 GB, free: 17.27 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.191e-05/18.84, allocations: 10.88 kB / 7.631 GB, free: 17.27 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001725/18.84, allocations: 0.6285 MB / 7.632 GB, free: 17.27 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01648/18.85, allocations: 11.68 MB / 7.643 GB, free: 22.41 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001514/18.85, allocations: 0.6528 MB / 7.644 GB, free: 22.19 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03018/18.89, allocations: 20.09 MB / 7.663 GB, free: 17.77 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.524e-05/18.89, allocations: 46.81 kB / 7.663 GB, free: 17.72 MB / 426.7 MB Notification: Performance of pre-optimization done (n=50): time 4.001e-06/18.89, allocations: 0 / 7.663 GB, free: 17.72 MB / 426.7 MB Notification: Performance of matching and sorting (n=55): time 0.008402/18.89, allocations: 2.087 MB / 7.665 GB, free: 17.11 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.756e-05/18.89, allocations: 59.47 kB / 7.666 GB, free: 17.04 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004385/18.89, allocations: 290.8 kB / 7.666 GB, free: 16.95 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001015/18.89, allocations: 35.95 kB / 7.666 GB, free: 16.91 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00016/18.89, allocations: 258.2 kB / 7.666 GB, free: 16.71 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001501/18.89, allocations: 185.6 kB / 7.666 GB, free: 16.59 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.283e-05/18.89, allocations: 10.69 kB / 7.666 GB, free: 16.59 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001857/18.89, allocations: 342.5 kB / 7.667 GB, free: 16.27 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004595/18.9, allocations: 209.4 kB / 7.667 GB, free: 16.27 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008074/18.9, allocations: 320.2 kB / 7.667 GB, free: 16.18 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008035/18.9, allocations: 259.5 kB / 7.667 GB, free: 16.18 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.242e-06/18.9, allocations: 3.938 kB / 7.667 GB, free: 16.17 MB / 426.7 MB Notification: Performance of matching and sorting (n=70) (initialization): time 0.002397/18.9, allocations: 0.674 MB / 7.668 GB, free: 16.08 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.326e-05/18.9, allocations: 8.281 kB / 7.668 GB, free: 16.08 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.908e-06/18.9, allocations: 4.25 kB / 7.668 GB, free: 16.08 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006486/18.9, allocations: 113.8 kB / 7.668 GB, free: 16.05 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006699/18.9, allocations: 118 kB / 7.668 GB, free: 16.04 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003403/18.9, allocations: 3.282 MB / 7.671 GB, free: 12.93 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006285/18.9, allocations: 45.88 kB / 7.671 GB, free: 12.92 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.46e-05/18.91, allocations: 30.41 kB / 7.672 GB, free: 12.92 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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 (67): * Single equations (assignments): 64 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {2} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0004079/18.91, allocations: 200.2 kB / 7.672 GB, free: 12.79 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004301/18.91, allocations: 37.69 kB / 7.672 GB, free: 12.77 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002084/18.91, allocations: 0.7185 MB / 7.672 GB, free: 12.68 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.06e-05/18.91, allocations: 5.969 kB / 7.672 GB, free: 12.68 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.101e-06/18.91, allocations: 0 / 7.672 GB, free: 12.68 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001678/18.91, allocations: 0.7986 MB / 7.673 GB, free: 12.3 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003376/18.91, allocations: 1.397 MB / 7.675 GB, free: 11.93 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.406e-06/18.91, allocations: 7.031 kB / 7.675 GB, free: 11.93 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007219/18.91, allocations: 114.1 kB / 7.675 GB, free: 11.92 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001398/18.92, allocations: 157.9 kB / 7.675 GB, free: 11.9 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.001e-05/18.92, allocations: 21.03 kB / 7.675 GB, free: 11.9 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006314/18.92, allocations: 0.6484 MB / 7.676 GB, free: 11.31 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.078e-06/18.92, allocations: 2.969 kB / 7.676 GB, free: 11.31 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002573/18.92, allocations: 1.009 MB / 7.676 GB, free: 11.03 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002417/18.92, allocations: 128.3 kB / 7.677 GB, free: 10.91 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001051/18.92, allocations: 30.81 kB / 7.677 GB, free: 10.9 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005782/18.92, allocations: 32.16 kB / 7.677 GB, free: 10.89 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.966e-05/18.92, allocations: 37.88 kB / 7.677 GB, free: 10.89 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.759e-05/18.92, allocations: 36.67 kB / 7.677 GB, free: 10.89 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0003684/18.92, allocations: 243.5 kB / 7.677 GB, free: 10.81 MB / 426.7 MB Notification: Performance of sort global known variables: time 8.32e-07/18.92, allocations: 0 / 7.677 GB, free: 10.81 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.008102/18.93, allocations: 1.963 MB / 7.679 GB, free: 10.42 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 3 (volume.medium.p,volume.medium.Xi[1],volume.medium.T) * 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 (61): * Single equations (assignments): 60 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {2} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0139/18.94, allocations: 3.097 MB / 7.682 GB, free: 9.645 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.002086/18.94, allocations: 0.7973 MB / 7.683 GB, free: 9.402 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 6.033e-06/18.94, allocations: 0.5 kB / 7.683 GB, free: 9.402 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009/18.95, allocations: 314.4 kB / 7.683 GB, free: 9.371 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001947/18.95, allocations: 279.1 kB / 7.683 GB, free: 9.34 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002677/18.95, allocations: 1.433 MB / 7.685 GB, free: 8.625 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005983/18.95, allocations: 0.853 MB / 7.686 GB, free: 7.922 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000294/18.95, allocations: 59.41 kB / 7.686 GB, free: 7.914 MB / 426.7 MB Notification: Performance of SimCode: time 1.646e-06/18.95, allocations: 0 / 7.686 GB, free: 7.914 MB / 426.7 MB Notification: Performance of Templates: time 0.3805/19.33, allocations: 55.06 MB / 7.739 GB, free: 44.29 MB / 426.7 MB