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.001604/0.001604, allocations: 107.4 kB / 17.33 MB, free: 5.98 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001826/0.001826, allocations: 209.8 kB / 18.26 MB, free: 5.055 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.498/1.498, allocations: 227.4 MB / 246.4 MB, free: 10.79 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2148/0.2148, allocations: 46.1 MB / 343.8 MB, free: 11.77 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001456/0.001456, allocations: 75.33 kB / 417 MB, free: 20.09 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1387/0.1402, allocations: 62.44 MB / 479.5 MB, free: 5.629 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient): time 0.03496/0.1752, allocations: 27.09 MB / 0.4947 GB, free: 10.44 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.003581/0.1788, allocations: 2.956 MB / 0.4976 GB, free: 7.473 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002229/0.179, allocations: 0 / 0.4976 GB, free: 7.473 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003639/0.1795, allocations: 51.72 kB / 0.4976 GB, free: 7.422 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002247/0.1817, allocations: 0.6648 MB / 0.4983 GB, free: 6.754 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003986/0.1822, allocations: 127.2 kB / 0.4984 GB, free: 6.633 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006257/0.1828, allocations: 366.1 kB / 0.4988 GB, free: 6.273 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.169e-05/0.1829, allocations: 13.67 kB / 0.4988 GB, free: 6.262 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.2945/0.4774, allocations: 14.92 MB / 0.5133 GB, free: 12.9 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004325/0.4778, allocations: 150.8 kB / 0.5135 GB, free: 12.9 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.634e-05/0.4779, allocations: 8.906 kB / 0.5135 GB, free: 12.9 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008151/0.486, allocations: 3.438 MB / 0.5168 GB, free: 11.92 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001473/0.4862, allocations: 50.78 kB / 0.5169 GB, free: 11.92 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002141/0.4865, allocations: 105.2 kB / 0.517 GB, free: 11.92 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001258/0.4877, allocations: 474.2 kB / 0.5174 GB, free: 11.91 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.037e-06/0.4877, allocations: 0 / 0.5174 GB, free: 11.91 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.683e-06/0.4877, allocations: 4.5 kB / 0.5174 GB, free: 11.9 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.396e-06/0.4878, allocations: 0.5 kB / 0.5174 GB, free: 11.9 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.001296/0.4891, allocations: 0.5948 MB / 0.518 GB, free: 11.5 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.736e-05/0.4891, allocations: 12.47 kB / 0.518 GB, free: 11.5 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001674/0.4893, allocations: 30.95 kB / 0.5181 GB, free: 11.49 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000256/0.4896, allocations: 227 kB / 0.5183 GB, free: 11.29 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001199/0.4897, allocations: 126 kB / 0.5184 GB, free: 11.16 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.64e-05/0.4898, allocations: 21.44 kB / 0.5184 GB, free: 11.16 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006374/0.4904, allocations: 329.6 kB / 0.5187 GB, free: 11.06 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.592e-05/0.4904, allocations: 1.062 kB / 0.5187 GB, free: 11.06 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.354e-05/0.4905, allocations: 10.84 kB / 0.5188 GB, free: 11.06 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.628e-05/0.4905, allocations: 7.469 kB / 0.5188 GB, free: 11.06 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001047/0.4915, allocations: 0.7381 MB / 0.5195 GB, free: 11.06 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.001256/0.4928, allocations: 1.3 MB / 0.5208 GB, free: 10.05 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000349/0.4932, allocations: 163.3 kB / 0.5209 GB, free: 10.03 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001301/0.4933, allocations: 91.38 kB / 0.521 GB, free: 10.02 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001941/0.4953, allocations: 2.804 MB / 0.5237 GB, free: 7.141 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.737e-05/0.4953, allocations: 33.67 kB / 0.5238 GB, free: 7.102 MB / 382.1 MB Notification: Performance of pre-optimization done (n=11): time 2.595e-06/0.4953, allocations: 0 / 0.5238 GB, free: 7.102 MB / 382.1 MB Notification: Performance of matching and sorting (n=11): time 0.0003105/0.4956, allocations: 126.9 kB / 0.5239 GB, free: 7.051 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.002e-05/0.4957, allocations: 52.56 kB / 0.5239 GB, free: 6.988 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002324/0.4959, allocations: 213.8 kB / 0.5241 GB, free: 6.883 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.934e-05/0.4959, allocations: 29.86 kB / 0.5242 GB, free: 6.852 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001246/0.4961, allocations: 227.4 kB / 0.5244 GB, free: 6.672 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.595e-05/0.4961, allocations: 39.69 kB / 0.5244 GB, free: 6.652 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001061/0.4962, allocations: 84.8 kB / 0.5245 GB, free: 6.629 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 8.629e-05/0.4963, allocations: 328 kB / 0.5248 GB, free: 6.316 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.098e-05/0.4964, allocations: 50.75 kB / 0.5249 GB, free: 6.312 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000243/0.4966, allocations: 345.1 kB / 0.5252 GB, free: 5.926 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000408/0.4971, allocations: 445 kB / 0.5256 GB, free: 5.527 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.187e-06/0.4971, allocations: 2.781 kB / 0.5256 GB, free: 5.527 MB / 382.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0006205/0.4977, allocations: 382 kB / 0.526 GB, free: 5.48 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.758e-05/0.4977, allocations: 9.281 kB / 0.526 GB, free: 5.48 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.892e-05/0.4978, allocations: 13.2 kB / 0.526 GB, free: 5.48 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.495e-05/0.4978, allocations: 17.5 kB / 0.526 GB, free: 5.477 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002491/0.4981, allocations: 96.73 kB / 0.5261 GB, free: 5.477 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.676e-05/0.4981, allocations: 19.25 kB / 0.5261 GB, free: 5.477 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002685/0.4984, allocations: 58.84 kB / 0.5262 GB, free: 5.445 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.087e-05/0.4984, allocations: 28.42 kB / 0.5262 GB, free: 5.445 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.000111/0.4985, allocations: 158.4 kB / 0.5264 GB, free: 5.324 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.389e-05/0.4986, allocations: 19.38 kB / 0.5264 GB, free: 5.316 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000289/0.4989, allocations: 147.2 kB / 0.5265 GB, free: 5.258 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.007e-05/0.4989, allocations: 5.156 kB / 0.5265 GB, free: 5.254 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.66e-06/0.4989, allocations: 4.812 kB / 0.5265 GB, free: 5.254 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.837e-06/0.4989, allocations: 0 / 0.5265 GB, free: 5.254 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003795/0.4993, allocations: 414.8 kB / 0.5269 GB, free: 4.922 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.014e-06/0.4993, allocations: 1.406 kB / 0.5269 GB, free: 4.922 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.702e-05/0.4994, allocations: 11.38 kB / 0.5269 GB, free: 4.922 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.297e-06/0.4994, allocations: 1.281 kB / 0.5269 GB, free: 4.922 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.171e-05/0.4994, allocations: 5.875 kB / 0.527 GB, free: 4.922 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.637e-06/0.4994, allocations: 4.375 kB / 0.527 GB, free: 4.922 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.893e-06/0.4994, allocations: 1.812 kB / 0.527 GB, free: 4.922 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001615/0.4996, allocations: 208.5 kB / 0.5272 GB, free: 4.75 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.972e-05/0.4997, allocations: 95.12 kB / 0.5272 GB, free: 4.648 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.848e-05/0.4997, allocations: 14.56 kB / 0.5273 GB, free: 4.645 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001481/0.4999, allocations: 2.656 kB / 0.5273 GB, free: 4.645 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.654e-05/0.4999, allocations: 7.594 kB / 0.5273 GB, free: 4.645 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.023e-05/0.4999, allocations: 8.547 kB / 0.5273 GB, free: 4.641 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001163/0.5, allocations: 160.1 kB / 0.5274 GB, free: 4.559 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.393e-06/0.5001, allocations: 0 / 0.5274 GB, free: 4.559 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0005097/0.5006, allocations: 89.81 kB / 0.5275 GB, free: 4.555 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.0002955/0.5009, allocations: 156 kB / 0.5277 GB, free: 4.457 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0003124/0.5012, allocations: 179.7 kB / 0.5278 GB, free: 4.449 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.649e-06/0.5012, allocations: 3.125 kB / 0.5278 GB, free: 4.449 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 5.49e-05/0.5013, allocations: 21.34 kB / 0.5279 GB, free: 4.449 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004337/0.5017, allocations: 52.69 kB / 0.5279 GB, free: 4.441 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009657/0.5027, allocations: 0.5993 MB / 0.5285 GB, free: 4.133 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001855/0.5029, allocations: 0.7246 MB / 0.5292 GB, free: 3.434 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.000228/0.5031, allocations: 60.25 kB / 0.5293 GB, free: 3.414 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.078e-05/0.5032, allocations: 27 kB / 0.5293 GB, free: 3.406 MB / 382.1 MB Notification: Performance of SimCode: time 2.21e-07/0.5032, allocations: 0 / 0.5293 GB, free: 3.406 MB / 382.1 MB Notification: Performance of Templates: time 0.006802/0.51, allocations: 3.111 MB / 0.5323 GB, free: 3.086 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