Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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_3.2.3_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_3.2.3_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001231/0.001231, allocations: 108.4 kB / 16.41 MB, free: 6.496 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001097/0.001097, allocations: 189.5 kB / 17.34 MB, free: 5.762 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.558/1.558, allocations: 205.1 MB / 223.2 MB, free: 12.23 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2365/0.2365, allocations: 43.52 MB / 314.1 MB, free: 464 kB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001393/0.001393, allocations: 67.91 kB / 441.8 MB, free: 5.637 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1563/0.1577, allocations: 57.8 MB / 499.6 MB, free: 11.77 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater): time 0.006675/0.1645, allocations: 4.957 MB / 0.4928 GB, free: 6.777 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.004971/0.1695, allocations: 4.563 MB / 0.4972 GB, free: 2.199 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001/0.1696, allocations: 0 / 0.4972 GB, free: 2.199 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003409/0.17, allocations: 51.61 kB / 0.4973 GB, free: 2.148 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0017/0.1717, allocations: 0.6604 MB / 0.4979 GB, free: 1.484 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003832/0.1721, allocations: 159.7 kB / 0.4981 GB, free: 1.328 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005839/0.1727, allocations: 374.1 kB / 0.4984 GB, free: 0.9609 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.47e-05/0.1727, allocations: 13.69 kB / 0.4984 GB, free: 0.9492 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002448/0.173, allocations: 151.4 kB / 0.4986 GB, free: 0.8008 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001892/0.1732, allocations: 127.5 kB / 0.4987 GB, free: 0.6758 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.965e-05/0.1732, allocations: 8 kB / 0.4987 GB, free: 0.668 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007374/0.174, allocations: 331.7 kB / 0.499 GB, free: 352 kB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 9.951e-05/0.1741, allocations: 47.75 kB / 0.4991 GB, free: 304 kB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001382/0.1742, allocations: 115.5 kB / 0.4992 GB, free: 188 kB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006777/0.1749, allocations: 410.9 kB / 0.4996 GB, free: 15.78 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.681e-06/0.1749, allocations: 0 / 0.4996 GB, free: 15.78 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.354e-06/0.1749, allocations: 0 / 0.4996 GB, free: 15.78 MB / 398.1 MB Notification: Performance of Transformations before backend: time 9.909e-06/0.175, allocations: 0 / 0.4996 GB, free: 15.78 MB / 398.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.001089/0.1761, allocations: 0.5891 MB / 0.5002 GB, free: 15.14 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.812e-05/0.1761, allocations: 11.89 kB / 0.5002 GB, free: 15.13 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000157/0.1763, allocations: 36.67 kB / 0.5002 GB, free: 15.1 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003582/0.1766, allocations: 224.1 kB / 0.5004 GB, free: 14.84 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001412/0.1768, allocations: 119.9 kB / 0.5005 GB, free: 14.7 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.741e-05/0.1768, allocations: 24.38 kB / 0.5006 GB, free: 14.67 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005317/0.1774, allocations: 331.6 kB / 0.5009 GB, free: 14.32 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.523e-05/0.1774, allocations: 0 / 0.5009 GB, free: 14.32 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.22e-05/0.1774, allocations: 12 kB / 0.5009 GB, free: 14.31 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.43e-05/0.1775, allocations: 8 kB / 0.5009 GB, free: 14.3 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008573/0.1783, allocations: 0.739 MB / 0.5016 GB, free: 13.56 MB / 398.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.001549/0.1799, allocations: 1.253 MB / 0.5028 GB, free: 12.2 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003286/0.1802, allocations: 154.8 kB / 0.503 GB, free: 12.04 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001299/0.1804, allocations: 76.81 kB / 0.5031 GB, free: 11.96 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002799/0.1832, allocations: 2.651 MB / 0.5056 GB, free: 8.801 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.83e-05/0.1832, allocations: 34.56 kB / 0.5057 GB, free: 8.758 MB / 398.1 MB Notification: Performance of pre-optimization done (n=13): time 1.363e-06/0.1832, allocations: 0 / 0.5057 GB, free: 8.758 MB / 398.1 MB Notification: Performance of matching and sorting (n=14): time 0.000664/0.1839, allocations: 216.8 kB / 0.5059 GB, free: 8.539 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.374e-05/0.184, allocations: 55.34 kB / 0.5059 GB, free: 8.473 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001881/0.1842, allocations: 219.7 kB / 0.5061 GB, free: 8.25 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.975e-05/0.1842, allocations: 29.7 kB / 0.5062 GB, free: 8.215 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001217/0.1843, allocations: 214.8 kB / 0.5064 GB, free: 8 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.457e-05/0.1844, allocations: 55.28 kB / 0.5064 GB, free: 7.945 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.798e-05/0.1845, allocations: 81.94 kB / 0.5065 GB, free: 7.859 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001294/0.1846, allocations: 326.8 kB / 0.5068 GB, free: 7.531 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.756e-05/0.1847, allocations: 48.84 kB / 0.5069 GB, free: 7.48 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002856/0.185, allocations: 322.1 kB / 0.5072 GB, free: 7.031 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004552/0.1855, allocations: 433.1 kB / 0.5076 GB, free: 6.473 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.705e-06/0.1855, allocations: 0 / 0.5076 GB, free: 6.473 MB / 398.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0005453/0.186, allocations: 377.6 kB / 0.5079 GB, free: 6.098 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.944e-05/0.186, allocations: 8 kB / 0.508 GB, free: 6.09 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.51e-05/0.1861, allocations: 12 kB / 0.508 GB, free: 6.078 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.522e-05/0.1861, allocations: 12 kB / 0.508 GB, free: 6.066 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003089/0.1864, allocations: 111.8 kB / 0.5081 GB, free: 5.957 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.064e-05/0.1864, allocations: 19.94 kB / 0.5081 GB, free: 5.938 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000197/0.1866, allocations: 16 kB / 0.5081 GB, free: 5.922 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.76e-05/0.1867, allocations: 35.97 kB / 0.5082 GB, free: 5.887 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 44 * 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.0001322/0.1868, allocations: 149.8 kB / 0.5083 GB, free: 5.73 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.875e-05/0.1869, allocations: 23.75 kB / 0.5083 GB, free: 5.707 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00034/0.1872, allocations: 170.7 kB / 0.5085 GB, free: 5.527 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.047e-05/0.1873, allocations: 3.938 kB / 0.5085 GB, free: 5.523 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.781e-06/0.1873, allocations: 0 / 0.5085 GB, free: 5.523 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.665e-06/0.1873, allocations: 4 kB / 0.5085 GB, free: 5.52 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005503/0.1878, allocations: 428.3 kB / 0.5089 GB, free: 5.043 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.043e-06/0.1878, allocations: 48 / 0.5089 GB, free: 5.043 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001542/0.188, allocations: 35.91 kB / 0.5089 GB, free: 5.008 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.775e-06/0.188, allocations: 0 / 0.5089 GB, free: 5.008 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.33e-05/0.188, allocations: 8.016 kB / 0.5089 GB, free: 5 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.914e-06/0.188, allocations: 4 kB / 0.5089 GB, free: 4.996 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.1881, allocations: 0 / 0.5089 GB, free: 4.996 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002436/0.1883, allocations: 224.2 kB / 0.5092 GB, free: 4.758 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001088/0.1884, allocations: 104.8 kB / 0.5093 GB, free: 4.637 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.149e-05/0.1885, allocations: 4 kB / 0.5093 GB, free: 4.633 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001775/0.1886, allocations: 7.984 kB / 0.5093 GB, free: 4.625 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.643e-05/0.1887, allocations: 15.98 kB / 0.5093 GB, free: 4.609 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.568e-05/0.1887, allocations: 4.062 kB / 0.5093 GB, free: 4.605 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001371/0.1888, allocations: 148.5 kB / 0.5094 GB, free: 4.465 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1888, allocations: 0 / 0.5094 GB, free: 4.465 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0005145/0.1894, allocations: 96 kB / 0.5095 GB, free: 4.371 MB / 398.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.000328/0.1897, allocations: 163.1 kB / 0.5097 GB, free: 4.203 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003467/0.1901, allocations: 185.8 kB / 0.5099 GB, free: 4.023 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.1901, allocations: 3.938 kB / 0.5099 GB, free: 4.02 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 5.448e-05/0.1901, allocations: 39.92 kB / 0.5099 GB, free: 3.98 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004405/0.1906, allocations: 44.72 kB / 0.5099 GB, free: 3.938 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009561/0.1916, allocations: 0.494 MB / 0.5104 GB, free: 3.418 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003282/0.1919, allocations: 0.7362 MB / 0.5111 GB, free: 2.656 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0002037/0.1921, allocations: 62.86 kB / 0.5112 GB, free: 2.59 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.255e-05/0.1922, allocations: 23.44 kB / 0.5112 GB, free: 2.566 MB / 398.1 MB Notification: Performance of SimCode: time 2.31e-07/0.1922, allocations: 0 / 0.5112 GB, free: 2.566 MB / 398.1 MB Notification: Performance of Templates: time 0.007374/0.1995, allocations: 3.469 MB / 0.5146 GB, free: 15.11 MB / 414.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater.sim & ./ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Media/TestAllProperties/ConstantPropertyLiquidWater/ConstantPropertyLiquidWater.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches