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.MoistAir1.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.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.718/1.718, allocations: 171.1 MB / 187.3 MB, free: 1.137 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.00035/0.0003501, allocations: 12 kB / 233.8 MB, free: 0.9883 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08462/0.085, allocations: 38.78 MB / 272.5 MB, free: 10.14 MB / 234.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 19.1/19.18, allocations: 6.524 GB / 6.79 GB, free: 83.31 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002802/19.18, allocations: 81.42 kB / 6.79 GB, free: 83.31 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.638/23.82, allocations: 0.838 GB / 7.628 GB, free: 22 MB / 394.7 MB Notification: Performance of FrontEnd: time 3.326e-06/23.82, allocations: 0 / 7.628 GB, free: 22 MB / 394.7 MB Notification: Performance of Transformations before backend: time 4.31e-05/23.82, allocations: 10.88 kB / 7.628 GB, free: 22 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.0148/23.83, allocations: 2.932 MB / 7.631 GB, free: 20.48 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.516e-05/23.83, allocations: 14.19 kB / 7.631 GB, free: 20.48 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005823/23.83, allocations: 58.12 kB / 7.631 GB, free: 20.45 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009017/23.84, allocations: 361.7 kB / 7.631 GB, free: 20.23 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.745e-05/23.84, allocations: 32.91 kB / 7.631 GB, free: 20.23 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000131/23.84, allocations: 45.95 kB / 7.631 GB, free: 20.23 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002168/23.84, allocations: 0.5137 MB / 7.632 GB, free: 20.19 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.551e-05/23.84, allocations: 6.75 kB / 7.632 GB, free: 20.19 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001115/23.84, allocations: 20.62 kB / 7.632 GB, free: 20.19 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.278e-05/23.84, allocations: 11.34 kB / 7.632 GB, free: 20.19 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002307/23.84, allocations: 0.6319 MB / 7.632 GB, free: 20.18 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02003/23.86, allocations: 11.67 MB / 7.644 GB, free: 9.422 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001776/23.86, allocations: 0.6401 MB / 7.644 GB, free: 9.207 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03578/23.9, allocations: 20.09 MB / 7.664 GB, free: 20.93 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.374e-05/23.9, allocations: 44.16 kB / 7.664 GB, free: 20.89 MB / 426.7 MB Notification: Performance of pre-optimization done (n=50): time 3.907e-06/23.9, allocations: 3.938 kB / 7.664 GB, free: 20.89 MB / 426.7 MB Notification: Performance of matching and sorting (n=55): time 0.009872/23.91, allocations: 2.081 MB / 7.666 GB, free: 20.31 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.175e-05/23.91, allocations: 59.47 kB / 7.666 GB, free: 20.25 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004988/23.91, allocations: 321.2 kB / 7.666 GB, free: 20.14 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001021/23.91, allocations: 35.83 kB / 7.666 GB, free: 20.11 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001471/23.91, allocations: 252.8 kB / 7.667 GB, free: 19.91 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001727/23.91, allocations: 193.8 kB / 7.667 GB, free: 19.79 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.164e-05/23.91, allocations: 11.94 kB / 7.667 GB, free: 19.79 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001399/23.91, allocations: 333.3 kB / 7.667 GB, free: 19.48 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005631/23.91, allocations: 210.1 kB / 7.667 GB, free: 19.48 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000854/23.91, allocations: 312 kB / 7.668 GB, free: 19.39 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008612/23.91, allocations: 259.2 kB / 7.668 GB, free: 19.39 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.427e-06/23.91, allocations: 0 / 7.668 GB, free: 19.39 MB / 426.7 MB Notification: Performance of matching and sorting (n=70) (initialization): time 0.002477/23.91, allocations: 0.6878 MB / 7.669 GB, free: 19.31 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.14e-05/23.91, allocations: 9.859 kB / 7.669 GB, free: 19.31 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.238e-05/23.91, allocations: 7.234 kB / 7.669 GB, free: 19.3 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007026/23.92, allocations: 107.8 kB / 7.669 GB, free: 19.28 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009027/23.92, allocations: 120.2 kB / 7.669 GB, free: 19.28 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003197/23.92, allocations: 3.284 MB / 7.672 GB, free: 16.2 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007949/23.92, allocations: 41.58 kB / 7.672 GB, free: 16.19 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.258e-05/23.92, allocations: 30.5 kB / 7.672 GB, free: 16.19 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.0004407/23.92, allocations: 199.2 kB / 7.672 GB, free: 16.07 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004103/23.92, allocations: 41.69 kB / 7.672 GB, free: 16.05 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002439/23.92, allocations: 0.7116 MB / 7.673 GB, free: 15.96 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.808e-05/23.92, allocations: 10.97 kB / 7.673 GB, free: 15.96 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.173e-06/23.92, allocations: 0 / 7.673 GB, free: 15.96 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003163/23.93, allocations: 0.7903 MB / 7.674 GB, free: 15.59 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006281/23.93, allocations: 1.406 MB / 7.675 GB, free: 15.23 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.32e-05/23.93, allocations: 7.562 kB / 7.675 GB, free: 15.22 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0014/23.93, allocations: 115.7 kB / 7.675 GB, free: 15.22 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002246/23.94, allocations: 150.3 kB / 7.675 GB, free: 15.21 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001676/23.94, allocations: 21.97 kB / 7.675 GB, free: 15.21 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008465/23.94, allocations: 0.6561 MB / 7.676 GB, free: 14.62 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.328e-06/23.94, allocations: 0 / 7.676 GB, free: 14.62 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004336/23.94, allocations: 0.9648 MB / 7.677 GB, free: 14.4 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003205/23.94, allocations: 123.4 kB / 7.677 GB, free: 14.29 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001956/23.94, allocations: 16.97 kB / 7.677 GB, free: 14.29 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001254/23.94, allocations: 44.81 kB / 7.677 GB, free: 14.28 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001361/23.94, allocations: 36.59 kB / 7.677 GB, free: 14.28 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001521/23.94, allocations: 36.41 kB / 7.677 GB, free: 14.28 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0005596/23.95, allocations: 235.8 kB / 7.677 GB, free: 14.2 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.153e-06/23.95, allocations: 0 / 7.677 GB, free: 14.2 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.01251/23.96, allocations: 1.965 MB / 7.679 GB, free: 13.81 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.01789/23.98, allocations: 3.108 MB / 7.682 GB, free: 13.2 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.002342/23.98, allocations: 0.7873 MB / 7.683 GB, free: 12.96 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 6.773e-06/23.98, allocations: 2.375 kB / 7.683 GB, free: 12.96 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009568/23.98, allocations: 314.6 kB / 7.683 GB, free: 12.93 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002561/23.98, allocations: 282.2 kB / 7.684 GB, free: 12.91 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003157/23.98, allocations: 1.442 MB / 7.685 GB, free: 12.32 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005527/23.99, allocations: 0.8491 MB / 7.686 GB, free: 11.62 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004045/23.99, allocations: 65.19 kB / 7.686 GB, free: 11.61 MB / 426.7 MB Notification: Performance of SimCode: time 1.322e-06/23.99, allocations: 3.062 kB / 7.686 GB, free: 11.61 MB / 426.7 MB Notification: Performance of Templates: time 0.4362/24.42, allocations: 55.22 MB / 7.74 GB, free: 53.12 MB / 426.7 MB