Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient.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.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_trunk_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_trunk_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001032/0.001032, allocations: 117.6 kB / 17.79 MB, free: 5.238 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001085/0.001085, allocations: 208.7 kB / 18.74 MB, free: 4.297 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.487/1.487, allocations: 227.4 MB / 246.9 MB, free: 10.43 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2336/0.2336, allocations: 46.1 MB / 344.3 MB, free: 11.5 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001433/0.001433, allocations: 75.88 kB / 481.3 MB, free: 4.031 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4309/0.4323, allocations: 62.44 MB / 0.531 GB, free: 13.82 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient): time 0.03448/0.4668, allocations: 26.92 MB / 0.5573 GB, free: 6.852 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.003371/0.4703, allocations: 2.959 MB / 0.5602 GB, free: 3.883 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000128/0.4704, allocations: 0 / 0.5602 GB, free: 3.883 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003348/0.4708, allocations: 47.67 kB / 0.5603 GB, free: 3.836 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002095/0.4729, allocations: 0.7297 MB / 0.561 GB, free: 3.105 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003934/0.4733, allocations: 142.7 kB / 0.5611 GB, free: 2.969 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005764/0.4739, allocations: 378.1 kB / 0.5615 GB, free: 2.598 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.572e-05/0.474, allocations: 9.688 kB / 0.5615 GB, free: 2.59 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.04072/0.5147, allocations: 15.49 MB / 0.5766 GB, free: 2.969 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005118/0.5153, allocations: 147.5 kB / 0.5767 GB, free: 2.824 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 3.469e-05/0.5153, allocations: 8 kB / 0.5768 GB, free: 2.816 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008618/0.524, allocations: 3.44 MB / 0.5801 GB, free: 15.34 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001095/0.5241, allocations: 51.75 kB / 0.5802 GB, free: 15.29 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001818/0.5243, allocations: 99.53 kB / 0.5803 GB, free: 15.19 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001157/0.5255, allocations: 470.8 kB / 0.5807 GB, free: 14.73 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.272e-06/0.5255, allocations: 4 kB / 0.5807 GB, free: 14.73 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.883e-06/0.5255, allocations: 0 / 0.5807 GB, free: 14.73 MB / 446.1 MB Notification: Performance of Transformations before backend: time 6.282e-06/0.5255, allocations: 0 / 0.5807 GB, free: 14.73 MB / 446.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.001222/0.5268, allocations: 0.6047 MB / 0.5813 GB, free: 14.07 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.392e-05/0.5268, allocations: 8.031 kB / 0.5813 GB, free: 14.07 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001702/0.527, allocations: 32.66 kB / 0.5813 GB, free: 14.04 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000373/0.5274, allocations: 228 kB / 0.5816 GB, free: 13.77 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001354/0.5275, allocations: 123.9 kB / 0.5817 GB, free: 13.63 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.655e-05/0.5276, allocations: 28.12 kB / 0.5817 GB, free: 13.6 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005088/0.5281, allocations: 319.6 kB / 0.582 GB, free: 13.26 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.278e-05/0.5281, allocations: 0 / 0.582 GB, free: 13.26 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.827e-05/0.5281, allocations: 12 kB / 0.582 GB, free: 13.25 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.213e-05/0.5282, allocations: 8 kB / 0.582 GB, free: 13.24 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008202/0.529, allocations: 0.7352 MB / 0.5827 GB, free: 12.51 MB / 446.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.001681/0.5307, allocations: 1.3 MB / 0.584 GB, free: 11.09 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003741/0.5311, allocations: 171.7 kB / 0.5842 GB, free: 10.91 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002359/0.5313, allocations: 81.48 kB / 0.5843 GB, free: 10.83 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003137/0.5345, allocations: 2.817 MB / 0.587 GB, free: 7.48 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.725e-05/0.5345, allocations: 38.44 kB / 0.587 GB, free: 7.434 MB / 446.1 MB Notification: Performance of pre-optimization done (n=11): time 1.824e-06/0.5345, allocations: 0 / 0.587 GB, free: 7.434 MB / 446.1 MB Notification: Performance of matching and sorting (n=11): time 0.0003041/0.5348, allocations: 117.4 kB / 0.5872 GB, free: 7.312 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.719e-05/0.5349, allocations: 55.39 kB / 0.5872 GB, free: 7.246 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002035/0.5351, allocations: 216.1 kB / 0.5874 GB, free: 7.023 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.099e-05/0.5351, allocations: 25.7 kB / 0.5874 GB, free: 6.992 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002828/0.5354, allocations: 226.6 kB / 0.5877 GB, free: 6.766 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.161e-05/0.5355, allocations: 39.45 kB / 0.5877 GB, free: 6.727 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.422e-05/0.5356, allocations: 82.03 kB / 0.5878 GB, free: 6.641 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001493/0.5357, allocations: 326.8 kB / 0.5881 GB, free: 6.312 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.986e-05/0.5358, allocations: 52.84 kB / 0.5881 GB, free: 6.262 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002921/0.5361, allocations: 347.2 kB / 0.5885 GB, free: 5.773 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004452/0.5365, allocations: 444.5 kB / 0.5889 GB, free: 5.191 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.4e-06/0.5366, allocations: 0 / 0.5889 GB, free: 5.191 MB / 446.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0005531/0.5371, allocations: 393 kB / 0.5893 GB, free: 4.801 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.089e-05/0.5372, allocations: 8 kB / 0.5893 GB, free: 4.793 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.663e-05/0.5372, allocations: 12 kB / 0.5893 GB, free: 4.781 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.223e-05/0.5372, allocations: 15.94 kB / 0.5893 GB, free: 4.766 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002358/0.5375, allocations: 100.5 kB / 0.5894 GB, free: 4.668 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.355e-05/0.5375, allocations: 27.84 kB / 0.5894 GB, free: 4.641 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002251/0.5377, allocations: 51.53 kB / 0.5895 GB, free: 4.59 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.343e-05/0.5378, allocations: 28 kB / 0.5895 GB, free: 4.562 MB / 446.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.0001375/0.5379, allocations: 153.6 kB / 0.5896 GB, free: 4.402 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.672e-05/0.538, allocations: 15.81 kB / 0.5897 GB, free: 4.387 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002922/0.5383, allocations: 156.7 kB / 0.5898 GB, free: 4.223 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.123e-05/0.5383, allocations: 4 kB / 0.5898 GB, free: 4.219 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.21e-06/0.5383, allocations: 0 / 0.5898 GB, free: 4.219 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.536e-06/0.5383, allocations: 0 / 0.5898 GB, free: 4.219 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004846/0.5388, allocations: 408.8 kB / 0.5902 GB, free: 3.754 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.894e-06/0.5388, allocations: 4 kB / 0.5902 GB, free: 3.75 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.52e-05/0.5389, allocations: 11.98 kB / 0.5902 GB, free: 3.738 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.226e-06/0.5389, allocations: 4 kB / 0.5902 GB, free: 3.734 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.249e-05/0.5389, allocations: 0 / 0.5902 GB, free: 3.734 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.707e-06/0.5389, allocations: 4 kB / 0.5902 GB, free: 3.73 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.5389, allocations: 0 / 0.5902 GB, free: 3.73 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002093/0.5391, allocations: 221.7 kB / 0.5904 GB, free: 3.488 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.193e-05/0.5392, allocations: 92.92 kB / 0.5905 GB, free: 3.379 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.982e-05/0.5393, allocations: 12.05 kB / 0.5905 GB, free: 3.367 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001392/0.5394, allocations: 0 / 0.5905 GB, free: 3.367 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.695e-05/0.5394, allocations: 15.97 kB / 0.5905 GB, free: 3.352 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.166e-05/0.5395, allocations: 7.984 kB / 0.5906 GB, free: 3.344 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001207/0.5396, allocations: 152.5 kB / 0.5907 GB, free: 3.199 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.5396, allocations: 4 kB / 0.5907 GB, free: 3.195 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0006254/0.5402, allocations: 99.84 kB / 0.5908 GB, free: 3.098 MB / 446.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.0003045/0.5405, allocations: 151.1 kB / 0.5909 GB, free: 2.941 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0003956/0.5409, allocations: 169.4 kB / 0.5911 GB, free: 2.777 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.541, allocations: 3.938 kB / 0.5911 GB, free: 2.773 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 3.995e-05/0.541, allocations: 23.98 kB / 0.5911 GB, free: 2.75 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004343/0.5414, allocations: 49.38 kB / 0.5912 GB, free: 2.707 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001119/0.5426, allocations: 0.5385 MB / 0.5917 GB, free: 2.133 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003153/0.5429, allocations: 0.7245 MB / 0.5924 GB, free: 1.383 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0001836/0.5431, allocations: 54.91 kB / 0.5925 GB, free: 1.328 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.117e-05/0.5431, allocations: 27.42 kB / 0.5925 GB, free: 1.301 MB / 446.1 MB Notification: Performance of SimCode: time 2.5e-07/0.5432, allocations: 0 / 0.5925 GB, free: 1.301 MB / 446.1 MB Notification: Performance of Templates: time 0.007307/0.5505, allocations: 3.143 MB / 0.5956 GB, free: 14.17 MB / 462.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient.sim & ./ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestAllProperties/LinearWater_pT_Ambient/LinearWater_pT_Ambient.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches