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.001215/0.001215, allocations: 106.3 kB / 17.33 MB, free: 5.992 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001103/0.001103, allocations: 205.8 kB / 18.26 MB, free: 5.074 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.567/1.567, allocations: 227.4 MB / 246.4 MB, free: 9.094 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2312/0.2312, allocations: 46.1 MB / 343.8 MB, free: 11.53 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001348/0.001348, allocations: 68.55 kB / 417 MB, free: 20.05 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1328/0.1341, allocations: 62.45 MB / 479.5 MB, free: 5.574 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater): time 0.006767/0.141, allocations: 5.054 MB / 484.5 MB, free: 496 kB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00502/0.146, allocations: 4.544 MB / 489.1 MB, free: 11.93 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001259/0.1462, allocations: 4 kB / 489.1 MB, free: 11.92 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003577/0.1466, allocations: 43.73 kB / 489.1 MB, free: 11.88 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002187/0.1488, allocations: 0.6141 MB / 489.7 MB, free: 11.26 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004089/0.1492, allocations: 151.2 kB / 489.9 MB, free: 11.12 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005753/0.1498, allocations: 366.1 kB / 490.2 MB, free: 10.76 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.494e-05/0.1499, allocations: 13.69 kB / 490.3 MB, free: 10.75 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002536/0.1501, allocations: 151.5 kB / 490.4 MB, free: 10.6 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001776/0.1503, allocations: 139.4 kB / 490.5 MB, free: 10.46 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.641e-05/0.1504, allocations: 8 kB / 490.6 MB, free: 10.45 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009122/0.1513, allocations: 347.6 kB / 490.9 MB, free: 10.11 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 8.394e-05/0.1514, allocations: 51.77 kB / 490.9 MB, free: 10.06 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001304/0.1515, allocations: 103.5 kB / 491 MB, free: 9.961 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006604/0.1522, allocations: 427.2 kB / 491.5 MB, free: 9.543 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.989e-06/0.1522, allocations: 4 kB / 491.5 MB, free: 9.539 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.904e-06/0.1522, allocations: 0 / 491.5 MB, free: 9.539 MB / 366.1 MB Notification: Performance of Transformations before backend: time 8.896e-06/0.1522, allocations: 0 / 491.5 MB, free: 9.539 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.001169/0.1534, allocations: 0.593 MB / 492.1 MB, free: 8.895 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.498e-05/0.1534, allocations: 12.03 kB / 492.1 MB, free: 8.883 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001639/0.1536, allocations: 24.75 kB / 492.1 MB, free: 8.859 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002756/0.1539, allocations: 232 kB / 492.3 MB, free: 8.594 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001249/0.154, allocations: 123.9 kB / 492.4 MB, free: 8.449 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.336e-05/0.1541, allocations: 16.38 kB / 492.5 MB, free: 8.434 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000528/0.1546, allocations: 331.6 kB / 492.8 MB, free: 8.086 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.679e-05/0.1546, allocations: 8 kB / 492.8 MB, free: 8.078 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.141e-05/0.1547, allocations: 12 kB / 492.8 MB, free: 8.066 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.397e-05/0.1547, allocations: 4 kB / 492.8 MB, free: 8.062 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007868/0.1555, allocations: 0.7391 MB / 493.5 MB, free: 7.324 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.001668/0.1572, allocations: 1.246 MB / 494.8 MB, free: 5.973 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004686/0.1577, allocations: 150.8 kB / 494.9 MB, free: 5.816 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001781/0.1579, allocations: 76.77 kB / 495 MB, free: 5.738 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003195/0.1611, allocations: 2.655 MB / 497.7 MB, free: 2.57 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.019e-05/0.1611, allocations: 38.5 kB / 497.7 MB, free: 2.523 MB / 366.1 MB Notification: Performance of pre-optimization done (n=13): time 2.585e-06/0.1611, allocations: 3.938 kB / 497.7 MB, free: 2.52 MB / 366.1 MB Notification: Performance of matching and sorting (n=14): time 0.001182/0.1623, allocations: 224.3 kB / 497.9 MB, free: 2.297 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.108e-05/0.1624, allocations: 67.33 kB / 498 MB, free: 2.219 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003362/0.1628, allocations: 206.6 kB / 498.2 MB, free: 2.008 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.364e-05/0.1629, allocations: 29.7 kB / 498.2 MB, free: 1.973 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002481/0.1631, allocations: 214.8 kB / 498.4 MB, free: 1.758 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.023e-05/0.1632, allocations: 51.34 kB / 498.5 MB, free: 1.707 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001584/0.1634, allocations: 85.94 kB / 498.6 MB, free: 1.617 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002371/0.1636, allocations: 326.8 kB / 498.9 MB, free: 1.289 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001421/0.1638, allocations: 52.84 kB / 498.9 MB, free: 1.238 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004587/0.1642, allocations: 308.3 kB / 499.2 MB, free: 0.8125 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006941/0.1649, allocations: 419.5 kB / 499.6 MB, free: 280 kB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.854e-06/0.165, allocations: 4 kB / 499.7 MB, free: 276 kB / 366.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.000911/0.1659, allocations: 365 kB / 0.4883 GB, free: 15.91 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.914e-05/0.1659, allocations: 12 kB / 0.4883 GB, free: 15.89 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.043e-05/0.1659, allocations: 8 kB / 0.4883 GB, free: 15.89 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.666e-05/0.166, allocations: 16.73 kB / 0.4883 GB, free: 15.87 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005301/0.1665, allocations: 107.8 kB / 0.4884 GB, free: 15.77 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.215e-05/0.1666, allocations: 23.92 kB / 0.4884 GB, free: 15.74 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004286/0.167, allocations: 23.94 kB / 0.4885 GB, free: 15.72 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.696e-05/0.1671, allocations: 24 kB / 0.4885 GB, free: 15.7 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.0001947/0.1673, allocations: 149.6 kB / 0.4886 GB, free: 15.54 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.741e-05/0.1674, allocations: 19.81 kB / 0.4887 GB, free: 15.52 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004714/0.1679, allocations: 150.9 kB / 0.4888 GB, free: 15.37 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.792e-05/0.1679, allocations: 3.938 kB / 0.4888 GB, free: 15.36 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.148e-05/0.1679, allocations: 3.984 kB / 0.4888 GB, free: 15.36 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.695e-06/0.1679, allocations: 4 kB / 0.4888 GB, free: 15.36 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008112/0.1688, allocations: 435.2 kB / 0.4892 GB, free: 14.87 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.327e-06/0.1688, allocations: 0 / 0.4892 GB, free: 14.87 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002388/0.169, allocations: 39.86 kB / 0.4893 GB, free: 14.83 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.718e-06/0.1691, allocations: 0 / 0.4893 GB, free: 14.83 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.69e-05/0.1691, allocations: 4 kB / 0.4893 GB, free: 14.83 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.126e-06/0.1691, allocations: 0 / 0.4893 GB, free: 14.83 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.288e-06/0.1691, allocations: 3.984 kB / 0.4893 GB, free: 14.82 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003409/0.1695, allocations: 220 kB / 0.4895 GB, free: 14.59 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001493/0.1696, allocations: 104.8 kB / 0.4896 GB, free: 14.47 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.295e-05/0.1697, allocations: 19.78 kB / 0.4896 GB, free: 14.45 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003121/0.17, allocations: 12.11 kB / 0.4896 GB, free: 14.44 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.842e-05/0.17, allocations: 4 kB / 0.4896 GB, free: 14.44 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.798e-05/0.1701, allocations: 11.98 kB / 0.4896 GB, free: 14.43 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001867/0.1703, allocations: 152.5 kB / 0.4898 GB, free: 14.27 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.1e-07/0.1703, allocations: 7.875 kB / 0.4898 GB, free: 14.27 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0008485/0.1711, allocations: 95.98 kB / 0.4899 GB, free: 14.17 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.0005409/0.1717, allocations: 167.1 kB / 0.49 GB, free: 14 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0005093/0.1722, allocations: 189.2 kB / 0.4902 GB, free: 13.82 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.228e-06/0.1722, allocations: 0 / 0.4902 GB, free: 13.82 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 8.632e-05/0.1723, allocations: 35.92 kB / 0.4902 GB, free: 13.78 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006767/0.173, allocations: 52.22 kB / 0.4903 GB, free: 13.73 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001441/0.1745, allocations: 0.5759 MB / 0.4909 GB, free: 13.13 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004083/0.1749, allocations: 0.7245 MB / 0.4916 GB, free: 12.38 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0004205/0.1753, allocations: 66.77 kB / 0.4916 GB, free: 12.31 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.558e-05/0.1754, allocations: 31.42 kB / 0.4917 GB, free: 12.28 MB / 382.1 MB Notification: Performance of SimCode: time 7.21e-07/0.1754, allocations: 0 / 0.4917 GB, free: 12.28 MB / 382.1 MB Notification: Performance of Templates: time 0.01094/0.1864, allocations: 3.457 MB / 0.495 GB, free: 8.859 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