Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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/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.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.96/1.96, allocations: 194.9 MB / 212.3 MB, free: 2.996 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003705/0.0003707, allocations: 12 kB / 264.5 MB, free: 13.59 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1074/0.1078, allocations: 44.49 MB / 309 MB, free: 1.031 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 10.38/10.49, allocations: 3.617 GB / 3.919 GB, free: 64.68 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004196/10.49, allocations: 103.6 kB / 3.919 GB, free: 64.62 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.805/12.29, allocations: 322.4 MB / 4.234 GB, free: 63.81 MB / 410.7 MB Notification: Performance of FrontEnd: time 3.326e-06/12.29, allocations: 0 / 4.234 GB, free: 63.81 MB / 410.7 MB Notification: Performance of Transformations before backend: time 3.633e-05/12.29, allocations: 9.734 kB / 4.234 GB, free: 63.81 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.006704/12.3, allocations: 1.591 MB / 4.235 GB, free: 62.77 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.932e-05/12.3, allocations: 15.62 kB / 4.235 GB, free: 62.77 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008747/12.3, allocations: 60.59 kB / 4.235 GB, free: 62.74 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001364/12.3, allocations: 350.9 kB / 4.236 GB, free: 62.46 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.824e-05/12.3, allocations: 31.16 kB / 4.236 GB, free: 62.45 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001981/12.3, allocations: 44 kB / 4.236 GB, free: 62.43 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002292/12.31, allocations: 0.4952 MB / 4.236 GB, free: 62.23 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.208e-05/12.31, allocations: 3.969 kB / 4.236 GB, free: 62.23 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001832/12.31, allocations: 19.97 kB / 4.236 GB, free: 62.21 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.307e-05/12.31, allocations: 10.09 kB / 4.236 GB, free: 62.21 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002187/12.31, allocations: 0.5972 MB / 4.237 GB, free: 62.03 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007043/12.32, allocations: 2.175 MB / 4.239 GB, free: 60.41 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002753/12.32, allocations: 0.5656 MB / 4.239 GB, free: 60.2 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0009851/12.32, allocations: 0.6905 MB / 4.24 GB, free: 59.44 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.768e-05/12.32, allocations: 42.72 kB / 4.24 GB, free: 59.39 MB / 410.7 MB Notification: Performance of pre-optimization done (n=53): time 5.68e-06/12.32, allocations: 0 / 4.24 GB, free: 59.39 MB / 410.7 MB Notification: Performance of matching and sorting (n=65): time 0.02943/12.35, allocations: 4.117 MB / 4.244 GB, free: 56.72 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.457e-05/12.35, allocations: 67.95 kB / 4.244 GB, free: 56.64 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004816/12.35, allocations: 294.5 kB / 4.244 GB, free: 56.34 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001904/12.35, allocations: 37.7 kB / 4.244 GB, free: 56.3 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001209/12.35, allocations: 250.6 kB / 4.245 GB, free: 56.05 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002163/12.35, allocations: 218.8 kB / 4.245 GB, free: 55.84 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.732e-05/12.35, allocations: 16 kB / 4.245 GB, free: 55.83 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 8.176e-05/12.35, allocations: 330.8 kB / 4.245 GB, free: 55.5 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001194/12.35, allocations: 316.2 kB / 4.246 GB, free: 55.19 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001157/12.35, allocations: 399.9 kB / 4.246 GB, free: 54.79 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001221/12.35, allocations: 343.6 kB / 4.246 GB, free: 54.45 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.709e-06/12.35, allocations: 0 / 4.246 GB, free: 54.45 MB / 410.7 MB Notification: Performance of matching and sorting (n=77) (initialization): time 0.003907/12.36, allocations: 0.9973 MB / 4.247 GB, free: 53.45 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.068e-05/12.36, allocations: 8 kB / 4.247 GB, free: 53.45 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.246e-05/12.36, allocations: 0 / 4.247 GB, free: 53.45 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002885/12.36, allocations: 360.8 kB / 4.248 GB, free: 53.1 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001115/12.36, allocations: 119.8 kB / 4.248 GB, free: 52.98 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004673/12.37, allocations: 3.533 MB / 4.251 GB, free: 49.17 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001241/12.37, allocations: 67.86 kB / 4.251 GB, free: 49.11 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001094/12.37, allocations: 31.36 kB / 4.251 GB, free: 49.08 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.0004578/12.37, allocations: 197.7 kB / 4.251 GB, free: 48.88 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001759/12.37, allocations: 43.53 kB / 4.251 GB, free: 48.83 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007847/12.38, allocations: 1.372 MB / 4.253 GB, free: 47.44 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.037e-05/12.38, allocations: 12 kB / 4.253 GB, free: 47.43 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.132e-06/12.38, allocations: 0 / 4.253 GB, free: 47.43 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.007277/12.38, allocations: 1.428 MB / 4.254 GB, free: 45.93 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005048/12.39, allocations: 1.731 MB / 4.256 GB, free: 44.15 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.074e-05/12.39, allocations: 0 / 4.256 GB, free: 44.15 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001089/12.39, allocations: 115.9 kB / 4.256 GB, free: 44.04 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003413/12.39, allocations: 386.8 kB / 4.256 GB, free: 43.66 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001725/12.39, allocations: 23.98 kB / 4.256 GB, free: 43.64 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002121/12.4, allocations: 0.888 MB / 4.257 GB, free: 42.72 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.679e-06/12.4, allocations: 7.984 kB / 4.257 GB, free: 42.71 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008221/12.4, allocations: 1.682 MB / 4.259 GB, free: 41.02 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002464/12.4, allocations: 128.3 kB / 4.259 GB, free: 40.88 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001945/12.4, allocations: 12 kB / 4.259 GB, free: 40.86 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001189/12.41, allocations: 63.86 kB / 4.259 GB, free: 40.8 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001202/12.41, allocations: 40.5 kB / 4.259 GB, free: 40.76 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001102/12.41, allocations: 31.97 kB / 4.259 GB, free: 40.73 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0003775/12.41, allocations: 225.9 kB / 4.259 GB, free: 40.51 MB / 410.7 MB Notification: Performance of sort global known variables: time 4.21e-07/12.41, allocations: 0 / 4.259 GB, free: 40.51 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.002501/12.41, allocations: 0.5307 MB / 4.26 GB, free: 39.98 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.003434/12.41, allocations: 1.206 MB / 4.261 GB, free: 38.93 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.003268/12.42, allocations: 1.002 MB / 4.262 GB, free: 37.91 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 6.161e-06/12.42, allocations: 0 / 4.262 GB, free: 37.91 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001458/12.42, allocations: 423.2 kB / 4.263 GB, free: 37.49 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002683/12.42, allocations: 284.4 kB / 4.263 GB, free: 37.21 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004442/12.42, allocations: 1.589 MB / 4.264 GB, free: 35.6 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003603/12.43, allocations: 0.8573 MB / 4.265 GB, free: 34.72 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003937/12.43, allocations: 63.36 kB / 4.265 GB, free: 34.66 MB / 410.7 MB Notification: Performance of SimCode: time 1.413e-06/12.43, allocations: 4 kB / 4.265 GB, free: 34.65 MB / 410.7 MB Notification: Performance of Templates: time 0.03984/12.47, allocations: 20.91 MB / 4.286 GB, free: 13.82 MB / 410.7 MB