Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.1_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_Modelica.Media.Examples.ReferenceAir.MoistAir2") Notification: Performance of loadModel(Modelica): time 2.088/2.088, allocations: 171.2 MB / 186.7 MB, free: 1.117 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003647/0.0003648, allocations: 11.98 kB / 233.9 MB, free: 2.391 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0867/0.08709, allocations: 38.77 MB / 272.6 MB, free: 11.54 MB / 234.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 19.65/19.73, allocations: 6.524 GB / 6.79 GB, free: 56.78 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002842/19.73, allocations: 79.09 kB / 6.79 GB, free: 56.73 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.995/23.73, allocations: 0.6645 GB / 7.454 GB, free: 22.8 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.164e-06/23.73, allocations: 0 / 7.454 GB, free: 22.8 MB / 394.7 MB Notification: Performance of Transformations before backend: time 4.042e-05/23.73, allocations: 16.28 kB / 7.454 GB, free: 22.8 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: 154 * Number of variables: 154 Notification: Performance of Generate backend data structure: time 0.01113/23.74, allocations: 2.437 MB / 7.457 GB, free: 21.71 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.288e-05/23.74, allocations: 9.594 kB / 7.457 GB, free: 21.71 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006017/23.74, allocations: 87.89 kB / 7.457 GB, free: 21.68 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008709/23.74, allocations: 448.3 kB / 7.457 GB, free: 21.45 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.787e-05/23.74, allocations: 47.09 kB / 7.457 GB, free: 21.45 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001447/23.74, allocations: 58.09 kB / 7.457 GB, free: 21.45 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002422/23.74, allocations: 0.7153 MB / 7.458 GB, free: 21.4 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.258e-05/23.75, allocations: 0.5625 kB / 7.458 GB, free: 21.4 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000123/23.75, allocations: 28.88 kB / 7.458 GB, free: 21.4 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.617e-05/23.75, allocations: 15.09 kB / 7.458 GB, free: 21.4 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002502/23.75, allocations: 0.8821 MB / 7.459 GB, free: 21.39 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02136/23.77, allocations: 12.39 MB / 7.471 GB, free: 26.35 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0023/23.77, allocations: 0.8882 MB / 7.472 GB, free: 26.13 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.05487/23.83, allocations: 30.13 MB / 7.501 GB, free: 11.72 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.54e-05/23.83, allocations: 47.69 kB / 7.501 GB, free: 11.68 MB / 426.7 MB Notification: Performance of pre-optimization done (n=78): time 4.028e-06/23.83, allocations: 0 / 7.501 GB, free: 11.68 MB / 426.7 MB Notification: Performance of matching and sorting (n=88): time 0.01758/23.84, allocations: 3.378 MB / 7.505 GB, free: 11.02 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.588e-05/23.84, allocations: 66.44 kB / 7.505 GB, free: 10.96 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006046/23.84, allocations: 350.9 kB / 7.505 GB, free: 10.84 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002308/23.85, allocations: 42.77 kB / 7.505 GB, free: 10.81 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001879/23.85, allocations: 237.4 kB / 7.505 GB, free: 10.67 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002876/23.85, allocations: 318.1 kB / 7.506 GB, free: 10.47 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.626e-05/23.85, allocations: 15.19 kB / 7.506 GB, free: 10.47 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001897/23.85, allocations: 370.8 kB / 7.506 GB, free: 10.15 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000869/23.85, allocations: 332.5 kB / 7.506 GB, free: 10.15 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001364/23.85, allocations: 453.5 kB / 7.507 GB, free: 10.07 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001301/23.85, allocations: 397.8 kB / 7.507 GB, free: 10.05 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.669e-06/23.85, allocations: 0 / 7.507 GB, free: 10.05 MB / 426.7 MB Notification: Performance of matching and sorting (n=106) (initialization): time 0.003637/23.85, allocations: 1.035 MB / 7.508 GB, free: 9.941 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.718e-05/23.85, allocations: 12.03 kB / 7.508 GB, free: 9.941 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.261e-05/23.85, allocations: 3.625 kB / 7.508 GB, free: 9.941 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00126/23.85, allocations: 169.4 kB / 7.508 GB, free: 9.91 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001532/23.86, allocations: 191 kB / 7.509 GB, free: 9.91 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004515/23.86, allocations: 3.927 MB / 7.512 GB, free: 22.24 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001144/23.86, allocations: 63.23 kB / 7.512 GB, free: 22.23 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001291/23.86, allocations: 45.5 kB / 7.513 GB, free: 22.23 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.0005902/23.86, allocations: 228.4 kB / 7.513 GB, free: 22.11 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005991/23.86, allocations: 63.25 kB / 7.513 GB, free: 22.08 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003442/23.87, allocations: 1.123 MB / 7.514 GB, free: 21.96 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.519e-05/23.87, allocations: 12.19 kB / 7.514 GB, free: 21.96 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.06e-06/23.87, allocations: 0 / 7.514 GB, free: 21.96 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002969/23.87, allocations: 1.348 MB / 7.515 GB, free: 21.3 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005512/23.88, allocations: 2.072 MB / 7.517 GB, free: 20.9 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.797e-06/23.88, allocations: 3.062 kB / 7.517 GB, free: 20.9 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001495/23.88, allocations: 180 kB / 7.517 GB, free: 20.9 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002888/23.88, allocations: 304.8 kB / 7.518 GB, free: 20.88 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001473/23.88, allocations: 34.92 kB / 7.518 GB, free: 20.87 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001147/23.88, allocations: 1.299 MB / 7.519 GB, free: 19.7 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.259e-06/23.88, allocations: 2.438 kB / 7.519 GB, free: 19.7 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004285/23.89, allocations: 1.467 MB / 7.52 GB, free: 19.46 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003169/23.89, allocations: 135.9 kB / 7.521 GB, free: 19.34 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001875/23.89, allocations: 25.94 kB / 7.521 GB, free: 19.34 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001105/23.89, allocations: 59.59 kB / 7.521 GB, free: 19.33 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001477/23.89, allocations: 62.38 kB / 7.521 GB, free: 19.32 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001455/23.89, allocations: 56.59 kB / 7.521 GB, free: 19.32 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0004356/23.89, allocations: 261.6 kB / 7.521 GB, free: 19.24 MB / 442.7 MB Notification: Performance of sort global known variables: time 4.6e-07/23.89, allocations: 0 / 7.521 GB, free: 19.24 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.01101/23.9, allocations: 2.294 MB / 7.523 GB, free: 18.78 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.01941/23.92, allocations: 3.38 MB / 7.527 GB, free: 18.12 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.003178/23.92, allocations: 1.147 MB / 7.528 GB, free: 17.86 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 8.696e-06/23.92, allocations: 3.094 kB / 7.528 GB, free: 17.86 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001466/23.92, allocations: 0.5164 MB / 7.528 GB, free: 17.84 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003626/23.93, allocations: 385 kB / 7.529 GB, free: 17.82 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00472/23.93, allocations: 2.076 MB / 7.531 GB, free: 17.07 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006455/23.93, allocations: 0.9382 MB / 7.531 GB, free: 16.37 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.001474/23.93, allocations: 198.6 kB / 7.532 GB, free: 16.35 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003547/23.93, allocations: 75.84 kB / 7.532 GB, free: 16.34 MB / 442.7 MB Notification: Performance of SimCode: time 1.042e-06/23.93, allocations: 0.7188 kB / 7.532 GB, free: 16.34 MB / 442.7 MB Notification: Performance of Templates: time 0.5391/24.47, allocations: 79.86 MB / 7.61 GB, free: 68.86 MB / 442.7 MB