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.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_Modelica.Media.Examples.ReferenceAir.MoistAir1") Notification: Performance of loadModel(Modelica): time 1.652/1.652, allocations: 171.2 MB / 186.7 MB, free: 1.031 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004839/0.0004839, allocations: 12 kB / 233.8 MB, free: 2.383 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1143/0.1148, allocations: 38.77 MB / 272.6 MB, free: 11.54 MB / 234.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 20.04/20.15, allocations: 6.524 GB / 6.79 GB, free: 61.79 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002898/20.15, allocations: 86.89 kB / 6.79 GB, free: 61.74 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.66/24.81, allocations: 0.838 GB / 7.628 GB, free: 32.2 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.755e-06/24.81, allocations: 0 / 7.628 GB, free: 32.2 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.275e-05/24.81, allocations: 11.09 kB / 7.628 GB, free: 32.2 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: 107 * Number of variables: 107 Notification: Performance of Generate backend data structure: time 0.01387/24.82, allocations: 2.919 MB / 7.631 GB, free: 30.63 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.408e-05/24.82, allocations: 14.84 kB / 7.631 GB, free: 30.63 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005541/24.83, allocations: 60.92 kB / 7.631 GB, free: 30.61 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007001/24.83, allocations: 360.6 kB / 7.631 GB, free: 30.37 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.936e-05/24.83, allocations: 40.16 kB / 7.631 GB, free: 30.37 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001142/24.83, allocations: 45.45 kB / 7.631 GB, free: 30.37 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002072/24.83, allocations: 0.5099 MB / 7.632 GB, free: 30.33 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.222e-05/24.83, allocations: 6.672 kB / 7.632 GB, free: 30.33 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.588e-05/24.83, allocations: 25.34 kB / 7.632 GB, free: 30.32 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.345e-05/24.83, allocations: 9.594 kB / 7.632 GB, free: 30.32 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001988/24.83, allocations: 0.6307 MB / 7.632 GB, free: 30.32 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02072/24.85, allocations: 11.67 MB / 7.644 GB, free: 19.55 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001645/24.85, allocations: 0.649 MB / 7.644 GB, free: 19.32 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03914/24.89, allocations: 20.09 MB / 7.664 GB, free: 15.05 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.347e-05/24.89, allocations: 40.44 kB / 7.664 GB, free: 15.01 MB / 426.7 MB Notification: Performance of pre-optimization done (n=50): time 4.679e-06/24.89, allocations: 0 / 7.664 GB, free: 15.01 MB / 426.7 MB Notification: Performance of matching and sorting (n=55): time 0.01507/24.91, allocations: 2.084 MB / 7.666 GB, free: 14.4 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.908e-05/24.91, allocations: 61.97 kB / 7.666 GB, free: 14.34 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000737/24.91, allocations: 314.1 kB / 7.666 GB, free: 14.23 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001783/24.91, allocations: 37.98 kB / 7.666 GB, free: 14.2 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002032/24.91, allocations: 209.3 kB / 7.667 GB, free: 14.07 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002634/24.91, allocations: 180.8 kB / 7.667 GB, free: 13.95 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.42e-05/24.91, allocations: 14.25 kB / 7.667 GB, free: 13.95 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0002255/24.91, allocations: 350.8 kB / 7.667 GB, free: 13.64 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008975/24.91, allocations: 216.4 kB / 7.667 GB, free: 13.63 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001523/24.91, allocations: 307.2 kB / 7.668 GB, free: 13.55 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001569/24.91, allocations: 265.5 kB / 7.668 GB, free: 13.54 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.654e-06/24.91, allocations: 0 / 7.668 GB, free: 13.54 MB / 426.7 MB Notification: Performance of matching and sorting (n=70) (initialization): time 0.004501/24.92, allocations: 0.7007 MB / 7.669 GB, free: 13.45 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.721e-05/24.92, allocations: 10.19 kB / 7.669 GB, free: 13.44 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.795e-05/24.92, allocations: 6.797 kB / 7.669 GB, free: 13.44 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001194/24.92, allocations: 108.7 kB / 7.669 GB, free: 13.41 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001542/24.92, allocations: 120.4 kB / 7.669 GB, free: 13.41 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004917/24.93, allocations: 3.281 MB / 7.672 GB, free: 10.3 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00119/24.93, allocations: 45.98 kB / 7.672 GB, free: 10.29 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001618/24.93, allocations: 32.12 kB / 7.672 GB, free: 10.29 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.0006199/24.93, allocations: 194.5 kB / 7.672 GB, free: 10.16 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007562/24.93, allocations: 46.94 kB / 7.672 GB, free: 10.14 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003736/24.93, allocations: 0.7156 MB / 7.673 GB, free: 10.05 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.637e-05/24.93, allocations: 6.344 kB / 7.673 GB, free: 10.05 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.982e-06/24.93, allocations: 0 / 7.673 GB, free: 10.05 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003021/24.94, allocations: 0.7856 MB / 7.674 GB, free: 9.68 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006009/24.94, allocations: 1.404 MB / 7.675 GB, free: 9.305 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.252e-05/24.94, allocations: 5.906 kB / 7.675 GB, free: 9.305 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001464/24.94, allocations: 115.4 kB / 7.675 GB, free: 9.301 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00244/24.95, allocations: 147.5 kB / 7.675 GB, free: 9.289 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001517/24.95, allocations: 28.17 kB / 7.675 GB, free: 9.285 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008621/24.95, allocations: 0.6477 MB / 7.676 GB, free: 8.695 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.472e-06/24.95, allocations: 3.125 kB / 7.676 GB, free: 8.695 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004649/24.95, allocations: 0.973 MB / 7.677 GB, free: 8.477 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003483/24.95, allocations: 132 kB / 7.677 GB, free: 8.355 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001984/24.95, allocations: 15.97 kB / 7.677 GB, free: 8.355 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00123/24.95, allocations: 32 kB / 7.677 GB, free: 8.355 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001392/24.95, allocations: 41.14 kB / 7.677 GB, free: 8.355 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001486/24.95, allocations: 36.47 kB / 7.677 GB, free: 8.355 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0005926/24.95, allocations: 234.5 kB / 7.678 GB, free: 8.273 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.072e-06/24.95, allocations: 0 / 7.678 GB, free: 8.273 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.013/24.97, allocations: 1.964 MB / 7.679 GB, free: 7.887 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.02364/24.99, allocations: 3.114 MB / 7.682 GB, free: 7.191 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.003502/24.99, allocations: 0.7958 MB / 7.683 GB, free: 6.949 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.064e-05/24.99, allocations: 2.781 kB / 7.683 GB, free: 6.949 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001693/25, allocations: 319 kB / 7.684 GB, free: 6.914 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004377/25, allocations: 273.8 kB / 7.684 GB, free: 6.887 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004279/25, allocations: 1.394 MB / 7.685 GB, free: 6.215 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000544/25.01, allocations: 0.8544 MB / 7.686 GB, free: 5.508 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.001049/25.01, allocations: 136 kB / 7.686 GB, free: 5.477 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002604/25.01, allocations: 60.28 kB / 7.686 GB, free: 5.469 MB / 426.7 MB Notification: Performance of SimCode: time 1.312e-06/25.01, allocations: 3.938 kB / 7.686 GB, free: 5.465 MB / 426.7 MB Notification: Performance of Templates: time 0.5183/25.53, allocations: 68.26 MB / 7.753 GB, free: 46.57 MB / 426.7 MB