Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/../OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.1_cpp_Modelica.Media.Examples.ReferenceAir.DryAir2.conf.json Using package ModelicaServices with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo) Running command: translateModel(Modelica.Media.Examples.ReferenceAir.DryAir2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.p|volume1.medium.T|volume1.medium.p",fileNamePrefix="Modelica_3.2.1_cpp_Modelica.Media.Examples.ReferenceAir.DryAir2") Notification: Performance of loadModel(Modelica): time 1.597/1.597, allocations: 171.3 MB / 179.2 MB, free: 7.582 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 2.784e-05/2.788e-05, allocations: 8 kB / 222.5 MB, free: 8.699 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06911/0.06916, allocations: 38.76 MB / 261.3 MB, free: 1.855 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.561/1.63, allocations: 0.6301 GB / 0.8852 GB, free: 37.92 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002157/1.63, allocations: 77.67 kB / 0.8853 GB, free: 37.88 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5709/2.201, allocations: 149 MB / 1.031 GB, free: 30.23 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.97e-06/2.201, allocations: 0 / 1.031 GB, free: 30.23 MB / 346.7 MB Notification: Performance of Transformations before backend: time 2.625e-05/2.201, allocations: 8 kB / 1.031 GB, free: 30.22 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 96 * Number of variables: 96 Notification: Performance of Generate backend data structure: time 0.001161/2.203, allocations: 0.6515 MB / 1.031 GB, free: 29.53 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.802e-05/2.203, allocations: 16.02 kB / 1.031 GB, free: 29.52 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000696/2.203, allocations: 75.41 kB / 1.031 GB, free: 29.44 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004547/2.204, allocations: 330.2 kB / 1.032 GB, free: 29.08 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.327e-05/2.204, allocations: 12 kB / 1.032 GB, free: 29.07 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.001e-05/2.204, allocations: 24 kB / 1.032 GB, free: 29.05 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005427/2.205, allocations: 261.5 kB / 1.032 GB, free: 28.79 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006526/2.205, allocations: 395 kB / 1.032 GB, free: 28.36 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.749e-05/2.205, allocations: 11.84 kB / 1.032 GB, free: 28.35 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.923e-05/2.205, allocations: 7.938 kB / 1.032 GB, free: 28.34 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.679e-05/2.205, allocations: 12 kB / 1.032 GB, free: 28.33 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01218/2.218, allocations: 6.253 MB / 1.039 GB, free: 21.54 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004898/2.218, allocations: 258.8 kB / 1.039 GB, free: 21.27 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002307/2.218, allocations: 136.8 kB / 1.039 GB, free: 21.14 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009623/2.228, allocations: 3.495 MB / 1.042 GB, free: 17.36 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.708e-05/2.228, allocations: 42.5 kB / 1.042 GB, free: 17.3 MB / 346.7 MB Notification: Performance of pre-optimization done (n=35): time 3.544e-06/2.228, allocations: 0 / 1.042 GB, free: 17.3 MB / 346.7 MB Notification: Performance of matching and sorting (n=45): time 0.007646/2.236, allocations: 1.619 MB / 1.044 GB, free: 15.62 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.007e-05/2.236, allocations: 55.41 kB / 1.044 GB, free: 15.56 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002703/2.236, allocations: 226.3 kB / 1.044 GB, free: 15.33 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 3.695e-05/2.236, allocations: 25.7 kB / 1.044 GB, free: 15.3 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001039/2.236, allocations: 282.2 kB / 1.045 GB, free: 15.02 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001023/2.236, allocations: 157.7 kB / 1.045 GB, free: 14.86 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.62e-05/2.236, allocations: 4 kB / 1.045 GB, free: 14.86 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 6.994e-05/2.236, allocations: 338.8 kB / 1.045 GB, free: 14.52 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002709/2.237, allocations: 133.1 kB / 1.045 GB, free: 14.39 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003259/2.237, allocations: 254.6 kB / 1.045 GB, free: 14.09 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001779/2.239, allocations: 328.6 kB / 1.046 GB, free: 13.77 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.558e-06/2.239, allocations: 4 kB / 1.046 GB, free: 13.77 MB / 346.7 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.00261/2.242, allocations: 0.6544 MB / 1.046 GB, free: 13.1 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.142e-05/2.242, allocations: 4 kB / 1.046 GB, free: 13.09 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.033e-05/2.242, allocations: 7.938 kB / 1.046 GB, free: 13.09 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004937/2.242, allocations: 118.9 kB / 1.046 GB, free: 12.96 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004645/2.243, allocations: 107.8 kB / 1.047 GB, free: 12.86 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002759/2.245, allocations: 2.517 MB / 1.049 GB, free: 10.17 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005064/2.246, allocations: 27.95 kB / 1.049 GB, free: 10.14 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.001e-05/2.246, allocations: 27.98 kB / 1.049 GB, free: 10.12 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (61): * Single equations (assignments): 58 * 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 1,2 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0001399/2.246, allocations: 116.9 kB / 1.049 GB, free: 9.996 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.253e-05/2.246, allocations: 31.62 kB / 1.049 GB, free: 9.965 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001847/2.248, allocations: 0.7928 MB / 1.05 GB, free: 9.156 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.323e-05/2.248, allocations: 12 kB / 1.05 GB, free: 9.145 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.845e-06/2.248, allocations: 0 / 1.05 GB, free: 9.145 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001506/2.25, allocations: 0.926 MB / 1.051 GB, free: 8.145 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002631/2.252, allocations: 1.372 MB / 1.052 GB, free: 6.727 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.082e-06/2.252, allocations: 4.031 kB / 1.052 GB, free: 6.723 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003789/2.253, allocations: 79.89 kB / 1.052 GB, free: 6.645 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005966/2.253, allocations: 189.4 kB / 1.053 GB, free: 6.453 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.114e-05/2.253, allocations: 15.94 kB / 1.053 GB, free: 6.438 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001179/2.255, allocations: 1.343 MB / 1.054 GB, free: 5.043 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.378e-06/2.255, allocations: 4.125 kB / 1.054 GB, free: 5.039 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002291/2.257, allocations: 1.17 MB / 1.055 GB, free: 3.844 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001489/2.257, allocations: 120.6 kB / 1.055 GB, free: 3.707 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.661e-05/2.257, allocations: 4 kB / 1.055 GB, free: 3.703 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004013/2.258, allocations: 27.78 kB / 1.055 GB, free: 3.676 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.596e-05/2.258, allocations: 27.97 kB / 1.055 GB, free: 3.648 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.77e-05/2.258, allocations: 23.92 kB / 1.055 GB, free: 3.625 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0002042/2.258, allocations: 174 kB / 1.055 GB, free: 3.453 MB / 346.7 MB Notification: Performance of sort global known variables: time 8.3e-07/2.258, allocations: 0 / 1.055 GB, free: 3.453 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.001142/2.259, allocations: 227.9 kB / 1.056 GB, free: 3.23 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 4 (volume.medium.p,volume.medium.T,volume1.medium.p,volume1.medium.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (43): * Single equations (assignments): 39 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {2 1,2 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.001394/2.261, allocations: 473.4 kB / 1.056 GB, free: 2.785 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.001274/2.262, allocations: 0.6384 MB / 1.057 GB, free: 2.137 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 4.826e-06/2.262, allocations: 0 / 1.057 GB, free: 2.137 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006973/2.263, allocations: 392 kB / 1.057 GB, free: 1.754 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001215/2.264, allocations: 177.3 kB / 1.057 GB, free: 1.582 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001758/2.266, allocations: 0.9717 MB / 1.058 GB, free: 0.5781 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.1904/2.456, allocations: 0.8467 MB / 1.059 GB, free: 64.82 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000187/2.456, allocations: 39.98 kB / 1.059 GB, free: 64.82 MB / 346.7 MB Notification: Performance of SimCode: time 2.459e-06/2.456, allocations: 0.8438 kB / 1.059 GB, free: 64.82 MB / 346.7 MB Notification: Performance of Templates: time 0.02082/2.477, allocations: 12.89 MB / 1.072 GB, free: 64.47 MB / 346.7 MB