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.Tests.MediaTestModels.Air.MoistAir.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.Tests.MediaTestModels.Air.MoistAir,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.Tests.MediaTestModels.Air.MoistAir") Notification: Performance of loadModel(Modelica): time 1.864/1.864, allocations: 194.9 MB / 211.7 MB, free: 2.98 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003593/0.0003595, allocations: 8 kB / 264 MB, free: 13.55 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07833/0.07871, allocations: 44.5 MB / 308.5 MB, free: 0.9805 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.368/8.447, allocations: 3.617 GB / 3.918 GB, free: 102.1 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002747/8.447, allocations: 89.66 kB / 3.918 GB, free: 102.1 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.474/9.922, allocations: 322.4 MB / 4.233 GB, free: 61 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.638e-06/9.922, allocations: 0 / 4.233 GB, free: 61 MB / 410.7 MB Notification: Performance of Transformations before backend: time 2.631e-05/9.922, allocations: 12.47 kB / 4.233 GB, free: 61 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.004582/9.926, allocations: 1.585 MB / 4.235 GB, free: 60.15 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.949e-05/9.926, allocations: 10.62 kB / 4.235 GB, free: 60.15 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004593/9.927, allocations: 62.09 kB / 4.235 GB, free: 60.13 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005714/9.927, allocations: 356.5 kB / 4.235 GB, free: 59.92 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.406e-05/9.928, allocations: 29.7 kB / 4.235 GB, free: 59.92 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.785e-05/9.928, allocations: 43.91 kB / 4.235 GB, free: 59.92 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00111/9.929, allocations: 0.5008 MB / 4.236 GB, free: 59.88 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.603e-05/9.929, allocations: 0 / 4.236 GB, free: 59.88 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.09e-05/9.929, allocations: 21.41 kB / 4.236 GB, free: 59.88 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.214e-05/9.929, allocations: 11.09 kB / 4.236 GB, free: 59.88 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001272/9.93, allocations: 0.5929 MB / 4.236 GB, free: 59.88 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003722/9.934, allocations: 2.177 MB / 4.238 GB, free: 58.68 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001462/9.935, allocations: 0.5467 MB / 4.239 GB, free: 58.65 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000574/9.936, allocations: 0.7087 MB / 4.24 GB, free: 57.9 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.884e-05/9.936, allocations: 47.12 kB / 4.24 GB, free: 57.86 MB / 410.7 MB Notification: Performance of pre-optimization done (n=53): time 4.103e-06/9.936, allocations: 2.812 kB / 4.24 GB, free: 57.86 MB / 410.7 MB Notification: Performance of matching and sorting (n=65): time 0.02117/9.957, allocations: 4.11 MB / 4.244 GB, free: 57.21 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.117e-05/9.957, allocations: 58.19 kB / 4.244 GB, free: 57.14 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003971/9.958, allocations: 269.2 kB / 4.244 GB, free: 57.04 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001423/9.958, allocations: 39.55 kB / 4.244 GB, free: 57.01 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000105/9.958, allocations: 249 kB / 4.244 GB, free: 56.82 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001889/9.958, allocations: 226.6 kB / 4.244 GB, free: 56.68 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.363e-05/9.958, allocations: 14.56 kB / 4.244 GB, free: 56.68 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 6.897e-05/9.958, allocations: 334 kB / 4.245 GB, free: 56.36 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008472/9.959, allocations: 320.2 kB / 4.245 GB, free: 56.36 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009863/9.96, allocations: 384.1 kB / 4.245 GB, free: 56.31 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001039/9.961, allocations: 355.3 kB / 4.246 GB, free: 56.3 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.397e-06/9.961, allocations: 0 / 4.246 GB, free: 56.3 MB / 410.7 MB Notification: Performance of matching and sorting (n=77) (initialization): time 0.006283/9.968, allocations: 0.9841 MB / 4.247 GB, free: 56.22 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.05e-05/9.968, allocations: 7.531 kB / 4.247 GB, free: 56.22 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.732e-05/9.968, allocations: 3.562 kB / 4.247 GB, free: 56.22 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004101/9.972, allocations: 360.8 kB / 4.247 GB, free: 56.2 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00161/9.974, allocations: 122.5 kB / 4.247 GB, free: 56.19 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007588/9.981, allocations: 3.531 MB / 4.251 GB, free: 53.17 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001855/9.983, allocations: 65.94 kB / 4.251 GB, free: 53.16 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002006/9.983, allocations: 30.53 kB / 4.251 GB, free: 53.16 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (68): * Single equations (assignments): 65 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {2 6,1 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0007852/9.984, allocations: 194.8 kB / 4.251 GB, free: 53.05 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003495/9.985, allocations: 43.44 kB / 4.251 GB, free: 53.03 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0196/10, allocations: 1.375 MB / 4.252 GB, free: 52.94 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.053e-05/10, allocations: 7.656 kB / 4.252 GB, free: 52.94 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.651e-05/10, allocations: 16.39 kB / 4.252 GB, free: 52.93 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.02245/10.03, allocations: 1.42 MB / 4.254 GB, free: 52.57 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01686/10.04, allocations: 1.726 MB / 4.255 GB, free: 52.23 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.348e-05/10.04, allocations: 0 / 4.255 GB, free: 52.23 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001495/10.05, allocations: 110.7 kB / 4.255 GB, free: 52.23 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004753/10.05, allocations: 398.3 kB / 4.256 GB, free: 52.22 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002401/10.05, allocations: 23.7 kB / 4.256 GB, free: 52.22 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0033/10.05, allocations: 0.8838 MB / 4.257 GB, free: 51.7 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.95e-06/10.05, allocations: 4.594 kB / 4.257 GB, free: 51.7 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01213/10.07, allocations: 1.691 MB / 4.258 GB, free: 51.49 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004093/10.07, allocations: 123.9 kB / 4.259 GB, free: 51.37 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003074/10.07, allocations: 24.59 kB / 4.259 GB, free: 51.37 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001868/10.07, allocations: 67.88 kB / 4.259 GB, free: 51.36 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002211/10.07, allocations: 44.94 kB / 4.259 GB, free: 51.36 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002281/10.07, allocations: 33.84 kB / 4.259 GB, free: 51.36 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0006274/10.07, allocations: 225.4 kB / 4.259 GB, free: 51.28 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.071e-06/10.07, allocations: 0 / 4.259 GB, free: 51.28 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0041/10.07, allocations: 0.5338 MB / 4.259 GB, free: 51.19 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (62): * Single equations (assignments): 61 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {2 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.002885/10.08, allocations: 1.191 MB / 4.261 GB, free: 50.93 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.002582/10.08, allocations: 1 MB / 4.262 GB, free: 50.69 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 6.679e-06/10.08, allocations: 2.875 kB / 4.262 GB, free: 50.69 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001215/10.08, allocations: 424.9 kB / 4.262 GB, free: 50.68 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001887/10.08, allocations: 284.9 kB / 4.262 GB, free: 50.67 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003729/10.09, allocations: 1.576 MB / 4.264 GB, free: 50.11 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003571/10.09, allocations: 0.8654 MB / 4.265 GB, free: 49.41 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003069/10.09, allocations: 59.73 kB / 4.265 GB, free: 49.41 MB / 410.7 MB Notification: Performance of SimCode: time 1.516e-06/10.09, allocations: 0 / 4.265 GB, free: 49.41 MB / 410.7 MB Notification: Performance of Templates: time 0.03136/10.12, allocations: 20.88 MB / 4.285 GB, free: 46.84 MB / 410.7 MB