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.TestAllProperties.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.TestAllProperties.DryAirNasa,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|eps_h_is|eta|lambda|Pr|p|T|d|h|u|s|g|f|cp|cp2|cv|cv2|h_is|a|beta|beta2|kappa|kappa2|ddpT|ddTp|dddX.1.|MM|h2|d2|err_T|err_d|err_u|s_is|err_h_is|eps",fileNamePrefix="ModelicaTest_3.2.2_cpp_ModelicaTest.Media.TestAllProperties.DryAirNasa") Notification: Performance of loadModel(ModelicaTest): time 2.231/2.231, allocations: 235 MB / 248.1 MB, free: 14.38 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.705e-05/2.719e-05, allocations: 4 kB / 309.7 MB, free: 1.328 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3216/0.3216, allocations: 54.86 MB / 364.5 MB, free: 5.52 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.547/1.869, allocations: 0.5928 GB / 0.9488 GB, free: 135.8 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001986/1.869, allocations: 78.25 kB / 0.9489 GB, free: 135.8 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2061/2.075, allocations: 61 MB / 1.008 GB, free: 86.87 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.823e-06/2.075, allocations: 0 / 1.008 GB, free: 86.87 MB / 490.7 MB Notification: Performance of Transformations before backend: time 1.321e-05/2.075, allocations: 0 / 1.008 GB, free: 86.87 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: 56 * Number of variables: 56 Notification: Performance of Generate backend data structure: time 0.001647/2.077, allocations: 0.7091 MB / 1.009 GB, free: 86.12 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.958e-05/2.077, allocations: 11.97 kB / 1.009 GB, free: 86.11 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00793/2.085, allocations: 0.5898 MB / 1.01 GB, free: 85.52 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004289/2.086, allocations: 254.8 kB / 1.01 GB, free: 85.23 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001361/2.086, allocations: 127.3 kB / 1.01 GB, free: 85.08 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000117/2.086, allocations: 20 kB / 1.01 GB, free: 85.06 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001037/2.087, allocations: 0.5244 MB / 1.011 GB, free: 84.5 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.543e-05/2.087, allocations: 0 / 1.011 GB, free: 84.5 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.956e-05/2.087, allocations: 15.94 kB / 1.011 GB, free: 84.48 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.278e-05/2.087, allocations: 11.94 kB / 1.011 GB, free: 84.47 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001332/2.088, allocations: 0.5598 MB / 1.011 GB, free: 83.91 MB / 490.7 MB Warning: The model contains alias variables with conflicting start and/or nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002098/2.091, allocations: 1.646 MB / 1.013 GB, free: 82.14 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003295/2.091, allocations: 146.5 kB / 1.013 GB, free: 81.99 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001419/2.091, allocations: 72.89 kB / 1.013 GB, free: 81.91 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007852/2.092, allocations: 0.7013 MB / 1.014 GB, free: 81.13 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.286e-05/2.092, allocations: 34.56 kB / 1.014 GB, free: 81.09 MB / 490.7 MB Notification: Performance of pre-optimization done (n=18): time 2.833e-06/2.092, allocations: 4 kB / 1.014 GB, free: 81.09 MB / 490.7 MB Warning: Some equations could not be differentiated for following variables having attribute stateSelect=StateSelect.prefer. They will be treated as if they had stateSelect=StateSelect.default ======================================== 1: medium.T Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=18): time 0.001057/2.093, allocations: 275 kB / 1.014 GB, free: 80.81 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.636e-05/2.093, allocations: 51.41 kB / 1.014 GB, free: 80.75 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001563/2.093, allocations: 162.5 kB / 1.014 GB, free: 80.58 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 3.494e-05/2.093, allocations: 37.69 kB / 1.014 GB, free: 80.54 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.909e-05/2.093, allocations: 249.8 kB / 1.014 GB, free: 80.29 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.373e-05/2.093, allocations: 71.08 kB / 1.015 GB, free: 80.22 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.482e-05/2.093, allocations: 4 kB / 1.015 GB, free: 80.21 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 5.742e-05/2.094, allocations: 326.8 kB / 1.015 GB, free: 79.89 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001469/2.094, allocations: 64.73 kB / 1.015 GB, free: 79.82 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002094/2.094, allocations: 252 kB / 1.015 GB, free: 79.48 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000205/2.094, allocations: 95.89 kB / 1.015 GB, free: 79.39 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.126e-06/2.094, allocations: 4 kB / 1.015 GB, free: 79.38 MB / 490.7 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0006805/2.095, allocations: 357.3 kB / 1.016 GB, free: 79.03 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.146e-05/2.095, allocations: 14.45 kB / 1.016 GB, free: 79.02 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.145e-05/2.095, allocations: 8 kB / 1.016 GB, free: 79.01 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.332e-05/2.095, allocations: 12 kB / 1.016 GB, free: 79 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000503/2.095, allocations: 123.9 kB / 1.016 GB, free: 78.88 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002948/2.096, allocations: 0.6133 MB / 1.016 GB, free: 78.24 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003615/2.096, allocations: 43.58 kB / 1.016 GB, free: 78.2 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.929e-05/2.096, allocations: 40 kB / 1.016 GB, free: 78.16 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (46): * Single equations (assignments): 45 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001181/2.096, allocations: 136.8 kB / 1.017 GB, free: 78.02 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.605e-05/2.096, allocations: 23.8 kB / 1.017 GB, free: 77.99 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009559/2.097, allocations: 289.3 kB / 1.017 GB, free: 77.7 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.876e-06/2.097, allocations: 4 kB / 1.017 GB, free: 77.69 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.719e-06/2.097, allocations: 0 / 1.017 GB, free: 77.69 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.003e-06/2.097, allocations: 0 / 1.017 GB, free: 77.69 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007284/2.098, allocations: 0.5288 MB / 1.017 GB, free: 77.09 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.834e-06/2.098, allocations: 8.109 kB / 1.017 GB, free: 77.09 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002996/2.099, allocations: 67.89 kB / 1.017 GB, free: 77.02 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.626e-06/2.099, allocations: 0 / 1.017 GB, free: 77.02 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.38e-05/2.099, allocations: 8 kB / 1.017 GB, free: 77.01 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002506/2.099, allocations: 0.6015 MB / 1.018 GB, free: 76.39 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.957e-06/2.099, allocations: 0 / 1.018 GB, free: 76.39 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003496/2.099, allocations: 326.2 kB / 1.018 GB, free: 76.02 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00011/2.099, allocations: 116.8 kB / 1.018 GB, free: 75.88 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.198e-05/2.099, allocations: 8 kB / 1.018 GB, free: 75.88 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003025/2.1, allocations: 11.98 kB / 1.018 GB, free: 75.86 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.825e-05/2.1, allocations: 19.94 kB / 1.019 GB, free: 75.84 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.424e-05/2.1, allocations: 19.98 kB / 1.019 GB, free: 75.82 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0001149/2.1, allocations: 131 kB / 1.019 GB, free: 75.7 MB / 490.7 MB Notification: Performance of sort global known variables: time 7.83e-07/2.1, allocations: 0 / 1.019 GB, free: 75.7 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.001098/2.101, allocations: 243.9 kB / 1.019 GB, free: 75.46 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00127/2.102, allocations: 0.7379 MB / 1.02 GB, free: 74.72 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0005849/2.103, allocations: 210.2 kB / 1.02 GB, free: 74.52 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 5.687e-06/2.103, allocations: 4 kB / 1.02 GB, free: 74.51 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002172/2.103, allocations: 72.45 kB / 1.02 GB, free: 74.44 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004693/2.104, allocations: 56.3 kB / 1.02 GB, free: 74.38 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1043/2.208, allocations: 32.33 MB / 1.051 GB, free: 41.86 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001747/2.208, allocations: 0.7325 MB / 1.052 GB, free: 41.1 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003405/2.209, allocations: 67.39 kB / 1.052 GB, free: 41.03 MB / 490.7 MB Notification: Performance of SimCode: time 1.763e-06/2.209, allocations: 0 / 1.052 GB, free: 41.03 MB / 490.7 MB Notification: Performance of Templates: time 0.01278/2.221, allocations: 8.455 MB / 1.061 GB, free: 32.57 MB / 490.7 MB