Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package ModelicaTest with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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.316/2.316, allocations: 234.9 MB / 251.1 MB, free: 9.469 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004238/0.0004238, allocations: 16 kB / 314.9 MB, free: 9.52 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3441/0.3445, allocations: 54.86 MB / 369.8 MB, free: 10.71 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.749/2.094, allocations: 0.6067 GB / 0.9678 GB, free: 53.38 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002455/2.094, allocations: 79.58 kB / 0.9679 GB, free: 53.34 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1516/2.246, allocations: 45.47 MB / 1.012 GB, free: 13.76 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.715e-06/2.246, allocations: 0 / 1.012 GB, free: 13.76 MB / 490.7 MB Notification: Performance of Transformations before backend: time 8.766e-06/2.246, allocations: 4 kB / 1.012 GB, free: 13.75 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.0006668/2.247, allocations: 423.1 kB / 1.013 GB, free: 13.29 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.954e-05/2.247, allocations: 8.031 kB / 1.013 GB, free: 13.29 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.719e-05/2.247, allocations: 7.906 kB / 1.013 GB, free: 13.28 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.674e-05/2.247, allocations: 163 kB / 1.013 GB, free: 13.08 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.67e-05/2.247, allocations: 8 kB / 1.013 GB, free: 13.07 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.362e-05/2.247, allocations: 11.98 kB / 1.013 GB, free: 13.06 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001726/2.247, allocations: 73.61 kB / 1.013 GB, free: 12.98 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.635e-05/2.247, allocations: 3.906 kB / 1.013 GB, free: 12.98 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.299e-05/2.247, allocations: 3.953 kB / 1.013 GB, free: 12.97 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.552e-06/2.247, allocations: 4 kB / 1.013 GB, free: 12.97 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001126/2.247, allocations: 43.97 kB / 1.013 GB, free: 12.93 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004668/2.248, allocations: 385.9 kB / 1.013 GB, free: 12.48 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001371/2.248, allocations: 78.38 kB / 1.013 GB, free: 12.39 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001465/2.249, allocations: 0.9974 MB / 1.014 GB, free: 11.2 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.564e-05/2.249, allocations: 34.56 kB / 1.014 GB, free: 11.15 MB / 490.7 MB Notification: Performance of pre-optimization done (n=9): time 2.975e-06/2.249, allocations: 0 / 1.014 GB, free: 11.15 MB / 490.7 MB Notification: Performance of matching and sorting (n=14): time 0.009416/2.259, allocations: 0.6575 MB / 1.015 GB, free: 10.49 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.082e-05/2.259, allocations: 51.41 kB / 1.015 GB, free: 10.43 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.573e-05/2.259, allocations: 109.8 kB / 1.015 GB, free: 10.31 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 4.575e-05/2.259, allocations: 25.7 kB / 1.015 GB, free: 10.28 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.733e-05/2.259, allocations: 166.7 kB / 1.015 GB, free: 10.11 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.661e-05/2.259, allocations: 43.36 kB / 1.015 GB, free: 10.07 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.17e-05/2.259, allocations: 4 kB / 1.015 GB, free: 10.06 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 5.861e-05/2.259, allocations: 314.8 kB / 1.016 GB, free: 9.746 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003202/2.26, allocations: 83.88 kB / 1.016 GB, free: 9.664 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003334/2.26, allocations: 102.5 kB / 1.016 GB, free: 9.555 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003606/2.26, allocations: 87.98 kB / 1.016 GB, free: 9.469 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.794e-06/2.26, allocations: 0 / 1.016 GB, free: 9.469 MB / 490.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0009259/2.261, allocations: 245.4 kB / 1.016 GB, free: 9.223 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.986e-05/2.261, allocations: 4 kB / 1.016 GB, free: 9.219 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.814e-06/2.261, allocations: 4 kB / 1.016 GB, free: 9.215 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.069e-05/2.261, allocations: 0 / 1.016 GB, free: 9.215 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009546/2.262, allocations: 55.88 kB / 1.016 GB, free: 9.16 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.888e-06/2.262, allocations: 4 kB / 1.016 GB, free: 9.156 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007764/2.263, allocations: 24.05 kB / 1.016 GB, free: 9.133 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.708e-05/2.263, allocations: 15.94 kB / 1.016 GB, free: 9.117 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.0001563/2.263, allocations: 113.8 kB / 1.016 GB, free: 8.996 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.596e-05/2.264, allocations: 4 kB / 1.016 GB, free: 8.992 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001346/2.265, allocations: 345.5 kB / 1.017 GB, free: 8.645 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.674e-06/2.265, allocations: 4 kB / 1.017 GB, free: 8.641 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.605e-06/2.265, allocations: 3.984 kB / 1.017 GB, free: 8.637 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.005e-06/2.265, allocations: 7.984 kB / 1.017 GB, free: 8.629 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001514/2.266, allocations: 0.7511 MB / 1.018 GB, free: 7.789 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.11e-06/2.267, allocations: 0 / 1.018 GB, free: 7.789 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008591/2.267, allocations: 43.97 kB / 1.018 GB, free: 7.746 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.303e-06/2.267, allocations: 0 / 1.018 GB, free: 7.746 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.965e-05/2.267, allocations: 7.984 kB / 1.018 GB, free: 7.738 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.5e-06/2.267, allocations: 3.938 kB / 1.018 GB, free: 7.734 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.004e-06/2.268, allocations: 0 / 1.018 GB, free: 7.734 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008997/2.268, allocations: 355.3 kB / 1.018 GB, free: 7.371 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001399/2.269, allocations: 101 kB / 1.018 GB, free: 7.254 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.395e-05/2.269, allocations: 8 kB / 1.018 GB, free: 7.246 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006654/2.269, allocations: 4 kB / 1.018 GB, free: 7.242 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.277e-05/2.269, allocations: 15.97 kB / 1.018 GB, free: 7.227 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.811e-05/2.269, allocations: 8.25 kB / 1.018 GB, free: 7.219 MB / 490.7 MB Notification: Performance of sorting global known variables: time 4.056e-05/2.27, allocations: 91.27 kB / 1.018 GB, free: 7.129 MB / 490.7 MB Notification: Performance of sort global known variables: time 3.61e-07/2.27, allocations: 0 / 1.018 GB, free: 7.129 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0007865/2.27, allocations: 151.8 kB / 1.018 GB, free: 6.98 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.001207/2.272, allocations: 0.6286 MB / 1.019 GB, free: 6.34 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0008368/2.272, allocations: 207.8 kB / 1.019 GB, free: 6.137 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 3.377e-06/2.272, allocations: 0 / 1.019 GB, free: 6.137 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004035/2.273, allocations: 115.9 kB / 1.019 GB, free: 6.023 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004428/2.273, allocations: 23.97 kB / 1.019 GB, free: 6 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008538/2.274, allocations: 336.4 kB / 1.02 GB, free: 5.645 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001459/2.274, allocations: 0.6968 MB / 1.02 GB, free: 4.918 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003857/2.275, allocations: 35.39 kB / 1.02 GB, free: 4.883 MB / 490.7 MB Notification: Performance of SimCode: time 1.733e-06/2.275, allocations: 0 / 1.02 GB, free: 4.883 MB / 490.7 MB Notification: Performance of Templates: time 0.3687/2.643, allocations: 6.921 MB / 1.027 GB, free: 158.9 MB / 490.7 MB