Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/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@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/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.572/1.572, allocations: 171.2 MB / 184.2 MB, free: 11.95 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 2.934e-05/2.962e-05, allocations: 4 kB / 228.8 MB, free: 15.32 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2113/0.2114, allocations: 38.77 MB / 267.6 MB, free: 9.434 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 14.66/14.88, allocations: 6.523 GB / 6.785 GB, free: 71.2 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002335/14.88, allocations: 81.02 kB / 6.785 GB, free: 71.16 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.948/18.82, allocations: 0.8372 GB / 7.622 GB, free: 32.53 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.398e-06/18.82, allocations: 4.812 kB / 7.622 GB, free: 32.53 MB / 410.7 MB Notification: Performance of Transformations before backend: time 3.245e-05/18.82, allocations: 11.31 kB / 7.622 GB, free: 32.53 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.01144/18.84, allocations: 2.877 MB / 7.625 GB, free: 31.02 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.448e-05/18.84, allocations: 11.5 kB / 7.625 GB, free: 31.02 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004731/18.84, allocations: 66.75 kB / 7.625 GB, free: 30.99 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005954/18.84, allocations: 361.6 kB / 7.625 GB, free: 30.75 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.457e-05/18.84, allocations: 31.69 kB / 7.625 GB, free: 30.75 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.296e-05/18.84, allocations: 41.12 kB / 7.625 GB, free: 30.75 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001647/18.84, allocations: 0.5073 MB / 7.626 GB, free: 30.71 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.887e-05/18.84, allocations: 0 / 7.626 GB, free: 30.71 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.049e-05/18.84, allocations: 25.88 kB / 7.626 GB, free: 30.7 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.113e-05/18.84, allocations: 7.781 kB / 7.626 GB, free: 30.7 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001874/18.84, allocations: 0.6235 MB / 7.627 GB, free: 30.7 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01731/18.86, allocations: 11.7 MB / 7.638 GB, free: 19.92 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001499/18.86, allocations: 0.6346 MB / 7.639 GB, free: 19.7 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005815/18.86, allocations: 253.5 kB / 7.639 GB, free: 19.7 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03033/18.89, allocations: 20.13 MB / 7.658 GB, free: 15.43 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.489e-05/18.89, allocations: 44.03 kB / 7.658 GB, free: 15.39 MB / 426.7 MB Notification: Performance of pre-optimization done (n=50): time 5.307e-06/18.89, allocations: 3.938 kB / 7.659 GB, free: 15.38 MB / 426.7 MB Notification: Performance of matching and sorting (n=55): time 0.007974/18.9, allocations: 1.739 MB / 7.66 GB, free: 14.96 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.609e-05/18.9, allocations: 59.53 kB / 7.66 GB, free: 14.9 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004384/18.9, allocations: 287.1 kB / 7.661 GB, free: 14.8 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001123/18.9, allocations: 39.27 kB / 7.661 GB, free: 14.77 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001633/18.9, allocations: 255.7 kB / 7.661 GB, free: 14.57 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001541/18.9, allocations: 185 kB / 7.661 GB, free: 14.45 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.33e-05/18.9, allocations: 12.59 kB / 7.661 GB, free: 14.45 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001719/18.9, allocations: 335.8 kB / 7.661 GB, free: 14.14 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004981/18.9, allocations: 208.7 kB / 7.662 GB, free: 14.14 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00081/18.9, allocations: 300.2 kB / 7.662 GB, free: 14.05 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008103/18.9, allocations: 254.5 kB / 7.662 GB, free: 14.05 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.633e-06/18.9, allocations: 3.406 kB / 7.662 GB, free: 14.05 MB / 426.7 MB Notification: Performance of matching and sorting (n=70) (initialization): time 0.002519/18.91, allocations: 0.6803 MB / 7.663 GB, free: 13.95 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.8e-05/18.91, allocations: 7.219 kB / 7.663 GB, free: 13.95 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.172e-05/18.91, allocations: 3.531 kB / 7.663 GB, free: 13.95 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007147/18.91, allocations: 110.1 kB / 7.663 GB, free: 13.92 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006876/18.91, allocations: 121.8 kB / 7.663 GB, free: 13.91 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003263/18.91, allocations: 3.274 MB / 7.666 GB, free: 10.79 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006655/18.91, allocations: 40.14 kB / 7.666 GB, free: 10.79 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.411e-05/18.91, allocations: 36.75 kB / 7.666 GB, free: 10.78 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 () * 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.0002502/18.91, allocations: 131.6 kB / 7.666 GB, free: 10.67 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004327/18.91, allocations: 47.47 kB / 7.666 GB, free: 10.65 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002112/18.91, allocations: 0.7137 MB / 7.667 GB, free: 10.55 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.537e-06/18.91, allocations: 3 kB / 7.667 GB, free: 10.55 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.142e-06/18.91, allocations: 3.719 kB / 7.667 GB, free: 10.55 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001699/18.92, allocations: 0.7738 MB / 7.668 GB, free: 10.18 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003391/18.92, allocations: 1.405 MB / 7.669 GB, free: 9.805 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.205e-06/18.92, allocations: 4.062 kB / 7.669 GB, free: 9.801 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007499/18.92, allocations: 118.5 kB / 7.669 GB, free: 9.793 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001385/18.92, allocations: 157.3 kB / 7.669 GB, free: 9.773 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001052/18.92, allocations: 19.5 kB / 7.67 GB, free: 9.773 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006058/18.92, allocations: 0.6492 MB / 7.67 GB, free: 9.184 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.993e-06/18.92, allocations: 2.469 kB / 7.67 GB, free: 9.184 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00251/18.92, allocations: 0.9913 MB / 7.671 GB, free: 8.895 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002707/18.92, allocations: 131.6 kB / 7.671 GB, free: 8.777 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001048/18.92, allocations: 16.03 kB / 7.671 GB, free: 8.773 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006034/18.93, allocations: 34.55 kB / 7.671 GB, free: 8.77 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.087e-05/18.93, allocations: 39.86 kB / 7.671 GB, free: 8.77 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.091e-05/18.93, allocations: 37.02 kB / 7.671 GB, free: 8.77 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0003593/18.93, allocations: 236.3 kB / 7.672 GB, free: 8.684 MB / 426.7 MB Notification: Performance of sort global known variables: time 9.16e-07/18.93, allocations: 0 / 7.672 GB, free: 8.684 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.00819/18.93, allocations: 1.966 MB / 7.674 GB, free: 8.293 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 () * 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.01402/18.95, allocations: 3.11 MB / 7.677 GB, free: 7.516 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.002013/18.95, allocations: 0.7812 MB / 7.677 GB, free: 7.277 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 6.408e-06/18.95, allocations: 0.5 kB / 7.677 GB, free: 7.277 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008004/18.95, allocations: 311.7 kB / 7.678 GB, free: 7.242 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001949/18.95, allocations: 284.2 kB / 7.678 GB, free: 7.219 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002232/18.96, allocations: 0.9324 MB / 7.679 GB, free: 6.867 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007982/18.96, allocations: 0.8531 MB / 7.68 GB, free: 22.16 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003137/18.96, allocations: 62.03 kB / 7.68 GB, free: 22.16 MB / 442.7 MB Notification: Performance of SimCode: time 1.807e-06/18.96, allocations: 4 kB / 7.68 GB, free: 22.15 MB / 442.7 MB Notification: Performance of Templates: time 0.09289/19.05, allocations: 54.71 MB / 7.733 GB, free: 4.543 MB / 442.7 MB