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.001653/0.001653, allocations: 113.2 kB / 17.04 MB, free: 5.812 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.001822/0.001822, allocations: 195 kB / 17.98 MB, free: 5.027 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.67/1.67, allocations: 205.1 MB / 223.8 MB, free: 12.25 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.2057/0.2057, allocations: 43.51 MB / 314.7 MB, free: 488 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.001691/0.001691, allocations: 73.92 kB / 384.2 MB, free: 56.36 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09647/0.09818, allocations: 57.79 MB / 442 MB, free: 6.156 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient): time 0.02768/0.1259, allocations: 26.81 MB / 468.8 MB, free: 11.24 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002993/0.1289, allocations: 2.952 MB / 471.7 MB, free: 8.277 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.726e-05/0.129, allocations: 4 kB / 471.7 MB, free: 8.273 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002639/0.1293, allocations: 59.58 kB / 471.8 MB, free: 8.215 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001555/0.1309, allocations: 0.7149 MB / 472.5 MB, free: 7.496 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003301/0.1312, allocations: 142.7 kB / 472.7 MB, free: 7.359 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000473/0.1317, allocations: 370.1 kB / 473 MB, free: 6.996 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.611e-05/0.1318, allocations: 13.67 kB / 473 MB, free: 6.984 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.03891/0.1707, allocations: 15.47 MB / 488.5 MB, free: 7.395 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004587/0.1712, allocations: 151.4 kB / 488.6 MB, free: 7.246 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 3.733e-05/0.1713, allocations: 8 kB / 488.7 MB, free: 7.238 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008453/0.1797, allocations: 3.44 MB / 492.1 MB, free: 3.762 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 9.657e-05/0.1798, allocations: 43.81 kB / 492.1 MB, free: 3.719 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001462/0.18, allocations: 107.5 kB / 492.2 MB, free: 3.613 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00081/0.1808, allocations: 466.9 kB / 492.7 MB, free: 3.156 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.1808, allocations: 0 / 492.7 MB, free: 3.156 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.352e-06/0.1808, allocations: 0 / 492.7 MB, free: 3.156 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.112e-05/0.1809, allocations: 4 kB / 492.7 MB, free: 3.152 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.001082/0.182, allocations: 0.598 MB / 493.3 MB, free: 2.508 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.13e-05/0.182, allocations: 15.89 kB / 493.3 MB, free: 2.492 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001569/0.1822, allocations: 28.75 kB / 493.3 MB, free: 2.465 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003266/0.1825, allocations: 232 kB / 493.6 MB, free: 2.199 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001202/0.1826, allocations: 123.9 kB / 493.7 MB, free: 2.055 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.86e-05/0.1827, allocations: 24.12 kB / 493.7 MB, free: 2.031 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004708/0.1831, allocations: 327.6 kB / 494 MB, free: 1.68 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.082e-05/0.1832, allocations: 3.938 kB / 494 MB, free: 1.676 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.097e-05/0.1832, allocations: 12 kB / 494 MB, free: 1.664 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.169e-05/0.1832, allocations: 8 kB / 494.1 MB, free: 1.656 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007682/0.184, allocations: 0.7391 MB / 494.8 MB, free: 0.918 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.001262/0.1853, allocations: 1.296 MB / 496.1 MB, free: 15.5 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003264/0.1856, allocations: 163.7 kB / 496.2 MB, free: 15.33 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001302/0.1858, allocations: 93.45 kB / 496.3 MB, free: 15.24 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002249/0.188, allocations: 2.802 MB / 499.1 MB, free: 11.91 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.074e-05/0.1881, allocations: 34.56 kB / 499.2 MB, free: 11.86 MB / 382.1 MB Notification: Performance of pre-optimization done (n=11): time 1.272e-06/0.1881, allocations: 0 / 499.2 MB, free: 11.86 MB / 382.1 MB Notification: Performance of matching and sorting (n=11): time 0.0002763/0.1883, allocations: 121.3 kB / 499.3 MB, free: 11.74 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.593e-05/0.1884, allocations: 63.34 kB / 499.4 MB, free: 11.66 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000171/0.1886, allocations: 218.7 kB / 499.6 MB, free: 11.44 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.146e-05/0.1886, allocations: 33.7 kB / 499.6 MB, free: 11.4 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001141/0.1887, allocations: 206.7 kB / 499.8 MB, free: 11.19 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.06e-05/0.1888, allocations: 47.44 kB / 499.9 MB, free: 11.14 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.26e-05/0.1888, allocations: 85.94 kB / 499.9 MB, free: 11.05 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.00011/0.189, allocations: 330.8 kB / 0.4885 GB, free: 10.72 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.71e-05/0.189, allocations: 48.78 kB / 0.4886 GB, free: 10.67 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002413/0.1893, allocations: 347.2 kB / 0.4889 GB, free: 10.18 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003875/0.1897, allocations: 440.6 kB / 0.4893 GB, free: 9.605 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.45e-06/0.1897, allocations: 4 kB / 0.4893 GB, free: 9.602 MB / 382.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0005149/0.1902, allocations: 381.3 kB / 0.4897 GB, free: 9.223 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.006e-05/0.1902, allocations: 11.98 kB / 0.4897 GB, free: 9.211 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.74e-05/0.1903, allocations: 12 kB / 0.4897 GB, free: 9.199 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.217e-05/0.1903, allocations: 15.94 kB / 0.4897 GB, free: 9.184 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002398/0.1905, allocations: 99.78 kB / 0.4898 GB, free: 9.086 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.187e-05/0.1906, allocations: 19.92 kB / 0.4899 GB, free: 9.066 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002408/0.1908, allocations: 59.91 kB / 0.4899 GB, free: 9.008 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.549e-05/0.1909, allocations: 36 kB / 0.4899 GB, free: 8.973 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.0001193/0.191, allocations: 145.6 kB / 0.4901 GB, free: 8.82 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.82e-05/0.191, allocations: 19.81 kB / 0.4901 GB, free: 8.801 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002859/0.1913, allocations: 152.8 kB / 0.4902 GB, free: 8.641 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.165e-05/0.1914, allocations: 3.984 kB / 0.4902 GB, free: 8.637 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.977e-06/0.1914, allocations: 0 / 0.4902 GB, free: 8.637 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.849e-06/0.1914, allocations: 3.984 kB / 0.4903 GB, free: 8.633 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004304/0.1918, allocations: 408.8 kB / 0.4906 GB, free: 8.168 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.994e-06/0.1918, allocations: 96 / 0.4906 GB, free: 8.168 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.912e-05/0.1919, allocations: 20 kB / 0.4907 GB, free: 8.148 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.118e-06/0.1919, allocations: 4 kB / 0.4907 GB, free: 8.145 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.456e-06/0.1919, allocations: 0 / 0.4907 GB, free: 8.145 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.654e-06/0.1919, allocations: 0 / 0.4907 GB, free: 8.145 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.638e-06/0.1919, allocations: 7.984 kB / 0.4907 GB, free: 8.137 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001729/0.1921, allocations: 201.8 kB / 0.4909 GB, free: 7.914 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.313e-05/0.1922, allocations: 104.8 kB / 0.491 GB, free: 7.793 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.37e-05/0.1922, allocations: 0 / 0.491 GB, free: 7.793 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001471/0.1924, allocations: 11.94 kB / 0.491 GB, free: 7.781 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.045e-05/0.1924, allocations: 11.92 kB / 0.491 GB, free: 7.77 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.02e-05/0.1924, allocations: 4 kB / 0.491 GB, free: 7.766 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001112/0.1926, allocations: 156.5 kB / 0.4911 GB, free: 7.617 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.1926, allocations: 0 / 0.4911 GB, free: 7.617 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0004663/0.193, allocations: 92 kB / 0.4912 GB, free: 7.527 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.0002397/0.1933, allocations: 163 kB / 0.4914 GB, free: 7.359 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002792/0.1936, allocations: 181.8 kB / 0.4916 GB, free: 7.184 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/0.1936, allocations: 0 / 0.4916 GB, free: 7.184 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 4.002e-05/0.1936, allocations: 23.94 kB / 0.4916 GB, free: 7.16 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004228/0.1941, allocations: 45.41 kB / 0.4916 GB, free: 7.117 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008964/0.195, allocations: 0.5346 MB / 0.4921 GB, free: 6.547 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002945/0.1953, allocations: 0.7284 MB / 0.4929 GB, free: 5.793 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001618/0.1954, allocations: 50.92 kB / 0.4929 GB, free: 5.746 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.254e-05/0.1955, allocations: 27.44 kB / 0.4929 GB, free: 5.719 MB / 382.1 MB Notification: Performance of SimCode: time 2.31e-07/0.1955, allocations: 0 / 0.4929 GB, free: 5.719 MB / 382.1 MB Notification: Performance of Templates: time 0.006635/0.2021, allocations: 3.104 MB / 0.496 GB, free: 2.633 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 -s gbode -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