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.0009389/0.0009389, allocations: 93.22 kB / 17.35 MB, free: 6.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00125/0.00125, allocations: 203.6 kB / 18.28 MB, free: 5.477 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.46/1.46, allocations: 227.7 MB / 246.8 MB, free: 11.5 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2312/0.2312, allocations: 46.19 MB / 345.2 MB, free: 11.48 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004267/0.0004269, allocations: 4 kB / 419.5 MB, free: 19.75 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1659/0.1663, allocations: 63.56 MB / 483.1 MB, free: 4.164 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.LinearColdWater): time 0.005678/0.172, allocations: 4.275 MB / 487.4 MB, free: 15.86 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.004846/0.1769, allocations: 4.003 MB / 491.4 MB, free: 11.84 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002141/0.1772, allocations: 4 kB / 491.4 MB, free: 11.84 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003215/0.1775, allocations: 39.78 kB / 491.4 MB, free: 11.8 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002175/0.1797, allocations: 0.653 MB / 492.1 MB, free: 11.14 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004257/0.1801, allocations: 135 kB / 492.2 MB, free: 11.02 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007624/0.1809, allocations: 442 kB / 492.6 MB, free: 10.58 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.843e-05/0.181, allocations: 17.67 kB / 492.6 MB, free: 10.57 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002978/0.1813, allocations: 143.4 kB / 492.8 MB, free: 10.43 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002881/0.1816, allocations: 151.5 kB / 492.9 MB, free: 10.28 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.622e-05/0.1816, allocations: 4 kB / 492.9 MB, free: 10.27 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001032/0.1827, allocations: 443.3 kB / 493.4 MB, free: 9.84 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 8.886e-05/0.1828, allocations: 51.75 kB / 493.4 MB, free: 9.789 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001402/0.1829, allocations: 125.2 kB / 493.5 MB, free: 9.66 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007065/0.1836, allocations: 463.1 kB / 494 MB, free: 9.207 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.759e-06/0.1836, allocations: 0 / 494 MB, free: 9.207 MB / 366.1 MB Notification: Performance of FrontEnd: time 3.697e-06/0.1836, allocations: 4 kB / 494 MB, free: 9.203 MB / 366.1 MB Notification: Performance of Transformations before backend: time 5.7e-06/0.1837, allocations: 3.938 kB / 494 MB, free: 9.199 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.00109/0.1848, allocations: 0.5578 MB / 494.6 MB, free: 8.59 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.805e-05/0.1848, allocations: 12.88 kB / 494.6 MB, free: 8.578 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001383/0.185, allocations: 24.75 kB / 494.6 MB, free: 8.555 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002466/0.1852, allocations: 224 kB / 494.8 MB, free: 8.297 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001314/0.1854, allocations: 123.9 kB / 494.9 MB, free: 8.152 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.851e-05/0.1854, allocations: 20.38 kB / 495 MB, free: 8.133 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005068/0.1859, allocations: 331.6 kB / 495.3 MB, free: 7.785 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.108e-05/0.1859, allocations: 0 / 495.3 MB, free: 7.785 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.387e-05/0.186, allocations: 15.98 kB / 495.3 MB, free: 7.77 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.316e-05/0.186, allocations: 8 kB / 495.3 MB, free: 7.762 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007897/0.1868, allocations: 0.739 MB / 496 MB, free: 7.023 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.001402/0.1882, allocations: 1.304 MB / 497.3 MB, free: 5.598 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003352/0.1885, allocations: 163.7 kB / 497.5 MB, free: 5.43 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000125/0.1887, allocations: 85.42 kB / 497.6 MB, free: 5.344 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002328/0.191, allocations: 2.802 MB / 0.4887 GB, free: 2.012 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.498e-05/0.1911, allocations: 38.56 kB / 0.4887 GB, free: 1.965 MB / 366.1 MB Notification: Performance of pre-optimization done (n=11): time 1.462e-06/0.1911, allocations: 0 / 0.4887 GB, free: 1.965 MB / 366.1 MB Notification: Performance of matching and sorting (n=11): time 0.0002875/0.1914, allocations: 117.3 kB / 0.4888 GB, free: 1.844 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.231e-05/0.1914, allocations: 59.34 kB / 0.4889 GB, free: 1.773 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002139/0.1916, allocations: 221.1 kB / 0.4891 GB, free: 1.551 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.667e-05/0.1917, allocations: 29.7 kB / 0.4891 GB, free: 1.516 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001371/0.1918, allocations: 214.6 kB / 0.4893 GB, free: 1.301 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.501e-05/0.1919, allocations: 47.39 kB / 0.4894 GB, free: 1.254 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.174e-05/0.1919, allocations: 41.7 kB / 0.4894 GB, free: 1.207 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001139/0.1921, allocations: 326.8 kB / 0.4897 GB, free: 0.8789 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.779e-05/0.1921, allocations: 48.84 kB / 0.4898 GB, free: 0.832 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002504/0.1924, allocations: 339.2 kB / 0.4901 GB, free: 364 kB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004096/0.1928, allocations: 444.6 kB / 0.4905 GB, free: 15.77 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.903e-06/0.1928, allocations: 7.984 kB / 0.4905 GB, free: 15.77 MB / 382.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0005193/0.1933, allocations: 377.7 kB / 0.4909 GB, free: 15.39 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.019e-05/0.1934, allocations: 12 kB / 0.4909 GB, free: 15.38 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.414e-05/0.1934, allocations: 12.12 kB / 0.4909 GB, free: 15.37 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.734e-05/0.1934, allocations: 23.88 kB / 0.4909 GB, free: 15.34 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002359/0.1937, allocations: 99.77 kB / 0.491 GB, free: 15.25 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.836e-05/0.1937, allocations: 19.94 kB / 0.491 GB, free: 15.23 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000247/0.194, allocations: 59.42 kB / 0.4911 GB, free: 15.17 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.383e-05/0.194, allocations: 31.98 kB / 0.4911 GB, free: 15.14 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.0001245/0.1941, allocations: 145.6 kB / 0.4913 GB, free: 14.98 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.347e-05/0.1942, allocations: 19.81 kB / 0.4913 GB, free: 14.96 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002774/0.1945, allocations: 144.5 kB / 0.4914 GB, free: 14.82 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.164e-05/0.1945, allocations: 3.938 kB / 0.4914 GB, free: 14.81 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.101e-06/0.1945, allocations: 7.984 kB / 0.4914 GB, free: 14.8 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.646e-06/0.1945, allocations: 0 / 0.4914 GB, free: 14.8 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004565/0.195, allocations: 404.8 kB / 0.4918 GB, free: 14.34 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.124e-06/0.195, allocations: 0 / 0.4918 GB, free: 14.34 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.638e-05/0.195, allocations: 12 kB / 0.4918 GB, free: 14.33 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.324e-06/0.195, allocations: 0 / 0.4918 GB, free: 14.33 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.193e-05/0.1951, allocations: 12.08 kB / 0.4918 GB, free: 14.32 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.717e-06/0.1951, allocations: 12.09 kB / 0.4918 GB, free: 14.31 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.22e-06/0.1951, allocations: 7.938 kB / 0.4918 GB, free: 14.3 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001943/0.1953, allocations: 205.7 kB / 0.492 GB, free: 14.07 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.945e-05/0.1954, allocations: 108.8 kB / 0.4921 GB, free: 13.95 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.004e-05/0.1954, allocations: 0 / 0.4921 GB, free: 13.95 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001419/0.1956, allocations: 8 kB / 0.4922 GB, free: 13.94 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.346e-05/0.1956, allocations: 7.984 kB / 0.4922 GB, free: 13.93 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.202e-05/0.1956, allocations: 8 kB / 0.4922 GB, free: 13.93 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001311/0.1958, allocations: 152.5 kB / 0.4923 GB, free: 13.78 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1958, allocations: 0 / 0.4923 GB, free: 13.78 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0005071/0.1963, allocations: 95.94 kB / 0.4924 GB, free: 13.68 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.000303/0.1966, allocations: 155.1 kB / 0.4926 GB, free: 13.52 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002659/0.1969, allocations: 170.3 kB / 0.4927 GB, free: 13.36 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.815e-06/0.1969, allocations: 4.062 kB / 0.4927 GB, free: 13.35 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 3.505e-05/0.1969, allocations: 19.94 kB / 0.4927 GB, free: 13.33 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004664/0.1974, allocations: 48.33 kB / 0.4928 GB, free: 13.29 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009325/0.1983, allocations: 0.6498 MB / 0.4934 GB, free: 12.6 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002824/0.1986, allocations: 0.7287 MB / 0.4941 GB, free: 11.84 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002229/0.1989, allocations: 51.36 kB / 0.4942 GB, free: 11.79 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.533e-05/0.1989, allocations: 27.42 kB / 0.4942 GB, free: 11.76 MB / 382.1 MB Notification: Performance of SimCode: time 2.4e-07/0.1989, allocations: 7.938 kB / 0.4942 GB, free: 11.75 MB / 382.1 MB Notification: Performance of Templates: time 0.006734/0.2057, allocations: 2.993 MB / 0.4971 GB, free: 8.793 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestAllProperties/LinearColdWater/LinearColdWater.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.LinearColdWater.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches