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.001002/0.001002, allocations: 90.59 kB / 17.35 MB, free: 6.375 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0011/0.001099, allocations: 199.6 kB / 18.28 MB, free: 5.5 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.453/1.453, allocations: 227.8 MB / 246.8 MB, free: 9.652 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2376/0.2376, allocations: 46.18 MB / 345.2 MB, free: 11.25 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003337/0.0003339, allocations: 8 kB / 419.5 MB, free: 19.72 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.137/0.1373, allocations: 63.55 MB / 483.1 MB, free: 4.141 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient): time 0.03516/0.1725, allocations: 27.93 MB / 0.499 GB, free: 8.121 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.005248/0.1778, allocations: 2.975 MB / 0.5019 GB, free: 5.137 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002603/0.1782, allocations: 3.938 kB / 0.5019 GB, free: 5.133 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005215/0.1787, allocations: 43.73 kB / 0.502 GB, free: 5.09 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003275/0.182, allocations: 0.6492 MB / 0.5026 GB, free: 4.438 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000498/0.1825, allocations: 134.4 kB / 0.5027 GB, free: 4.312 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008349/0.1834, allocations: 442 kB / 0.5032 GB, free: 3.879 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.968e-05/0.1835, allocations: 21.67 kB / 0.5032 GB, free: 3.855 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.3022/0.4857, allocations: 14.44 MB / 0.5173 GB, free: 10.98 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003664/0.4861, allocations: 154.1 kB / 0.5174 GB, free: 10.97 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.295e-05/0.4861, allocations: 6.781 kB / 0.5174 GB, free: 10.97 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008143/0.4943, allocations: 3.423 MB / 0.5208 GB, free: 9.992 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001159/0.4944, allocations: 48.23 kB / 0.5208 GB, free: 9.988 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001821/0.4946, allocations: 134.8 kB / 0.521 GB, free: 9.957 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001067/0.4957, allocations: 466.1 kB / 0.5214 GB, free: 9.945 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.4957, allocations: 1.375 kB / 0.5214 GB, free: 9.945 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.745e-06/0.4957, allocations: 0 / 0.5214 GB, free: 9.945 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.129e-06/0.4957, allocations: 0 / 0.5214 GB, free: 9.945 MB / 382.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.001062/0.4968, allocations: 0.5553 MB / 0.5219 GB, free: 9.559 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.046e-05/0.4969, allocations: 10.25 kB / 0.5219 GB, free: 9.559 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000148/0.497, allocations: 24.5 kB / 0.522 GB, free: 9.551 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002112/0.4972, allocations: 226.8 kB / 0.5222 GB, free: 9.344 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001015/0.4973, allocations: 122.2 kB / 0.5223 GB, free: 9.219 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.302e-05/0.4974, allocations: 22.16 kB / 0.5223 GB, free: 9.219 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005173/0.4979, allocations: 326.7 kB / 0.5226 GB, free: 9.121 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.28e-05/0.4979, allocations: 3.969 kB / 0.5226 GB, free: 9.121 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.437e-05/0.498, allocations: 13.73 kB / 0.5227 GB, free: 9.121 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.443e-05/0.498, allocations: 10.5 kB / 0.5227 GB, free: 9.121 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008799/0.4989, allocations: 0.735 MB / 0.5234 GB, free: 9.117 MB / 382.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.001127/0.5, allocations: 1.303 MB / 0.5247 GB, free: 8.105 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003487/0.5004, allocations: 161.7 kB / 0.5248 GB, free: 8.082 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001285/0.5005, allocations: 86.45 kB / 0.5249 GB, free: 8.07 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001983/0.5025, allocations: 2.811 MB / 0.5276 GB, free: 5.191 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.022e-05/0.5025, allocations: 34.22 kB / 0.5277 GB, free: 5.152 MB / 382.1 MB Notification: Performance of pre-optimization done (n=11): time 1.453e-06/0.5025, allocations: 0 / 0.5277 GB, free: 5.152 MB / 382.1 MB Notification: Performance of matching and sorting (n=11): time 0.000286/0.5028, allocations: 123.3 kB / 0.5278 GB, free: 5.105 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.695e-05/0.5029, allocations: 56.06 kB / 0.5278 GB, free: 5.043 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001797/0.5031, allocations: 218.8 kB / 0.528 GB, free: 4.934 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.923e-05/0.5031, allocations: 30.58 kB / 0.5281 GB, free: 4.902 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.409e-05/0.5032, allocations: 218.5 kB / 0.5283 GB, free: 4.723 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.605e-05/0.5032, allocations: 45.14 kB / 0.5283 GB, free: 4.699 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.361e-05/0.5033, allocations: 38.95 kB / 0.5284 GB, free: 4.684 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.988e-05/0.5033, allocations: 330.7 kB / 0.5287 GB, free: 4.371 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.92e-05/0.5034, allocations: 43.38 kB / 0.5287 GB, free: 4.371 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001856/0.5036, allocations: 341.6 kB / 0.529 GB, free: 3.984 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003277/0.504, allocations: 448.2 kB / 0.5295 GB, free: 3.586 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.753e-06/0.504, allocations: 3.438 kB / 0.5295 GB, free: 3.586 MB / 382.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0005308/0.5045, allocations: 379.6 kB / 0.5298 GB, free: 3.539 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.57e-05/0.5045, allocations: 9.688 kB / 0.5299 GB, free: 3.539 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.834e-05/0.5046, allocations: 18.06 kB / 0.5299 GB, free: 3.535 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.016e-05/0.5046, allocations: 17.31 kB / 0.5299 GB, free: 3.531 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002376/0.5048, allocations: 98.73 kB / 0.53 GB, free: 3.531 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.871e-05/0.5049, allocations: 20.62 kB / 0.53 GB, free: 3.531 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000241/0.5051, allocations: 59.23 kB / 0.5301 GB, free: 3.504 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.77e-05/0.5052, allocations: 28.25 kB / 0.5301 GB, free: 3.504 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.0001085/0.5053, allocations: 152 kB / 0.5302 GB, free: 3.383 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.206e-05/0.5053, allocations: 23.97 kB / 0.5302 GB, free: 3.371 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002708/0.5056, allocations: 140.5 kB / 0.5304 GB, free: 3.32 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.171e-05/0.5056, allocations: 5.219 kB / 0.5304 GB, free: 3.316 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.699e-06/0.5056, allocations: 6.641 kB / 0.5304 GB, free: 3.312 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.258e-06/0.5056, allocations: 0 / 0.5304 GB, free: 3.312 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003538/0.506, allocations: 406.8 kB / 0.5308 GB, free: 2.984 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.685e-06/0.506, allocations: 1.344 kB / 0.5308 GB, free: 2.984 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.501e-05/0.5061, allocations: 16.52 kB / 0.5308 GB, free: 2.984 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.525e-06/0.5061, allocations: 1.469 kB / 0.5308 GB, free: 2.984 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.898e-06/0.5061, allocations: 8.422 kB / 0.5308 GB, free: 2.984 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.404e-06/0.5061, allocations: 5.344 kB / 0.5308 GB, free: 2.98 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.006e-06/0.5061, allocations: 2.344 kB / 0.5308 GB, free: 2.98 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001326/0.5062, allocations: 204.7 kB / 0.531 GB, free: 2.812 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.35e-05/0.5063, allocations: 103.7 kB / 0.5311 GB, free: 2.707 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.206e-05/0.5063, allocations: 13.36 kB / 0.5311 GB, free: 2.703 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001427/0.5065, allocations: 2.938 kB / 0.5311 GB, free: 2.703 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.36e-05/0.5065, allocations: 14 kB / 0.5311 GB, free: 2.703 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.13e-05/0.5065, allocations: 7 kB / 0.5311 GB, free: 2.703 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001013/0.5066, allocations: 153.2 kB / 0.5313 GB, free: 2.621 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.5066, allocations: 0 / 0.5313 GB, free: 2.621 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0005304/0.5072, allocations: 92.66 kB / 0.5314 GB, free: 2.617 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.0003136/0.5075, allocations: 161.3 kB / 0.5315 GB, free: 2.516 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0003065/0.5078, allocations: 171.6 kB / 0.5317 GB, free: 2.512 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.717e-06/0.5078, allocations: 3.938 kB / 0.5317 GB, free: 2.512 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 3.707e-05/0.5079, allocations: 28.47 kB / 0.5317 GB, free: 2.508 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00047/0.5084, allocations: 48.61 kB / 0.5318 GB, free: 2.504 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009291/0.5093, allocations: 0.6427 MB / 0.5324 GB, free: 2.207 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001469/0.5095, allocations: 0.7273 MB / 0.5331 GB, free: 1.504 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002467/0.5097, allocations: 56.22 kB / 0.5332 GB, free: 1.488 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.259e-05/0.5098, allocations: 24.91 kB / 0.5332 GB, free: 1.48 MB / 382.1 MB Notification: Performance of SimCode: time 1.022e-06/0.5098, allocations: 1.25 kB / 0.5332 GB, free: 1.48 MB / 382.1 MB Notification: Performance of Templates: time 0.006631/0.5164, allocations: 3.023 MB / 0.5361 GB, free: 0.7344 MB / 382.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