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.365/2.365, allocations: 234.9 MB / 250.5 MB, free: 9.465 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004473/0.0004474, allocations: 12 kB / 314.4 MB, free: 9.477 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2785/0.279, allocations: 54.86 MB / 369.3 MB, free: 10.72 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.303/1.582, allocations: 492.8 MB / 0.8419 GB, free: 193.5 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002319/1.583, allocations: 82.59 kB / 0.842 GB, free: 193.5 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.195/1.778, allocations: 57.35 MB / 0.898 GB, free: 144.5 MB / 490.7 MB Notification: Performance of FrontEnd: time 3.383e-06/1.778, allocations: 0 / 0.898 GB, free: 144.5 MB / 490.7 MB Notification: Performance of Transformations before backend: time 1.794e-05/1.778, allocations: 4 kB / 0.898 GB, free: 144.5 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.002494/1.78, allocations: 0.7021 MB / 0.8987 GB, free: 143.7 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.98e-05/1.78, allocations: 8.031 kB / 0.8987 GB, free: 143.7 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01515/1.795, allocations: 0.5965 MB / 0.8993 GB, free: 143.1 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007343/1.796, allocations: 254.7 kB / 0.8995 GB, free: 142.8 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002295/1.797, allocations: 123.4 kB / 0.8996 GB, free: 142.7 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001943/1.797, allocations: 20 kB / 0.8996 GB, free: 142.7 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002626/1.799, allocations: 0.5634 MB / 0.9002 GB, free: 142.1 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.859e-05/1.799, allocations: 7.953 kB / 0.9002 GB, free: 142.1 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001728/1.8, allocations: 12 kB / 0.9002 GB, free: 142.1 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.919e-05/1.8, allocations: 8 kB / 0.9002 GB, free: 142.1 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003243/1.803, allocations: 0.6026 MB / 0.9008 GB, free: 141.5 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.003545/1.807, allocations: 1.618 MB / 0.9024 GB, free: 139.7 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006938/1.807, allocations: 154.5 kB / 0.9025 GB, free: 139.5 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00189/1.809, allocations: 1.203 MB / 0.9037 GB, free: 138.1 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.342e-05/1.809, allocations: 30.56 kB / 0.9037 GB, free: 138.1 MB / 490.7 MB Notification: Performance of pre-optimization done (n=20): time 5.079e-06/1.809, allocations: 0 / 0.9037 GB, free: 138.1 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.002059/1.811, allocations: 340.8 kB / 0.9041 GB, free: 137.8 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.838e-05/1.811, allocations: 59.41 kB / 0.9041 GB, free: 137.7 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003174/1.812, allocations: 157.3 kB / 0.9043 GB, free: 137.5 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 5.428e-05/1.812, allocations: 33.7 kB / 0.9043 GB, free: 137.5 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000129/1.812, allocations: 257.6 kB / 0.9045 GB, free: 137.2 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.751e-05/1.812, allocations: 67.02 kB / 0.9046 GB, free: 137.2 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.382e-05/1.812, allocations: 4 kB / 0.9046 GB, free: 137.2 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 8.168e-05/1.812, allocations: 338.7 kB / 0.9049 GB, free: 136.8 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003012/1.813, allocations: 60.72 kB / 0.905 GB, free: 136.8 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004095/1.813, allocations: 259.8 kB / 0.9052 GB, free: 136.4 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004251/1.814, allocations: 107.9 kB / 0.9053 GB, free: 136.3 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9e-06/1.814, allocations: 0 / 0.9053 GB, free: 136.3 MB / 490.7 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.001376/1.815, allocations: 365.5 kB / 0.9057 GB, free: 135.9 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.037e-05/1.815, allocations: 8 kB / 0.9057 GB, free: 135.9 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.805e-05/1.815, allocations: 7.953 kB / 0.9057 GB, free: 135.9 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.723e-05/1.815, allocations: 15.94 kB / 0.9057 GB, free: 135.9 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008638/1.816, allocations: 123.8 kB / 0.9058 GB, free: 135.8 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00044/1.816, allocations: 0.6055 MB / 0.9064 GB, free: 135.2 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007409/1.817, allocations: 47.84 kB / 0.9065 GB, free: 135.1 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001141/1.817, allocations: 36 kB / 0.9065 GB, free: 135.1 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.0002663/1.818, allocations: 153.5 kB / 0.9067 GB, free: 134.9 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001304/1.818, allocations: 19.81 kB / 0.9067 GB, free: 134.9 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00195/1.82, allocations: 323.3 kB / 0.907 GB, free: 134.6 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.841e-06/1.82, allocations: 8 kB / 0.907 GB, free: 134.6 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.453e-06/1.82, allocations: 0 / 0.907 GB, free: 134.6 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.153e-06/1.82, allocations: 0 / 0.907 GB, free: 134.6 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001502/1.821, allocations: 0.5342 MB / 0.9075 GB, free: 133.9 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.807e-06/1.822, allocations: 4 kB / 0.9075 GB, free: 133.9 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005626/1.822, allocations: 64.05 kB / 0.9076 GB, free: 133.9 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.272e-05/1.822, allocations: 8 kB / 0.9076 GB, free: 133.9 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.022e-05/1.822, allocations: 4 kB / 0.9076 GB, free: 133.9 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003939/1.823, allocations: 0.6015 MB / 0.9082 GB, free: 133.2 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.953e-06/1.823, allocations: 4.031 kB / 0.9082 GB, free: 133.2 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007191/1.823, allocations: 353 kB / 0.9085 GB, free: 132.8 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001999/1.824, allocations: 116.8 kB / 0.9086 GB, free: 132.7 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.669e-05/1.824, allocations: 3.984 kB / 0.9086 GB, free: 132.7 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005547/1.824, allocations: 12 kB / 0.9086 GB, free: 132.7 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.758e-05/1.824, allocations: 23.92 kB / 0.9087 GB, free: 132.7 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.929e-05/1.824, allocations: 23.98 kB / 0.9087 GB, free: 132.6 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.000192/1.825, allocations: 134.9 kB / 0.9088 GB, free: 132.5 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.279e-06/1.825, allocations: 4 kB / 0.9088 GB, free: 132.5 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.001893/1.827, allocations: 259.7 kB / 0.9091 GB, free: 132.2 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.002314/1.829, allocations: 0.7536 MB / 0.9098 GB, free: 131.5 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.001088/1.83, allocations: 221.3 kB / 0.91 GB, free: 131.3 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 9.824e-06/1.83, allocations: 4 kB / 0.91 GB, free: 131.3 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004375/1.831, allocations: 75.89 kB / 0.9101 GB, free: 131.2 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009215/1.832, allocations: 56.52 kB / 0.9101 GB, free: 131.1 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1023/1.934, allocations: 30.74 MB / 0.9402 GB, free: 100.2 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001684/1.934, allocations: 0.7326 MB / 0.9409 GB, free: 99.46 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003038/1.934, allocations: 63.39 kB / 0.9409 GB, free: 99.4 MB / 490.7 MB Notification: Performance of SimCode: time 1.855e-06/1.934, allocations: 0 / 0.9409 GB, free: 99.4 MB / 490.7 MB Notification: Performance of Templates: time 0.01331/1.948, allocations: 8.471 MB / 0.9492 GB, free: 90.93 MB / 490.7 MB