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.0016/0.0016, allocations: 103.9 kB / 17.63 MB, free: 5.523 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001735/0.001735, allocations: 206.4 kB / 18.58 MB, free: 4.582 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.455/1.455, allocations: 227.4 MB / 246.8 MB, free: 10.63 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2236/0.2236, allocations: 46.1 MB / 344.1 MB, free: 11.62 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002306/0.002306, allocations: 79.83 kB / 417.6 MB, free: 19.77 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1564/0.1588, allocations: 62.44 MB / 480 MB, free: 5.309 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.LinearColdWater): time 0.006665/0.1655, allocations: 4.592 MB / 484.6 MB, free: 0.6836 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.004195/0.1697, allocations: 4.014 MB / 488.6 MB, free: 12.66 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.573e-05/0.1698, allocations: 0 / 488.6 MB, free: 12.66 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002899/0.1702, allocations: 51.61 kB / 488.7 MB, free: 12.61 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001799/0.172, allocations: 0.7266 MB / 489.4 MB, free: 11.88 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003599/0.1723, allocations: 143 kB / 489.5 MB, free: 11.74 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005356/0.1729, allocations: 370.1 kB / 489.9 MB, free: 11.38 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.013e-05/0.173, allocations: 17.66 kB / 489.9 MB, free: 11.36 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001897/0.1732, allocations: 143.5 kB / 490.1 MB, free: 11.22 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002343/0.1734, allocations: 143.5 kB / 490.2 MB, free: 11.08 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 3.037e-05/0.1734, allocations: 8 kB / 490.2 MB, free: 11.07 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009427/0.1744, allocations: 423.5 kB / 490.6 MB, free: 10.66 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 8.15e-05/0.1745, allocations: 51.75 kB / 490.7 MB, free: 10.61 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001299/0.1746, allocations: 103.5 kB / 490.8 MB, free: 10.5 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006932/0.1753, allocations: 471.1 kB / 491.2 MB, free: 10.04 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.671e-06/0.1753, allocations: 4 kB / 491.2 MB, free: 10.04 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.1753, allocations: 0 / 491.2 MB, free: 10.04 MB / 366.1 MB Notification: Performance of Transformations before backend: time 6.362e-06/0.1753, allocations: 0 / 491.2 MB, free: 10.04 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.001108/0.1765, allocations: 0.5954 MB / 491.8 MB, free: 9.395 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.67e-05/0.1765, allocations: 8.031 kB / 491.8 MB, free: 9.387 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001725/0.1767, allocations: 32.67 kB / 491.9 MB, free: 9.355 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000219/0.1769, allocations: 224 kB / 492.1 MB, free: 9.098 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001243/0.177, allocations: 127.9 kB / 492.2 MB, free: 8.949 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.791e-05/0.1771, allocations: 28.38 kB / 492.2 MB, free: 8.922 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004814/0.1776, allocations: 323.6 kB / 492.6 MB, free: 8.578 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.201e-05/0.1776, allocations: 3.938 kB / 492.6 MB, free: 8.574 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.268e-05/0.1776, allocations: 15.98 kB / 492.6 MB, free: 8.559 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.917e-05/0.1777, allocations: 4 kB / 492.6 MB, free: 8.555 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007728/0.1784, allocations: 0.7391 MB / 493.3 MB, free: 7.816 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.001491/0.1799, allocations: 1.3 MB / 494.6 MB, free: 6.398 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003474/0.1803, allocations: 159.8 kB / 494.8 MB, free: 6.234 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001283/0.1804, allocations: 93.41 kB / 494.9 MB, free: 6.141 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002597/0.183, allocations: 2.802 MB / 497.7 MB, free: 2.809 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.245e-05/0.1831, allocations: 34.56 kB / 497.7 MB, free: 2.766 MB / 366.1 MB Notification: Performance of pre-optimization done (n=11): time 3.537e-06/0.1831, allocations: 3.938 kB / 497.7 MB, free: 2.762 MB / 366.1 MB Notification: Performance of matching and sorting (n=11): time 0.0003064/0.1834, allocations: 121.2 kB / 497.8 MB, free: 2.637 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.464e-05/0.1835, allocations: 51.41 kB / 497.9 MB, free: 2.574 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001982/0.1837, allocations: 225.2 kB / 498.1 MB, free: 2.348 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.953e-05/0.1837, allocations: 25.7 kB / 498.1 MB, free: 2.316 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001332/0.1838, allocations: 218.6 kB / 498.3 MB, free: 2.098 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.576e-05/0.1839, allocations: 47.39 kB / 498.4 MB, free: 2.051 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.089e-05/0.184, allocations: 81.94 kB / 498.5 MB, free: 1.965 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001457/0.1841, allocations: 330.8 kB / 498.8 MB, free: 1.633 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.972e-05/0.1842, allocations: 48.84 kB / 498.8 MB, free: 1.586 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004021/0.1846, allocations: 347.2 kB / 499.2 MB, free: 1.102 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004887/0.1851, allocations: 440.6 kB / 499.6 MB, free: 0.5234 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.075e-05/0.1852, allocations: 8 kB / 499.6 MB, free: 0.5156 MB / 366.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0005879/0.1858, allocations: 389.5 kB / 500 MB, free: 132 kB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.653e-05/0.1858, allocations: 15.98 kB / 0.4883 GB, free: 116 kB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.327e-05/0.1858, allocations: 8 kB / 0.4883 GB, free: 108 kB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.54e-05/0.1859, allocations: 19.94 kB / 0.4883 GB, free: 88 kB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002681/0.1861, allocations: 91.89 kB / 0.4884 GB, free: 15.99 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.261e-05/0.1862, allocations: 23.88 kB / 0.4884 GB, free: 15.97 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002207/0.1864, allocations: 47.44 kB / 0.4885 GB, free: 15.93 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.435e-05/0.1864, allocations: 31.94 kB / 0.4885 GB, free: 15.89 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.0001519/0.1866, allocations: 161.9 kB / 0.4887 GB, free: 15.73 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.052e-05/0.1866, allocations: 19.81 kB / 0.4887 GB, free: 15.71 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002804/0.1869, allocations: 136.5 kB / 0.4888 GB, free: 15.57 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.216e-05/0.187, allocations: 7.938 kB / 0.4888 GB, free: 15.56 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.259e-06/0.187, allocations: 0 / 0.4888 GB, free: 15.56 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.882e-05/0.187, allocations: 3.984 kB / 0.4888 GB, free: 15.55 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004479/0.1874, allocations: 404.9 kB / 0.4892 GB, free: 15.09 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.803e-06/0.1875, allocations: 0 / 0.4892 GB, free: 15.09 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.514e-05/0.1875, allocations: 20.03 kB / 0.4892 GB, free: 15.07 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.415e-06/0.1875, allocations: 0 / 0.4892 GB, free: 15.07 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.07e-05/0.1876, allocations: 4 kB / 0.4892 GB, free: 15.07 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/0.1876, allocations: 0 / 0.4892 GB, free: 15.07 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.196e-06/0.1876, allocations: 3.984 kB / 0.4892 GB, free: 15.07 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002045/0.1878, allocations: 213.8 kB / 0.4894 GB, free: 14.83 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.419e-05/0.1879, allocations: 100.8 kB / 0.4895 GB, free: 14.71 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.414e-05/0.1879, allocations: 4 kB / 0.4895 GB, free: 14.71 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001384/0.188, allocations: 4 kB / 0.4895 GB, free: 14.71 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.481e-05/0.1881, allocations: 11.98 kB / 0.4895 GB, free: 14.7 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.668e-06/0.1881, allocations: 4 kB / 0.4895 GB, free: 14.69 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001382/0.1882, allocations: 156.5 kB / 0.4897 GB, free: 14.54 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1882, allocations: 0 / 0.4897 GB, free: 14.54 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0005037/0.1888, allocations: 87.94 kB / 0.4898 GB, free: 14.45 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.000376/0.1891, allocations: 171.1 kB / 0.4899 GB, free: 14.27 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0003336/0.1895, allocations: 177.4 kB / 0.4901 GB, free: 14.1 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.216e-06/0.1895, allocations: 0 / 0.4901 GB, free: 14.1 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 4.061e-05/0.1895, allocations: 24 kB / 0.4901 GB, free: 14.08 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004396/0.19, allocations: 50.77 kB / 0.4902 GB, free: 14.04 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009406/0.1909, allocations: 0.5346 MB / 0.4907 GB, free: 13.46 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002973/0.1913, allocations: 0.7285 MB / 0.4914 GB, free: 12.71 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002178/0.1915, allocations: 54.78 kB / 0.4915 GB, free: 12.66 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.864e-05/0.1915, allocations: 19.44 kB / 0.4915 GB, free: 12.64 MB / 382.1 MB Notification: Performance of SimCode: time 2.51e-07/0.1915, allocations: 4 kB / 0.4915 GB, free: 12.63 MB / 382.1 MB Notification: Performance of Templates: time 0.006743/0.1983, allocations: 3.094 MB / 0.4945 GB, free: 9.566 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