Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.2_cpp_ModelicaTest.Media.TestAllProperties.CO2.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.TestAllProperties.CO2,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.CO2") Notification: Performance of loadModel(ModelicaTest): time 2.333/2.333, allocations: 234.9 MB / 251.1 MB, free: 9.551 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005913/0.0005915, allocations: 11.98 kB / 314.9 MB, free: 9.609 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3386/0.3392, allocations: 54.86 MB / 369.8 MB, free: 10.74 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.744/2.084, allocations: 492.8 MB / 0.8424 GB, free: 140 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002866/2.084, allocations: 75.39 kB / 0.8425 GB, free: 140 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2197/2.304, allocations: 57.36 MB / 0.8985 GB, free: 126.8 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.455e-06/2.304, allocations: 0 / 0.8985 GB, free: 126.8 MB / 490.7 MB Notification: Performance of Transformations before backend: time 1.584e-05/2.304, allocations: 0 / 0.8985 GB, free: 126.8 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.002071/2.306, allocations: 0.7129 MB / 0.8992 GB, free: 126.2 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.545e-05/2.306, allocations: 7.625 kB / 0.8992 GB, free: 126.2 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01254/2.319, allocations: 0.5856 MB / 0.8998 GB, free: 126 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005851/2.319, allocations: 252.4 kB / 0.9 GB, free: 125.8 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001758/2.319, allocations: 127.7 kB / 0.9001 GB, free: 125.7 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001543/2.32, allocations: 23.75 kB / 0.9001 GB, free: 125.7 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002048/2.322, allocations: 0.5641 MB / 0.9007 GB, free: 125.4 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.318e-05/2.322, allocations: 3.953 kB / 0.9007 GB, free: 125.4 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001371/2.322, allocations: 11.03 kB / 0.9007 GB, free: 125.4 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.317e-05/2.322, allocations: 7.562 kB / 0.9007 GB, free: 125.4 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00236/2.324, allocations: 0.6087 MB / 0.9013 GB, free: 125.2 MB / 490.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.002814/2.327, allocations: 1.615 MB / 0.9029 GB, free: 123.8 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005258/2.328, allocations: 162.2 kB / 0.903 GB, free: 123.8 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001424/2.329, allocations: 1.2 MB / 0.9042 GB, free: 122.4 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.61e-05/2.329, allocations: 34.06 kB / 0.9042 GB, free: 122.4 MB / 490.7 MB Notification: Performance of pre-optimization done (n=20): time 3.096e-06/2.329, allocations: 0 / 0.9042 GB, free: 122.4 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=20): time 0.001523/2.331, allocations: 343.4 kB / 0.9046 GB, free: 122.1 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.141e-05/2.331, allocations: 55.41 kB / 0.9046 GB, free: 122 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001836/2.331, allocations: 183.6 kB / 0.9048 GB, free: 121.9 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 4.22e-05/2.331, allocations: 29.08 kB / 0.9048 GB, free: 121.8 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.816e-05/2.331, allocations: 256.9 kB / 0.9051 GB, free: 121.6 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.448e-05/2.331, allocations: 69.94 kB / 0.9051 GB, free: 121.5 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.748e-05/2.331, allocations: 7 kB / 0.9051 GB, free: 121.5 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 7.034e-05/2.331, allocations: 333.5 kB / 0.9055 GB, free: 121.2 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002034/2.332, allocations: 62.83 kB / 0.9055 GB, free: 121.1 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003325/2.332, allocations: 259.8 kB / 0.9058 GB, free: 120.8 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002994/2.332, allocations: 102.5 kB / 0.9059 GB, free: 120.8 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.682e-06/2.332, allocations: 4 kB / 0.9059 GB, free: 120.7 MB / 490.7 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0009411/2.333, allocations: 372.5 kB / 0.9062 GB, free: 120.4 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.915e-05/2.333, allocations: 11.94 kB / 0.9062 GB, free: 120.4 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.387e-05/2.333, allocations: 8 kB / 0.9063 GB, free: 120.4 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.312e-05/2.333, allocations: 12 kB / 0.9063 GB, free: 120.4 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007441/2.334, allocations: 117.6 kB / 0.9064 GB, free: 120.3 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003832/2.335, allocations: 0.6086 MB / 0.907 GB, free: 119.7 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004519/2.335, allocations: 40.03 kB / 0.907 GB, free: 119.6 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.216e-05/2.335, allocations: 40.48 kB / 0.907 GB, free: 119.6 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 () * 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.0002242/2.335, allocations: 149.7 kB / 0.9072 GB, free: 119.5 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.874e-05/2.335, allocations: 19.81 kB / 0.9072 GB, free: 119.4 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00138/2.337, allocations: 324.3 kB / 0.9075 GB, free: 119.2 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.173e-06/2.337, allocations: 4 kB / 0.9075 GB, free: 119.1 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.061e-06/2.337, allocations: 0 / 0.9075 GB, free: 119.1 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.869e-06/2.337, allocations: 0 / 0.9075 GB, free: 119.1 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001015/2.338, allocations: 0.546 MB / 0.9081 GB, free: 118.6 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.911e-06/2.338, allocations: 0 / 0.9081 GB, free: 118.6 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003871/2.338, allocations: 63.78 kB / 0.9081 GB, free: 118.5 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.965e-06/2.338, allocations: 7.938 kB / 0.9081 GB, free: 118.5 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.673e-05/2.338, allocations: 7.984 kB / 0.9081 GB, free: 118.5 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002687/2.339, allocations: 0.5962 MB / 0.9087 GB, free: 117.9 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.747e-06/2.339, allocations: 4.031 kB / 0.9087 GB, free: 117.9 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004724/2.339, allocations: 280.1 kB / 0.909 GB, free: 117.6 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001427/2.339, allocations: 115.9 kB / 0.9091 GB, free: 117.5 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.835e-05/2.339, allocations: 15.89 kB / 0.9091 GB, free: 117.5 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004359/2.34, allocations: 15.42 kB / 0.9091 GB, free: 117.5 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.921e-05/2.34, allocations: 15.86 kB / 0.9091 GB, free: 117.5 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.087e-05/2.34, allocations: 19.98 kB / 0.9092 GB, free: 117.4 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.000135/2.34, allocations: 134.8 kB / 0.9093 GB, free: 117.3 MB / 490.7 MB Notification: Performance of sort global known variables: time 3.91e-07/2.34, allocations: 0 / 0.9093 GB, free: 117.3 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.001311/2.341, allocations: 265 kB / 0.9095 GB, free: 117.1 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * 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.00175/2.343, allocations: 0.7502 MB / 0.9103 GB, free: 116.4 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.000875/2.344, allocations: 220.9 kB / 0.9105 GB, free: 116.2 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 5.25e-06/2.344, allocations: 448 / 0.9105 GB, free: 116.2 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003136/2.345, allocations: 93.89 kB / 0.9106 GB, free: 116.1 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006589/2.345, allocations: 60.98 kB / 0.9106 GB, free: 116.1 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1121/2.457, allocations: 30.75 MB / 0.9407 GB, free: 86.13 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001833/2.457, allocations: 0.7287 MB / 0.9414 GB, free: 85.37 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003656/2.458, allocations: 63.39 kB / 0.9414 GB, free: 85.31 MB / 490.7 MB Notification: Performance of SimCode: time 1.362e-06/2.458, allocations: 4 kB / 0.9414 GB, free: 85.3 MB / 490.7 MB Notification: Performance of Templates: time 0.01702/2.475, allocations: 8.468 MB / 0.9497 GB, free: 76.83 MB / 490.7 MB