Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.CO2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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.3_ModelicaTest.Media.TestAllProperties.CO2") 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.3_ModelicaTest.Media.TestAllProperties.CO2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001257/0.001257, allocations: 96.94 kB / 16.02 MB, free: 84 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001563/0.001563, allocations: 181.5 kB / 16.91 MB, free: 6.914 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.884/1.884, allocations: 205.4 MB / 223.1 MB, free: 5.754 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3933/0.3933, allocations: 43.57 MB / 315 MB, free: 8.719 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0006084/0.0006085, allocations: 16 kB / 384.6 MB, free: 7.676 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1509/0.1515, allocations: 58.87 MB / 443.4 MB, free: 12.7 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.CO2): time 0.4752/0.6267, allocations: 147.2 MB / 0.5768 GB, free: 8.059 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.005883/0.6326, allocations: 4.751 MB / 0.5814 GB, free: 3.324 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001842/0.6329, allocations: 0 / 0.5814 GB, free: 3.324 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003294/0.6332, allocations: 51.72 kB / 0.5815 GB, free: 3.273 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004165/0.6374, allocations: 1.355 MB / 0.5828 GB, free: 1.922 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003303/0.6377, allocations: 140.8 kB / 0.583 GB, free: 1.793 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005788/0.6383, allocations: 462.1 kB / 0.5834 GB, free: 1.34 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.033e-05/0.6384, allocations: 9.688 kB / 0.5834 GB, free: 1.332 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002744/0.6387, allocations: 171.3 kB / 0.5836 GB, free: 1.164 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003142/0.639, allocations: 175.5 kB / 0.5837 GB, free: 0.9922 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 3.716e-05/0.639, allocations: 12 kB / 0.5837 GB, free: 0.9805 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002528/0.6416, allocations: 1.22 MB / 0.5849 GB, free: 15.76 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001016/0.6417, allocations: 47.75 kB / 0.585 GB, free: 15.71 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001497/0.6419, allocations: 137.2 kB / 0.5851 GB, free: 15.57 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00177/0.6436, allocations: 0.9784 MB / 0.5861 GB, free: 14.59 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.801e-06/0.6437, allocations: 0 / 0.5861 GB, free: 14.59 MB / 462.1 MB Notification: Performance of FrontEnd: time 2.495e-06/0.6437, allocations: 0 / 0.5861 GB, free: 14.59 MB / 462.1 MB Notification: Performance of Transformations before backend: time 7.113e-06/0.6437, allocations: 7.938 kB / 0.5861 GB, free: 14.58 MB / 462.1 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.001558/0.6452, allocations: 0.6548 MB / 0.5867 GB, free: 13.88 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.797e-05/0.6453, allocations: 12.03 kB / 0.5867 GB, free: 13.87 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007759/0.6531, allocations: 0.5913 MB / 0.5873 GB, free: 13.29 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004509/0.6536, allocations: 264.2 kB / 0.5876 GB, free: 12.99 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001444/0.6537, allocations: 127.9 kB / 0.5877 GB, free: 12.84 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.525e-05/0.6538, allocations: 20 kB / 0.5877 GB, free: 12.82 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001196/0.655, allocations: 0.5594 MB / 0.5882 GB, free: 12.23 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.298e-05/0.6551, allocations: 0 / 0.5882 GB, free: 12.23 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.462e-05/0.6551, allocations: 16 kB / 0.5883 GB, free: 12.21 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.409e-05/0.6552, allocations: 8 kB / 0.5883 GB, free: 12.21 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001438/0.6566, allocations: 0.626 MB / 0.5889 GB, free: 11.58 MB / 462.1 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.002156/0.6588, allocations: 1.628 MB / 0.5905 GB, free: 9.832 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003448/0.6591, allocations: 166.4 kB / 0.5906 GB, free: 9.66 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001598/0.6593, allocations: 76.86 kB / 0.5907 GB, free: 9.582 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002051/0.6614, allocations: 2.078 MB / 0.5927 GB, free: 7.152 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.011e-05/0.6614, allocations: 34.56 kB / 0.5928 GB, free: 7.109 MB / 462.1 MB Notification: Performance of pre-optimization done (n=20): time 3.306e-06/0.6614, allocations: 0 / 0.5928 GB, free: 7.109 MB / 462.1 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.001044/0.6625, allocations: 345.8 kB / 0.5931 GB, free: 6.766 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.435e-05/0.6625, allocations: 55.41 kB / 0.5931 GB, free: 6.699 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001721/0.6627, allocations: 178.2 kB / 0.5933 GB, free: 6.512 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 3.524e-05/0.6627, allocations: 33.7 kB / 0.5934 GB, free: 6.473 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001007/0.6629, allocations: 179.3 kB / 0.5935 GB, free: 6.293 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.616e-05/0.6629, allocations: 71 kB / 0.5936 GB, free: 6.223 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.186e-05/0.663, allocations: 37.7 kB / 0.5936 GB, free: 6.18 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001248/0.6631, allocations: 330.8 kB / 0.5939 GB, free: 5.848 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001372/0.6633, allocations: 68.7 kB / 0.594 GB, free: 5.781 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00027/0.6635, allocations: 259.8 kB / 0.5943 GB, free: 5.434 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004899/0.664, allocations: 374.7 kB / 0.5946 GB, free: 4.973 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.33e-06/0.664, allocations: 4 kB / 0.5946 GB, free: 4.969 MB / 462.1 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0006219/0.6647, allocations: 370.9 kB / 0.595 GB, free: 4.602 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.884e-05/0.6647, allocations: 8 kB / 0.595 GB, free: 4.594 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.016e-05/0.6647, allocations: 4.625 kB / 0.595 GB, free: 4.59 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.907e-05/0.6647, allocations: 15.94 kB / 0.595 GB, free: 4.574 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004004/0.6651, allocations: 123.8 kB / 0.5951 GB, free: 4.453 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003779/0.6655, allocations: 0.6097 MB / 0.5957 GB, free: 3.82 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002386/0.6658, allocations: 43.53 kB / 0.5958 GB, free: 3.777 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.937e-05/0.6658, allocations: 41 kB / 0.5958 GB, free: 3.738 MB / 462.1 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 (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.000135/0.666, allocations: 145.6 kB / 0.5959 GB, free: 3.586 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.22e-05/0.666, allocations: 19.81 kB / 0.5959 GB, free: 3.566 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007722/0.6668, allocations: 324 kB / 0.5963 GB, free: 3.234 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.165e-06/0.6668, allocations: 3.938 kB / 0.5963 GB, free: 3.23 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.481e-06/0.6669, allocations: 0 / 0.5963 GB, free: 3.23 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.504e-06/0.6669, allocations: 3.984 kB / 0.5963 GB, free: 3.227 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006542/0.6675, allocations: 0.5223 MB / 0.5968 GB, free: 2.633 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.695e-06/0.6675, allocations: 4.156 kB / 0.5968 GB, free: 2.629 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002201/0.6678, allocations: 59.91 kB / 0.5968 GB, free: 2.57 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.42e-06/0.6678, allocations: 4 kB / 0.5968 GB, free: 2.566 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.784e-05/0.6678, allocations: 11.11 kB / 0.5968 GB, free: 2.559 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002846/0.6681, allocations: 0.5861 MB / 0.5974 GB, free: 1.949 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.529e-06/0.6681, allocations: 3.938 kB / 0.5974 GB, free: 1.945 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003218/0.6684, allocations: 286.1 kB / 0.5977 GB, free: 1.637 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001039/0.6686, allocations: 116.7 kB / 0.5978 GB, free: 1.504 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.837e-05/0.6686, allocations: 4 kB / 0.5978 GB, free: 1.5 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000232/0.6688, allocations: 19.98 kB / 0.5978 GB, free: 1.48 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.186e-05/0.6689, allocations: 19.86 kB / 0.5979 GB, free: 1.461 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.274e-05/0.6689, allocations: 19.98 kB / 0.5979 GB, free: 1.441 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0001104/0.669, allocations: 137.2 kB / 0.598 GB, free: 1.309 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.669, allocations: 0 / 0.598 GB, free: 1.309 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0007062/0.6698, allocations: 200 kB / 0.5982 GB, free: 1.113 MB / 462.1 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 (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0007913/0.6706, allocations: 361.2 kB / 0.5985 GB, free: 0.7617 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.000493/0.6711, allocations: 225.3 kB / 0.5988 GB, free: 0.543 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 4.889e-06/0.6711, allocations: 0 / 0.5988 GB, free: 0.543 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002001/0.6713, allocations: 84.33 kB / 0.5988 GB, free: 472 kB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006016/0.6719, allocations: 66.91 kB / 0.5989 GB, free: 408 kB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003211/0.6751, allocations: 2.079 MB / 0.6009 GB, free: 14.28 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003363/0.6755, allocations: 0.7248 MB / 0.6016 GB, free: 13.53 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0005738/0.6761, allocations: 107 kB / 0.6017 GB, free: 13.43 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00013/0.6762, allocations: 43.41 kB / 0.6018 GB, free: 13.39 MB / 478.1 MB Notification: Performance of SimCode: time 2.3e-07/0.6762, allocations: 0 / 0.6018 GB, free: 13.39 MB / 478.1 MB Notification: Performance of Templates: time 0.01192/0.6881, allocations: 6.416 MB / 0.608 GB, free: 7.02 MB / 478.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.CO2.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.CO2.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.CO2.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.CO2.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.CO2.sim & ./ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.CO2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.CO2.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.CO2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Media/TestAllProperties/CO2/CO2.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.CO2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches