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.DryAir1.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.DryAir1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="Modelica_3.2.1_Modelica.Media.Examples.ReferenceAir.DryAir1") Notification: Performance of loadModel(Modelica): time 1.963/1.963, allocations: 171.2 MB / 186.7 MB, free: 1.023 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003625/0.0003628, allocations: 8 kB / 233.9 MB, free: 2.379 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08406/0.08445, allocations: 38.76 MB / 272.6 MB, free: 11.54 MB / 234.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 2.058/2.143, allocations: 0.6308 GB / 0.8971 GB, free: 90 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002798/2.143, allocations: 78.97 kB / 0.8971 GB, free: 89.97 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.898/4.041, allocations: 473.6 MB / 1.36 GB, free: 66.91 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.375e-06/4.041, allocations: 0 / 1.36 GB, free: 66.91 MB / 362.7 MB Notification: Performance of Transformations before backend: time 3.494e-05/4.041, allocations: 12 kB / 1.36 GB, free: 66.89 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: 66 * Number of variables: 66 Notification: Performance of Generate backend data structure: time 0.002069/4.044, allocations: 0.7321 MB / 1.36 GB, free: 66.18 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.719e-05/4.044, allocations: 8.031 kB / 1.36 GB, free: 66.17 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009226/4.045, allocations: 51.28 kB / 1.36 GB, free: 66.12 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005503/4.045, allocations: 294.8 kB / 1.361 GB, free: 65.83 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.609e-05/4.045, allocations: 20.56 kB / 1.361 GB, free: 65.81 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.611e-05/4.045, allocations: 27.95 kB / 1.361 GB, free: 65.78 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008986/4.046, allocations: 341.8 kB / 1.361 GB, free: 65.46 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.42e-05/4.046, allocations: 0 / 1.361 GB, free: 65.46 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.772e-05/4.046, allocations: 12 kB / 1.361 GB, free: 65.45 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.305e-05/4.046, allocations: 8 kB / 1.361 GB, free: 65.44 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006524/4.047, allocations: 212 kB / 1.361 GB, free: 65.26 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02122/4.068, allocations: 5.465 MB / 1.367 GB, free: 60.11 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005638/4.069, allocations: 186.3 kB / 1.367 GB, free: 59.93 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01817/4.087, allocations: 3.45 MB / 1.37 GB, free: 56.54 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.512e-05/4.087, allocations: 34.75 kB / 1.37 GB, free: 56.49 MB / 362.7 MB Notification: Performance of pre-optimization done (n=21): time 3.226e-06/4.087, allocations: 0 / 1.37 GB, free: 56.49 MB / 362.7 MB Notification: Performance of matching and sorting (n=26): time 0.01206/4.099, allocations: 1.37 MB / 1.372 GB, free: 55.05 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.405e-05/4.099, allocations: 59.39 kB / 1.372 GB, free: 54.98 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004751/4.1, allocations: 254.5 kB / 1.372 GB, free: 54.73 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 4.411e-05/4.1, allocations: 29.7 kB / 1.372 GB, free: 54.7 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000158/4.1, allocations: 189.2 kB / 1.372 GB, free: 54.51 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001047/4.1, allocations: 94.66 kB / 1.372 GB, free: 54.41 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.3e-05/4.1, allocations: 8 kB / 1.372 GB, free: 54.41 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001015/4.1, allocations: 338.8 kB / 1.372 GB, free: 54.07 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003357/4.101, allocations: 83.97 kB / 1.373 GB, free: 53.98 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000403/4.101, allocations: 194.8 kB / 1.373 GB, free: 53.75 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004178/4.101, allocations: 120 kB / 1.373 GB, free: 53.64 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.077e-06/4.101, allocations: 0 / 1.373 GB, free: 53.64 MB / 362.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.001398/4.103, allocations: 394.1 kB / 1.373 GB, free: 53.24 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.36e-05/4.103, allocations: 8 kB / 1.373 GB, free: 53.23 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.144e-05/4.103, allocations: 4 kB / 1.373 GB, free: 53.23 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01067/4.114, allocations: 445.6 kB / 1.374 GB, free: 52.79 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006493/4.114, allocations: 75.91 kB / 1.374 GB, free: 52.71 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002164/4.117, allocations: 1.883 MB / 1.376 GB, free: 50.68 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006034/4.117, allocations: 19.91 kB / 1.376 GB, free: 50.66 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.849e-05/4.117, allocations: 19.98 kB / 1.376 GB, free: 50.64 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * 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 (39): * Single equations (assignments): 37 * 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: 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,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0002994/4.118, allocations: 153.8 kB / 1.376 GB, free: 50.48 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001195/4.118, allocations: 27.72 kB / 1.376 GB, free: 50.45 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001302/4.119, allocations: 495.3 kB / 1.376 GB, free: 49.96 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.242e-05/4.119, allocations: 11.95 kB / 1.376 GB, free: 49.95 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.506e-06/4.119, allocations: 4 kB / 1.376 GB, free: 49.95 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007929/4.12, allocations: 0.7132 MB / 1.377 GB, free: 49.14 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001731/4.122, allocations: 0.9491 MB / 1.378 GB, free: 48.13 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.821e-06/4.122, allocations: 0 / 1.378 GB, free: 48.13 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003326/4.122, allocations: 47.97 kB / 1.378 GB, free: 48.09 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002698/4.125, allocations: 308.3 kB / 1.378 GB, free: 47.78 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.351e-05/4.125, allocations: 8 kB / 1.378 GB, free: 47.77 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005609/4.125, allocations: 0.6448 MB / 1.379 GB, free: 47.11 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.084e-06/4.125, allocations: 0 / 1.379 GB, free: 47.11 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001272/4.127, allocations: 0.728 MB / 1.38 GB, free: 46.35 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001202/4.127, allocations: 104.8 kB / 1.38 GB, free: 46.23 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.747e-05/4.127, allocations: 8 kB / 1.38 GB, free: 46.22 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003318/4.127, allocations: 11.94 kB / 1.38 GB, free: 46.21 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.426e-05/4.127, allocations: 23.97 kB / 1.38 GB, free: 46.19 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.27e-05/4.127, allocations: 12 kB / 1.38 GB, free: 46.18 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002375/4.127, allocations: 189.9 kB / 1.38 GB, free: 45.99 MB / 362.7 MB Notification: Performance of sort global known variables: time 3.91e-07/4.128, allocations: 0 / 1.38 GB, free: 45.99 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001142/4.129, allocations: 207.9 kB / 1.38 GB, free: 45.79 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (volume.medium.p,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 (25): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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 {1 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.00157/4.13, allocations: 486.1 kB / 1.381 GB, free: 45.31 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001058/4.131, allocations: 442.8 kB / 1.381 GB, free: 44.87 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.987e-06/4.131, allocations: 4.188 kB / 1.381 GB, free: 44.86 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008962/4.132, allocations: 235.8 kB / 1.381 GB, free: 44.63 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001524/4.134, allocations: 165 kB / 1.381 GB, free: 44.48 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001597/4.135, allocations: 0.9482 MB / 1.382 GB, free: 43.52 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000239/4.136, allocations: 0.7841 MB / 1.383 GB, free: 42.71 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0003718/4.136, allocations: 50.39 kB / 1.383 GB, free: 42.67 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.914e-05/4.136, allocations: 35.42 kB / 1.383 GB, free: 42.63 MB / 362.7 MB Notification: Performance of SimCode: time 2.185e-06/4.136, allocations: 0 / 1.383 GB, free: 42.63 MB / 362.7 MB Notification: Performance of Templates: time 0.02451/4.161, allocations: 10.92 MB / 1.394 GB, free: 31.77 MB / 362.7 MB