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.ReferenceAir.DryAir2.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.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.707/1.707, allocations: 171.2 MB / 187.3 MB, free: 1.137 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003527/0.0003529, allocations: 8 kB / 233.8 MB, free: 3.074 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08237/0.08274, allocations: 38.76 MB / 272.5 MB, free: 12.23 MB / 234.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.98/2.063, allocations: 0.6308 GB / 0.8969 GB, free: 90.2 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002841/2.063, allocations: 85.47 kB / 0.897 GB, free: 90.2 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6889/2.752, allocations: 150.4 MB / 1.044 GB, free: 80.54 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.803e-06/2.752, allocations: 6.875 kB / 1.044 GB, free: 80.54 MB / 362.7 MB Notification: Performance of Transformations before backend: time 3.335e-05/2.752, allocations: 8.469 kB / 1.044 GB, free: 80.54 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: 96 * Number of variables: 96 Notification: Performance of Generate backend data structure: time 0.001499/2.754, allocations: 0.6948 MB / 1.045 GB, free: 80.03 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.936e-05/2.754, allocations: 10.69 kB / 1.045 GB, free: 80.03 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007177/2.755, allocations: 80.89 kB / 1.045 GB, free: 80.01 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005128/2.755, allocations: 334.7 kB / 1.045 GB, free: 79.73 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.294e-05/2.755, allocations: 28.81 kB / 1.045 GB, free: 79.71 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.151e-05/2.755, allocations: 43.36 kB / 1.045 GB, free: 79.7 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009228/2.756, allocations: 467.8 kB / 1.045 GB, free: 79.43 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.782e-05/2.756, allocations: 7.969 kB / 1.045 GB, free: 79.42 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.359e-05/2.756, allocations: 15.97 kB / 1.046 GB, free: 79.41 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.295e-05/2.756, allocations: 14.25 kB / 1.046 GB, free: 79.41 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006827/2.757, allocations: 298.7 kB / 1.046 GB, free: 79.3 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01724/2.774, allocations: 6.298 MB / 1.052 GB, free: 74.96 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006561/2.775, allocations: 275.4 kB / 1.052 GB, free: 74.84 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01437/2.789, allocations: 3.444 MB / 1.056 GB, free: 73.05 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.82e-05/2.79, allocations: 38.5 kB / 1.056 GB, free: 73.01 MB / 362.7 MB Notification: Performance of pre-optimization done (n=35): time 2.936e-06/2.79, allocations: 0 / 1.056 GB, free: 73.01 MB / 362.7 MB Notification: Performance of matching and sorting (n=45): time 0.01627/2.806, allocations: 2.395 MB / 1.058 GB, free: 72.03 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.185e-05/2.806, allocations: 55.31 kB / 1.058 GB, free: 71.97 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004419/2.806, allocations: 305 kB / 1.058 GB, free: 71.77 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001538/2.807, allocations: 29.7 kB / 1.058 GB, free: 71.73 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001477/2.807, allocations: 277.6 kB / 1.059 GB, free: 71.47 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001357/2.807, allocations: 163 kB / 1.059 GB, free: 71.34 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.952e-05/2.807, allocations: 15.94 kB / 1.059 GB, free: 71.32 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 7.542e-05/2.807, allocations: 341.9 kB / 1.059 GB, free: 70.99 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003872/2.807, allocations: 150.6 kB / 1.059 GB, free: 70.91 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004339/2.808, allocations: 269.8 kB / 1.059 GB, free: 70.69 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000471/2.808, allocations: 200.3 kB / 1.06 GB, free: 70.59 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.208e-06/2.808, allocations: 0 / 1.06 GB, free: 70.59 MB / 362.7 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001594/2.81, allocations: 0.5751 MB / 1.06 GB, free: 70.27 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.433e-05/2.81, allocations: 3.906 kB / 1.06 GB, free: 70.27 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.202e-05/2.81, allocations: 3.875 kB / 1.06 GB, free: 70.27 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01544/2.825, allocations: 0.8592 MB / 1.061 GB, free: 69.93 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007822/2.826, allocations: 115.3 kB / 1.061 GB, free: 69.9 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002178/2.828, allocations: 2.457 MB / 1.064 GB, free: 67.43 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006708/2.829, allocations: 39.02 kB / 1.064 GB, free: 67.41 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.429e-05/2.829, allocations: 27.23 kB / 1.064 GB, free: 67.4 MB / 362.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 () * Number of clocked 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.0003441/2.83, allocations: 191.4 kB / 1.064 GB, free: 67.23 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001077/2.83, allocations: 33.88 kB / 1.064 GB, free: 67.21 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001731/2.831, allocations: 0.8555 MB / 1.065 GB, free: 66.71 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.824e-05/2.832, allocations: 19.89 kB / 1.065 GB, free: 66.7 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.04e-06/2.832, allocations: 3.844 kB / 1.065 GB, free: 66.7 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001295/2.833, allocations: 0.9545 MB / 1.066 GB, free: 66 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002824/2.836, allocations: 1.486 MB / 1.067 GB, free: 64.97 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.825e-06/2.836, allocations: 4.031 kB / 1.067 GB, free: 64.97 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005541/2.836, allocations: 80.17 kB / 1.067 GB, free: 64.95 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005326/2.842, allocations: 0.5927 MB / 1.068 GB, free: 64.65 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.419e-05/2.842, allocations: 11.91 kB / 1.068 GB, free: 64.64 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001086/2.843, allocations: 1.285 MB / 1.069 GB, free: 63.45 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.336e-06/2.843, allocations: 3.5 kB / 1.069 GB, free: 63.45 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002253/2.845, allocations: 1.211 MB / 1.07 GB, free: 62.72 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002035/2.845, allocations: 128 kB / 1.07 GB, free: 62.59 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001064/2.846, allocations: 7.781 kB / 1.07 GB, free: 62.59 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000495/2.846, allocations: 27.45 kB / 1.07 GB, free: 62.57 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.624e-05/2.846, allocations: 31.48 kB / 1.07 GB, free: 62.55 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.993e-05/2.846, allocations: 23.62 kB / 1.07 GB, free: 62.54 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002929/2.846, allocations: 208.1 kB / 1.071 GB, free: 62.4 MB / 362.7 MB Notification: Performance of sort global known variables: time 3.5e-07/2.846, allocations: 0 / 1.071 GB, free: 62.4 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001242/2.848, allocations: 244.4 kB / 1.071 GB, free: 62.35 MB / 362.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 () * Number of clocked 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 {1 2,1 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.001708/2.849, allocations: 461.6 kB / 1.071 GB, free: 62.13 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.00178/2.851, allocations: 0.6842 MB / 1.072 GB, free: 61.71 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 5.801e-06/2.851, allocations: 4.219 kB / 1.072 GB, free: 61.71 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001678/2.853, allocations: 448.3 kB / 1.072 GB, free: 61.27 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00218/2.855, allocations: 224.2 kB / 1.073 GB, free: 61.06 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002756/2.858, allocations: 1.504 MB / 1.074 GB, free: 59.55 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003366/2.858, allocations: 0.8483 MB / 1.075 GB, free: 58.68 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001956/2.859, allocations: 47.36 kB / 1.075 GB, free: 58.63 MB / 362.7 MB Notification: Performance of SimCode: time 1.253e-06/2.859, allocations: 3.938 kB / 1.075 GB, free: 58.63 MB / 362.7 MB Notification: Performance of Templates: time 0.02311/2.882, allocations: 13.17 MB / 1.088 GB, free: 45.46 MB / 362.7 MB