Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.1_cpp_Modelica.Media.Examples.Tests.MediaTestModels.Air.MoistAir.conf.json Using package ModelicaServices with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/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.1_cpp_Modelica.Media.Examples.Tests.MediaTestModels.Air.MoistAir") Notification: Performance of loadModel(Modelica): time 1.672/1.672, allocations: 171.1 MB / 187.3 MB, free: 1.055 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003604/0.0003606, allocations: 11.98 kB / 233.8 MB, free: 3.059 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08275/0.08313, allocations: 38.77 MB / 272.6 MB, free: 12.21 MB / 234.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 10.21/10.3, allocations: 3.611 GB / 3.877 GB, free: 66.36 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003239/10.3, allocations: 98.25 kB / 3.877 GB, free: 66.3 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.643/11.94, allocations: 319.7 MB / 4.19 GB, free: 34.33 MB / 362.7 MB Notification: Performance of FrontEnd: time 3.897e-06/11.94, allocations: 4 kB / 4.19 GB, free: 34.32 MB / 362.7 MB Notification: Performance of Transformations before backend: time 3.263e-05/11.94, allocations: 15.94 kB / 4.19 GB, free: 34.31 MB / 362.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.005836/11.94, allocations: 1.579 MB / 4.191 GB, free: 32.68 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.279e-05/11.94, allocations: 8.031 kB / 4.191 GB, free: 32.67 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004806/11.95, allocations: 67.42 kB / 4.191 GB, free: 32.6 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006687/11.95, allocations: 353.3 kB / 4.192 GB, free: 32.22 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.41e-05/11.95, allocations: 32.94 kB / 4.192 GB, free: 32.19 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001121/11.95, allocations: 44 kB / 4.192 GB, free: 32.14 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001295/11.95, allocations: 0.4984 MB / 4.192 GB, free: 31.64 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.162e-05/11.95, allocations: 3.984 kB / 4.192 GB, free: 31.64 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.304e-05/11.95, allocations: 20 kB / 4.192 GB, free: 31.62 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.211e-05/11.95, allocations: 12 kB / 4.192 GB, free: 31.61 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001353/11.95, allocations: 0.5934 MB / 4.193 GB, free: 31.01 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00476/11.95, allocations: 1.996 MB / 4.195 GB, free: 28.83 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001793/11.96, allocations: 0.5592 MB / 4.195 GB, free: 28.27 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006751/11.96, allocations: 0.7009 MB / 4.196 GB, free: 27.42 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.485e-05/11.96, allocations: 50.95 kB / 4.196 GB, free: 27.36 MB / 362.7 MB Notification: Performance of pre-optimization done (n=53): time 3.236e-06/11.96, allocations: 0 / 4.196 GB, free: 27.36 MB / 362.7 MB Notification: Performance of matching and sorting (n=65): time 0.02776/11.98, allocations: 4.121 MB / 4.2 GB, free: 23.13 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.704e-05/11.98, allocations: 67.86 kB / 4.2 GB, free: 23.05 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004594/11.98, allocations: 286.7 kB / 4.2 GB, free: 22.77 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001891/11.98, allocations: 37.7 kB / 4.2 GB, free: 22.72 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001121/11.98, allocations: 251.5 kB / 4.201 GB, free: 22.48 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002137/11.99, allocations: 224.8 kB / 4.201 GB, free: 22.25 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.36e-05/11.99, allocations: 16 kB / 4.201 GB, free: 22.24 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 7.889e-05/11.99, allocations: 330.8 kB / 4.201 GB, free: 21.91 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001118/11.99, allocations: 317.1 kB / 4.202 GB, free: 21.59 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001166/11.99, allocations: 392.2 kB / 4.202 GB, free: 21.2 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00119/11.99, allocations: 347.1 kB / 4.202 GB, free: 20.86 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.497e-06/11.99, allocations: 3.844 kB / 4.202 GB, free: 20.86 MB / 362.7 MB Notification: Performance of matching and sorting (n=77) (initialization): time 0.003827/11.99, allocations: 0.9875 MB / 4.203 GB, free: 19.86 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.529e-05/11.99, allocations: 8 kB / 4.203 GB, free: 19.85 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.287e-05/11.99, allocations: 3.953 kB / 4.203 GB, free: 19.84 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002828/12, allocations: 362.2 kB / 4.204 GB, free: 19.48 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001101/12, allocations: 119.8 kB / 4.204 GB, free: 19.36 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004449/12, allocations: 3.533 MB / 4.207 GB, free: 15.54 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001184/12, allocations: 67.86 kB / 4.207 GB, free: 15.48 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.711e-05/12, allocations: 27.97 kB / 4.207 GB, free: 15.45 MB / 362.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.0004382/12, allocations: 209.6 kB / 4.207 GB, free: 15.23 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001525/12, allocations: 43.53 kB / 4.207 GB, free: 15.19 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00768/12.01, allocations: 1.376 MB / 4.209 GB, free: 13.8 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.863e-05/12.01, allocations: 8 kB / 4.209 GB, free: 13.79 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.252e-06/12.01, allocations: 4 kB / 4.209 GB, free: 13.79 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.007137/12.02, allocations: 1.418 MB / 4.21 GB, free: 12.3 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004923/12.02, allocations: 1.736 MB / 4.212 GB, free: 10.5 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.262e-06/12.02, allocations: 0 / 4.212 GB, free: 10.5 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001008/12.02, allocations: 115.8 kB / 4.212 GB, free: 10.39 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003325/12.03, allocations: 400.3 kB / 4.212 GB, free: 9.992 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001608/12.03, allocations: 23.98 kB / 4.212 GB, free: 9.969 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002069/12.03, allocations: 0.8724 MB / 4.213 GB, free: 9.07 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.006e-06/12.03, allocations: 4.062 kB / 4.213 GB, free: 9.066 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008245/12.04, allocations: 1.684 MB / 4.215 GB, free: 7.355 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002478/12.04, allocations: 120.6 kB / 4.215 GB, free: 7.219 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001929/12.04, allocations: 16 kB / 4.215 GB, free: 7.203 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001182/12.04, allocations: 63.89 kB / 4.215 GB, free: 7.141 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001269/12.04, allocations: 48.42 kB / 4.215 GB, free: 7.094 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001044/12.04, allocations: 23.98 kB / 4.215 GB, free: 7.07 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.000347/12.04, allocations: 229.9 kB / 4.215 GB, free: 6.844 MB / 362.7 MB Notification: Performance of sort global known variables: time 4.11e-07/12.04, allocations: 0 / 4.215 GB, free: 6.844 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.00266/12.04, allocations: 0.5307 MB / 4.216 GB, free: 6.312 MB / 362.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.004102/12.05, allocations: 1.195 MB / 4.217 GB, free: 5.117 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.004007/12.05, allocations: 1.01 MB / 4.218 GB, free: 4.082 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 9.017e-06/12.05, allocations: 4 kB / 4.218 GB, free: 4.078 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001903/12.05, allocations: 419.1 kB / 4.218 GB, free: 3.664 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003548/12.06, allocations: 283.9 kB / 4.219 GB, free: 3.387 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00604/12.06, allocations: 1.594 MB / 4.22 GB, free: 1.758 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004692/12.06, allocations: 0.8574 MB / 4.221 GB, free: 0.8672 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005078/12.06, allocations: 63.41 kB / 4.221 GB, free: 0.8047 MB / 362.7 MB Notification: Performance of SimCode: time 1.212e-06/12.06, allocations: 3.938 kB / 4.221 GB, free: 0.8008 MB / 362.7 MB Notification: Performance of Templates: time 0.3213/12.39, allocations: 20.89 MB / 4.242 GB, free: 44.38 MB / 362.7 MB