Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.2_cpp_ModelicaTest.Media.TestOnly.DryAirNasa.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package ModelicaTest with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/package.mo) Running command: translateModel(ModelicaTest.Media.TestOnly.DryAirNasa,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|T|eta|lambda|eta_der|lambda_der|eta2|lambda2|eta2_der|lambda2_der",fileNamePrefix="ModelicaTest_3.2.2_cpp_ModelicaTest.Media.TestOnly.DryAirNasa") Notification: Performance of loadModel(ModelicaTest): time 2.311/2.311, allocations: 234.9 MB / 250.5 MB, free: 10.66 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004389/0.000439, allocations: 12 kB / 314.4 MB, free: 10.67 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2794/0.2799, allocations: 54.87 MB / 369.3 MB, free: 10.86 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.429/1.709, allocations: 0.6067 GB / 0.9673 GB, free: 57.58 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000221/1.709, allocations: 76.34 kB / 0.9674 GB, free: 57.54 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1324/1.842, allocations: 45.47 MB / 1.012 GB, free: 18.04 MB / 490.7 MB Notification: Performance of FrontEnd: time 3.354e-06/1.842, allocations: 0 / 1.012 GB, free: 18.04 MB / 490.7 MB Notification: Performance of Transformations before backend: time 1.625e-05/1.842, allocations: 4 kB / 1.012 GB, free: 18.04 MB / 490.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0005527/1.842, allocations: 424.5 kB / 1.012 GB, free: 17.58 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.813e-05/1.842, allocations: 15.97 kB / 1.012 GB, free: 17.56 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.277e-05/1.842, allocations: 7.891 kB / 1.012 GB, free: 17.55 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.994e-05/1.843, allocations: 167 kB / 1.012 GB, free: 17.35 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.39e-05/1.843, allocations: 8 kB / 1.012 GB, free: 17.34 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.342e-05/1.843, allocations: 8 kB / 1.012 GB, free: 17.34 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001329/1.843, allocations: 61.67 kB / 1.012 GB, free: 17.27 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.587e-05/1.843, allocations: 7.906 kB / 1.012 GB, free: 17.26 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.228e-05/1.843, allocations: 7.891 kB / 1.012 GB, free: 17.25 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.895e-06/1.843, allocations: 0 / 1.012 GB, free: 17.25 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.853e-05/1.843, allocations: 51.89 kB / 1.013 GB, free: 17.2 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000388/1.843, allocations: 385.8 kB / 1.013 GB, free: 16.76 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001135/1.843, allocations: 62.52 kB / 1.013 GB, free: 16.69 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001032/1.844, allocations: 1.001 MB / 1.014 GB, free: 15.48 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.235e-05/1.845, allocations: 46.5 kB / 1.014 GB, free: 15.43 MB / 490.7 MB Notification: Performance of pre-optimization done (n=9): time 2.315e-06/1.845, allocations: 0 / 1.014 GB, free: 15.43 MB / 490.7 MB Notification: Performance of matching and sorting (n=14): time 0.005827/1.85, allocations: 0.6376 MB / 1.015 GB, free: 14.79 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.231e-05/1.85, allocations: 55.41 kB / 1.015 GB, free: 14.72 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.65e-05/1.851, allocations: 97 kB / 1.015 GB, free: 14.62 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 3.189e-05/1.851, allocations: 25.7 kB / 1.015 GB, free: 14.59 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.414e-05/1.851, allocations: 170.7 kB / 1.015 GB, free: 14.41 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.34e-05/1.851, allocations: 43.34 kB / 1.015 GB, free: 14.37 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.966e-05/1.851, allocations: 7.938 kB / 1.015 GB, free: 14.36 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 5.28e-05/1.851, allocations: 318.8 kB / 1.015 GB, free: 14.04 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002473/1.851, allocations: 83.88 kB / 1.015 GB, free: 13.96 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002537/1.851, allocations: 102.2 kB / 1.015 GB, free: 13.86 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002788/1.852, allocations: 91.97 kB / 1.016 GB, free: 13.77 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.999e-06/1.852, allocations: 0 / 1.016 GB, free: 13.77 MB / 490.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0007127/1.852, allocations: 241.4 kB / 1.016 GB, free: 13.52 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.854e-05/1.852, allocations: 8 kB / 1.016 GB, free: 13.52 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.322e-06/1.852, allocations: 0 / 1.016 GB, free: 13.52 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.461e-05/1.852, allocations: 0 / 1.016 GB, free: 13.52 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006268/1.853, allocations: 55.88 kB / 1.016 GB, free: 13.46 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.302e-06/1.853, allocations: 8.062 kB / 1.016 GB, free: 13.45 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004448/1.854, allocations: 19.98 kB / 1.016 GB, free: 13.43 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.593e-05/1.854, allocations: 12.55 kB / 1.016 GB, free: 13.42 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (16): * Single equations (assignments): 16 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001168/1.854, allocations: 121.8 kB / 1.016 GB, free: 13.29 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.666e-05/1.854, allocations: 0 / 1.016 GB, free: 13.29 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00103/1.855, allocations: 349.2 kB / 1.016 GB, free: 12.95 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.848e-06/1.855, allocations: 4 kB / 1.016 GB, free: 12.94 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.599e-06/1.855, allocations: 7.938 kB / 1.016 GB, free: 12.93 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.439e-06/1.855, allocations: 3.938 kB / 1.016 GB, free: 12.93 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001222/1.856, allocations: 0.7471 MB / 1.017 GB, free: 12.09 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.993e-06/1.856, allocations: 0 / 1.017 GB, free: 12.09 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005391/1.857, allocations: 43.97 kB / 1.017 GB, free: 12.05 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.8e-06/1.857, allocations: 7.969 kB / 1.017 GB, free: 12.04 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.791e-05/1.857, allocations: 4 kB / 1.017 GB, free: 12.04 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.589e-06/1.857, allocations: 256 / 1.017 GB, free: 12.04 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.105e-06/1.857, allocations: 4 kB / 1.017 GB, free: 12.04 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007035/1.858, allocations: 359.2 kB / 1.017 GB, free: 11.67 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001077/1.858, allocations: 101 kB / 1.018 GB, free: 11.55 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.298e-05/1.858, allocations: 8 kB / 1.018 GB, free: 11.54 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004192/1.858, allocations: 7.984 kB / 1.018 GB, free: 11.54 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.717e-05/1.858, allocations: 15.98 kB / 1.018 GB, free: 11.52 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.243e-05/1.858, allocations: 7.984 kB / 1.018 GB, free: 11.51 MB / 490.7 MB Notification: Performance of sorting global known variables: time 3.259e-05/1.858, allocations: 83.28 kB / 1.018 GB, free: 11.43 MB / 490.7 MB Notification: Performance of sort global known variables: time 7.04e-07/1.858, allocations: 0 / 1.018 GB, free: 11.43 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0006995/1.859, allocations: 147.8 kB / 1.018 GB, free: 11.29 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 simulation (19): * Single equations (assignments): 19 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009554/1.86, allocations: 0.6364 MB / 1.018 GB, free: 10.64 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0007078/1.861, allocations: 203.8 kB / 1.019 GB, free: 10.44 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 3.689e-06/1.861, allocations: 0 / 1.019 GB, free: 10.44 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002999/1.861, allocations: 122.4 kB / 1.019 GB, free: 10.32 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003402/1.861, allocations: 28.03 kB / 1.019 GB, free: 10.29 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006803/1.862, allocations: 332.6 kB / 1.019 GB, free: 9.938 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001318/1.862, allocations: 0.7046 MB / 1.02 GB, free: 9.203 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002908/1.863, allocations: 27.41 kB / 1.02 GB, free: 9.176 MB / 490.7 MB Notification: Performance of SimCode: time 1.435e-06/1.863, allocations: 0 / 1.02 GB, free: 9.176 MB / 490.7 MB Notification: Performance of Templates: time 0.01028/1.873, allocations: 6.917 MB / 1.027 GB, free: 2.242 MB / 490.7 MB