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.000876/0.0008761, allocations: 95.94 kB / 17.35 MB, free: 6.371 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0012/0.0012, allocations: 206.2 kB / 18.29 MB, free: 5.496 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.585/1.585, allocations: 227.8 MB / 246.9 MB, free: 11.36 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2354/0.2354, allocations: 46.21 MB / 345.3 MB, free: 11.32 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002704/0.0002705, allocations: 4 kB / 419.6 MB, free: 19.67 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1404/0.1407, allocations: 63.59 MB / 483.2 MB, free: 4.07 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.LinearColdWater): time 0.006093/0.1468, allocations: 4.271 MB / 487.5 MB, free: 15.77 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.005425/0.1523, allocations: 4.007 MB / 491.5 MB, free: 11.75 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001583/0.1525, allocations: 4 kB / 491.5 MB, free: 11.75 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003219/0.1528, allocations: 47.78 kB / 491.5 MB, free: 11.7 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002096/0.1549, allocations: 0.653 MB / 492.2 MB, free: 11.04 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003935/0.1553, allocations: 127.2 kB / 492.3 MB, free: 10.92 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006831/0.156, allocations: 438 kB / 492.7 MB, free: 10.49 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.142e-05/0.1561, allocations: 21.66 kB / 492.7 MB, free: 10.47 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002275/0.1563, allocations: 135.4 kB / 492.9 MB, free: 10.34 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002673/0.1566, allocations: 155.5 kB / 493 MB, free: 10.19 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.658e-05/0.1566, allocations: 4 kB / 493 MB, free: 10.18 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001029/0.1577, allocations: 443.3 kB / 493.5 MB, free: 9.75 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001106/0.1578, allocations: 47.75 kB / 493.5 MB, free: 9.703 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001643/0.158, allocations: 125.2 kB / 493.6 MB, free: 9.574 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007983/0.1588, allocations: 459.1 kB / 494.1 MB, free: 9.125 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.012e-05/0.1588, allocations: 12 kB / 494.1 MB, free: 9.113 MB / 366.1 MB Notification: Performance of FrontEnd: time 5.159e-06/0.1588, allocations: 0 / 494.1 MB, free: 9.113 MB / 366.1 MB Notification: Performance of Transformations before backend: time 6.482e-06/0.1588, allocations: 3.938 kB / 494.1 MB, free: 9.109 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.001241/0.1601, allocations: 0.5501 MB / 494.6 MB, free: 8.508 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.435e-05/0.1601, allocations: 16.88 kB / 494.7 MB, free: 8.492 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001453/0.1603, allocations: 24.75 kB / 494.7 MB, free: 8.469 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003093/0.1606, allocations: 228 kB / 494.9 MB, free: 8.207 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001637/0.1608, allocations: 123.9 kB / 495 MB, free: 8.062 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.159e-05/0.1608, allocations: 20.31 kB / 495 MB, free: 8.043 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005869/0.1614, allocations: 331.6 kB / 495.4 MB, free: 7.695 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.608e-05/0.1615, allocations: 3.984 kB / 495.4 MB, free: 7.691 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.361e-05/0.1615, allocations: 12 kB / 495.4 MB, free: 7.68 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.261e-05/0.1615, allocations: 8 kB / 495.4 MB, free: 7.672 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009266/0.1625, allocations: 0.739 MB / 496.1 MB, free: 6.934 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.001726/0.1642, allocations: 1.3 MB / 497.4 MB, free: 5.512 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004182/0.1646, allocations: 167.7 kB / 497.6 MB, free: 5.34 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001459/0.1648, allocations: 85.42 kB / 497.7 MB, free: 5.254 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003302/0.1681, allocations: 2.806 MB / 0.4888 GB, free: 1.918 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.159e-05/0.1681, allocations: 38.56 kB / 0.4888 GB, free: 1.871 MB / 366.1 MB Notification: Performance of pre-optimization done (n=11): time 1.663e-06/0.1682, allocations: 0 / 0.4888 GB, free: 1.871 MB / 366.1 MB Notification: Performance of matching and sorting (n=11): time 0.0003041/0.1685, allocations: 121.3 kB / 0.4889 GB, free: 1.746 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.594e-05/0.1685, allocations: 55.34 kB / 0.489 GB, free: 1.68 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002408/0.1688, allocations: 223.8 kB / 0.4892 GB, free: 1.453 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.703e-05/0.1688, allocations: 29.7 kB / 0.4892 GB, free: 1.418 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001721/0.169, allocations: 210.6 kB / 0.4894 GB, free: 1.207 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.777e-05/0.169, allocations: 47.39 kB / 0.4894 GB, free: 1.16 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.479e-05/0.1691, allocations: 41.69 kB / 0.4895 GB, free: 1.113 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001569/0.1693, allocations: 334.8 kB / 0.4898 GB, free: 0.7773 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.714e-05/0.1694, allocations: 48.84 kB / 0.4899 GB, free: 0.7305 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003382/0.1697, allocations: 343.2 kB / 0.4902 GB, free: 256 kB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005289/0.1702, allocations: 440.6 kB / 0.4906 GB, free: 15.67 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.662e-06/0.1703, allocations: 4 kB / 0.4906 GB, free: 15.67 MB / 382.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.000593/0.1709, allocations: 381 kB / 0.491 GB, free: 15.29 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.77e-05/0.1709, allocations: 12 kB / 0.491 GB, free: 15.28 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.778e-05/0.1709, allocations: 8.844 kB / 0.491 GB, free: 15.27 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.25e-05/0.171, allocations: 19.94 kB / 0.491 GB, free: 15.25 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002571/0.1712, allocations: 103.7 kB / 0.4911 GB, free: 15.15 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.279e-05/0.1713, allocations: 23.94 kB / 0.4911 GB, free: 15.12 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00025/0.1715, allocations: 51.44 kB / 0.4912 GB, free: 15.07 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.815e-05/0.1716, allocations: 31.98 kB / 0.4912 GB, free: 15.04 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.0001547/0.1717, allocations: 149.6 kB / 0.4914 GB, free: 14.89 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.852e-05/0.1718, allocations: 19.81 kB / 0.4914 GB, free: 14.87 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002944/0.1721, allocations: 140.5 kB / 0.4915 GB, free: 14.72 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.741e-05/0.1721, allocations: 7.922 kB / 0.4915 GB, free: 14.71 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.484e-06/0.1721, allocations: 0 / 0.4915 GB, free: 14.71 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.588e-06/0.1721, allocations: 0 / 0.4915 GB, free: 14.71 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000574/0.1727, allocations: 408.8 kB / 0.4919 GB, free: 14.25 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.325e-06/0.1727, allocations: 0 / 0.4919 GB, free: 14.25 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.518e-05/0.1728, allocations: 12 kB / 0.4919 GB, free: 14.24 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.483e-06/0.1728, allocations: 4.062 kB / 0.4919 GB, free: 14.23 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.726e-05/0.1728, allocations: 11.97 kB / 0.4919 GB, free: 14.22 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.194e-06/0.1728, allocations: 0 / 0.4919 GB, free: 14.22 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.623e-06/0.1728, allocations: 7.938 kB / 0.4919 GB, free: 14.21 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002468/0.1731, allocations: 213.8 kB / 0.4921 GB, free: 13.98 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001151/0.1732, allocations: 104.8 kB / 0.4922 GB, free: 13.86 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.691e-05/0.1733, allocations: 8 kB / 0.4922 GB, free: 13.85 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001399/0.1734, allocations: 0 / 0.4922 GB, free: 13.85 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.734e-05/0.1734, allocations: 16.02 kB / 0.4923 GB, free: 13.84 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.03e-05/0.1735, allocations: 4 kB / 0.4923 GB, free: 13.83 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001643/0.1736, allocations: 156.5 kB / 0.4924 GB, free: 13.68 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1736, allocations: 0 / 0.4924 GB, free: 13.68 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0005733/0.1742, allocations: 95.94 kB / 0.4925 GB, free: 13.59 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.0004104/0.1746, allocations: 147.2 kB / 0.4926 GB, free: 13.43 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0003506/0.175, allocations: 177.3 kB / 0.4928 GB, free: 13.26 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.067e-06/0.175, allocations: 1 kB / 0.4928 GB, free: 13.26 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 4.606e-05/0.1751, allocations: 24 kB / 0.4928 GB, free: 13.23 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005059/0.1756, allocations: 48.33 kB / 0.4929 GB, free: 13.19 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001359/0.1769, allocations: 0.6458 MB / 0.4935 GB, free: 12.5 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004566/0.1774, allocations: 0.7248 MB / 0.4942 GB, free: 11.75 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002415/0.1777, allocations: 54.86 kB / 0.4943 GB, free: 11.7 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.348e-05/0.1777, allocations: 31.42 kB / 0.4943 GB, free: 11.66 MB / 382.1 MB Notification: Performance of SimCode: time 2.21e-07/0.1777, allocations: 0 / 0.4943 GB, free: 11.66 MB / 382.1 MB Notification: Performance of Templates: time 0.007357/0.1851, allocations: 2.996 MB / 0.4972 GB, free: 8.699 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