Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.LinearColdWater.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.LinearColdWater,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.LinearColdWater") translateModel(ModelicaTest.Media.TestAllProperties.LinearColdWater,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.LinearColdWater") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001827/0.001826, allocations: 109.5 kB / 17.86 MB, free: 5.504 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001896/0.001896, allocations: 209.7 kB / 18.79 MB, free: 4.578 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.853/1.853, allocations: 227.4 MB / 246.9 MB, free: 8.859 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3429/0.3429, allocations: 46.1 MB / 344.3 MB, free: 11.53 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001452/0.001452, allocations: 76.69 kB / 417.5 MB, free: 20.14 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1623/0.1638, allocations: 62.45 MB / 479.9 MB, free: 5.672 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.LinearColdWater): time 0.007068/0.1709, allocations: 4.649 MB / 484.6 MB, free: 0.9883 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.005112/0.1761, allocations: 4.077 MB / 488.7 MB, free: 12.9 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001999/0.1763, allocations: 4 kB / 488.7 MB, free: 12.89 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003797/0.1768, allocations: 43.73 kB / 488.7 MB, free: 12.85 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002333/0.1791, allocations: 0.653 MB / 489.4 MB, free: 12.2 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004092/0.1795, allocations: 131.1 kB / 489.5 MB, free: 12.07 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006355/0.1802, allocations: 446 kB / 489.9 MB, free: 11.63 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.285e-05/0.1803, allocations: 21.66 kB / 489.9 MB, free: 11.61 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001943/0.1805, allocations: 131.5 kB / 490.1 MB, free: 11.48 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002679/0.1807, allocations: 159.4 kB / 490.2 MB, free: 11.33 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 3.542e-05/0.1808, allocations: 8 kB / 490.2 MB, free: 11.32 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001219/0.182, allocations: 443.3 kB / 490.7 MB, free: 10.89 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 9.337e-05/0.1821, allocations: 35.89 kB / 490.7 MB, free: 10.85 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001384/0.1823, allocations: 107.5 kB / 490.8 MB, free: 10.75 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005727/0.1829, allocations: 319.6 kB / 491.1 MB, free: 10.43 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.971e-06/0.1829, allocations: 0 / 491.1 MB, free: 10.43 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.372e-06/0.1829, allocations: 0 / 491.1 MB, free: 10.43 MB / 366.1 MB Notification: Performance of Transformations before backend: time 5.28e-06/0.1829, allocations: 0 / 491.1 MB, free: 10.43 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.001314/0.1842, allocations: 0.6048 MB / 491.7 MB, free: 9.777 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.05e-05/0.1843, allocations: 8.875 kB / 491.7 MB, free: 9.77 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001839/0.1845, allocations: 28.73 kB / 491.8 MB, free: 9.742 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000271/0.1847, allocations: 224 kB / 492 MB, free: 9.484 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001535/0.1849, allocations: 127.9 kB / 492.1 MB, free: 9.336 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.421e-05/0.1849, allocations: 24.36 kB / 492.1 MB, free: 9.312 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005667/0.1855, allocations: 331.6 kB / 492.5 MB, free: 8.965 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.259e-05/0.1855, allocations: 0 / 492.5 MB, free: 8.965 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.261e-05/0.1856, allocations: 12 kB / 492.5 MB, free: 8.953 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.36e-05/0.1856, allocations: 8 kB / 492.5 MB, free: 8.945 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000862/0.1865, allocations: 0.7391 MB / 493.2 MB, free: 8.207 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.001696/0.1882, allocations: 1.304 MB / 494.5 MB, free: 6.785 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003711/0.1886, allocations: 158.3 kB / 494.7 MB, free: 6.625 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001543/0.1887, allocations: 93.41 kB / 494.8 MB, free: 6.531 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002943/0.1917, allocations: 2.813 MB / 497.6 MB, free: 3.188 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.187e-05/0.1918, allocations: 30.56 kB / 497.6 MB, free: 3.148 MB / 366.1 MB Notification: Performance of pre-optimization done (n=11): time 2.144e-06/0.1918, allocations: 0 / 497.6 MB, free: 3.148 MB / 366.1 MB Notification: Performance of matching and sorting (n=11): time 0.0003925/0.1922, allocations: 121.3 kB / 497.7 MB, free: 3.023 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.983e-05/0.1922, allocations: 51.41 kB / 497.8 MB, free: 2.961 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002482/0.1925, allocations: 221.2 kB / 498 MB, free: 2.738 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.34e-05/0.1925, allocations: 33.7 kB / 498 MB, free: 2.699 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001703/0.1927, allocations: 218.6 kB / 498.2 MB, free: 2.48 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.412e-05/0.1928, allocations: 43.39 kB / 498.3 MB, free: 2.438 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001403/0.1929, allocations: 89.92 kB / 498.4 MB, free: 2.344 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001473/0.1931, allocations: 330.8 kB / 498.7 MB, free: 2.012 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001258/0.1932, allocations: 44.84 kB / 498.7 MB, free: 1.969 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003733/0.1936, allocations: 351.1 kB / 499.1 MB, free: 1.48 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005713/0.1942, allocations: 448.6 kB / 499.5 MB, free: 0.8945 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.805e-06/0.1942, allocations: 8 kB / 499.5 MB, free: 0.8867 MB / 366.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0006544/0.1948, allocations: 377.8 kB / 499.9 MB, free: 0.5117 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.412e-05/0.1949, allocations: 12.03 kB / 499.9 MB, free: 0.5 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.686e-05/0.1949, allocations: 12 kB / 499.9 MB, free: 500 kB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.896e-05/0.1949, allocations: 15.94 kB / 499.9 MB, free: 484 kB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002712/0.1952, allocations: 99.83 kB / 0.4883 GB, free: 384 kB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.051e-05/0.1952, allocations: 19.88 kB / 0.4883 GB, free: 364 kB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002941/0.1955, allocations: 55.44 kB / 0.4884 GB, free: 308 kB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.325e-05/0.1956, allocations: 31.98 kB / 0.4884 GB, free: 276 kB / 366.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.0001486/0.1958, allocations: 149.6 kB / 0.4886 GB, free: 116 kB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.661e-05/0.1958, allocations: 19.81 kB / 0.4886 GB, free: 96 kB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003363/0.1962, allocations: 136.6 kB / 0.4887 GB, free: 15.95 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.318e-05/0.1962, allocations: 15.92 kB / 0.4887 GB, free: 15.93 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.602e-06/0.1962, allocations: 0 / 0.4887 GB, free: 15.93 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.236e-06/0.1962, allocations: 0 / 0.4887 GB, free: 15.93 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005677/0.1968, allocations: 408.8 kB / 0.4891 GB, free: 15.47 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.585e-06/0.1968, allocations: 0 / 0.4891 GB, free: 15.47 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.638e-05/0.1969, allocations: 16 kB / 0.4891 GB, free: 15.46 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.838e-06/0.1969, allocations: 0 / 0.4891 GB, free: 15.46 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.119e-05/0.1969, allocations: 8.078 kB / 0.4891 GB, free: 15.45 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.23e-06/0.1969, allocations: 4 kB / 0.4891 GB, free: 15.45 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.295e-06/0.1969, allocations: 0 / 0.4891 GB, free: 15.45 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002477/0.1972, allocations: 197.8 kB / 0.4893 GB, free: 15.23 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000106/0.1973, allocations: 104.8 kB / 0.4894 GB, free: 15.11 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.767e-05/0.1974, allocations: 8.062 kB / 0.4894 GB, free: 15.1 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001626/0.1975, allocations: 8 kB / 0.4894 GB, free: 15.09 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.184e-05/0.1976, allocations: 11.92 kB / 0.4894 GB, free: 15.08 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.086e-05/0.1976, allocations: 4 kB / 0.4895 GB, free: 15.07 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001602/0.1977, allocations: 156.5 kB / 0.4896 GB, free: 14.92 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.3e-07/0.1977, allocations: 0 / 0.4896 GB, free: 14.92 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0005909/0.1983, allocations: 95.92 kB / 0.4897 GB, free: 14.83 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.0004147/0.1988, allocations: 163.3 kB / 0.4898 GB, free: 14.66 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0003505/0.1991, allocations: 170.1 kB / 0.49 GB, free: 14.49 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.337e-06/0.1991, allocations: 0 / 0.49 GB, free: 14.49 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 4.382e-05/0.1992, allocations: 23.92 kB / 0.49 GB, free: 14.47 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004947/0.1997, allocations: 44.78 kB / 0.4901 GB, free: 14.43 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001164/0.2009, allocations: 0.6322 MB / 0.4907 GB, free: 13.75 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003978/0.2013, allocations: 0.7287 MB / 0.4914 GB, free: 12.99 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.217e-05/0.2014, allocations: 27.44 kB / 0.4914 GB, free: 12.96 MB / 382.1 MB Notification: Performance of SimCode: time 3.51e-07/0.2014, allocations: 4 kB / 0.4914 GB, free: 12.96 MB / 382.1 MB Notification: Performance of Templates: time 0.00738/0.2088, allocations: 3.306 MB / 0.4947 GB, free: 9.668 MB / 382.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.LinearColdWater.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.LinearColdWater.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.LinearColdWater.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.LinearColdWater.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.LinearColdWater.sim & ./ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.LinearColdWater -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.LinearColdWater.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.LinearColdWater_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestAllProperties/LinearColdWater/LinearColdWater.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.LinearColdWater.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches