Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient.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.LinearWater_pT_Ambient,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.LinearWater_pT_Ambient") translateModel(ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient,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.LinearWater_pT_Ambient") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0012/0.001199, allocations: 98.81 kB / 16.93 MB, free: 5.914 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.001232/0.001231, allocations: 191.3 kB / 17.86 MB, free: 5.18 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.385/1.385, allocations: 205.1 MB / 223.7 MB, free: 12.31 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.2103/0.2103, allocations: 43.51 MB / 314.6 MB, free: 0.5469 MB / 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.001722/0.001722, allocations: 66.7 kB / 383.4 MB, free: 56.75 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09605/0.09779, allocations: 57.79 MB / 441.2 MB, free: 6.941 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient): time 0.02854/0.1264, allocations: 26.8 MB / 468 MB, free: 12.03 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003211/0.1296, allocations: 2.967 MB / 471 MB, free: 9.055 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001028/0.1298, allocations: 0 / 471 MB, free: 9.055 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002983/0.1301, allocations: 51.61 kB / 471 MB, free: 9.004 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001934/0.1321, allocations: 0.7227 MB / 471.7 MB, free: 8.277 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003476/0.1325, allocations: 135.3 kB / 471.9 MB, free: 8.148 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005394/0.133, allocations: 370.1 kB / 472.2 MB, free: 7.785 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.985e-05/0.1331, allocations: 13.67 kB / 472.2 MB, free: 7.773 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.03697/0.17, allocations: 15.47 MB / 487.7 MB, free: 8.18 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000352/0.1704, allocations: 143.5 kB / 487.8 MB, free: 8.039 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 3.585e-05/0.1705, allocations: 8 kB / 487.8 MB, free: 8.031 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00871/0.1792, allocations: 3.448 MB / 491.3 MB, free: 4.547 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001113/0.1794, allocations: 39.81 kB / 491.3 MB, free: 4.508 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00017/0.1795, allocations: 115.4 kB / 491.4 MB, free: 4.395 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001176/0.1807, allocations: 470.8 kB / 491.9 MB, free: 3.934 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.19e-06/0.1808, allocations: 0 / 491.9 MB, free: 3.934 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.044e-06/0.1808, allocations: 0 / 491.9 MB, free: 3.934 MB / 366.1 MB Notification: Performance of Transformations before backend: time 8.346e-06/0.1808, allocations: 0 / 491.9 MB, free: 3.934 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.001356/0.1821, allocations: 0.593 MB / 492.5 MB, free: 3.293 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.966e-05/0.1822, allocations: 15.89 kB / 492.5 MB, free: 3.277 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001787/0.1824, allocations: 28.75 kB / 492.5 MB, free: 3.25 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002808/0.1827, allocations: 224 kB / 492.8 MB, free: 2.992 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001393/0.1828, allocations: 127.9 kB / 492.9 MB, free: 2.844 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.961e-05/0.1828, allocations: 20.12 kB / 492.9 MB, free: 2.824 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005315/0.1834, allocations: 331.6 kB / 493.2 MB, free: 2.469 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.239e-05/0.1834, allocations: 4 kB / 493.2 MB, free: 2.465 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.829e-05/0.1835, allocations: 15.98 kB / 493.3 MB, free: 2.449 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.297e-05/0.1835, allocations: 8 kB / 493.3 MB, free: 2.441 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007986/0.1843, allocations: 0.7352 MB / 494 MB, free: 1.707 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.00143/0.1857, allocations: 1.296 MB / 495.3 MB, free: 300 kB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003639/0.1861, allocations: 171.6 kB / 495.5 MB, free: 120 kB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001366/0.1863, allocations: 85.48 kB / 495.5 MB, free: 32 kB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002608/0.1889, allocations: 2.814 MB / 498.4 MB, free: 12.69 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.869e-05/0.1889, allocations: 30.56 kB / 498.4 MB, free: 12.65 MB / 382.1 MB Notification: Performance of pre-optimization done (n=11): time 3.797e-06/0.1889, allocations: 0 / 498.4 MB, free: 12.65 MB / 382.1 MB Notification: Performance of matching and sorting (n=11): time 0.0003084/0.1892, allocations: 129.2 kB / 498.5 MB, free: 12.52 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.515e-05/0.1893, allocations: 55.41 kB / 498.6 MB, free: 12.45 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001795/0.1895, allocations: 218.7 kB / 498.8 MB, free: 12.22 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.706e-05/0.1895, allocations: 29.7 kB / 498.8 MB, free: 12.19 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001128/0.1896, allocations: 218.6 kB / 499 MB, free: 11.96 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.024e-05/0.1897, allocations: 39.45 kB / 499.1 MB, free: 11.93 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.037e-05/0.1897, allocations: 81.94 kB / 499.1 MB, free: 11.84 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001234/0.1899, allocations: 326.8 kB / 499.5 MB, free: 11.51 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.901e-05/0.19, allocations: 56.83 kB / 499.5 MB, free: 11.46 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002521/0.1902, allocations: 343.2 kB / 499.8 MB, free: 10.97 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004028/0.1906, allocations: 444.5 kB / 0.4886 GB, free: 10.39 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.258e-06/0.1907, allocations: 4 kB / 0.4886 GB, free: 10.39 MB / 382.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0005503/0.1912, allocations: 385.3 kB / 0.4889 GB, free: 10 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.916e-05/0.1912, allocations: 11.94 kB / 0.4889 GB, free: 9.992 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.266e-05/0.1913, allocations: 12 kB / 0.489 GB, free: 9.98 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.643e-05/0.1913, allocations: 19.92 kB / 0.489 GB, free: 9.961 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002356/0.1915, allocations: 95.84 kB / 0.4891 GB, free: 9.867 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.984e-05/0.1916, allocations: 20.48 kB / 0.4891 GB, free: 9.848 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002306/0.1918, allocations: 59.38 kB / 0.4891 GB, free: 9.789 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.683e-05/0.1918, allocations: 28 kB / 0.4892 GB, free: 9.762 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 48 * 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.000123/0.192, allocations: 153.5 kB / 0.4893 GB, free: 9.602 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.184e-05/0.192, allocations: 23.8 kB / 0.4893 GB, free: 9.578 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002836/0.1923, allocations: 148.8 kB / 0.4895 GB, free: 9.422 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.848e-06/0.1923, allocations: 0 / 0.4895 GB, free: 9.422 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.328e-06/0.1923, allocations: 0 / 0.4895 GB, free: 9.422 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.226e-06/0.1924, allocations: 0 / 0.4895 GB, free: 9.422 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004698/0.1928, allocations: 416.9 kB / 0.4899 GB, free: 8.949 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.027e-06/0.1928, allocations: 4 kB / 0.4899 GB, free: 8.945 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.143e-05/0.1929, allocations: 11.94 kB / 0.4899 GB, free: 8.934 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.779e-06/0.1929, allocations: 4 kB / 0.4899 GB, free: 8.93 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.037e-06/0.1929, allocations: 0 / 0.4899 GB, free: 8.93 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.054e-06/0.1929, allocations: 0 / 0.4899 GB, free: 8.93 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.332e-06/0.193, allocations: 4 kB / 0.4899 GB, free: 8.926 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001913/0.1932, allocations: 205.8 kB / 0.4901 GB, free: 8.699 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.572e-05/0.1932, allocations: 108.8 kB / 0.4902 GB, free: 8.574 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.576e-05/0.1933, allocations: 0 / 0.4902 GB, free: 8.574 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000147/0.1934, allocations: 4 kB / 0.4902 GB, free: 8.57 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.396e-05/0.1935, allocations: 11.98 kB / 0.4902 GB, free: 8.559 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.102e-05/0.1935, allocations: 4 kB / 0.4902 GB, free: 8.555 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001246/0.1936, allocations: 152.5 kB / 0.4904 GB, free: 8.41 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.81e-07/0.1936, allocations: 4 kB / 0.4904 GB, free: 8.406 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0005204/0.1942, allocations: 92 kB / 0.4905 GB, free: 8.316 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (9): * Single equations (assignments): 8 * 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.0003001/0.1945, allocations: 167 kB / 0.4906 GB, free: 8.145 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0003028/0.1948, allocations: 177.3 kB / 0.4908 GB, free: 7.973 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.855e-06/0.1948, allocations: 4 kB / 0.4908 GB, free: 7.969 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 3.809e-05/0.1948, allocations: 15.94 kB / 0.4908 GB, free: 7.953 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004675/0.1953, allocations: 55.53 kB / 0.4909 GB, free: 7.902 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001005/0.1963, allocations: 0.5635 MB / 0.4914 GB, free: 7.297 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002987/0.1966, allocations: 0.7323 MB / 0.4921 GB, free: 6.539 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.536e-05/0.1967, allocations: 27.44 kB / 0.4921 GB, free: 6.512 MB / 382.1 MB Notification: Performance of SimCode: time 3.2e-07/0.1967, allocations: 0 / 0.4921 GB, free: 6.512 MB / 382.1 MB Notification: Performance of Templates: time 0.006133/0.2028, allocations: 3.343 MB / 0.4954 GB, free: 3.18 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient.sim & ./ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Media/TestAllProperties/LinearWater_pT_Ambient/LinearWater_pT_Ambient.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches