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.001064/0.001064, allocations: 103.9 kB / 17.63 MB, free: 5.523 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001193/0.001193, allocations: 210.4 kB / 18.58 MB, free: 4.578 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.412/1.412, allocations: 227.4 MB / 246.8 MB, free: 10.6 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2231/0.2231, allocations: 46.13 MB / 344.2 MB, free: 11.55 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001588/0.001589, allocations: 91.5 kB / 417.6 MB, free: 19.69 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.134/0.1356, allocations: 62.45 MB / 480.1 MB, free: 5.223 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater): time 0.006926/0.1426, allocations: 5.023 MB / 485.1 MB, free: 172 kB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.005021/0.1476, allocations: 4.574 MB / 489.7 MB, free: 11.58 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001391/0.1478, allocations: 4 kB / 489.7 MB, free: 11.57 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003047/0.1482, allocations: 43.67 kB / 489.7 MB, free: 11.53 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001779/0.1499, allocations: 0.6642 MB / 490.4 MB, free: 10.86 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003962/0.1503, allocations: 166.2 kB / 490.6 MB, free: 10.71 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.00055/0.1509, allocations: 362.2 kB / 490.9 MB, free: 10.35 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.532e-05/0.151, allocations: 17.69 kB / 490.9 MB, free: 10.34 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002483/0.1512, allocations: 151.5 kB / 491.1 MB, free: 10.19 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001806/0.1514, allocations: 127.5 kB / 491.2 MB, free: 10.06 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 3.208e-05/0.1515, allocations: 8 kB / 491.2 MB, free: 10.05 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008853/0.1524, allocations: 347.6 kB / 491.5 MB, free: 9.715 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 8.38e-05/0.1525, allocations: 51.75 kB / 491.6 MB, free: 9.664 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001148/0.1526, allocations: 103.5 kB / 491.7 MB, free: 9.562 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006562/0.1532, allocations: 435.2 kB / 492.1 MB, free: 9.137 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.787e-06/0.1533, allocations: 4 kB / 492.1 MB, free: 9.133 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.746e-06/0.1533, allocations: 4 kB / 492.1 MB, free: 9.129 MB / 366.1 MB Notification: Performance of Transformations before backend: time 8.416e-06/0.1533, allocations: 0 / 492.1 MB, free: 9.129 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.0009878/0.1543, allocations: 0.5852 MB / 492.7 MB, free: 8.492 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.546e-05/0.1543, allocations: 8.031 kB / 492.7 MB, free: 8.484 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001652/0.1545, allocations: 24.75 kB / 492.7 MB, free: 8.461 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002642/0.1548, allocations: 232 kB / 493 MB, free: 8.195 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001309/0.1549, allocations: 127.9 kB / 493.1 MB, free: 8.047 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.753e-05/0.1549, allocations: 28.38 kB / 493.1 MB, free: 8.02 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004689/0.1554, allocations: 327.5 kB / 493.4 MB, free: 7.672 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.998e-06/0.1554, allocations: 4 kB / 493.4 MB, free: 7.668 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.684e-05/0.1555, allocations: 12 kB / 493.5 MB, free: 7.656 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.433e-05/0.1555, allocations: 8 kB / 493.5 MB, free: 7.648 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000764/0.1563, allocations: 0.739 MB / 494.2 MB, free: 6.91 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.001255/0.1576, allocations: 1.242 MB / 495.4 MB, free: 5.562 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000315/0.1579, allocations: 154.8 kB / 495.6 MB, free: 5.402 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001195/0.158, allocations: 72.83 kB / 495.7 MB, free: 5.328 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002187/0.1602, allocations: 2.666 MB / 498.3 MB, free: 2.148 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.507e-05/0.1603, allocations: 38.56 kB / 498.4 MB, free: 2.102 MB / 366.1 MB Notification: Performance of pre-optimization done (n=13): time 1.613e-06/0.1603, allocations: 0 / 498.4 MB, free: 2.102 MB / 366.1 MB Notification: Performance of matching and sorting (n=14): time 0.0006541/0.1609, allocations: 216.8 kB / 498.6 MB, free: 1.883 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.737e-05/0.161, allocations: 55.34 kB / 498.6 MB, free: 1.816 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001814/0.1612, allocations: 218.5 kB / 498.9 MB, free: 1.594 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.308e-05/0.1612, allocations: 29.7 kB / 498.9 MB, free: 1.559 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001179/0.1613, allocations: 214.8 kB / 499.1 MB, free: 1.344 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.301e-05/0.1614, allocations: 47.36 kB / 499.1 MB, free: 1.297 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.043e-05/0.1615, allocations: 85.94 kB / 499.2 MB, free: 1.207 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001129/0.1616, allocations: 330.8 kB / 499.5 MB, free: 0.875 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.22e-05/0.1617, allocations: 52.84 kB / 499.6 MB, free: 0.8242 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002353/0.1619, allocations: 312.3 kB / 499.9 MB, free: 404 kB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004108/0.1623, allocations: 407.5 kB / 0.4886 GB, free: 15.87 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.9e-06/0.1623, allocations: 4 kB / 0.4886 GB, free: 15.86 MB / 382.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0005172/0.1629, allocations: 364.9 kB / 0.4889 GB, free: 15.5 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.043e-05/0.1629, allocations: 10.5 kB / 0.4889 GB, free: 15.49 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.411e-05/0.1629, allocations: 12.88 kB / 0.4889 GB, free: 15.48 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.219e-05/0.163, allocations: 12 kB / 0.489 GB, free: 15.47 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003393/0.1633, allocations: 119.8 kB / 0.4891 GB, free: 15.35 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.569e-05/0.1633, allocations: 15.94 kB / 0.4891 GB, free: 15.34 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002247/0.1636, allocations: 27.98 kB / 0.4891 GB, free: 15.31 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.044e-05/0.1636, allocations: 24 kB / 0.4891 GB, free: 15.29 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.0001232/0.1637, allocations: 149.6 kB / 0.4893 GB, free: 15.13 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.195e-05/0.1638, allocations: 15.81 kB / 0.4893 GB, free: 15.11 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003059/0.1641, allocations: 158.3 kB / 0.4894 GB, free: 14.96 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.21e-05/0.1641, allocations: 7.938 kB / 0.4895 GB, free: 14.95 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.606e-06/0.1641, allocations: 0 / 0.4895 GB, free: 14.95 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.37e-06/0.1641, allocations: 3.984 kB / 0.4895 GB, free: 14.95 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005404/0.1647, allocations: 435.2 kB / 0.4899 GB, free: 14.46 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.714e-06/0.1647, allocations: 0 / 0.4899 GB, free: 14.46 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001585/0.1649, allocations: 39.84 kB / 0.4899 GB, free: 14.42 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.549e-06/0.1649, allocations: 4 kB / 0.4899 GB, free: 14.42 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.071e-05/0.1649, allocations: 0 / 0.4899 GB, free: 14.42 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.783e-06/0.1649, allocations: 3.938 kB / 0.4899 GB, free: 14.41 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.324e-06/0.1649, allocations: 4 kB / 0.4899 GB, free: 14.41 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002291/0.1651, allocations: 216.2 kB / 0.4901 GB, free: 14.18 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.986e-05/0.1652, allocations: 108.8 kB / 0.4902 GB, free: 14.05 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.708e-05/0.1653, allocations: 7.844 kB / 0.4902 GB, free: 14.05 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001866/0.1655, allocations: 8 kB / 0.4902 GB, free: 14.04 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.812e-05/0.1655, allocations: 15.91 kB / 0.4903 GB, free: 14.02 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.746e-05/0.1655, allocations: 11.98 kB / 0.4903 GB, free: 14.01 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001142/0.1657, allocations: 152.5 kB / 0.4904 GB, free: 13.86 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1657, allocations: 0 / 0.4904 GB, free: 13.86 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0004878/0.1662, allocations: 99.98 kB / 0.4905 GB, free: 13.76 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.0003473/0.1665, allocations: 159.1 kB / 0.4907 GB, free: 13.6 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0003013/0.1668, allocations: 189.5 kB / 0.4908 GB, free: 13.41 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.1668, allocations: 0 / 0.4908 GB, free: 13.41 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 6.64e-05/0.1669, allocations: 35.92 kB / 0.4909 GB, free: 13.38 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004413/0.1674, allocations: 59.41 kB / 0.4909 GB, free: 13.32 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009411/0.1683, allocations: 0.5056 MB / 0.4914 GB, free: 12.79 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002947/0.1686, allocations: 0.7245 MB / 0.4921 GB, free: 12.04 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002478/0.1689, allocations: 62.83 kB / 0.4922 GB, free: 11.98 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.354e-05/0.1689, allocations: 31.42 kB / 0.4922 GB, free: 11.95 MB / 382.1 MB Notification: Performance of SimCode: time 3.41e-07/0.1689, allocations: 0 / 0.4922 GB, free: 11.95 MB / 382.1 MB Notification: Performance of Templates: time 0.006858/0.1758, allocations: 3.446 MB / 0.4956 GB, free: 8.531 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