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.MoistAir1.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.MoistAir1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.Xi.1.|volume.medium.p",fileNamePrefix="Modelica_3.2.2_Modelica.Media.Examples.ReferenceAir.MoistAir1") Notification: Performance of loadModel(Modelica): time 2.085/2.085, allocations: 194.8 MB / 211.7 MB, free: 2.879 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003642/0.0003643, allocations: 8 kB / 264.5 MB, free: 12.92 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1368/0.1372, allocations: 44.5 MB / 309 MB, free: 360 kB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 19.98/20.12, allocations: 6.53 GB / 6.831 GB, free: 95.61 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002981/20.12, allocations: 86 kB / 6.832 GB, free: 95.61 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.557/24.68, allocations: 0.841 GB / 7.673 GB, free: 27.17 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.615e-06/24.68, allocations: 7.5 kB / 7.673 GB, free: 27.16 MB / 442.7 MB Notification: Performance of Transformations before backend: time 4.094e-05/24.68, allocations: 7.812 kB / 7.673 GB, free: 27.16 MB / 442.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.01474/24.69, allocations: 2.926 MB / 7.675 GB, free: 25.52 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.427e-05/24.69, allocations: 10.59 kB / 7.675 GB, free: 25.52 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006191/24.69, allocations: 61.42 kB / 7.676 GB, free: 25.5 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008839/24.69, allocations: 364.7 kB / 7.676 GB, free: 25.26 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.223e-05/24.69, allocations: 35.38 kB / 7.676 GB, free: 25.25 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001273/24.69, allocations: 41 kB / 7.676 GB, free: 25.25 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002172/24.69, allocations: 0.5121 MB / 7.676 GB, free: 25.21 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.89e-05/24.69, allocations: 2.812 kB / 7.676 GB, free: 25.21 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001092/24.69, allocations: 17.94 kB / 7.676 GB, free: 25.21 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.26e-05/24.69, allocations: 9.438 kB / 7.676 GB, free: 25.21 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002278/24.7, allocations: 0.6341 MB / 7.677 GB, free: 25.21 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02172/24.72, allocations: 11.85 MB / 7.689 GB, free: 30.14 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00186/24.72, allocations: 0.6553 MB / 7.689 GB, free: 29.91 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03641/24.76, allocations: 20.08 MB / 7.709 GB, free: 25.5 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.671e-05/24.76, allocations: 44.06 kB / 7.709 GB, free: 25.46 MB / 474.7 MB Notification: Performance of pre-optimization done (n=50): time 3.417e-06/24.76, allocations: 0 / 7.709 GB, free: 25.46 MB / 474.7 MB Notification: Performance of matching and sorting (n=55): time 0.009637/24.77, allocations: 2.08 MB / 7.711 GB, free: 24.85 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.098e-05/24.77, allocations: 61.47 kB / 7.711 GB, free: 24.79 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005248/24.77, allocations: 322.1 kB / 7.711 GB, free: 24.67 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001491/24.77, allocations: 37.3 kB / 7.711 GB, free: 24.64 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001513/24.77, allocations: 196.2 kB / 7.712 GB, free: 24.51 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001809/24.77, allocations: 200 kB / 7.712 GB, free: 24.38 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.014e-05/24.77, allocations: 13.81 kB / 7.712 GB, free: 24.38 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001594/24.77, allocations: 346.5 kB / 7.712 GB, free: 24.07 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005463/24.77, allocations: 215.3 kB / 7.712 GB, free: 24.07 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009051/24.77, allocations: 310.2 kB / 7.713 GB, free: 23.98 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001017/24.77, allocations: 261.9 kB / 7.713 GB, free: 23.97 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.53e-06/24.77, allocations: 3.406 kB / 7.713 GB, free: 23.97 MB / 474.7 MB Notification: Performance of matching and sorting (n=70) (initialization): time 0.002679/24.77, allocations: 0.6997 MB / 7.714 GB, free: 23.86 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.732e-05/24.77, allocations: 5.594 kB / 7.714 GB, free: 23.86 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.14e-05/24.77, allocations: 2.562 kB / 7.714 GB, free: 23.86 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007813/24.77, allocations: 108.4 kB / 7.714 GB, free: 23.84 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001/24.78, allocations: 125.9 kB / 7.714 GB, free: 23.83 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004062/24.78, allocations: 3.278 MB / 7.717 GB, free: 20.71 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001159/24.78, allocations: 48.2 kB / 7.717 GB, free: 20.71 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001412/24.78, allocations: 30.89 kB / 7.717 GB, free: 20.71 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 (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.0005952/24.78, allocations: 186.4 kB / 7.717 GB, free: 20.59 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007361/24.78, allocations: 49.08 kB / 7.717 GB, free: 20.57 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003513/24.79, allocations: 0.716 MB / 7.718 GB, free: 20.47 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.547e-05/24.79, allocations: 7.594 kB / 7.718 GB, free: 20.46 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.514e-06/24.79, allocations: 3.625 kB / 7.718 GB, free: 20.46 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002935/24.79, allocations: 0.7916 MB / 7.719 GB, free: 20.09 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005722/24.79, allocations: 1.4 MB / 7.72 GB, free: 19.71 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.139e-05/24.79, allocations: 3.875 kB / 7.72 GB, free: 19.71 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001202/24.8, allocations: 116.4 kB / 7.72 GB, free: 19.7 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002171/24.8, allocations: 152.3 kB / 7.72 GB, free: 19.68 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002316/24.8, allocations: 22.88 kB / 7.72 GB, free: 19.68 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007684/24.8, allocations: 0.6484 MB / 7.721 GB, free: 19.09 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.549e-06/24.8, allocations: 0 / 7.721 GB, free: 19.09 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004237/24.8, allocations: 0.9706 MB / 7.722 GB, free: 18.87 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000362/24.8, allocations: 127.2 kB / 7.722 GB, free: 18.76 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002487/24.8, allocations: 10.94 kB / 7.722 GB, free: 18.76 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001235/24.81, allocations: 41.55 kB / 7.722 GB, free: 18.75 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001988/24.81, allocations: 41.17 kB / 7.722 GB, free: 18.75 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001703/24.81, allocations: 40.45 kB / 7.722 GB, free: 18.74 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0005944/24.81, allocations: 235.8 kB / 7.722 GB, free: 18.66 MB / 474.7 MB Notification: Performance of sort global known variables: time 6.11e-07/24.81, allocations: 0 / 7.722 GB, free: 18.66 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.01257/24.82, allocations: 1.967 MB / 7.724 GB, free: 18.28 MB / 474.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.02179/24.84, allocations: 3.106 MB / 7.727 GB, free: 17.49 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.002329/24.84, allocations: 0.809 MB / 7.728 GB, free: 17.23 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 6.031e-06/24.84, allocations: 3.281 kB / 7.728 GB, free: 17.23 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009303/24.84, allocations: 310.4 kB / 7.728 GB, free: 17.2 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00258/24.85, allocations: 284.1 kB / 7.729 GB, free: 17.17 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002998/24.85, allocations: 1.381 MB / 7.73 GB, free: 16.51 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005515/24.85, allocations: 0.8503 MB / 7.731 GB, free: 15.8 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.001042/24.85, allocations: 142.7 kB / 7.731 GB, free: 15.77 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002651/24.85, allocations: 59.52 kB / 7.731 GB, free: 15.76 MB / 474.7 MB Notification: Performance of SimCode: time 1.163e-06/24.85, allocations: 0 / 7.731 GB, free: 15.76 MB / 474.7 MB Notification: Performance of Templates: time 0.6123/25.46, allocations: 68.37 MB / 7.798 GB, free: 56.65 MB / 474.7 MB