Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.1_cpp_Modelica.Media.Examples.ReferenceAir.MoistAir2.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.Examples.ReferenceAir.MoistAir2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.Xi.1.|volume.medium.p|volume1.medium.T|volume1.medium.Xi.1.|volume1.medium.p",fileNamePrefix="Modelica_3.2.1_cpp_Modelica.Media.Examples.ReferenceAir.MoistAir2") Notification: Performance of loadModel(Modelica): time 1.726/1.726, allocations: 171.2 MB / 187.3 MB, free: 1.129 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003523/0.0003525, allocations: 8 kB / 233.8 MB, free: 3.082 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08292/0.0833, allocations: 38.77 MB / 272.5 MB, free: 12.24 MB / 234.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 18.89/18.97, allocations: 6.524 GB / 6.79 GB, free: 63.45 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003385/18.97, allocations: 83.77 kB / 6.79 GB, free: 63.4 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.851/22.82, allocations: 0.6645 GB / 7.454 GB, free: 38.57 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.963e-06/22.82, allocations: 0 / 7.454 GB, free: 38.57 MB / 410.7 MB Notification: Performance of Transformations before backend: time 8.341e-05/22.82, allocations: 16.69 kB / 7.454 GB, free: 38.57 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 154 * Number of variables: 154 Notification: Performance of Generate backend data structure: time 0.01176/22.83, allocations: 2.444 MB / 7.457 GB, free: 37.48 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.266e-05/22.83, allocations: 12.19 kB / 7.457 GB, free: 37.48 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006687/22.83, allocations: 87.31 kB / 7.457 GB, free: 37.45 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009147/22.83, allocations: 437.8 kB / 7.457 GB, free: 37.21 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.798e-05/22.83, allocations: 46.06 kB / 7.457 GB, free: 37.21 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001504/22.84, allocations: 63.91 kB / 7.457 GB, free: 37.21 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00256/22.84, allocations: 0.7167 MB / 7.458 GB, free: 37.16 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.76e-05/22.84, allocations: 0 / 7.458 GB, free: 37.16 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001226/22.84, allocations: 34.09 kB / 7.458 GB, free: 37.16 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.746e-05/22.84, allocations: 13.84 kB / 7.458 GB, free: 37.16 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002792/22.84, allocations: 0.8804 MB / 7.459 GB, free: 37.16 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02268/22.86, allocations: 12.4 MB / 7.471 GB, free: 26.11 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002413/22.87, allocations: 0.8835 MB / 7.472 GB, free: 25.89 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.05506/22.92, allocations: 30.14 MB / 7.501 GB, free: 27.48 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.486e-05/22.92, allocations: 43.75 kB / 7.501 GB, free: 27.44 MB / 442.7 MB Notification: Performance of pre-optimization done (n=78): time 3.637e-06/22.92, allocations: 0 / 7.501 GB, free: 27.44 MB / 442.7 MB Notification: Performance of matching and sorting (n=88): time 0.01707/22.94, allocations: 3.374 MB / 7.505 GB, free: 26.78 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.484e-05/22.94, allocations: 65.72 kB / 7.505 GB, free: 26.71 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006094/22.94, allocations: 354 kB / 7.505 GB, free: 26.6 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002053/22.94, allocations: 45.08 kB / 7.505 GB, free: 26.57 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001807/22.94, allocations: 295.5 kB / 7.505 GB, free: 26.36 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002906/22.94, allocations: 305.3 kB / 7.506 GB, free: 26.16 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.538e-05/22.94, allocations: 16.91 kB / 7.506 GB, free: 26.16 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001494/22.94, allocations: 345.4 kB / 7.506 GB, free: 25.84 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008625/22.94, allocations: 336.3 kB / 7.506 GB, free: 25.84 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001331/22.94, allocations: 455.1 kB / 7.507 GB, free: 25.75 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001297/22.94, allocations: 400.7 kB / 7.507 GB, free: 25.74 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.941e-06/22.94, allocations: 0 / 7.507 GB, free: 25.74 MB / 442.7 MB Notification: Performance of matching and sorting (n=106) (initialization): time 0.003559/22.95, allocations: 1.017 MB / 7.508 GB, free: 25.64 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.772e-05/22.95, allocations: 7 kB / 7.508 GB, free: 25.64 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.343e-05/22.95, allocations: 7.281 kB / 7.508 GB, free: 25.64 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001236/22.95, allocations: 172.9 kB / 7.508 GB, free: 25.61 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001501/22.95, allocations: 182.9 kB / 7.508 GB, free: 25.61 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0037/22.95, allocations: 3.936 MB / 7.512 GB, free: 21.94 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00115/22.95, allocations: 63.3 kB / 7.512 GB, free: 21.93 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001349/22.95, allocations: 41.92 kB / 7.512 GB, free: 21.93 MB / 442.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 (102): * Single equations (assignments): 98 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * 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: 2 {2,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.0005886/22.96, allocations: 231 kB / 7.513 GB, free: 21.81 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005662/22.96, allocations: 65.84 kB / 7.513 GB, free: 21.78 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003409/22.96, allocations: 1.112 MB / 7.514 GB, free: 21.66 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.376e-05/22.96, allocations: 14.09 kB / 7.514 GB, free: 21.66 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.559e-06/22.96, allocations: 1.688 kB / 7.514 GB, free: 21.66 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002855/22.96, allocations: 1.347 MB / 7.515 GB, free: 20.99 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005307/22.97, allocations: 2.067 MB / 7.517 GB, free: 20.6 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.664e-06/22.97, allocations: 3.906 kB / 7.517 GB, free: 20.6 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001477/22.97, allocations: 184.2 kB / 7.517 GB, free: 20.6 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002825/22.97, allocations: 296.5 kB / 7.518 GB, free: 20.58 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001838/22.97, allocations: 41.64 kB / 7.518 GB, free: 20.57 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001053/22.97, allocations: 1.291 MB / 7.519 GB, free: 19.41 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.016e-06/22.97, allocations: 3.688 kB / 7.519 GB, free: 19.41 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004237/22.98, allocations: 1.471 MB / 7.52 GB, free: 19.16 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003603/22.98, allocations: 145.6 kB / 7.521 GB, free: 19.03 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000206/22.98, allocations: 23.16 kB / 7.521 GB, free: 19.03 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001124/22.98, allocations: 48.86 kB / 7.521 GB, free: 19.03 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001497/22.98, allocations: 64.59 kB / 7.521 GB, free: 19.02 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001532/22.98, allocations: 51.8 kB / 7.521 GB, free: 19.02 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0004502/22.98, allocations: 259.6 kB / 7.521 GB, free: 18.95 MB / 442.7 MB Notification: Performance of sort global known variables: time 5.01e-07/22.98, allocations: 0 / 7.521 GB, free: 18.95 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.01153/22.99, allocations: 2.301 MB / 7.523 GB, free: 18.48 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 6 (volume.medium.p,volume.medium.Xi[1],volume.medium.T,volume1.medium.p,volume1.medium.Xi[1],volume1.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 (97): * Single equations (assignments): 95 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * 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: 2 {2,2} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.02053/23.01, allocations: 3.379 MB / 7.526 GB, free: 17.83 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.003309/23.02, allocations: 1.14 MB / 7.528 GB, free: 17.56 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 8.866e-06/23.02, allocations: 6.562 kB / 7.528 GB, free: 17.56 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001508/23.02, allocations: 0.5076 MB / 7.528 GB, free: 17.54 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00366/23.02, allocations: 400 kB / 7.528 GB, free: 17.52 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00481/23.03, allocations: 2.115 MB / 7.531 GB, free: 16.74 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006246/23.03, allocations: 0.9415 MB / 7.531 GB, free: 16.04 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005553/23.03, allocations: 85.06 kB / 7.532 GB, free: 16.03 MB / 442.7 MB Notification: Performance of SimCode: time 1.773e-06/23.03, allocations: 0 / 7.532 GB, free: 16.03 MB / 442.7 MB Notification: Performance of Templates: time 0.1388/23.17, allocations: 68.41 MB / 7.598 GB, free: 2.707 MB / 442.7 MB