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.CO2.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.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.569/2.569, allocations: 235 MB / 248.1 MB, free: 14.32 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.452e-05/2.474e-05, allocations: 0 / 309.7 MB, free: 1.328 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3283/0.3284, allocations: 54.84 MB / 364.5 MB, free: 5.523 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.049/1.377, allocations: 492.8 MB / 0.8372 GB, free: 82.31 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002212/1.378, allocations: 73.27 kB / 0.8373 GB, free: 82.24 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1933/1.571, allocations: 57.25 MB / 0.8932 GB, free: 24.79 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.774e-06/1.571, allocations: 0 / 0.8932 GB, free: 24.79 MB / 490.7 MB Notification: Performance of Transformations before backend: time 1.547e-05/1.571, allocations: 4 kB / 0.8932 GB, free: 24.79 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.001658/1.573, allocations: 0.6819 MB / 0.8938 GB, free: 24.06 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.513e-05/1.573, allocations: 16.03 kB / 0.8939 GB, free: 24.04 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008113/1.581, allocations: 0.5897 MB / 0.8944 GB, free: 23.45 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004676/1.581, allocations: 258.6 kB / 0.8947 GB, free: 23.16 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001456/1.581, allocations: 127.4 kB / 0.8948 GB, free: 23.01 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001282/1.582, allocations: 24 kB / 0.8948 GB, free: 22.99 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001087/1.583, allocations: 0.5205 MB / 0.8953 GB, free: 22.43 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.558e-05/1.583, allocations: 4 kB / 0.8953 GB, free: 22.43 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001032/1.583, allocations: 12 kB / 0.8954 GB, free: 22.41 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.768e-05/1.583, allocations: 4 kB / 0.8954 GB, free: 22.41 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001374/1.584, allocations: 0.5676 MB / 0.8959 GB, free: 21.84 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.002211/1.586, allocations: 1.627 MB / 0.8975 GB, free: 20.09 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000342/1.587, allocations: 146.9 kB / 0.8976 GB, free: 19.93 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001485/1.587, allocations: 72.81 kB / 0.8977 GB, free: 19.86 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001174/1.588, allocations: 1.207 MB / 0.8989 GB, free: 18.45 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.325e-05/1.588, allocations: 42.5 kB / 0.8989 GB, free: 18.39 MB / 490.7 MB Notification: Performance of pre-optimization done (n=20): time 3.542e-06/1.588, allocations: 0 / 0.8989 GB, free: 18.39 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.00103/1.589, allocations: 288.5 kB / 0.8992 GB, free: 18.11 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.011e-05/1.589, allocations: 51.41 kB / 0.8993 GB, free: 18.05 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001512/1.59, allocations: 161.4 kB / 0.8994 GB, free: 17.88 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 3.358e-05/1.59, allocations: 29.7 kB / 0.8994 GB, free: 17.84 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.304e-05/1.59, allocations: 249.8 kB / 0.8997 GB, free: 17.59 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.822e-05/1.59, allocations: 78.92 kB / 0.8997 GB, free: 17.52 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.482e-05/1.59, allocations: 8 kB / 0.8998 GB, free: 17.51 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 6.02e-05/1.59, allocations: 330.8 kB / 0.9001 GB, free: 17.18 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001432/1.59, allocations: 60.73 kB / 0.9001 GB, free: 17.11 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002175/1.59, allocations: 248 kB / 0.9004 GB, free: 16.78 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002084/1.59, allocations: 105.4 kB / 0.9005 GB, free: 16.68 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.258e-06/1.59, allocations: 4 kB / 0.9005 GB, free: 16.67 MB / 490.7 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0006928/1.591, allocations: 349.5 kB / 0.9008 GB, free: 16.32 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.186e-05/1.591, allocations: 8.938 kB / 0.9008 GB, free: 16.32 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.289e-05/1.591, allocations: 11.95 kB / 0.9008 GB, free: 16.3 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.517e-05/1.591, allocations: 12 kB / 0.9008 GB, free: 16.29 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005274/1.592, allocations: 131.7 kB / 0.901 GB, free: 16.16 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003136/1.592, allocations: 0.6047 MB / 0.9016 GB, free: 15.54 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003773/1.593, allocations: 39.59 kB / 0.9016 GB, free: 15.5 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.818e-05/1.593, allocations: 43.98 kB / 0.9016 GB, free: 15.46 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.0001263/1.593, allocations: 136.8 kB / 0.9018 GB, free: 15.32 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.506e-05/1.593, allocations: 23.8 kB / 0.9018 GB, free: 15.29 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001036/1.594, allocations: 311.3 kB / 0.9021 GB, free: 14.97 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.056e-06/1.594, allocations: 4 kB / 0.9021 GB, free: 14.97 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.564e-06/1.594, allocations: 0 / 0.9021 GB, free: 14.97 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.597e-06/1.594, allocations: 3.984 kB / 0.9021 GB, free: 14.96 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008162/1.595, allocations: 0.5472 MB / 0.9026 GB, free: 14.35 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.51e-06/1.595, allocations: 0 / 0.9026 GB, free: 14.35 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003121/1.595, allocations: 59.97 kB / 0.9027 GB, free: 14.29 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.533e-06/1.595, allocations: 3.938 kB / 0.9027 GB, free: 14.29 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.545e-05/1.595, allocations: 11.98 kB / 0.9027 GB, free: 14.27 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002676/1.595, allocations: 0.594 MB / 0.9033 GB, free: 13.66 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.51e-06/1.595, allocations: 3.938 kB / 0.9033 GB, free: 13.65 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003809/1.596, allocations: 341.6 kB / 0.9036 GB, free: 13.26 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001218/1.596, allocations: 112.8 kB / 0.9037 GB, free: 13.13 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.341e-05/1.596, allocations: 11.98 kB / 0.9037 GB, free: 13.12 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003201/1.596, allocations: 15.98 kB / 0.9037 GB, free: 13.1 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.8e-05/1.596, allocations: 19.94 kB / 0.9038 GB, free: 13.08 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.709e-05/1.597, allocations: 19.98 kB / 0.9038 GB, free: 13.06 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0001183/1.597, allocations: 131 kB / 0.9039 GB, free: 12.93 MB / 490.7 MB Notification: Performance of sort global known variables: time 8.26e-07/1.597, allocations: 0 / 0.9039 GB, free: 12.93 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.00115/1.598, allocations: 267.7 kB / 0.9042 GB, free: 12.67 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 () * 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.001543/1.599, allocations: 0.7426 MB / 0.9049 GB, free: 11.93 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0006476/1.6, allocations: 218 kB / 0.9051 GB, free: 11.71 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 5.743e-06/1.6, allocations: 0 / 0.9051 GB, free: 11.71 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002214/1.6, allocations: 76.28 kB / 0.9052 GB, free: 11.64 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005253/1.601, allocations: 56.47 kB / 0.9052 GB, free: 11.58 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3651/1.966, allocations: 30.38 MB / 0.9349 GB, free: 144.7 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001926/1.966, allocations: 0.7307 MB / 0.9356 GB, free: 144 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003193/1.967, allocations: 66.22 kB / 0.9357 GB, free: 144 MB / 490.7 MB Notification: Performance of SimCode: time 1.845e-06/1.967, allocations: 0 / 0.9357 GB, free: 144 MB / 490.7 MB Notification: Performance of Templates: time 0.01483/1.981, allocations: 8.451 MB / 0.9439 GB, free: 143.5 MB / 490.7 MB