Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater.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.ConstantPropertyLiquidWater,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.ConstantPropertyLiquidWater") translateModel(ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater,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.ConstantPropertyLiquidWater") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001101/0.001101, allocations: 109.7 kB / 16.41 MB, free: 6.5 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00115/0.001151, allocations: 185.5 kB / 17.34 MB, free: 5.734 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.604/1.604, allocations: 205.1 MB / 223.2 MB, free: 12.22 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2394/0.2394, allocations: 43.53 MB / 314.1 MB, free: 432 kB / 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.001362/0.001362, allocations: 69.47 kB / 441.8 MB, free: 5.59 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1469/0.1482, allocations: 57.8 MB / 499.6 MB, free: 11.72 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater): time 0.007467/0.1558, allocations: 4.96 MB / 0.4928 GB, free: 6.727 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.004836/0.1607, allocations: 4.567 MB / 0.4972 GB, free: 2.145 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001021/0.1608, allocations: 0 / 0.4972 GB, free: 2.145 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003262/0.1611, allocations: 51.66 kB / 0.4973 GB, free: 2.094 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001668/0.1628, allocations: 0.6642 MB / 0.4979 GB, free: 1.426 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003568/0.1632, allocations: 155.7 kB / 0.4981 GB, free: 1.273 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005259/0.1637, allocations: 378.1 kB / 0.4984 GB, free: 0.9023 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.308e-05/0.1638, allocations: 9.688 kB / 0.4984 GB, free: 0.8945 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002282/0.164, allocations: 155.4 kB / 0.4986 GB, free: 0.7422 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001928/0.1642, allocations: 123.5 kB / 0.4987 GB, free: 0.6211 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.756e-05/0.1643, allocations: 8 kB / 0.4987 GB, free: 0.6133 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007084/0.165, allocations: 339.6 kB / 0.499 GB, free: 288 kB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 9.52e-05/0.1651, allocations: 39.83 kB / 0.4991 GB, free: 248 kB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001222/0.1652, allocations: 115.5 kB / 0.4992 GB, free: 132 kB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006561/0.1659, allocations: 419 kB / 0.4996 GB, free: 15.71 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.516e-06/0.1659, allocations: 4 kB / 0.4996 GB, free: 15.71 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.322e-06/0.1659, allocations: 3.938 kB / 0.4996 GB, free: 15.71 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.325e-06/0.1659, allocations: 0 / 0.4996 GB, free: 15.71 MB / 398.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.001022/0.1669, allocations: 0.5849 MB / 0.5002 GB, free: 15.08 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.124e-05/0.167, allocations: 15.89 kB / 0.5002 GB, free: 15.06 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001426/0.1671, allocations: 28.69 kB / 0.5002 GB, free: 15.04 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003243/0.1675, allocations: 224 kB / 0.5004 GB, free: 14.78 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001257/0.1676, allocations: 119.9 kB / 0.5005 GB, free: 14.64 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.517e-05/0.1676, allocations: 20.38 kB / 0.5006 GB, free: 14.62 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005121/0.1682, allocations: 331.6 kB / 0.5009 GB, free: 14.27 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.562e-05/0.1682, allocations: 0 / 0.5009 GB, free: 14.27 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.014e-05/0.1682, allocations: 12 kB / 0.5009 GB, free: 14.25 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.255e-05/0.1683, allocations: 8 kB / 0.5009 GB, free: 14.25 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008576/0.1691, allocations: 0.7429 MB / 0.5016 GB, free: 13.5 MB / 398.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.001388/0.1705, allocations: 1.253 MB / 0.5028 GB, free: 12.14 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003248/0.1709, allocations: 154.8 kB / 0.503 GB, free: 11.98 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000108/0.171, allocations: 72.83 kB / 0.5031 GB, free: 11.91 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00236/0.1733, allocations: 2.655 MB / 0.5057 GB, free: 8.742 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.761e-05/0.1734, allocations: 34.56 kB / 0.5057 GB, free: 8.699 MB / 398.1 MB Notification: Performance of pre-optimization done (n=13): time 1.933e-06/0.1734, allocations: 0 / 0.5057 GB, free: 8.699 MB / 398.1 MB Notification: Performance of matching and sorting (n=14): time 0.0007298/0.1741, allocations: 216.8 kB / 0.5059 GB, free: 8.48 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.038e-05/0.1742, allocations: 55.34 kB / 0.5059 GB, free: 8.414 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002268/0.1744, allocations: 219.8 kB / 0.5062 GB, free: 8.191 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.609e-05/0.1745, allocations: 29.7 kB / 0.5062 GB, free: 8.156 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001474/0.1746, allocations: 214.8 kB / 0.5064 GB, free: 7.941 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.531e-05/0.1747, allocations: 47.3 kB / 0.5064 GB, free: 7.895 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001128/0.1748, allocations: 93.88 kB / 0.5065 GB, free: 7.797 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001582/0.175, allocations: 326.8 kB / 0.5068 GB, free: 7.469 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.872e-05/0.175, allocations: 52.78 kB / 0.5069 GB, free: 7.414 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002812/0.1753, allocations: 318.1 kB / 0.5072 GB, free: 6.969 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004081/0.1758, allocations: 429.2 kB / 0.5076 GB, free: 6.414 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.534e-06/0.1758, allocations: 4 kB / 0.5076 GB, free: 6.41 MB / 398.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.000509/0.1763, allocations: 369.5 kB / 0.508 GB, free: 6.043 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.2e-05/0.1763, allocations: 8 kB / 0.508 GB, free: 6.035 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.734e-05/0.1763, allocations: 19.97 kB / 0.508 GB, free: 6.016 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.369e-05/0.1764, allocations: 12 kB / 0.508 GB, free: 6.004 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003245/0.1767, allocations: 107.8 kB / 0.5081 GB, free: 5.898 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.098e-05/0.1767, allocations: 19.92 kB / 0.5081 GB, free: 5.879 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002031/0.1769, allocations: 20 kB / 0.5081 GB, free: 5.859 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.238e-05/0.177, allocations: 31.94 kB / 0.5082 GB, free: 5.828 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 44 * 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 (51): * Single equations (assignments): 50 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001312/0.1771, allocations: 153.8 kB / 0.5083 GB, free: 5.668 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.132e-05/0.1772, allocations: 19.81 kB / 0.5083 GB, free: 5.648 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003062/0.1775, allocations: 162.9 kB / 0.5085 GB, free: 5.477 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.182e-05/0.1775, allocations: 7.922 kB / 0.5085 GB, free: 5.469 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.801e-06/0.1775, allocations: 0 / 0.5085 GB, free: 5.469 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.897e-06/0.1775, allocations: 0 / 0.5085 GB, free: 5.469 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005159/0.178, allocations: 424.3 kB / 0.5089 GB, free: 4.996 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.024e-06/0.1781, allocations: 0 / 0.5089 GB, free: 4.996 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001541/0.1782, allocations: 39.97 kB / 0.5089 GB, free: 4.957 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.595e-06/0.1782, allocations: 0 / 0.5089 GB, free: 4.957 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.374e-05/0.1783, allocations: 12.02 kB / 0.5089 GB, free: 4.945 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.803e-06/0.1783, allocations: 0 / 0.5089 GB, free: 4.945 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.745e-06/0.1783, allocations: 3.938 kB / 0.5089 GB, free: 4.941 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002118/0.1785, allocations: 220.2 kB / 0.5092 GB, free: 4.707 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.757e-05/0.1786, allocations: 108.8 kB / 0.5093 GB, free: 4.582 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.965e-05/0.1786, allocations: 4 kB / 0.5093 GB, free: 4.578 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001763/0.1788, allocations: 8 kB / 0.5093 GB, free: 4.57 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.842e-05/0.1788, allocations: 11.98 kB / 0.5093 GB, free: 4.559 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.732e-05/0.1789, allocations: 7.984 kB / 0.5093 GB, free: 4.551 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001235/0.179, allocations: 148.5 kB / 0.5094 GB, free: 4.41 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.179, allocations: 0 / 0.5094 GB, free: 4.41 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0004657/0.1795, allocations: 95.98 kB / 0.5095 GB, free: 4.316 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (14): * Single equations (assignments): 13 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002985/0.1798, allocations: 175 kB / 0.5097 GB, free: 4.137 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002972/0.1801, allocations: 173.8 kB / 0.5099 GB, free: 3.969 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.1801, allocations: 0 / 0.5099 GB, free: 3.969 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 6.888e-05/0.1802, allocations: 39.92 kB / 0.5099 GB, free: 3.93 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000414/0.1806, allocations: 60.64 kB / 0.51 GB, free: 3.871 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009095/0.1815, allocations: 0.494 MB / 0.5104 GB, free: 3.352 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002736/0.1818, allocations: 0.7285 MB / 0.5111 GB, free: 2.598 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001765/0.182, allocations: 58.92 kB / 0.5112 GB, free: 2.535 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.804e-05/0.182, allocations: 27.42 kB / 0.5112 GB, free: 2.508 MB / 398.1 MB Notification: Performance of SimCode: time 1.91e-07/0.182, allocations: 0 / 0.5112 GB, free: 2.508 MB / 398.1 MB Notification: Performance of Templates: time 0.006877/0.1889, allocations: 3.442 MB / 0.5146 GB, free: 15.08 MB / 414.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater.sim & ./ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Media/TestAllProperties/ConstantPropertyLiquidWater/ConstantPropertyLiquidWater.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches