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.00135/0.00135, allocations: 114.9 kB / 18.41 MB, free: 4.691 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00135/0.00135, allocations: 204.5 kB / 19.36 MB, free: 3.746 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.363/1.363, allocations: 227.4 MB / 247.5 MB, free: 10.36 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2255/0.2255, allocations: 46.08 MB / 344.9 MB, free: 11.52 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001335/0.001335, allocations: 75.88 kB / 419 MB, free: 19.04 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1312/0.1325, allocations: 62.45 MB / 481.5 MB, free: 4.551 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient): time 0.03449/0.1671, allocations: 26.93 MB / 0.4965 GB, free: 9.52 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.003285/0.1704, allocations: 2.947 MB / 0.4994 GB, free: 6.562 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.857e-05/0.1705, allocations: 4 kB / 0.4994 GB, free: 6.559 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003576/0.1709, allocations: 55.59 kB / 0.4994 GB, free: 6.504 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001887/0.1728, allocations: 0.7188 MB / 0.5001 GB, free: 5.781 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003544/0.1732, allocations: 143.5 kB / 0.5002 GB, free: 5.645 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005121/0.1737, allocations: 370.2 kB / 0.5006 GB, free: 5.281 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.763e-05/0.1738, allocations: 13.67 kB / 0.5006 GB, free: 5.27 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.292/0.4658, allocations: 15.48 MB / 0.5157 GB, free: 11.56 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003547/0.4661, allocations: 151.2 kB / 0.5159 GB, free: 11.56 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 5.913e-05/0.4662, allocations: 8.938 kB / 0.5159 GB, free: 11.56 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.009989/0.4762, allocations: 3.45 MB / 0.5193 GB, free: 10.58 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001771/0.4764, allocations: 38 kB / 0.5193 GB, free: 10.58 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000333/0.4768, allocations: 111.7 kB / 0.5194 GB, free: 10.58 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001818/0.4786, allocations: 468.1 kB / 0.5198 GB, free: 10.57 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.534e-06/0.4786, allocations: 1.062 kB / 0.5198 GB, free: 10.57 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.325e-06/0.4787, allocations: 0 / 0.5198 GB, free: 10.57 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.245e-05/0.4787, allocations: 3.188 kB / 0.5198 GB, free: 10.57 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.001778/0.4805, allocations: 0.6019 MB / 0.5204 GB, free: 10.18 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.445e-05/0.4805, allocations: 9.125 kB / 0.5204 GB, free: 10.18 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003109/0.4809, allocations: 28.17 kB / 0.5205 GB, free: 10.17 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005427/0.4814, allocations: 226 kB / 0.5207 GB, free: 9.965 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001589/0.4816, allocations: 123.6 kB / 0.5208 GB, free: 9.84 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.868e-05/0.4816, allocations: 27.19 kB / 0.5208 GB, free: 9.836 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007042/0.4824, allocations: 326.6 kB / 0.5211 GB, free: 9.738 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.837e-05/0.4824, allocations: 0 / 0.5211 GB, free: 9.738 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.714e-05/0.4824, allocations: 10.72 kB / 0.5212 GB, free: 9.738 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.95e-05/0.4825, allocations: 6.5 kB / 0.5212 GB, free: 9.738 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001244/0.4837, allocations: 0.7438 MB / 0.5219 GB, free: 9.73 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.00155/0.4853, allocations: 1.298 MB / 0.5232 GB, free: 8.723 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004157/0.4857, allocations: 157.6 kB / 0.5233 GB, free: 8.699 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001536/0.4859, allocations: 88.62 kB / 0.5234 GB, free: 8.688 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002102/0.488, allocations: 2.816 MB / 0.5261 GB, free: 5.809 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.642e-05/0.488, allocations: 31.88 kB / 0.5262 GB, free: 5.77 MB / 382.1 MB Notification: Performance of pre-optimization done (n=11): time 1.653e-06/0.488, allocations: 1.594 kB / 0.5262 GB, free: 5.77 MB / 382.1 MB Notification: Performance of matching and sorting (n=11): time 0.0003102/0.4883, allocations: 119.7 kB / 0.5263 GB, free: 5.723 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.354e-05/0.4884, allocations: 57.53 kB / 0.5263 GB, free: 5.66 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001899/0.4886, allocations: 213.9 kB / 0.5265 GB, free: 5.555 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.479e-05/0.4886, allocations: 31.02 kB / 0.5266 GB, free: 5.52 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.521e-05/0.4887, allocations: 225.7 kB / 0.5268 GB, free: 5.34 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.604e-05/0.4887, allocations: 44.78 kB / 0.5268 GB, free: 5.32 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.456e-05/0.4888, allocations: 85.94 kB / 0.5269 GB, free: 5.297 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 4.969e-05/0.4889, allocations: 329.1 kB / 0.5272 GB, free: 4.984 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.928e-05/0.489, allocations: 46.44 kB / 0.5273 GB, free: 4.984 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001902/0.4892, allocations: 346 kB / 0.5276 GB, free: 4.594 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003635/0.4895, allocations: 446.3 kB / 0.528 GB, free: 4.195 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.328e-06/0.4895, allocations: 2.719 kB / 0.528 GB, free: 4.195 MB / 382.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0005585/0.4901, allocations: 378.6 kB / 0.5284 GB, free: 4.148 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.514e-05/0.4901, allocations: 10.09 kB / 0.5284 GB, free: 4.148 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.997e-05/0.4902, allocations: 10.03 kB / 0.5284 GB, free: 4.148 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.134e-05/0.4902, allocations: 19.73 kB / 0.5284 GB, free: 4.145 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002346/0.4904, allocations: 101.5 kB / 0.5285 GB, free: 4.145 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.251e-05/0.4905, allocations: 24.64 kB / 0.5285 GB, free: 4.145 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002533/0.4907, allocations: 51.31 kB / 0.5286 GB, free: 4.117 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.537e-05/0.4908, allocations: 28.5 kB / 0.5286 GB, free: 4.117 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.0001082/0.4909, allocations: 154.2 kB / 0.5288 GB, free: 3.992 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.006e-05/0.4909, allocations: 18.84 kB / 0.5288 GB, free: 3.984 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002439/0.4912, allocations: 144.3 kB / 0.5289 GB, free: 3.934 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.002e-05/0.4912, allocations: 5 kB / 0.5289 GB, free: 3.93 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.74e-06/0.4912, allocations: 5.125 kB / 0.5289 GB, free: 3.926 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.605e-06/0.4912, allocations: 0 / 0.5289 GB, free: 3.926 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003676/0.4916, allocations: 409.6 kB / 0.5293 GB, free: 3.598 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.735e-06/0.4916, allocations: 1.219 kB / 0.5293 GB, free: 3.598 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.68e-05/0.4917, allocations: 19.86 kB / 0.5293 GB, free: 3.598 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.948e-06/0.4917, allocations: 5.188 kB / 0.5294 GB, free: 3.598 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.989e-06/0.4917, allocations: 3.75 kB / 0.5294 GB, free: 3.598 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.275e-06/0.4917, allocations: 5.25 kB / 0.5294 GB, free: 3.594 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.713e-06/0.4917, allocations: 1.125 kB / 0.5294 GB, free: 3.594 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001386/0.4919, allocations: 205 kB / 0.5296 GB, free: 3.426 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.652e-05/0.4919, allocations: 96.39 kB / 0.5296 GB, free: 3.324 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.317e-05/0.492, allocations: 10.62 kB / 0.5297 GB, free: 3.32 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001409/0.4921, allocations: 6.906 kB / 0.5297 GB, free: 3.316 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.871e-05/0.4921, allocations: 13.78 kB / 0.5297 GB, free: 3.316 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.748e-06/0.4922, allocations: 4.688 kB / 0.5297 GB, free: 3.316 MB / 382.1 MB Notification: Performance of sorting global known variables: time 9.852e-05/0.4923, allocations: 154.1 kB / 0.5298 GB, free: 3.234 MB / 382.1 MB Notification: Performance of sort global known variables: time 7.01e-07/0.4923, allocations: 0 / 0.5298 GB, free: 3.234 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0004981/0.4928, allocations: 87.88 kB / 0.5299 GB, free: 3.23 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.0002481/0.493, allocations: 156.5 kB / 0.5301 GB, free: 3.133 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002964/0.4933, allocations: 183.6 kB / 0.5302 GB, free: 3.125 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.849e-06/0.4933, allocations: 1.125 kB / 0.5302 GB, free: 3.125 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 4.169e-05/0.4934, allocations: 29.89 kB / 0.5303 GB, free: 3.121 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004092/0.4938, allocations: 47.27 kB / 0.5303 GB, free: 3.117 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009132/0.4947, allocations: 0.5334 MB / 0.5308 GB, free: 2.875 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001776/0.4949, allocations: 0.7264 MB / 0.5315 GB, free: 2.176 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001627/0.4951, allocations: 57.25 kB / 0.5316 GB, free: 2.16 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.2e-05/0.4951, allocations: 26.19 kB / 0.5316 GB, free: 2.152 MB / 382.1 MB Notification: Performance of SimCode: time 2.9e-07/0.4951, allocations: 0 / 0.5316 GB, free: 2.152 MB / 382.1 MB Notification: Performance of Templates: time 0.006269/0.5014, allocations: 3.103 MB / 0.5347 GB, free: 1.844 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 -s cvode -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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestAllProperties/LinearWater_pT_Ambient/LinearWater_pT_Ambient.csv","/var/lib/jenkins1/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