Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.2_cpp_Modelica.Media.Examples.ReferenceAir.MoistAir1.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/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_cpp_Modelica.Media.Examples.ReferenceAir.MoistAir1") Notification: Performance of loadModel(Modelica): time 1.803/1.803, allocations: 194.9 MB / 211.7 MB, free: 2.977 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003715/0.0003716, allocations: 12 kB / 263.9 MB, free: 13.55 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08169/0.08209, allocations: 44.5 MB / 308.4 MB, free: 0.9844 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 14.88/14.96, allocations: 6.53 GB / 6.831 GB, free: 80.89 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002318/14.96, allocations: 79.95 kB / 6.831 GB, free: 80.82 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.689/18.65, allocations: 0.841 GB / 7.672 GB, free: 26.38 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.541e-06/18.65, allocations: 3.812 kB / 7.672 GB, free: 26.38 MB / 442.7 MB Notification: Performance of Transformations before backend: time 2.807e-05/18.65, allocations: 10.27 kB / 7.672 GB, free: 26.38 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.01166/18.66, allocations: 2.922 MB / 7.675 GB, free: 24.61 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.993e-05/18.66, allocations: 10.47 kB / 7.675 GB, free: 24.61 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000432/18.66, allocations: 57.8 kB / 7.675 GB, free: 24.59 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005794/18.66, allocations: 360.8 kB / 7.675 GB, free: 24.35 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.558e-05/18.66, allocations: 33.25 kB / 7.675 GB, free: 24.35 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.201e-05/18.66, allocations: 41.44 kB / 7.675 GB, free: 24.35 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001596/18.66, allocations: 0.5156 MB / 7.676 GB, free: 24.3 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.799e-05/18.66, allocations: 0 / 7.676 GB, free: 24.3 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.912e-05/18.66, allocations: 19.34 kB / 7.676 GB, free: 24.3 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.264e-05/18.66, allocations: 13.31 kB / 7.676 GB, free: 24.3 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001706/18.67, allocations: 0.63 MB / 7.676 GB, free: 24.3 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01545/18.68, allocations: 11.87 MB / 7.688 GB, free: 13.19 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0015/18.68, allocations: 0.6405 MB / 7.689 GB, free: 12.96 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0293/18.71, allocations: 20.09 MB / 7.708 GB, free: 24.53 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.945e-05/18.71, allocations: 40.72 kB / 7.708 GB, free: 24.49 MB / 474.7 MB Notification: Performance of pre-optimization done (n=50): time 4.017e-06/18.71, allocations: 0 / 7.708 GB, free: 24.49 MB / 474.7 MB Notification: Performance of matching and sorting (n=55): time 0.008223/18.72, allocations: 2.088 MB / 7.71 GB, free: 23.86 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.072e-05/18.72, allocations: 55.88 kB / 7.71 GB, free: 23.79 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004124/18.72, allocations: 285.8 kB / 7.711 GB, free: 23.7 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 8.635e-05/18.72, allocations: 36.23 kB / 7.711 GB, free: 23.67 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001581/18.72, allocations: 261.2 kB / 7.711 GB, free: 23.46 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001435/18.72, allocations: 191.2 kB / 7.711 GB, free: 23.34 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.892e-05/18.72, allocations: 7.188 kB / 7.711 GB, free: 23.34 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001843/18.72, allocations: 335.9 kB / 7.712 GB, free: 23.03 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004556/18.72, allocations: 214.2 kB / 7.712 GB, free: 23.03 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007738/18.72, allocations: 311.4 kB / 7.712 GB, free: 22.93 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007779/18.72, allocations: 256.2 kB / 7.712 GB, free: 22.93 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.107e-06/18.72, allocations: 3.375 kB / 7.712 GB, free: 22.93 MB / 474.7 MB Notification: Performance of matching and sorting (n=70) (initialization): time 0.0023/18.73, allocations: 0.6936 MB / 7.713 GB, free: 22.82 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.204e-05/18.73, allocations: 4.438 kB / 7.713 GB, free: 22.82 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.027e-05/18.73, allocations: 3.688 kB / 7.713 GB, free: 22.82 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000696/18.73, allocations: 107.2 kB / 7.713 GB, free: 22.79 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006359/18.73, allocations: 122.2 kB / 7.713 GB, free: 22.79 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003402/18.73, allocations: 3.29 MB / 7.716 GB, free: 19.6 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006198/18.73, allocations: 44.89 kB / 7.716 GB, free: 19.58 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.476e-05/18.73, allocations: 36.28 kB / 7.716 GB, free: 19.57 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.0003984/18.73, allocations: 184.3 kB / 7.717 GB, free: 19.41 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004205/18.73, allocations: 41.72 kB / 7.717 GB, free: 19.39 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002116/18.74, allocations: 0.7169 MB / 7.717 GB, free: 19.07 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.783e-06/18.74, allocations: 7.75 kB / 7.717 GB, free: 19.07 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.892e-06/18.74, allocations: 0 / 7.717 GB, free: 19.07 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001673/18.74, allocations: 0.7917 MB / 7.718 GB, free: 18.52 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003233/18.74, allocations: 1.406 MB / 7.72 GB, free: 17.75 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.316e-06/18.74, allocations: 7 kB / 7.72 GB, free: 17.74 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006246/18.74, allocations: 117.4 kB / 7.72 GB, free: 17.73 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001229/18.74, allocations: 151.4 kB / 7.72 GB, free: 17.7 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.014e-05/18.74, allocations: 18.88 kB / 7.72 GB, free: 17.7 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006045/18.74, allocations: 0.6566 MB / 7.72 GB, free: 17.07 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.968e-06/18.74, allocations: 0 / 7.72 GB, free: 17.07 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00247/18.75, allocations: 1.009 MB / 7.721 GB, free: 16.51 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002373/18.75, allocations: 122.7 kB / 7.722 GB, free: 16.39 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001012/18.75, allocations: 21.45 kB / 7.722 GB, free: 16.38 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000582/18.75, allocations: 40.16 kB / 7.722 GB, free: 16.36 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.62e-05/18.75, allocations: 40 kB / 7.722 GB, free: 16.35 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.375e-05/18.75, allocations: 35.31 kB / 7.722 GB, free: 16.34 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0003363/18.75, allocations: 239.5 kB / 7.722 GB, free: 16.21 MB / 474.7 MB Notification: Performance of sort global known variables: time 7.46e-07/18.75, allocations: 0 / 7.722 GB, free: 16.21 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.008003/18.75, allocations: 1.97 MB / 7.724 GB, free: 15.66 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.01377/18.77, allocations: 3.094 MB / 7.727 GB, free: 13.52 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.001943/18.77, allocations: 0.8091 MB / 7.728 GB, free: 12.75 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 5.621e-06/18.77, allocations: 0 / 7.728 GB, free: 12.75 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007598/18.77, allocations: 310.1 kB / 7.728 GB, free: 12.47 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001654/18.77, allocations: 288.5 kB / 7.728 GB, free: 12.27 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002489/18.78, allocations: 1.419 MB / 7.73 GB, free: 10.98 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005809/18.78, allocations: 0.8552 MB / 7.73 GB, free: 10.16 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000285/18.78, allocations: 63.05 kB / 7.73 GB, free: 10.11 MB / 474.7 MB Notification: Performance of SimCode: time 1.729e-06/18.78, allocations: 7.938 kB / 7.73 GB, free: 10.1 MB / 474.7 MB Notification: Performance of Templates: time 0.4044/19.18, allocations: 55.14 MB / 7.784 GB, free: 51.88 MB / 474.7 MB