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.001927/0.001927, allocations: 113.4 kB / 17.99 MB, free: 5.395 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002652/0.002653, allocations: 205.8 kB / 18.92 MB, free: 4.465 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 2.766/2.766, allocations: 227.4 MB / 247.1 MB, free: 10.8 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2524/0.2524, allocations: 46.1 MB / 344.4 MB, free: 11.78 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002179/0.002179, allocations: 80.7 kB / 417.7 MB, free: 20.1 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1577/0.1599, allocations: 62.45 MB / 480.1 MB, free: 5.633 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater): time 0.008916/0.1689, allocations: 5.051 MB / 485.2 MB, free: 0.5469 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.005577/0.1745, allocations: 4.544 MB / 489.7 MB, free: 11.99 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000181/0.1748, allocations: 4 kB / 489.7 MB, free: 11.98 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003318/0.1752, allocations: 43.73 kB / 489.8 MB, free: 11.94 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00226/0.1774, allocations: 0.6102 MB / 490.4 MB, free: 11.33 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004352/0.1779, allocations: 155.3 kB / 490.6 MB, free: 11.18 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005726/0.1785, allocations: 370.1 kB / 490.9 MB, free: 10.82 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.398e-05/0.1785, allocations: 13.69 kB / 490.9 MB, free: 10.8 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002399/0.1788, allocations: 147.5 kB / 491.1 MB, free: 10.66 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001819/0.179, allocations: 135.5 kB / 491.2 MB, free: 10.53 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 3.654e-05/0.179, allocations: 8 kB / 491.2 MB, free: 10.52 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001243/0.1803, allocations: 351.6 kB / 491.6 MB, free: 10.18 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001167/0.1804, allocations: 47.8 kB / 491.6 MB, free: 10.13 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001603/0.1806, allocations: 115.5 kB / 491.7 MB, free: 10.02 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000669/0.1813, allocations: 295.7 kB / 492 MB, free: 9.727 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.292e-06/0.1813, allocations: 0 / 492 MB, free: 9.727 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.264e-06/0.1813, allocations: 0 / 492 MB, free: 9.727 MB / 366.1 MB Notification: Performance of Transformations before backend: time 8.255e-06/0.1813, allocations: 0 / 492 MB, free: 9.727 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.001303/0.1826, allocations: 0.5891 MB / 492.6 MB, free: 9.086 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.893e-05/0.1827, allocations: 8.031 kB / 492.6 MB, free: 9.078 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002168/0.1829, allocations: 28.75 kB / 492.6 MB, free: 9.051 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003072/0.1832, allocations: 228 kB / 492.8 MB, free: 8.789 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001529/0.1834, allocations: 123.9 kB / 493 MB, free: 8.645 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.1e-05/0.1834, allocations: 24.38 kB / 493 MB, free: 8.621 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000685/0.1841, allocations: 331.6 kB / 493.3 MB, free: 8.273 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.502e-05/0.1842, allocations: 0 / 493.3 MB, free: 8.273 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.025e-05/0.1842, allocations: 12 kB / 493.3 MB, free: 8.262 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.62e-05/0.1842, allocations: 8 kB / 493.3 MB, free: 8.254 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001071/0.1853, allocations: 0.739 MB / 494.1 MB, free: 7.516 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.001799/0.1871, allocations: 1.242 MB / 495.3 MB, free: 6.168 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004134/0.1876, allocations: 158.2 kB / 495.5 MB, free: 6.008 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001523/0.1877, allocations: 72.83 kB / 495.5 MB, free: 5.934 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002929/0.1907, allocations: 2.666 MB / 498.2 MB, free: 2.754 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.517e-05/0.1907, allocations: 30.56 kB / 498.2 MB, free: 2.715 MB / 366.1 MB Notification: Performance of pre-optimization done (n=13): time 2.625e-06/0.1907, allocations: 0 / 498.2 MB, free: 2.715 MB / 366.1 MB Notification: Performance of matching and sorting (n=14): time 0.0009141/0.1917, allocations: 220.8 kB / 498.5 MB, free: 2.492 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.036e-05/0.1917, allocations: 59.34 kB / 498.5 MB, free: 2.422 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003009/0.192, allocations: 210.6 kB / 498.7 MB, free: 2.207 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.059e-05/0.1921, allocations: 41.69 kB / 498.8 MB, free: 2.16 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001509/0.1923, allocations: 210.7 kB / 499 MB, free: 1.949 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.027e-05/0.1923, allocations: 51.34 kB / 499 MB, free: 1.898 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001336/0.1925, allocations: 89.88 kB / 499.1 MB, free: 1.805 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002447/0.1927, allocations: 330.8 kB / 499.4 MB, free: 1.473 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001187/0.1928, allocations: 48.84 kB / 499.5 MB, free: 1.426 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000431/0.1933, allocations: 316.3 kB / 499.8 MB, free: 0.9922 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005459/0.1938, allocations: 407.5 kB / 0.4885 GB, free: 476 kB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.978e-06/0.1939, allocations: 8 kB / 0.4885 GB, free: 468 kB / 366.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0007429/0.1946, allocations: 364.8 kB / 0.4888 GB, free: 96 kB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.94e-05/0.1947, allocations: 11.44 kB / 0.4888 GB, free: 88 kB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.691e-05/0.1947, allocations: 8 kB / 0.4888 GB, free: 80 kB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.752e-05/0.1947, allocations: 12 kB / 0.4888 GB, free: 68 kB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004983/0.1952, allocations: 119.7 kB / 0.489 GB, free: 15.95 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.227e-05/0.1953, allocations: 19.94 kB / 0.489 GB, free: 15.93 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003292/0.1956, allocations: 20.11 kB / 0.489 GB, free: 15.91 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.138e-05/0.1957, allocations: 32 kB / 0.489 GB, free: 15.88 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.0001715/0.1958, allocations: 145.6 kB / 0.4892 GB, free: 15.73 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001272/0.196, allocations: 19.81 kB / 0.4892 GB, free: 15.71 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004125/0.1964, allocations: 150.9 kB / 0.4893 GB, free: 15.55 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.399e-05/0.1964, allocations: 3.938 kB / 0.4893 GB, free: 15.55 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.621e-06/0.1964, allocations: 0 / 0.4893 GB, free: 15.55 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.452e-06/0.1965, allocations: 11.98 kB / 0.4893 GB, free: 15.54 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000706/0.1972, allocations: 430.2 kB / 0.4898 GB, free: 15.06 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.325e-06/0.1972, allocations: 0 / 0.4898 GB, free: 15.06 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002185/0.1974, allocations: 43.84 kB / 0.4898 GB, free: 15.02 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.517e-06/0.1974, allocations: 0 / 0.4898 GB, free: 15.02 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.576e-05/0.1975, allocations: 4 kB / 0.4898 GB, free: 15.02 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.445e-06/0.1975, allocations: 0 / 0.4898 GB, free: 15.02 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.462e-06/0.1975, allocations: 0 / 0.4898 GB, free: 15.02 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002683/0.1978, allocations: 216.2 kB / 0.49 GB, free: 14.79 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.037e-05/0.1979, allocations: 108.8 kB / 0.4901 GB, free: 14.66 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.224e-05/0.1979, allocations: 15.84 kB / 0.4901 GB, free: 14.64 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000206/0.1981, allocations: 4 kB / 0.4901 GB, free: 14.64 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.117e-05/0.1982, allocations: 15.92 kB / 0.4901 GB, free: 14.62 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.815e-05/0.1982, allocations: 7.984 kB / 0.4902 GB, free: 14.62 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001374/0.1983, allocations: 152.5 kB / 0.4903 GB, free: 14.46 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1983, allocations: 3.938 kB / 0.4903 GB, free: 14.46 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0005001/0.1988, allocations: 95.98 kB / 0.4904 GB, free: 14.37 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.0004013/0.1992, allocations: 167.1 kB / 0.4906 GB, free: 14.2 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0003518/0.1996, allocations: 184.7 kB / 0.4907 GB, free: 14.02 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.126e-06/0.1996, allocations: 0 / 0.4907 GB, free: 14.02 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 6.345e-05/0.1997, allocations: 35.92 kB / 0.4908 GB, free: 13.98 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000474/0.2002, allocations: 65.62 kB / 0.4908 GB, free: 13.92 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001015/0.2012, allocations: 0.5971 MB / 0.4914 GB, free: 13.29 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003049/0.2015, allocations: 0.7323 MB / 0.4921 GB, free: 12.52 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.533e-05/0.2016, allocations: 35.44 kB / 0.4922 GB, free: 12.49 MB / 382.1 MB Notification: Performance of SimCode: time 3.51e-07/0.2016, allocations: 0 / 0.4922 GB, free: 12.49 MB / 382.1 MB Notification: Performance of Templates: time 0.00592/0.2075, allocations: 3.488 MB / 0.4956 GB, free: 9.012 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestAllProperties/ConstantPropertyLiquidWater/ConstantPropertyLiquidWater.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches