Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.1_cpp_ModelicaTest.Media.TestAllProperties.DryAirNasa.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) Using package ModelicaTest with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.1/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.1_cpp_ModelicaTest.Media.TestAllProperties.DryAirNasa") Notification: Performance of loadModel(ModelicaTest): time 2.007/2.007, allocations: 209.2 MB / 225.4 MB, free: 0.6289 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004294/0.0004295, allocations: 12 kB / 283.1 MB, free: 9.703 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1102/0.1106, allocations: 48.71 MB / 331.8 MB, free: 8.887 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 2.061/2.172, allocations: 0.5861 GB / 0.9102 GB, free: 97.04 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002863/2.172, allocations: 76.09 kB / 0.9102 GB, free: 97 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.238/2.41, allocations: 61.05 MB / 0.9699 GB, free: 39.69 MB / 442.7 MB Notification: Performance of FrontEnd: time 3.176e-06/2.41, allocations: 0 / 0.9699 GB, free: 39.69 MB / 442.7 MB Notification: Performance of Transformations before backend: time 1.598e-05/2.41, allocations: 4 kB / 0.9699 GB, free: 39.68 MB / 442.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.002148/2.412, allocations: 0.7177 MB / 0.9706 GB, free: 38.92 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.59e-05/2.412, allocations: 8.031 kB / 0.9706 GB, free: 38.91 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01254/2.425, allocations: 0.5971 MB / 0.9712 GB, free: 38.31 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005489/2.425, allocations: 258.5 kB / 0.9714 GB, free: 38.02 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001767/2.426, allocations: 123.4 kB / 0.9715 GB, free: 37.88 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001513/2.426, allocations: 24 kB / 0.9716 GB, free: 37.85 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001935/2.428, allocations: 0.5672 MB / 0.9721 GB, free: 37.25 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.062e-05/2.428, allocations: 4 kB / 0.9721 GB, free: 37.24 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001248/2.428, allocations: 4 kB / 0.9721 GB, free: 37.24 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.686e-05/2.428, allocations: 8 kB / 0.9721 GB, free: 37.23 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002233/2.43, allocations: 0.6064 MB / 0.9727 GB, free: 36.62 MB / 442.7 MB Warning: The model contains alias variables with redundant start and/or conflicting 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.002857/2.433, allocations: 1.635 MB / 0.9743 GB, free: 34.86 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000511/2.434, allocations: 150.5 kB / 0.9745 GB, free: 34.7 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000941/2.435, allocations: 0.6731 MB / 0.9751 GB, free: 33.95 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.908e-05/2.435, allocations: 38.56 kB / 0.9751 GB, free: 33.9 MB / 442.7 MB Notification: Performance of pre-optimization done (n=18): time 2.925e-06/2.435, allocations: 0 / 0.9751 GB, free: 33.9 MB / 442.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.001544/2.436, allocations: 329.6 kB / 0.9755 GB, free: 33.58 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.048e-05/2.436, allocations: 51.41 kB / 0.9755 GB, free: 33.52 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002009/2.437, allocations: 183.5 kB / 0.9757 GB, free: 33.32 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 4.125e-05/2.437, allocations: 29.7 kB / 0.9757 GB, free: 33.29 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.967e-05/2.437, allocations: 261.5 kB / 0.976 GB, free: 33.03 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.069e-05/2.437, allocations: 71.09 kB / 0.976 GB, free: 32.96 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.099e-05/2.437, allocations: 4 kB / 0.976 GB, free: 32.95 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 7.098e-05/2.437, allocations: 338.7 kB / 0.9764 GB, free: 32.61 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002121/2.437, allocations: 68.66 kB / 0.9764 GB, free: 32.54 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000294/2.437, allocations: 256.1 kB / 0.9767 GB, free: 32.2 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000295/2.438, allocations: 99.86 kB / 0.9768 GB, free: 32.1 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.963e-06/2.438, allocations: 4 kB / 0.9768 GB, free: 32.1 MB / 442.7 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0008756/2.439, allocations: 365.4 kB / 0.9771 GB, free: 31.73 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.247e-05/2.439, allocations: 8 kB / 0.9771 GB, free: 31.73 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.211e-05/2.439, allocations: 8 kB / 0.9771 GB, free: 31.72 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.032e-05/2.439, allocations: 19.98 kB / 0.9772 GB, free: 31.7 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006911/2.439, allocations: 119.8 kB / 0.9773 GB, free: 31.58 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003379/2.44, allocations: 0.6096 MB / 0.9779 GB, free: 30.95 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004245/2.44, allocations: 47.69 kB / 0.9779 GB, free: 30.9 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.582e-05/2.44, allocations: 39.98 kB / 0.9779 GB, free: 30.86 MB / 442.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 () * Number of clocked 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.0001888/2.441, allocations: 149.6 kB / 0.9781 GB, free: 30.71 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.177e-05/2.441, allocations: 15.81 kB / 0.9781 GB, free: 30.69 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001237/2.442, allocations: 302.2 kB / 0.9784 GB, free: 30.38 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.284e-06/2.442, allocations: 7.953 kB / 0.9784 GB, free: 30.38 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.863e-06/2.442, allocations: 0 / 0.9784 GB, free: 30.38 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.839e-06/2.442, allocations: 0 / 0.9784 GB, free: 30.38 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009928/2.443, allocations: 0.525 MB / 0.9789 GB, free: 29.78 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.167e-06/2.443, allocations: 0 / 0.9789 GB, free: 29.78 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003896/2.443, allocations: 63.95 kB / 0.979 GB, free: 29.72 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.276e-06/2.443, allocations: 4 kB / 0.979 GB, free: 29.71 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.726e-05/2.443, allocations: 8 kB / 0.979 GB, free: 29.71 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002846/2.444, allocations: 0.5978 MB / 0.9796 GB, free: 29.09 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.725e-06/2.444, allocations: 0 / 0.9796 GB, free: 29.09 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004973/2.444, allocations: 284.1 kB / 0.9798 GB, free: 28.78 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001492/2.444, allocations: 116.8 kB / 0.9799 GB, free: 28.65 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.257e-05/2.444, allocations: 7.984 kB / 0.98 GB, free: 28.64 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004397/2.445, allocations: 11.98 kB / 0.98 GB, free: 28.63 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.939e-05/2.445, allocations: 15.98 kB / 0.98 GB, free: 28.61 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.159e-05/2.445, allocations: 27.98 kB / 0.98 GB, free: 28.59 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0001448/2.445, allocations: 134.9 kB / 0.9801 GB, free: 28.45 MB / 442.7 MB Notification: Performance of sort global known variables: time 3.41e-07/2.445, allocations: 4 kB / 0.9801 GB, free: 28.45 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.00125/2.446, allocations: 243.8 kB / 0.9804 GB, free: 28.21 MB / 442.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 () * Number of clocked 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.001672/2.448, allocations: 0.7427 MB / 0.9811 GB, free: 27.47 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0008977/2.449, allocations: 217 kB / 0.9813 GB, free: 27.26 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 5.941e-06/2.449, allocations: 448 / 0.9813 GB, free: 27.26 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003161/2.449, allocations: 87.89 kB / 0.9814 GB, free: 27.17 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006635/2.45, allocations: 60.39 kB / 0.9814 GB, free: 27.11 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.423/2.873, allocations: 32.71 MB / 1.013 GB, free: 105.1 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00029/2.873, allocations: 0.7346 MB / 1.014 GB, free: 104.4 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005943/2.874, allocations: 72.25 kB / 1.014 GB, free: 104.4 MB / 442.7 MB Notification: Performance of SimCode: time 1.303e-06/2.874, allocations: 0 / 1.014 GB, free: 104.4 MB / 442.7 MB Notification: Performance of Templates: time 0.02767/2.902, allocations: 8.452 MB / 1.022 GB, free: 104.2 MB / 442.7 MB