Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.2_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_Modelica.Media.Examples.Tests.MediaTestModels.Air.MoistAir") Notification: Performance of loadModel(Modelica): time 2.164/2.164, allocations: 194.8 MB / 211.7 MB, free: 3.004 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005141/0.0005143, allocations: 11.94 kB / 264.6 MB, free: 12.92 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1198/0.1204, allocations: 44.51 MB / 309.1 MB, free: 348 kB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 10.81/10.93, allocations: 3.617 GB / 3.919 GB, free: 63.5 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003236/10.93, allocations: 96.31 kB / 3.919 GB, free: 63.45 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.8/12.73, allocations: 322.4 MB / 4.234 GB, free: 64 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.114e-06/12.73, allocations: 0 / 4.234 GB, free: 64 MB / 410.7 MB Notification: Performance of Transformations before backend: time 3.362e-05/12.73, allocations: 11.09 kB / 4.234 GB, free: 64 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.00604/12.74, allocations: 1.587 MB / 4.235 GB, free: 62.92 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.266e-05/12.74, allocations: 13.88 kB / 4.235 GB, free: 62.92 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005598/12.74, allocations: 57.98 kB / 4.235 GB, free: 62.89 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008153/12.74, allocations: 345.4 kB / 4.236 GB, free: 62.61 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.03e-05/12.74, allocations: 34.38 kB / 4.236 GB, free: 62.6 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001187/12.74, allocations: 48.86 kB / 4.236 GB, free: 62.58 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001351/12.74, allocations: 0.4954 MB / 4.236 GB, free: 62.38 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.004e-05/12.74, allocations: 3 kB / 4.236 GB, free: 62.38 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.685e-05/12.74, allocations: 19.91 kB / 4.236 GB, free: 62.36 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.352e-05/12.74, allocations: 11.75 kB / 4.236 GB, free: 62.36 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001466/12.74, allocations: 0.5961 MB / 4.237 GB, free: 62.18 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004842/12.75, allocations: 2.164 MB / 4.239 GB, free: 60.57 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001925/12.75, allocations: 0.5655 MB / 4.239 GB, free: 60.33 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006764/12.75, allocations: 0.703 MB / 4.24 GB, free: 59.54 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.097e-05/12.75, allocations: 42.19 kB / 4.24 GB, free: 59.49 MB / 410.7 MB Notification: Performance of pre-optimization done (n=53): time 3.035e-06/12.75, allocations: 0 / 4.24 GB, free: 59.49 MB / 410.7 MB Notification: Performance of matching and sorting (n=65): time 0.02856/12.78, allocations: 4.111 MB / 4.244 GB, free: 55.68 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.269e-05/12.78, allocations: 66.73 kB / 4.244 GB, free: 55.61 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005087/12.78, allocations: 298.5 kB / 4.245 GB, free: 55.3 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002603/12.78, allocations: 37.7 kB / 4.245 GB, free: 55.26 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001427/12.78, allocations: 189.2 kB / 4.245 GB, free: 55.07 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002431/12.78, allocations: 224.6 kB / 4.245 GB, free: 54.86 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.499e-05/12.78, allocations: 12 kB / 4.245 GB, free: 54.84 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.000112/12.78, allocations: 354.1 kB / 4.245 GB, free: 54.49 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00129/12.78, allocations: 319.4 kB / 4.246 GB, free: 54.18 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001186/12.78, allocations: 379.9 kB / 4.246 GB, free: 53.8 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001213/12.78, allocations: 355.4 kB / 4.246 GB, free: 53.45 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.168e-06/12.78, allocations: 3.938 kB / 4.246 GB, free: 53.45 MB / 410.7 MB Notification: Performance of matching and sorting (n=77) (initialization): time 0.003975/12.79, allocations: 1.005 MB / 4.247 GB, free: 52.44 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.128e-05/12.79, allocations: 4.625 kB / 4.247 GB, free: 52.43 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.371e-05/12.79, allocations: 4 kB / 4.247 GB, free: 52.43 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002864/12.79, allocations: 363.9 kB / 4.248 GB, free: 52.09 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001101/12.79, allocations: 119.8 kB / 4.248 GB, free: 51.97 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004705/12.8, allocations: 3.536 MB / 4.251 GB, free: 48.15 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001264/12.8, allocations: 67.95 kB / 4.251 GB, free: 48.09 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001074/12.8, allocations: 31.34 kB / 4.251 GB, free: 48.06 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.0004807/12.8, allocations: 197.6 kB / 4.252 GB, free: 47.86 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001817/12.8, allocations: 39.53 kB / 4.252 GB, free: 47.82 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00789/12.81, allocations: 1.38 MB / 4.253 GB, free: 46.41 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.18e-05/12.81, allocations: 4 kB / 4.253 GB, free: 46.41 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.873e-06/12.81, allocations: 4 kB / 4.253 GB, free: 46.41 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.007312/12.81, allocations: 1.422 MB / 4.254 GB, free: 44.91 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005082/12.82, allocations: 1.727 MB / 4.256 GB, free: 43.14 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.388e-06/12.82, allocations: 3.984 kB / 4.256 GB, free: 43.14 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001007/12.82, allocations: 111.9 kB / 4.256 GB, free: 43.03 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00332/12.82, allocations: 404 kB / 4.256 GB, free: 42.64 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001405/12.82, allocations: 23.98 kB / 4.257 GB, free: 42.61 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002116/12.82, allocations: 0.8763 MB / 4.257 GB, free: 41.71 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.958e-06/12.82, allocations: 3.953 kB / 4.257 GB, free: 41.71 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007934/12.83, allocations: 1.68 MB / 4.259 GB, free: 40.01 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002256/12.83, allocations: 120.7 kB / 4.259 GB, free: 39.87 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001631/12.83, allocations: 19.98 kB / 4.259 GB, free: 39.85 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001147/12.83, allocations: 67.8 kB / 4.259 GB, free: 39.79 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001162/12.83, allocations: 40.5 kB / 4.259 GB, free: 39.75 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.796e-05/12.83, allocations: 35.91 kB / 4.259 GB, free: 39.71 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0003295/12.84, allocations: 221.9 kB / 4.259 GB, free: 39.49 MB / 410.7 MB Notification: Performance of sort global known variables: time 4.21e-07/12.84, allocations: 4 kB / 4.259 GB, free: 39.49 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.00232/12.84, allocations: 0.5385 MB / 4.26 GB, free: 38.95 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.002982/12.84, allocations: 1.198 MB / 4.261 GB, free: 37.91 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.003132/12.84, allocations: 0.9982 MB / 4.262 GB, free: 36.89 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.86e-06/12.84, allocations: 0 / 4.262 GB, free: 36.89 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001406/12.84, allocations: 427.2 kB / 4.263 GB, free: 36.47 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002477/12.85, allocations: 288.4 kB / 4.263 GB, free: 36.19 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004145/12.85, allocations: 1.552 MB / 4.264 GB, free: 34.62 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003687/12.85, allocations: 0.8652 MB / 4.265 GB, free: 33.73 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.001008/12.85, allocations: 123.5 kB / 4.265 GB, free: 33.62 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002663/12.85, allocations: 63.41 kB / 4.265 GB, free: 33.56 MB / 410.7 MB Notification: Performance of SimCode: time 1.123e-06/12.85, allocations: 0 / 4.265 GB, free: 33.56 MB / 410.7 MB Notification: Performance of Templates: time 0.06095/12.91, allocations: 29.79 MB / 4.294 GB, free: 3.855 MB / 410.7 MB