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.001109/0.001109, allocations: 103.4 kB / 17.63 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001295/0.001295, allocations: 214.4 kB / 18.59 MB, free: 4.402 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.433/1.433, allocations: 227.4 MB / 246.8 MB, free: 10.55 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2283/0.2283, allocations: 46.12 MB / 344.2 MB, free: 11.53 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001541/0.001541, allocations: 79.36 kB / 417.6 MB, free: 19.69 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1323/0.1338, allocations: 62.45 MB / 480.1 MB, free: 5.215 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient): time 0.03469/0.1686, allocations: 26.92 MB / 0.4951 GB, free: 10.2 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.003178/0.1718, allocations: 2.963 MB / 0.498 GB, free: 7.223 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.392e-05/0.1719, allocations: 0 / 0.498 GB, free: 7.223 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002698/0.1723, allocations: 55.59 kB / 0.4981 GB, free: 7.168 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001614/0.1739, allocations: 0.7227 MB / 0.4988 GB, free: 6.441 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003237/0.1742, allocations: 131.2 kB / 0.4989 GB, free: 6.316 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005178/0.1747, allocations: 374.1 kB / 0.4992 GB, free: 5.949 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.25e-05/0.1748, allocations: 17.69 kB / 0.4993 GB, free: 5.934 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.2921/0.467, allocations: 15.48 MB / 0.5144 GB, free: 11.71 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004124/0.4674, allocations: 147.9 kB / 0.5145 GB, free: 11.71 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.973e-05/0.4675, allocations: 8.062 kB / 0.5145 GB, free: 11.71 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.009802/0.4773, allocations: 3.441 MB / 0.5179 GB, free: 10.73 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001243/0.4774, allocations: 48.83 kB / 0.5179 GB, free: 10.73 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001991/0.4776, allocations: 105.9 kB / 0.518 GB, free: 10.73 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001123/0.4788, allocations: 469.5 kB / 0.5185 GB, free: 10.71 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.65e-06/0.4788, allocations: 1.438 kB / 0.5185 GB, free: 10.71 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.994e-06/0.4788, allocations: 0 / 0.5185 GB, free: 10.71 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.296e-06/0.4788, allocations: 0.7031 kB / 0.5185 GB, free: 10.71 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.001179/0.48, allocations: 0.5956 MB / 0.5191 GB, free: 10.32 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.885e-05/0.48, allocations: 9.969 kB / 0.5191 GB, free: 10.32 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001685/0.4802, allocations: 25.88 kB / 0.5191 GB, free: 10.32 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001947/0.4804, allocations: 229.3 kB / 0.5193 GB, free: 10.11 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.51e-05/0.4805, allocations: 122.8 kB / 0.5194 GB, free: 9.98 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.935e-05/0.4806, allocations: 21.81 kB / 0.5195 GB, free: 9.98 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004518/0.481, allocations: 330.2 kB / 0.5198 GB, free: 9.883 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.132e-05/0.481, allocations: 1.156 kB / 0.5198 GB, free: 9.883 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.052e-05/0.4811, allocations: 13.5 kB / 0.5198 GB, free: 9.879 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.233e-05/0.4811, allocations: 7.828 kB / 0.5198 GB, free: 9.879 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008741/0.482, allocations: 0.7395 MB / 0.5205 GB, free: 9.875 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.001309/0.4833, allocations: 1.304 MB / 0.5218 GB, free: 8.867 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003775/0.4837, allocations: 161 kB / 0.5219 GB, free: 8.84 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001437/0.4839, allocations: 85.91 kB / 0.522 GB, free: 8.828 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001835/0.4857, allocations: 2.803 MB / 0.5248 GB, free: 5.957 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.076e-05/0.4857, allocations: 37.06 kB / 0.5248 GB, free: 5.918 MB / 382.1 MB Notification: Performance of pre-optimization done (n=11): time 2.284e-06/0.4857, allocations: 1.438 kB / 0.5248 GB, free: 5.918 MB / 382.1 MB Notification: Performance of matching and sorting (n=11): time 0.0002899/0.486, allocations: 126.6 kB / 0.5249 GB, free: 5.871 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.611e-05/0.4861, allocations: 56.88 kB / 0.525 GB, free: 5.805 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001615/0.4862, allocations: 218.7 kB / 0.5252 GB, free: 5.691 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.625e-05/0.4863, allocations: 31.02 kB / 0.5252 GB, free: 5.66 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.133e-05/0.4863, allocations: 219.6 kB / 0.5254 GB, free: 5.484 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.712e-05/0.4864, allocations: 40.47 kB / 0.5255 GB, free: 5.461 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.423e-05/0.4865, allocations: 89.02 kB / 0.5255 GB, free: 5.438 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 6.493e-05/0.4865, allocations: 329 kB / 0.5259 GB, free: 5.125 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.74e-05/0.4866, allocations: 46.72 kB / 0.5259 GB, free: 5.121 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000189/0.4868, allocations: 352.8 kB / 0.5262 GB, free: 4.734 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003493/0.4872, allocations: 443.1 kB / 0.5267 GB, free: 4.336 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.632e-06/0.4872, allocations: 2.344 kB / 0.5267 GB, free: 4.336 MB / 382.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0005629/0.4878, allocations: 385.1 kB / 0.527 GB, free: 4.289 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.62e-05/0.4878, allocations: 9.156 kB / 0.527 GB, free: 4.289 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.003e-05/0.4878, allocations: 15.22 kB / 0.5271 GB, free: 4.289 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.455e-05/0.4879, allocations: 18.16 kB / 0.5271 GB, free: 4.285 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000263/0.4881, allocations: 95.3 kB / 0.5272 GB, free: 4.285 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.926e-05/0.4882, allocations: 23.67 kB / 0.5272 GB, free: 4.285 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002423/0.4884, allocations: 50.47 kB / 0.5272 GB, free: 4.258 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.057e-05/0.4885, allocations: 35.31 kB / 0.5273 GB, free: 4.254 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.0001274/0.4886, allocations: 151.4 kB / 0.5274 GB, free: 4.133 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.54e-05/0.4887, allocations: 17.62 kB / 0.5274 GB, free: 4.125 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003004/0.489, allocations: 147.7 kB / 0.5276 GB, free: 4.062 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.128e-05/0.489, allocations: 6.188 kB / 0.5276 GB, free: 4.059 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.273e-06/0.489, allocations: 0 / 0.5276 GB, free: 4.059 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.959e-06/0.489, allocations: 1.188 kB / 0.5276 GB, free: 4.059 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004324/0.4895, allocations: 410.3 kB / 0.528 GB, free: 3.73 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.489e-06/0.4895, allocations: 8.547 kB / 0.528 GB, free: 3.727 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.58e-05/0.4895, allocations: 13.66 kB / 0.528 GB, free: 3.727 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.486e-06/0.4896, allocations: 2.719 kB / 0.528 GB, free: 3.727 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.321e-05/0.4896, allocations: 4.75 kB / 0.528 GB, free: 3.727 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.795e-06/0.4896, allocations: 3.016 kB / 0.528 GB, free: 3.727 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.256e-06/0.4896, allocations: 1.312 kB / 0.528 GB, free: 3.727 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001772/0.4898, allocations: 211.1 kB / 0.5282 GB, free: 3.555 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.798e-05/0.4899, allocations: 95.12 kB / 0.5283 GB, free: 3.453 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.881e-05/0.4899, allocations: 3.219 kB / 0.5283 GB, free: 3.453 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001404/0.49, allocations: 8.469 kB / 0.5283 GB, free: 3.453 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.253e-05/0.4901, allocations: 13.59 kB / 0.5283 GB, free: 3.453 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.508e-06/0.4901, allocations: 3.25 kB / 0.5283 GB, free: 3.453 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001393/0.4902, allocations: 153.7 kB / 0.5285 GB, free: 3.375 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4902, allocations: 4 kB / 0.5285 GB, free: 3.371 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0005689/0.4908, allocations: 96.61 kB / 0.5286 GB, free: 3.363 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.0004559/0.4913, allocations: 160.2 kB / 0.5287 GB, free: 3.266 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0003505/0.4916, allocations: 173.7 kB / 0.5289 GB, free: 3.262 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.975e-06/0.4916, allocations: 1.125 kB / 0.5289 GB, free: 3.262 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 4.025e-05/0.4917, allocations: 21.94 kB / 0.5289 GB, free: 3.262 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004575/0.4922, allocations: 56.52 kB / 0.529 GB, free: 3.258 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009533/0.4931, allocations: 0.5369 MB / 0.5295 GB, free: 3.012 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001799/0.4933, allocations: 0.7274 MB / 0.5302 GB, free: 2.312 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002227/0.4935, allocations: 52.52 kB / 0.5302 GB, free: 2.297 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.161e-05/0.4936, allocations: 25.5 kB / 0.5303 GB, free: 2.289 MB / 382.1 MB Notification: Performance of SimCode: time 7.01e-07/0.4936, allocations: 0 / 0.5303 GB, free: 2.289 MB / 382.1 MB Notification: Performance of Templates: time 0.006539/0.5001, allocations: 3.113 MB / 0.5333 GB, free: 1.977 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