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.2/2.2, allocations: 234.9 MB / 250.5 MB, free: 10.53 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000433/0.0004333, allocations: 12 kB / 314.3 MB, free: 10.57 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3009/0.3013, allocations: 54.87 MB / 369.2 MB, free: 10.85 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.CO2): time 0.4567/0.7581, allocations: 126.1 MB / 495.3 MB, free: 13.85 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.007302/0.7655, allocations: 5.485 MB / 0.4891 GB, free: 13.46 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002127/0.7657, allocations: 2.922 kB / 0.4891 GB, free: 13.46 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000258/0.766, allocations: 39.2 kB / 0.4891 GB, free: 13.45 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004444/0.7705, allocations: 1.274 MB / 0.4904 GB, free: 13.38 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004557/0.7709, allocations: 132.7 kB / 0.4905 GB, free: 13.37 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005153/0.7715, allocations: 267.8 kB / 0.4907 GB, free: 13.36 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.63e-05/0.7715, allocations: 15.53 kB / 0.4907 GB, free: 13.36 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003357/0.7719, allocations: 172.7 kB / 0.4909 GB, free: 13.33 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003289/0.7722, allocations: 156.2 kB / 0.4911 GB, free: 13.31 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 3.576e-05/0.7723, allocations: 7.156 kB / 0.4911 GB, free: 13.31 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00351/0.7758, allocations: 1.215 MB / 0.4923 GB, free: 13.26 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 9.589e-05/0.7759, allocations: 38.86 kB / 0.4923 GB, free: 13.26 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001094/0.7761, allocations: 68.3 kB / 0.4924 GB, free: 13.22 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001578/0.7776, allocations: 0.6393 MB / 0.493 GB, free: 13.17 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.237e-06/0.7777, allocations: 0 / 0.493 GB, free: 13.17 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.965e-06/0.7777, allocations: 0 / 0.493 GB, free: 13.17 MB / 410.7 MB Notification: Performance of Transformations before backend: time 6.324e-06/0.7777, allocations: 0 / 0.493 GB, free: 13.17 MB / 410.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.001629/0.7793, allocations: 0.6654 MB / 0.4936 GB, free: 12.69 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.834e-05/0.7794, allocations: 13.23 kB / 0.4936 GB, free: 12.69 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008356/0.7878, allocations: 0.5923 MB / 0.4942 GB, free: 12.67 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005446/0.7883, allocations: 257.3 kB / 0.4945 GB, free: 12.44 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001882/0.7886, allocations: 122.1 kB / 0.4946 GB, free: 12.31 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001296/0.7887, allocations: 28.11 kB / 0.4946 GB, free: 12.3 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001497/0.7902, allocations: 0.5602 MB / 0.4952 GB, free: 12.02 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.527e-05/0.7902, allocations: 2.844 kB / 0.4952 GB, free: 12.02 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001017/0.7904, allocations: 9.344 kB / 0.4952 GB, free: 12.02 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.29e-05/0.7904, allocations: 13.12 kB / 0.4952 GB, free: 12.02 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001879/0.7923, allocations: 0.6248 MB / 0.4958 GB, free: 11.85 MB / 410.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.002555/0.7949, allocations: 1.618 MB / 0.4974 GB, free: 10.46 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004287/0.7953, allocations: 162.7 kB / 0.4975 GB, free: 10.41 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001599/0.7969, allocations: 1.203 MB / 0.4987 GB, free: 9.191 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.364e-05/0.797, allocations: 36.97 kB / 0.4987 GB, free: 9.148 MB / 410.7 MB Notification: Performance of pre-optimization done (n=20): time 4.003e-06/0.797, allocations: 0 / 0.4987 GB, free: 9.148 MB / 410.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.001281/0.7983, allocations: 342.7 kB / 0.4991 GB, free: 9.055 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.484e-05/0.7984, allocations: 51.41 kB / 0.4991 GB, free: 8.992 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002051/0.7986, allocations: 181.1 kB / 0.4993 GB, free: 8.867 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 4.654e-05/0.7986, allocations: 28.77 kB / 0.4993 GB, free: 8.836 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001688/0.7988, allocations: 254.7 kB / 0.4996 GB, free: 8.605 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.754e-05/0.7989, allocations: 70.05 kB / 0.4996 GB, free: 8.559 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.429e-05/0.7989, allocations: 12.97 kB / 0.4996 GB, free: 8.555 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.000172/0.7991, allocations: 327.4 kB / 0.4999 GB, free: 8.238 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001839/0.7993, allocations: 65.39 kB / 0.5 GB, free: 8.223 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003373/0.7997, allocations: 262.6 kB / 0.5003 GB, free: 7.949 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002469/0.7999, allocations: 115.3 kB / 0.5004 GB, free: 7.922 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.459e-06/0.8, allocations: 0 / 0.5004 GB, free: 7.922 MB / 410.7 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0008005/0.8008, allocations: 361.3 kB / 0.5007 GB, free: 7.801 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.044e-05/0.8008, allocations: 7.812 kB / 0.5007 GB, free: 7.801 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.222e-05/0.8008, allocations: 8.406 kB / 0.5007 GB, free: 7.801 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.025e-05/0.8009, allocations: 14.64 kB / 0.5007 GB, free: 7.797 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005081/0.8014, allocations: 126 kB / 0.5009 GB, free: 7.77 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005082/0.8019, allocations: 0.6101 MB / 0.5015 GB, free: 7.168 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003464/0.8023, allocations: 39.03 kB / 0.5015 GB, free: 7.148 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.385e-05/0.8024, allocations: 38.31 kB / 0.5015 GB, free: 7.148 MB / 410.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.0002063/0.8026, allocations: 150.2 kB / 0.5017 GB, free: 7.016 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.777e-05/0.8027, allocations: 24.25 kB / 0.5017 GB, free: 7.004 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001126/0.8038, allocations: 322.1 kB / 0.502 GB, free: 6.84 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.426e-06/0.8038, allocations: 1.656 kB / 0.502 GB, free: 6.84 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.711e-06/0.8039, allocations: 7.031 kB / 0.502 GB, free: 6.836 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.969e-06/0.8039, allocations: 0 / 0.502 GB, free: 6.836 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009314/0.8048, allocations: 0.5195 MB / 0.5025 GB, free: 6.43 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.274e-06/0.8048, allocations: 3.219 kB / 0.5025 GB, free: 6.43 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002905/0.8051, allocations: 57.73 kB / 0.5026 GB, free: 6.414 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.348e-06/0.8052, allocations: 1.719 kB / 0.5026 GB, free: 6.414 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.633e-05/0.8052, allocations: 12.27 kB / 0.5026 GB, free: 6.41 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000466/0.8057, allocations: 0.5973 MB / 0.5032 GB, free: 5.816 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.528e-06/0.8057, allocations: 3.938 kB / 0.5032 GB, free: 5.812 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004623/0.8062, allocations: 278.2 kB / 0.5034 GB, free: 5.609 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000151/0.8063, allocations: 117.9 kB / 0.5036 GB, free: 5.492 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.343e-05/0.8064, allocations: 5.656 kB / 0.5036 GB, free: 5.492 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003197/0.8067, allocations: 11.45 kB / 0.5036 GB, free: 5.488 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.579e-05/0.8068, allocations: 19.42 kB / 0.5036 GB, free: 5.48 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.348e-05/0.8068, allocations: 19.05 kB / 0.5036 GB, free: 5.477 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001554/0.807, allocations: 141.6 kB / 0.5037 GB, free: 5.379 MB / 410.7 MB Notification: Performance of sort global known variables: time 8.17e-07/0.807, allocations: 0 / 0.5037 GB, free: 5.379 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0009131/0.8079, allocations: 203 kB / 0.5039 GB, free: 5.348 MB / 410.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 (15): * Single equations (assignments): 14 * 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.001001/0.809, allocations: 357.5 kB / 0.5043 GB, free: 5.172 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.000659/0.8096, allocations: 229.7 kB / 0.5045 GB, free: 5.117 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.903e-06/0.8097, allocations: 0 / 0.5045 GB, free: 5.117 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002956/0.81, allocations: 76.83 kB / 0.5046 GB, free: 5.102 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004675/0.8104, allocations: 53.94 kB / 0.5046 GB, free: 5.086 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001083/0.8116, allocations: 0.5712 MB / 0.5052 GB, free: 4.66 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004228/0.812, allocations: 0.7346 MB / 0.5059 GB, free: 3.93 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002773/0.8123, allocations: 55.66 kB / 0.506 GB, free: 3.91 MB / 410.7 MB Notification: Performance of SimCode: time 1.467e-06/0.8123, allocations: 0 / 0.506 GB, free: 3.91 MB / 410.7 MB Notification: Performance of Templates: time 0.01155/0.8239, allocations: 5.932 MB / 0.5117 GB, free: 0.8438 MB / 410.7 MB