Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Media.Examples.ReferenceAir.MoistAir2.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/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.2_Modelica.Media.Examples.ReferenceAir.MoistAir2") Notification: Performance of loadModel(Modelica): time 2.072/2.072, allocations: 194.9 MB / 211.7 MB, free: 3.004 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003718/0.0003719, allocations: 8 kB / 264.5 MB, free: 12.95 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1022/0.1026, allocations: 44.5 MB / 309 MB, free: 392 kB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 20.77/20.87, allocations: 6.53 GB / 6.831 GB, free: 96.04 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000254/20.88, allocations: 84.39 kB / 6.832 GB, free: 96.04 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.856/24.73, allocations: 0.6659 GB / 7.497 GB, free: 23.86 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.716e-06/24.73, allocations: 1.438 kB / 7.497 GB, free: 23.86 MB / 426.7 MB Notification: Performance of Transformations before backend: time 6.172e-05/24.73, allocations: 13.38 kB / 7.497 GB, free: 23.86 MB / 426.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.01154/24.74, allocations: 2.443 MB / 7.5 GB, free: 22.45 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.968e-05/24.74, allocations: 9.25 kB / 7.5 GB, free: 22.45 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006775/24.74, allocations: 84.36 kB / 7.5 GB, free: 22.42 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009038/24.74, allocations: 442.8 kB / 7.5 GB, free: 22.16 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.039e-05/24.74, allocations: 48.09 kB / 7.5 GB, free: 22.16 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001534/24.74, allocations: 60.38 kB / 7.5 GB, free: 22.16 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002612/24.75, allocations: 0.7134 MB / 7.501 GB, free: 22.11 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.096e-05/24.75, allocations: 3.375 kB / 7.501 GB, free: 22.11 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001293/24.75, allocations: 27.94 kB / 7.501 GB, free: 22.11 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.724e-05/24.75, allocations: 13.19 kB / 7.501 GB, free: 22.11 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002691/24.75, allocations: 0.8799 MB / 7.502 GB, free: 22.11 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02156/24.77, allocations: 12.66 MB / 7.514 GB, free: 10.74 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002448/24.77, allocations: 0.8785 MB / 7.515 GB, free: 10.51 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.05436/24.83, allocations: 30.13 MB / 7.545 GB, free: 12.09 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.565e-05/24.83, allocations: 41.66 kB / 7.545 GB, free: 12.05 MB / 458.7 MB Notification: Performance of pre-optimization done (n=78): time 3.536e-06/24.83, allocations: 3.719 kB / 7.545 GB, free: 12.05 MB / 458.7 MB Notification: Performance of matching and sorting (n=88): time 0.01923/24.85, allocations: 3.386 MB / 7.548 GB, free: 11.35 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.078e-05/24.85, allocations: 63.3 kB / 7.548 GB, free: 11.28 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008102/24.85, allocations: 355.7 kB / 7.548 GB, free: 11.18 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002269/24.85, allocations: 45.17 kB / 7.548 GB, free: 11.14 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001842/24.85, allocations: 239.7 kB / 7.549 GB, free: 11 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002756/24.85, allocations: 307.1 kB / 7.549 GB, free: 10.8 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.267e-05/24.85, allocations: 16.75 kB / 7.549 GB, free: 10.8 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001804/24.85, allocations: 363.5 kB / 7.549 GB, free: 10.48 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008707/24.85, allocations: 334.2 kB / 7.55 GB, free: 10.48 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001334/24.85, allocations: 450.7 kB / 7.55 GB, free: 10.39 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001299/24.85, allocations: 405.5 kB / 7.55 GB, free: 10.38 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.589e-06/24.85, allocations: 0 / 7.55 GB, free: 10.38 MB / 458.7 MB Notification: Performance of matching and sorting (n=106) (initialization): time 0.003645/24.86, allocations: 1.033 MB / 7.551 GB, free: 10.25 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.81e-05/24.86, allocations: 7.562 kB / 7.552 GB, free: 10.25 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.488e-05/24.86, allocations: 2.688 kB / 7.552 GB, free: 10.25 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001271/24.86, allocations: 173.1 kB / 7.552 GB, free: 10.22 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001579/24.86, allocations: 193.5 kB / 7.552 GB, free: 10.2 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004467/24.86, allocations: 3.93 MB / 7.556 GB, free: 22.52 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00114/24.87, allocations: 62.83 kB / 7.556 GB, free: 22.51 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001376/24.87, allocations: 48.58 kB / 7.556 GB, free: 22.5 MB / 474.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.0006108/24.87, allocations: 220.3 kB / 7.556 GB, free: 22.38 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006654/24.87, allocations: 62.91 kB / 7.556 GB, free: 22.35 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003666/24.87, allocations: 1.122 MB / 7.557 GB, free: 22.23 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.482e-05/24.87, allocations: 10.06 kB / 7.557 GB, free: 22.23 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.899e-06/24.87, allocations: 3.719 kB / 7.557 GB, free: 22.23 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003043/24.87, allocations: 1.338 MB / 7.558 GB, free: 21.56 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005811/24.88, allocations: 2.078 MB / 7.561 GB, free: 21.15 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.168e-05/24.88, allocations: 7.828 kB / 7.561 GB, free: 21.15 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001528/24.88, allocations: 190.9 kB / 7.561 GB, free: 21.14 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002938/24.88, allocations: 291.5 kB / 7.561 GB, free: 21.11 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002294/24.88, allocations: 33.56 kB / 7.561 GB, free: 21.11 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001158/24.89, allocations: 1.298 MB / 7.562 GB, free: 19.94 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.848e-06/24.89, allocations: 0 / 7.562 GB, free: 19.94 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004405/24.89, allocations: 1.467 MB / 7.564 GB, free: 19.69 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003618/24.89, allocations: 145.1 kB / 7.564 GB, free: 19.56 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002085/24.89, allocations: 27.17 kB / 7.564 GB, free: 19.56 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001108/24.89, allocations: 55.09 kB / 7.564 GB, free: 19.55 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001457/24.89, allocations: 62.62 kB / 7.564 GB, free: 19.55 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001451/24.89, allocations: 53.45 kB / 7.564 GB, free: 19.55 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0004504/24.89, allocations: 260 kB / 7.564 GB, free: 19.47 MB / 474.7 MB Notification: Performance of sort global known variables: time 4.01e-07/24.89, allocations: 0 / 7.564 GB, free: 19.47 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.01102/24.9, allocations: 2.299 MB / 7.567 GB, free: 19 MB / 474.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.02343/24.93, allocations: 3.382 MB / 7.57 GB, free: 18.33 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.00713/24.93, allocations: 1.151 MB / 7.571 GB, free: 18.05 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.546e-05/24.93, allocations: 0 / 7.571 GB, free: 18.05 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003179/24.94, allocations: 0.5131 MB / 7.571 GB, free: 18 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006376/24.94, allocations: 385.4 kB / 7.572 GB, free: 17.99 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006665/24.95, allocations: 2.078 MB / 7.574 GB, free: 17.14 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006522/24.95, allocations: 0.9384 MB / 7.575 GB, free: 16.43 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.001468/24.95, allocations: 197.6 kB / 7.575 GB, free: 16.41 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003556/24.95, allocations: 75.66 kB / 7.575 GB, free: 16.39 MB / 474.7 MB Notification: Performance of SimCode: time 1.172e-06/24.95, allocations: 3.938 kB / 7.575 GB, free: 16.39 MB / 474.7 MB Notification: Performance of Templates: time 0.5976/25.55, allocations: 79.96 MB / 7.653 GB, free: 71.18 MB / 474.7 MB