Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.2_cpp_Modelica.Media.Examples.ReferenceAir.MoistAir1.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.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.2_cpp_Modelica.Media.Examples.ReferenceAir.MoistAir1") Notification: Performance of loadModel(Modelica): time 2.14/2.14, allocations: 194.9 MB / 212.3 MB, free: 3.008 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003684/0.0003684, allocations: 8 kB / 264.5 MB, free: 13.62 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.111/0.1114, allocations: 44.5 MB / 309 MB, free: 1.059 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 19.42/19.53, allocations: 6.53 GB / 6.831 GB, free: 37.23 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002878/19.53, allocations: 87.77 kB / 6.831 GB, free: 37.18 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.384/23.92, allocations: 0.841 GB / 7.672 GB, free: 6.195 MB / 442.7 MB Notification: Performance of FrontEnd: time 3.266e-06/23.92, allocations: 0 / 7.672 GB, free: 6.195 MB / 442.7 MB Notification: Performance of Transformations before backend: time 4.152e-05/23.92, allocations: 12 kB / 7.673 GB, free: 6.184 MB / 442.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.01586/23.94, allocations: 2.926 MB / 7.675 GB, free: 3.203 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.272e-05/23.94, allocations: 12.02 kB / 7.675 GB, free: 3.191 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004863/23.94, allocations: 59.44 kB / 7.675 GB, free: 3.133 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007446/23.94, allocations: 362.6 kB / 7.676 GB, free: 2.738 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.348e-05/23.94, allocations: 29 kB / 7.676 GB, free: 2.711 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001233/23.94, allocations: 47.98 kB / 7.676 GB, free: 2.664 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002008/23.94, allocations: 0.5101 MB / 7.676 GB, free: 2.148 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.803e-05/23.94, allocations: 4 kB / 7.676 GB, free: 2.145 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.38e-05/23.94, allocations: 16 kB / 7.676 GB, free: 2.129 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.671e-05/23.94, allocations: 8 kB / 7.676 GB, free: 2.121 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002063/23.94, allocations: 0.6402 MB / 7.677 GB, free: 1.484 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.442/24.38, allocations: 11.85 MB / 7.689 GB, free: 27.81 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002032/24.39, allocations: 0.6431 MB / 7.689 GB, free: 27.59 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03619/24.42, allocations: 20.08 MB / 7.709 GB, free: 23.34 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.496e-05/24.42, allocations: 44.88 kB / 7.709 GB, free: 23.3 MB / 458.7 MB Notification: Performance of pre-optimization done (n=50): time 3.707e-06/24.42, allocations: 0.6562 kB / 7.709 GB, free: 23.3 MB / 458.7 MB Notification: Performance of matching and sorting (n=55): time 0.01102/24.43, allocations: 2.073 MB / 7.711 GB, free: 22.75 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.441e-05/24.43, allocations: 60.91 kB / 7.711 GB, free: 22.69 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006799/24.43, allocations: 323.2 kB / 7.711 GB, free: 22.59 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001976/24.43, allocations: 37.38 kB / 7.711 GB, free: 22.55 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001983/24.43, allocations: 257.7 kB / 7.712 GB, free: 22.37 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002597/24.43, allocations: 187.4 kB / 7.712 GB, free: 22.28 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.381e-05/24.43, allocations: 9.812 kB / 7.712 GB, free: 22.28 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.000165/24.43, allocations: 333.8 kB / 7.712 GB, free: 21.96 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006708/24.43, allocations: 220.1 kB / 7.712 GB, free: 21.96 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001033/24.44, allocations: 309.2 kB / 7.713 GB, free: 21.88 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001029/24.44, allocations: 264.3 kB / 7.713 GB, free: 21.87 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.004e-06/24.44, allocations: 0.6562 kB / 7.713 GB, free: 21.87 MB / 458.7 MB Notification: Performance of matching and sorting (n=70) (initialization): time 0.002919/24.44, allocations: 0.6889 MB / 7.713 GB, free: 21.79 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.176e-05/24.44, allocations: 6.188 kB / 7.713 GB, free: 21.79 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.481e-05/24.44, allocations: 2.594 kB / 7.713 GB, free: 21.79 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008064/24.44, allocations: 107.7 kB / 7.714 GB, free: 21.77 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001116/24.44, allocations: 123 kB / 7.714 GB, free: 21.77 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003797/24.45, allocations: 3.287 MB / 7.717 GB, free: 18.68 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008483/24.45, allocations: 44.22 kB / 7.717 GB, free: 18.67 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001116/24.45, allocations: 29.56 kB / 7.717 GB, free: 18.67 MB / 458.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.0004938/24.45, allocations: 187.8 kB / 7.717 GB, free: 18.55 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004646/24.45, allocations: 45.06 kB / 7.717 GB, free: 18.54 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002514/24.45, allocations: 0.7255 MB / 7.718 GB, free: 18.45 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.336e-05/24.45, allocations: 6.938 kB / 7.718 GB, free: 18.45 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.138e-06/24.45, allocations: 0 / 7.718 GB, free: 18.45 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001975/24.45, allocations: 0.7908 MB / 7.719 GB, free: 18.08 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004238/24.46, allocations: 1.398 MB / 7.72 GB, free: 17.72 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.045e-05/24.46, allocations: 7.078 kB / 7.72 GB, free: 17.72 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009928/24.46, allocations: 117.2 kB / 7.72 GB, free: 17.72 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001493/24.46, allocations: 149.5 kB / 7.72 GB, free: 17.71 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001473/24.46, allocations: 20.2 kB / 7.72 GB, free: 17.71 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006269/24.46, allocations: 0.6491 MB / 7.721 GB, free: 17.12 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.528e-06/24.46, allocations: 2.062 kB / 7.721 GB, free: 17.12 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003093/24.46, allocations: 0.9652 MB / 7.722 GB, free: 16.91 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003229/24.46, allocations: 128.3 kB / 7.722 GB, free: 16.8 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001659/24.46, allocations: 14.78 kB / 7.722 GB, free: 16.8 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009036/24.46, allocations: 42.67 kB / 7.722 GB, free: 16.79 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001129/24.46, allocations: 36 kB / 7.722 GB, free: 16.79 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001139/24.47, allocations: 33.95 kB / 7.722 GB, free: 16.79 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0004199/24.47, allocations: 240.5 kB / 7.722 GB, free: 16.71 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.132e-06/24.47, allocations: 0 / 7.722 GB, free: 16.71 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.01023/24.48, allocations: 1.969 MB / 7.724 GB, free: 16.71 MB / 458.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.01811/24.49, allocations: 3.111 MB / 7.727 GB, free: 16.49 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0025/24.5, allocations: 0.795 MB / 7.728 GB, free: 16.26 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 8.496e-06/24.5, allocations: 3.75 kB / 7.728 GB, free: 16.26 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001049/24.5, allocations: 314.8 kB / 7.728 GB, free: 16.24 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0027/24.5, allocations: 282.9 kB / 7.729 GB, free: 16.23 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003182/24.5, allocations: 1.415 MB / 7.73 GB, free: 15.66 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005257/24.5, allocations: 0.8552 MB / 7.731 GB, free: 14.96 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003853/24.5, allocations: 64.22 kB / 7.731 GB, free: 14.96 MB / 458.7 MB Notification: Performance of SimCode: time 1.182e-06/24.5, allocations: 3.938 kB / 7.731 GB, free: 14.96 MB / 458.7 MB Notification: Performance of Templates: time 0.1189/24.62, allocations: 55.28 MB / 7.785 GB, free: 9.117 MB / 458.7 MB