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.343/2.343, allocations: 235 MB / 248.1 MB, free: 14.37 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.024e-05/3.048e-05, allocations: 4 kB / 309.7 MB, free: 1.328 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.325/0.325, allocations: 54.85 MB / 364.5 MB, free: 5.535 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.432/1.757, allocations: 0.6066 GB / 0.9626 GB, free: 146 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000212/1.757, allocations: 71.97 kB / 0.9627 GB, free: 145.9 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1333/1.891, allocations: 45.31 MB / 1.007 GB, free: 100.3 MB / 490.7 MB Notification: Performance of FrontEnd: time 3.393e-06/1.891, allocations: 0 / 1.007 GB, free: 100.3 MB / 490.7 MB Notification: Performance of Transformations before backend: time 1.024e-05/1.891, allocations: 3.938 kB / 1.007 GB, free: 100.3 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.0005475/1.891, allocations: 426.2 kB / 1.007 GB, free: 99.81 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.987e-05/1.891, allocations: 11.97 kB / 1.007 GB, free: 99.8 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.557e-05/1.891, allocations: 11.91 kB / 1.007 GB, free: 99.79 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.996e-05/1.892, allocations: 167 kB / 1.007 GB, free: 99.58 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.476e-05/1.892, allocations: 4 kB / 1.008 GB, free: 99.58 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.289e-05/1.892, allocations: 8 kB / 1.008 GB, free: 99.57 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001393/1.892, allocations: 65.67 kB / 1.008 GB, free: 99.5 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.577e-05/1.892, allocations: 7.859 kB / 1.008 GB, free: 99.49 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.16e-05/1.892, allocations: 4 kB / 1.008 GB, free: 99.49 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.673e-06/1.892, allocations: 4 kB / 1.008 GB, free: 99.48 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.587e-05/1.892, allocations: 43.98 kB / 1.008 GB, free: 99.44 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004037/1.892, allocations: 385.8 kB / 1.008 GB, free: 99 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001181/1.893, allocations: 66.53 kB / 1.008 GB, free: 98.92 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.394e-05/1.893, allocations: 20.86 kB / 1.008 GB, free: 98.9 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001104/1.894, allocations: 1.002 MB / 1.009 GB, free: 97.69 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.092e-05/1.894, allocations: 30.56 kB / 1.009 GB, free: 97.65 MB / 490.7 MB Notification: Performance of pre-optimization done (n=9): time 3.622e-06/1.894, allocations: 0 / 1.009 GB, free: 97.65 MB / 490.7 MB Notification: Performance of matching and sorting (n=14): time 0.005704/1.899, allocations: 0.6143 MB / 1.01 GB, free: 97.03 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.609e-05/1.9, allocations: 59.36 kB / 1.01 GB, free: 96.96 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.154e-05/1.9, allocations: 101 kB / 1.01 GB, free: 96.86 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 3.304e-05/1.9, allocations: 25.98 kB / 1.01 GB, free: 96.82 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.043e-05/1.9, allocations: 162.7 kB / 1.01 GB, free: 96.66 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.084e-05/1.9, allocations: 47.34 kB / 1.01 GB, free: 96.61 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.021e-05/1.9, allocations: 7.938 kB / 1.01 GB, free: 96.61 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 5.188e-05/1.9, allocations: 322.8 kB / 1.01 GB, free: 96.28 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000195/1.9, allocations: 67.98 kB / 1.01 GB, free: 96.21 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002171/1.9, allocations: 104.3 kB / 1.011 GB, free: 96.11 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002267/1.901, allocations: 83.88 kB / 1.011 GB, free: 96.02 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.407e-06/1.901, allocations: 0 / 1.011 GB, free: 96.02 MB / 490.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0006462/1.901, allocations: 225.9 kB / 1.011 GB, free: 95.8 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.922e-05/1.901, allocations: 9.875 kB / 1.011 GB, free: 95.79 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.517e-06/1.901, allocations: 0 / 1.011 GB, free: 95.79 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.696e-05/1.901, allocations: 4.062 kB / 1.011 GB, free: 95.79 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006521/1.902, allocations: 51.94 kB / 1.011 GB, free: 95.73 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.12e-05/1.902, allocations: 4 kB / 1.011 GB, free: 95.73 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004475/1.902, allocations: 19.94 kB / 1.011 GB, free: 95.71 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.016e-05/1.903, allocations: 19.97 kB / 1.011 GB, free: 95.69 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 () * 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.0001026/1.903, allocations: 108.9 kB / 1.011 GB, free: 95.58 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.697e-05/1.903, allocations: 4 kB / 1.011 GB, free: 95.57 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009361/1.904, allocations: 338.2 kB / 1.011 GB, free: 95.24 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.771e-06/1.904, allocations: 0 / 1.011 GB, free: 95.24 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.617e-06/1.904, allocations: 0 / 1.011 GB, free: 95.24 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.885e-06/1.904, allocations: 0 / 1.011 GB, free: 95.24 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001155/1.905, allocations: 0.7304 MB / 1.012 GB, free: 94.42 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.946e-06/1.905, allocations: 7.984 kB / 1.012 GB, free: 94.41 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005925/1.906, allocations: 44.16 kB / 1.012 GB, free: 94.37 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.176e-06/1.906, allocations: 0 / 1.012 GB, free: 94.37 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4e-05/1.906, allocations: 12 kB / 1.012 GB, free: 94.36 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.336e-06/1.906, allocations: 3.984 kB / 1.012 GB, free: 94.35 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.276e-06/1.906, allocations: 0 / 1.012 GB, free: 94.35 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006082/1.906, allocations: 338.6 kB / 1.012 GB, free: 94.01 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001123/1.906, allocations: 108.9 kB / 1.013 GB, free: 93.88 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.169e-05/1.906, allocations: 4 kB / 1.013 GB, free: 93.88 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004248/1.907, allocations: 8 kB / 1.013 GB, free: 93.87 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.182e-05/1.907, allocations: 19.97 kB / 1.013 GB, free: 93.85 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.552e-05/1.907, allocations: 11.94 kB / 1.013 GB, free: 93.84 MB / 490.7 MB Notification: Performance of sorting global known variables: time 3.512e-05/1.907, allocations: 79.28 kB / 1.013 GB, free: 93.76 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.614e-06/1.907, allocations: 0 / 1.013 GB, free: 93.76 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0007129/1.908, allocations: 147.8 kB / 1.013 GB, free: 93.62 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 () * 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.001021/1.909, allocations: 0.6416 MB / 1.013 GB, free: 92.97 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0005294/1.909, allocations: 183.9 kB / 1.014 GB, free: 92.79 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 3.217e-06/1.909, allocations: 0 / 1.014 GB, free: 92.79 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002458/1.91, allocations: 111.9 kB / 1.014 GB, free: 92.68 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003665/1.91, allocations: 25.2 kB / 1.014 GB, free: 92.66 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00054/1.911, allocations: 205.5 kB / 1.014 GB, free: 92.43 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001356/1.911, allocations: 0.6968 MB / 1.015 GB, free: 91.71 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003073/1.911, allocations: 39.39 kB / 1.015 GB, free: 91.67 MB / 490.7 MB Notification: Performance of SimCode: time 1.849e-06/1.911, allocations: 0 / 1.015 GB, free: 91.67 MB / 490.7 MB Notification: Performance of Templates: time 0.01055/1.922, allocations: 6.909 MB / 1.021 GB, free: 84.74 MB / 490.7 MB