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.001101/0.001101, allocations: 96.89 kB / 17 MB, free: 6.07 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001328/0.001328, allocations: 195.1 kB / 17.91 MB, free: 5.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.47/1.47, allocations: 227.7 MB / 246.4 MB, free: 11.53 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2595/0.2595, allocations: 46.18 MB / 344.8 MB, free: 11.54 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003034/0.0003036, allocations: 8.219 kB / 418.8 MB, free: 20.15 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1484/0.1487, allocations: 63.57 MB / 482.4 MB, free: 4.551 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater): time 0.006007/0.1548, allocations: 4.469 MB / 486.9 MB, free: 56 kB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00472/0.1595, allocations: 4.2 MB / 491.1 MB, free: 11.84 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001688/0.1597, allocations: 0 / 491.1 MB, free: 11.84 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002629/0.16, allocations: 43.73 kB / 491.1 MB, free: 11.8 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001761/0.1618, allocations: 0.5282 MB / 491.6 MB, free: 11.27 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004996/0.1623, allocations: 154.4 kB / 491.8 MB, free: 11.12 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007913/0.1631, allocations: 390.1 kB / 492.2 MB, free: 10.74 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.02e-05/0.1632, allocations: 13.67 kB / 492.2 MB, free: 10.73 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004391/0.1636, allocations: 147.4 kB / 492.3 MB, free: 10.59 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004049/0.1641, allocations: 139.4 kB / 492.5 MB, free: 10.45 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 5.39e-05/0.1641, allocations: 4 kB / 492.5 MB, free: 10.45 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001085/0.1652, allocations: 263.8 kB / 492.7 MB, free: 10.19 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 9.125e-05/0.1653, allocations: 43.77 kB / 492.8 MB, free: 10.14 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 9.075e-05/0.1654, allocations: 57.64 kB / 492.8 MB, free: 10.08 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006298/0.1661, allocations: 279.7 kB / 493.1 MB, free: 9.809 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.961e-06/0.1661, allocations: 4 kB / 493.1 MB, free: 9.805 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.182e-06/0.1661, allocations: 0 / 493.1 MB, free: 9.805 MB / 366.1 MB Notification: Performance of Transformations before backend: time 5.761e-06/0.1661, allocations: 0 / 493.1 MB, free: 9.805 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.001064/0.1672, allocations: 0.546 MB / 493.7 MB, free: 9.207 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.373e-05/0.1672, allocations: 8.031 kB / 493.7 MB, free: 9.199 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001454/0.1674, allocations: 23.81 kB / 493.7 MB, free: 9.176 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002629/0.1676, allocations: 226.7 kB / 493.9 MB, free: 8.914 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001375/0.1678, allocations: 123.4 kB / 494 MB, free: 8.77 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.708e-05/0.1678, allocations: 20 kB / 494 MB, free: 8.75 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004953/0.1683, allocations: 327.6 kB / 494.4 MB, free: 8.406 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.908e-06/0.1683, allocations: 0 / 494.4 MB, free: 8.406 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.16e-05/0.1684, allocations: 12 kB / 494.4 MB, free: 8.395 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.42e-05/0.1684, allocations: 8 kB / 494.4 MB, free: 8.387 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009686/0.1694, allocations: 0.7352 MB / 495.1 MB, free: 7.652 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.001427/0.1708, allocations: 1.253 MB / 496.4 MB, free: 6.293 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003224/0.1712, allocations: 146.8 kB / 496.5 MB, free: 6.141 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001141/0.1713, allocations: 72.83 kB / 496.6 MB, free: 6.066 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002286/0.1736, allocations: 2.663 MB / 499.2 MB, free: 2.891 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.56e-05/0.1736, allocations: 34.56 kB / 499.3 MB, free: 2.848 MB / 366.1 MB Notification: Performance of pre-optimization done (n=13): time 1.262e-06/0.1736, allocations: 0 / 499.3 MB, free: 2.848 MB / 366.1 MB Notification: Performance of matching and sorting (n=14): time 0.0007447/0.1744, allocations: 224.8 kB / 499.5 MB, free: 2.621 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.112e-05/0.1744, allocations: 55.39 kB / 499.6 MB, free: 2.555 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000209/0.1746, allocations: 214.5 kB / 499.8 MB, free: 2.336 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.788e-05/0.1747, allocations: 33.7 kB / 499.8 MB, free: 2.297 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001374/0.1748, allocations: 210.8 kB / 0.4883 GB, free: 2.086 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.073e-05/0.1749, allocations: 51.34 kB / 0.4883 GB, free: 2.035 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.382e-05/0.1749, allocations: 8 kB / 0.4883 GB, free: 2.027 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001802/0.1751, allocations: 326.8 kB / 0.4887 GB, free: 1.699 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.399e-05/0.1752, allocations: 52.84 kB / 0.4887 GB, free: 1.648 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002807/0.1755, allocations: 308.3 kB / 0.489 GB, free: 1.223 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001759/0.1757, allocations: 95.86 kB / 0.4891 GB, free: 1.129 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.943e-06/0.1757, allocations: 4 kB / 0.4891 GB, free: 1.125 MB / 366.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0005914/0.1763, allocations: 373.5 kB / 0.4894 GB, free: 0.7539 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.186e-05/0.1763, allocations: 8 kB / 0.4895 GB, free: 0.7461 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.76e-05/0.1763, allocations: 16.11 kB / 0.4895 GB, free: 0.7305 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.848e-05/0.1764, allocations: 19.98 kB / 0.4895 GB, free: 0.7109 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003485/0.1767, allocations: 103.8 kB / 0.4896 GB, free: 0.6094 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.838e-05/0.1767, allocations: 19.92 kB / 0.4896 GB, free: 0.5898 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002278/0.177, allocations: 16.12 kB / 0.4896 GB, free: 0.5742 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.589e-05/0.177, allocations: 31.98 kB / 0.4897 GB, free: 0.543 MB / 366.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001311/0.1772, allocations: 157.5 kB / 0.4898 GB, free: 388 kB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.621e-05/0.1772, allocations: 27.72 kB / 0.4898 GB, free: 360 kB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002975/0.1775, allocations: 150.3 kB / 0.49 GB, free: 208 kB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.132e-05/0.1775, allocations: 11.95 kB / 0.49 GB, free: 196 kB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.3e-06/0.1776, allocations: 0 / 0.49 GB, free: 196 kB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.087e-06/0.1776, allocations: 0 / 0.49 GB, free: 196 kB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005644/0.1781, allocations: 435.2 kB / 0.4904 GB, free: 15.71 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.154e-06/0.1781, allocations: 0 / 0.4904 GB, free: 15.71 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001605/0.1783, allocations: 27.98 kB / 0.4904 GB, free: 15.68 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.885e-06/0.1783, allocations: 7.953 kB / 0.4904 GB, free: 15.67 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.108e-05/0.1783, allocations: 4 kB / 0.4904 GB, free: 15.67 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.348e-06/0.1784, allocations: 11.95 kB / 0.4905 GB, free: 15.66 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.024e-06/0.1784, allocations: 0 / 0.4905 GB, free: 15.66 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003021/0.1787, allocations: 208.1 kB / 0.4906 GB, free: 15.43 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.272e-05/0.1788, allocations: 108.9 kB / 0.4908 GB, free: 15.31 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.473e-05/0.1788, allocations: 7.953 kB / 0.4908 GB, free: 15.3 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001847/0.179, allocations: 7.984 kB / 0.4908 GB, free: 15.29 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.181e-05/0.1791, allocations: 12 kB / 0.4908 GB, free: 15.28 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.864e-05/0.1791, allocations: 11.98 kB / 0.4908 GB, free: 15.27 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001262/0.1792, allocations: 148.5 kB / 0.4909 GB, free: 15.12 MB / 382.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1792, allocations: 0 / 0.4909 GB, free: 15.12 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0004973/0.1797, allocations: 96 kB / 0.491 GB, free: 15.03 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002663/0.18, allocations: 167.5 kB / 0.4912 GB, free: 14.86 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0003256/0.1803, allocations: 180.9 kB / 0.4914 GB, free: 14.68 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.965e-06/0.1803, allocations: 0 / 0.4914 GB, free: 14.68 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 5.882e-05/0.1804, allocations: 35.92 kB / 0.4914 GB, free: 14.64 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004583/0.1809, allocations: 55.11 kB / 0.4914 GB, free: 14.6 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001087/0.182, allocations: 0.6049 MB / 0.492 GB, free: 13.96 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004365/0.1824, allocations: 0.7287 MB / 0.4927 GB, free: 13.2 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002775/0.1827, allocations: 62.78 kB / 0.4928 GB, free: 13.14 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.15e-05/0.1828, allocations: 31.42 kB / 0.4928 GB, free: 13.11 MB / 382.1 MB Notification: Performance of SimCode: time 2.1e-07/0.1828, allocations: 0 / 0.4928 GB, free: 13.11 MB / 382.1 MB Notification: Performance of Templates: time 0.00792/0.1907, allocations: 3.252 MB / 0.496 GB, free: 9.887 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