Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.1_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_Modelica.Media.Examples.ReferenceAir.DryAir2") Notification: Performance of loadModel(Modelica): time 1.697/1.697, allocations: 171.1 MB / 186.7 MB, free: 1.129 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003707/0.0003709, allocations: 8 kB / 233.8 MB, free: 2.387 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08424/0.08464, allocations: 38.76 MB / 272.6 MB, free: 11.54 MB / 234.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 2.04/2.125, allocations: 0.6308 GB / 0.897 GB, free: 90.14 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002793/2.125, allocations: 87.47 kB / 0.8971 GB, free: 90.11 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7284/2.853, allocations: 150.4 MB / 1.044 GB, free: 80.48 MB / 362.7 MB Notification: Performance of FrontEnd: time 3.206e-06/2.853, allocations: 0 / 1.044 GB, free: 80.48 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.095e-05/2.853, allocations: 7.812 kB / 1.044 GB, free: 80.48 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.002517/2.856, allocations: 0.6945 MB / 1.045 GB, free: 79.96 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.329e-05/2.856, allocations: 7.156 kB / 1.045 GB, free: 79.96 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001555/2.858, allocations: 77.59 kB / 1.045 GB, free: 79.95 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00108/2.859, allocations: 337.5 kB / 1.045 GB, free: 79.66 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.275e-05/2.859, allocations: 29.69 kB / 1.045 GB, free: 79.64 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001515/2.859, allocations: 43.14 kB / 1.045 GB, free: 79.63 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001642/2.861, allocations: 468.7 kB / 1.046 GB, free: 79.35 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.12e-05/2.861, allocations: 0 / 1.046 GB, free: 79.35 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001137/2.861, allocations: 19.78 kB / 1.046 GB, free: 79.34 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.804e-05/2.861, allocations: 7.781 kB / 1.046 GB, free: 79.34 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001139/2.862, allocations: 303.8 kB / 1.046 GB, free: 79.23 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02718/2.889, allocations: 6.296 MB / 1.052 GB, free: 74.88 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001002/2.89, allocations: 279.7 kB / 1.052 GB, free: 74.75 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01881/2.909, allocations: 3.444 MB / 1.056 GB, free: 72.97 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.681e-05/2.909, allocations: 38.44 kB / 1.056 GB, free: 72.93 MB / 362.7 MB Notification: Performance of pre-optimization done (n=35): time 4.849e-06/2.909, allocations: 3.703 kB / 1.056 GB, free: 72.93 MB / 362.7 MB Notification: Performance of matching and sorting (n=45): time 0.01654/2.926, allocations: 2.394 MB / 1.058 GB, free: 71.67 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.243e-05/2.926, allocations: 55.38 kB / 1.058 GB, free: 71.61 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004213/2.926, allocations: 298.8 kB / 1.058 GB, free: 71.41 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 5.933e-05/2.927, allocations: 37.48 kB / 1.058 GB, free: 71.38 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001285/2.927, allocations: 229.6 kB / 1.059 GB, free: 71.16 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000124/2.927, allocations: 154.7 kB / 1.059 GB, free: 71.03 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.716e-05/2.927, allocations: 11.88 kB / 1.059 GB, free: 71.02 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 8.667e-05/2.927, allocations: 350.6 kB / 1.059 GB, free: 70.68 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004106/2.927, allocations: 153.2 kB / 1.059 GB, free: 70.6 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004347/2.928, allocations: 275.4 kB / 1.06 GB, free: 70.37 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004669/2.928, allocations: 192.3 kB / 1.06 GB, free: 70.27 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.188e-06/2.928, allocations: 0 / 1.06 GB, free: 70.27 MB / 362.7 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001618/2.93, allocations: 0.5935 MB / 1.06 GB, free: 69.95 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.556e-05/2.93, allocations: 6.781 kB / 1.06 GB, free: 69.95 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.1e-05/2.93, allocations: 480 / 1.06 GB, free: 69.95 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01554/2.946, allocations: 0.8725 MB / 1.061 GB, free: 69.6 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007818/2.946, allocations: 106.2 kB / 1.061 GB, free: 69.58 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002206/2.949, allocations: 2.478 MB / 1.064 GB, free: 67.09 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006422/2.949, allocations: 38.08 kB / 1.064 GB, free: 67.07 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.022e-05/2.949, allocations: 21.91 kB / 1.064 GB, free: 67.07 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.0003114/2.95, allocations: 178.8 kB / 1.064 GB, free: 66.9 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001018/2.95, allocations: 35.88 kB / 1.064 GB, free: 66.89 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001785/2.952, allocations: 0.8552 MB / 1.065 GB, free: 66.38 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.811e-05/2.952, allocations: 5.531 kB / 1.065 GB, free: 66.38 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.488e-06/2.952, allocations: 3.938 kB / 1.065 GB, free: 66.38 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001297/2.953, allocations: 0.9576 MB / 1.066 GB, free: 65.68 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002819/2.956, allocations: 1.504 MB / 1.067 GB, free: 64.64 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.706e-06/2.956, allocations: 0 / 1.067 GB, free: 64.64 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005711/2.956, allocations: 78.09 kB / 1.067 GB, free: 64.62 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005207/2.962, allocations: 0.5878 MB / 1.068 GB, free: 64.33 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.767e-05/2.962, allocations: 15.95 kB / 1.068 GB, free: 64.32 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001077/2.963, allocations: 1.278 MB / 1.069 GB, free: 63.13 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.246e-06/2.963, allocations: 3.75 kB / 1.069 GB, free: 63.13 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00223/2.965, allocations: 1.224 MB / 1.07 GB, free: 62.39 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001959/2.965, allocations: 119.5 kB / 1.07 GB, free: 62.27 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001092/2.966, allocations: 11.56 kB / 1.07 GB, free: 62.26 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004872/2.966, allocations: 14.97 kB / 1.07 GB, free: 62.25 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.032e-05/2.966, allocations: 34.52 kB / 1.07 GB, free: 62.23 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.023e-05/2.966, allocations: 23.5 kB / 1.07 GB, free: 62.22 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.000297/2.967, allocations: 208.5 kB / 1.071 GB, free: 62.08 MB / 362.7 MB Notification: Performance of sort global known variables: time 4.81e-07/2.967, allocations: 0 / 1.071 GB, free: 62.08 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001323/2.968, allocations: 243.3 kB / 1.071 GB, free: 62.03 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.001709/2.97, allocations: 454.8 kB / 1.071 GB, free: 61.76 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001796/2.971, allocations: 0.6905 MB / 1.072 GB, free: 61.05 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 6.322e-06/2.971, allocations: 0 / 1.072 GB, free: 61.05 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001644/2.973, allocations: 456.4 kB / 1.072 GB, free: 60.61 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002184/2.975, allocations: 232 kB / 1.073 GB, free: 60.39 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00266/2.978, allocations: 1.478 MB / 1.074 GB, free: 58.91 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000313/2.978, allocations: 0.8404 MB / 1.075 GB, free: 58.05 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0005672/2.979, allocations: 75.75 kB / 1.075 GB, free: 57.98 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000123/2.979, allocations: 35.44 kB / 1.075 GB, free: 57.95 MB / 362.7 MB Notification: Performance of SimCode: time 1.633e-06/2.979, allocations: 0 / 1.075 GB, free: 57.95 MB / 362.7 MB Notification: Performance of Templates: time 0.02988/3.009, allocations: 12.85 MB / 1.088 GB, free: 45.14 MB / 362.7 MB