Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Essotherm650.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.IncompleteMedia.Essotherm650,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|eps_h_is|eta|lambda|Pr|p|T|d|h|u|s|cp|cp2|cv|cv2|h2|d2|err_T|err_d|err_u|eps",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Essotherm650") translateModel(ModelicaTest.Media.TestAllProperties.IncompleteMedia.Essotherm650,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|eps_h_is|eta|lambda|Pr|p|T|d|h|u|s|cp|cp2|cv|cv2|h2|d2|err_T|err_d|err_u|eps",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Essotherm650") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001084/0.001084, allocations: 97.14 kB / 16.99 MB, free: 5.938 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001514/0.001514, allocations: 202.8 kB / 17.89 MB, free: 5.586 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.459/1.459, allocations: 227.2 MB / 245.9 MB, free: 12.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2285/0.2285, allocations: 45.92 MB / 344 MB, free: 12.36 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002994/0.0002994, allocations: 8 kB / 417.9 MB, free: 20.92 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1475/0.1478, allocations: 63.46 MB / 481.4 MB, free: 5.453 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.Essotherm650): time 0.005143/0.153, allocations: 3.875 MB / 485.3 MB, free: 1.547 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003479/0.1565, allocations: 2.709 MB / 488 MB, free: 14.83 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.267e-05/0.1566, allocations: 0 / 488 MB, free: 14.83 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002706/0.1569, allocations: 35.75 kB / 488 MB, free: 14.8 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002776/0.1597, allocations: 0.9073 MB / 488.9 MB, free: 13.89 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003774/0.1601, allocations: 135.4 kB / 489 MB, free: 13.76 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003775/0.1604, allocations: 203.5 kB / 489.2 MB, free: 13.56 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.27e-05/0.1605, allocations: 17.55 kB / 489.3 MB, free: 13.55 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001376/0.1619, allocations: 0.7567 MB / 490 MB, free: 12.79 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002745/0.1622, allocations: 147.6 kB / 490.2 MB, free: 12.64 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 1.983e-05/0.1622, allocations: 4 kB / 490.2 MB, free: 12.64 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00239/0.1646, allocations: 1.233 MB / 491.4 MB, free: 11.41 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 7.074e-05/0.1647, allocations: 31.89 kB / 491.4 MB, free: 11.38 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 5.97e-05/0.1648, allocations: 53.64 kB / 491.5 MB, free: 11.32 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006459/0.1654, allocations: 367.5 kB / 491.8 MB, free: 10.96 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.015e-06/0.1654, allocations: 0 / 491.8 MB, free: 10.96 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.455e-06/0.1654, allocations: 4 kB / 491.8 MB, free: 10.95 MB / 366.1 MB Notification: Performance of Transformations before backend: time 5.22e-06/0.1655, allocations: 0 / 491.8 MB, free: 10.95 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: 41 * Number of variables: 41 Notification: Performance of Generate backend data structure: time 0.0009366/0.1664, allocations: 0.53 MB / 492.4 MB, free: 10.38 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.347e-05/0.1664, allocations: 11.97 kB / 492.4 MB, free: 10.36 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004343/0.1669, allocations: 43.78 kB / 492.4 MB, free: 10.32 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002408/0.1671, allocations: 214.8 kB / 492.6 MB, free: 10.07 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.838e-05/0.1672, allocations: 12 kB / 492.6 MB, free: 10.06 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.638e-05/0.1672, allocations: 16 kB / 492.7 MB, free: 10.04 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004149/0.1676, allocations: 249.5 kB / 492.9 MB, free: 9.766 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.008e-05/0.1676, allocations: 0 / 492.9 MB, free: 9.766 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.331e-05/0.1677, allocations: 8 kB / 492.9 MB, free: 9.758 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.158e-06/0.1677, allocations: 8 kB / 492.9 MB, free: 9.75 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003501/0.168, allocations: 237.4 kB / 493.2 MB, free: 9.52 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.001477/0.1695, allocations: 1.372 MB / 494.5 MB, free: 8.004 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000222/0.1698, allocations: 90.55 kB / 494.6 MB, free: 7.906 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002033/0.1718, allocations: 2.063 MB / 496.7 MB, free: 5.43 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003308/0.1722, allocations: 167 kB / 496.8 MB, free: 5.227 MB / 366.1 MB Notification: Performance of pre-optimization done (n=18): time 2.325e-06/0.1722, allocations: 0 / 496.8 MB, free: 5.227 MB / 366.1 MB Notification: Performance of matching and sorting (n=19): time 0.0009523/0.1731, allocations: 356 kB / 497.2 MB, free: 4.871 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001507/0.1733, allocations: 265.1 kB / 497.4 MB, free: 4.551 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001635/0.1735, allocations: 158.2 kB / 497.6 MB, free: 4.387 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.846e-05/0.1735, allocations: 29.7 kB / 497.6 MB, free: 4.352 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.89e-05/0.1736, allocations: 139.8 kB / 497.8 MB, free: 4.211 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.591e-05/0.1737, allocations: 75.03 kB / 497.8 MB, free: 4.137 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.122e-05/0.1737, allocations: 4 kB / 497.8 MB, free: 4.133 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.000143/0.1738, allocations: 322.8 kB / 498.2 MB, free: 3.809 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.229e-05/0.1739, allocations: 43.97 kB / 498.2 MB, free: 3.766 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001728/0.1741, allocations: 183.3 kB / 498.4 MB, free: 3.52 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001259/0.1742, allocations: 71.05 kB / 498.5 MB, free: 3.453 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.246e-06/0.1743, allocations: 8.594 kB / 498.5 MB, free: 3.445 MB / 366.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0003979/0.1747, allocations: 257 kB / 498.7 MB, free: 3.188 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.255e-05/0.1747, allocations: 10.19 kB / 498.7 MB, free: 3.18 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.365e-06/0.1747, allocations: 4.656 kB / 498.7 MB, free: 3.176 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.481e-05/0.1747, allocations: 15.98 kB / 498.7 MB, free: 3.16 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004712/0.1752, allocations: 91.88 kB / 498.8 MB, free: 3.07 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004489/0.1757, allocations: 0.5937 MB / 499.4 MB, free: 2.453 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001514/0.1758, allocations: 15.94 kB / 499.4 MB, free: 2.438 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.498e-05/0.1759, allocations: 19.98 kB / 499.5 MB, free: 2.418 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * Number of states: 0 () * Number of discrete variables: 1 ($whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (35): * Single equations (assignments): 34 * 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.0002137/0.1761, allocations: 153.7 kB / 499.6 MB, free: 2.258 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.946e-05/0.1762, allocations: 19.8 kB / 499.6 MB, free: 2.238 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005425/0.1767, allocations: 231.8 kB / 499.9 MB, free: 1.984 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.071e-06/0.1767, allocations: 4 kB / 499.9 MB, free: 1.98 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.831e-06/0.1768, allocations: 0 / 499.9 MB, free: 1.98 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.723e-06/0.1768, allocations: 4 kB / 499.9 MB, free: 1.977 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004805/0.1773, allocations: 452.8 kB / 0.4886 GB, free: 1.457 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.134e-06/0.1773, allocations: 0 / 0.4886 GB, free: 1.457 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000331/0.1776, allocations: 47.95 kB / 0.4886 GB, free: 1.41 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.082e-06/0.1776, allocations: 4 kB / 0.4886 GB, free: 1.406 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.199e-05/0.1776, allocations: 8.094 kB / 0.4886 GB, free: 1.398 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003227/0.178, allocations: 0.5938 MB / 0.4892 GB, free: 0.7812 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.304e-06/0.178, allocations: 0 / 0.4892 GB, free: 0.7812 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002017/0.1782, allocations: 166.1 kB / 0.4894 GB, free: 0.582 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001069/0.1783, allocations: 124.9 kB / 0.4895 GB, free: 452 kB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.787e-05/0.1783, allocations: 0 / 0.4895 GB, free: 452 kB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001288/0.1785, allocations: 8 kB / 0.4895 GB, free: 444 kB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.854e-05/0.1785, allocations: 11.92 kB / 0.4895 GB, free: 432 kB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.951e-05/0.1785, allocations: 12 kB / 0.4895 GB, free: 420 kB / 366.1 MB Notification: Performance of sorting global known variables: time 9.597e-05/0.1786, allocations: 123.8 kB / 0.4896 GB, free: 296 kB / 366.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1786, allocations: 4 kB / 0.4896 GB, free: 292 kB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005622/0.1792, allocations: 139.9 kB / 0.4898 GB, free: 152 kB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 1 ($whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 11 * 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.0006871/0.1799, allocations: 273.3 kB / 0.49 GB, free: 15.88 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0004841/0.1804, allocations: 164.7 kB / 0.4902 GB, free: 15.72 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.476e-06/0.1804, allocations: 0 / 0.4902 GB, free: 15.72 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001757/0.1806, allocations: 52.22 kB / 0.4902 GB, free: 15.67 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002603/0.1809, allocations: 31.92 kB / 0.4903 GB, free: 15.64 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007402/0.1816, allocations: 413.7 kB / 0.4907 GB, free: 15.2 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003729/0.182, allocations: 0.7245 MB / 0.4914 GB, free: 14.45 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002648/0.1823, allocations: 81.66 kB / 0.4915 GB, free: 14.37 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.912e-05/0.1823, allocations: 27.42 kB / 0.4915 GB, free: 14.34 MB / 382.1 MB Notification: Performance of SimCode: time 3.5e-07/0.1824, allocations: 0 / 0.4915 GB, free: 14.34 MB / 382.1 MB Notification: Performance of Templates: time 0.009625/0.192, allocations: 4.037 MB / 0.4954 GB, free: 10.32 MB / 382.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Essotherm650.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Essotherm650.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Essotherm650.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Essotherm650.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Essotherm650.sim & ./ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Essotherm650 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Essotherm650.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Essotherm650_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestAllProperties/IncompleteMedia/Essotherm650/Essotherm650.csv","../files/ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Essotherm650.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches