Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001663/0.001663, allocations: 107.5 kB / 17.21 MB, free: 6.266 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001917/0.001917, allocations: 209.7 kB / 18.14 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.488/1.488, allocations: 227.4 MB / 246.3 MB, free: 10.81 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2375/0.2375, allocations: 46.13 MB / 343.7 MB, free: 11.74 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002226/0.002226, allocations: 74.28 kB / 416.9 MB, free: 20.13 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.144/0.1463, allocations: 62.46 MB / 479.4 MB, free: 5.645 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater): time 0.007201/0.1535, allocations: 5.058 MB / 484.4 MB, free: 0.5508 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.005407/0.159, allocations: 4.594 MB / 489 MB, free: 11.94 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001057/0.1591, allocations: 4 kB / 489 MB, free: 11.94 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003213/0.1595, allocations: 39.8 kB / 489.1 MB, free: 11.9 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00169/0.1612, allocations: 0.6024 MB / 489.7 MB, free: 11.29 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003788/0.1616, allocations: 158.3 kB / 489.8 MB, free: 11.14 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005952/0.1622, allocations: 438 kB / 490.3 MB, free: 10.71 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.79e-05/0.1622, allocations: 17.69 kB / 490.3 MB, free: 10.7 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002493/0.1625, allocations: 151.4 kB / 490.4 MB, free: 10.55 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001908/0.1627, allocations: 135.4 kB / 490.6 MB, free: 10.42 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 3.127e-05/0.1627, allocations: 8 kB / 490.6 MB, free: 10.41 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008526/0.1636, allocations: 359.5 kB / 490.9 MB, free: 10.06 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 8.452e-05/0.1637, allocations: 39.89 kB / 491 MB, free: 10.02 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001434/0.1638, allocations: 107.5 kB / 491.1 MB, free: 9.914 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007158/0.1646, allocations: 439.2 kB / 491.5 MB, free: 9.484 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.672e-06/0.1646, allocations: 4 kB / 491.5 MB, free: 9.48 MB / 366.1 MB Notification: Performance of FrontEnd: time 7.81e-07/0.1646, allocations: 0 / 491.5 MB, free: 9.48 MB / 366.1 MB Notification: Performance of Transformations before backend: time 5.38e-06/0.1646, allocations: 0 / 491.5 MB, free: 9.48 MB / 366.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.001088/0.1657, allocations: 0.5852 MB / 492.1 MB, free: 8.844 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.954e-05/0.1657, allocations: 8.875 kB / 492.1 MB, free: 8.836 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001585/0.1659, allocations: 28.75 kB / 492.1 MB, free: 8.809 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002942/0.1662, allocations: 239.9 kB / 492.4 MB, free: 8.535 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001321/0.1664, allocations: 119.9 kB / 492.5 MB, free: 8.395 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.044e-05/0.1664, allocations: 24.38 kB / 492.5 MB, free: 8.371 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005549/0.167, allocations: 331.6 kB / 492.8 MB, free: 8.023 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.137e-05/0.167, allocations: 0 / 492.8 MB, free: 8.023 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.926e-05/0.167, allocations: 8 kB / 492.8 MB, free: 8.016 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.473e-05/0.167, allocations: 12 kB / 492.8 MB, free: 8.004 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009201/0.168, allocations: 0.7313 MB / 493.6 MB, free: 7.273 MB / 366.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.001489/0.1695, allocations: 1.246 MB / 494.8 MB, free: 5.922 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004421/0.1699, allocations: 154.8 kB / 495 MB, free: 5.762 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001211/0.1701, allocations: 72.83 kB / 495 MB, free: 5.688 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002654/0.1727, allocations: 2.663 MB / 497.7 MB, free: 2.512 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.576e-05/0.1728, allocations: 34.56 kB / 497.7 MB, free: 2.469 MB / 366.1 MB Notification: Performance of pre-optimization done (n=13): time 1.462e-06/0.1728, allocations: 0 / 497.7 MB, free: 2.469 MB / 366.1 MB Notification: Performance of matching and sorting (n=14): time 0.0007559/0.1735, allocations: 216.8 kB / 497.9 MB, free: 2.25 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.662e-05/0.1736, allocations: 59.28 kB / 498 MB, free: 2.18 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002211/0.1738, allocations: 218.6 kB / 498.2 MB, free: 1.957 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.291e-05/0.1739, allocations: 25.7 kB / 498.2 MB, free: 1.926 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001531/0.174, allocations: 218.8 kB / 498.5 MB, free: 1.707 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.419e-05/0.1741, allocations: 55.3 kB / 498.5 MB, free: 1.652 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001067/0.1742, allocations: 81.94 kB / 498.6 MB, free: 1.566 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001607/0.1744, allocations: 330.8 kB / 498.9 MB, free: 1.234 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.711e-05/0.1745, allocations: 48.84 kB / 499 MB, free: 1.188 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003266/0.1748, allocations: 312.3 kB / 499.3 MB, free: 0.7578 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004919/0.1753, allocations: 419.5 kB / 499.7 MB, free: 224 kB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.921e-06/0.1753, allocations: 4 kB / 499.7 MB, free: 220 kB / 366.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0006023/0.1759, allocations: 365.1 kB / 0.4883 GB, free: 15.85 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.49e-05/0.176, allocations: 8 kB / 0.4883 GB, free: 15.84 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.365e-05/0.176, allocations: 8 kB / 0.4883 GB, free: 15.83 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.104e-05/0.176, allocations: 16.81 kB / 0.4884 GB, free: 15.82 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000349/0.1764, allocations: 115.8 kB / 0.4885 GB, free: 15.7 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.926e-05/0.1764, allocations: 15.94 kB / 0.4885 GB, free: 15.69 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002276/0.1766, allocations: 23.97 kB / 0.4885 GB, free: 15.66 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.792e-05/0.1767, allocations: 24 kB / 0.4885 GB, free: 15.64 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 42 * 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.0001483/0.1768, allocations: 153.5 kB / 0.4887 GB, free: 15.48 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.655e-05/0.1769, allocations: 19.81 kB / 0.4887 GB, free: 15.46 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000326/0.1772, allocations: 154.6 kB / 0.4888 GB, free: 15.31 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.293e-05/0.1772, allocations: 7.938 kB / 0.4888 GB, free: 15.3 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.009e-06/0.1773, allocations: 0 / 0.4888 GB, free: 15.3 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.102e-06/0.1773, allocations: 3.984 kB / 0.4888 GB, free: 15.3 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005968/0.1779, allocations: 435.2 kB / 0.4893 GB, free: 14.81 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.43e-06/0.1779, allocations: 0 / 0.4893 GB, free: 14.81 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001615/0.1781, allocations: 39.84 kB / 0.4893 GB, free: 14.77 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.375e-06/0.1781, allocations: 4 kB / 0.4893 GB, free: 14.77 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.23e-05/0.1781, allocations: 4 kB / 0.4893 GB, free: 14.77 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.939e-06/0.1781, allocations: 0 / 0.4893 GB, free: 14.77 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.1781, allocations: 7.938 kB / 0.4893 GB, free: 14.76 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002443/0.1784, allocations: 208.4 kB / 0.4895 GB, free: 14.54 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001009/0.1785, allocations: 108.8 kB / 0.4896 GB, free: 14.41 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.997e-05/0.1785, allocations: 11.84 kB / 0.4896 GB, free: 14.4 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001965/0.1787, allocations: 11.98 kB / 0.4896 GB, free: 14.39 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.376e-05/0.1787, allocations: 7.984 kB / 0.4896 GB, free: 14.38 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.291e-05/0.1788, allocations: 15.98 kB / 0.4897 GB, free: 14.36 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001368/0.1789, allocations: 148.5 kB / 0.4898 GB, free: 14.21 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1789, allocations: 0 / 0.4898 GB, free: 14.21 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0005155/0.1794, allocations: 104 kB / 0.4899 GB, free: 14.11 MB / 382.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.0003838/0.1798, allocations: 163.1 kB / 0.4901 GB, free: 13.95 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0003195/0.1802, allocations: 177.5 kB / 0.4902 GB, free: 13.77 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.1802, allocations: 0 / 0.4902 GB, free: 13.77 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 6.171e-05/0.1802, allocations: 35.92 kB / 0.4903 GB, free: 13.74 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004484/0.1807, allocations: 56.89 kB / 0.4903 GB, free: 13.68 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00103/0.1817, allocations: 0.5776 MB / 0.4909 GB, free: 13.07 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003801/0.1821, allocations: 0.7248 MB / 0.4916 GB, free: 12.32 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002666/0.1824, allocations: 62.83 kB / 0.4916 GB, free: 12.26 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.898e-05/0.1825, allocations: 31.38 kB / 0.4917 GB, free: 12.23 MB / 382.1 MB Notification: Performance of SimCode: time 4.71e-07/0.1825, allocations: 0 / 0.4917 GB, free: 12.23 MB / 382.1 MB Notification: Performance of Templates: time 0.007897/0.1904, allocations: 3.346 MB / 0.4949 GB, free: 8.914 MB / 382.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater.sim & ./ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestAllProperties/ConstantPropertyLiquidWater/ConstantPropertyLiquidWater.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches