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.001828/0.001828, allocations: 109.2 kB / 17.86 MB, free: 5.504 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002472/0.002472, allocations: 209.7 kB / 18.79 MB, free: 4.578 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 2.229/2.229, allocations: 227.4 MB / 246.9 MB, free: 10.66 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3581/0.3581, allocations: 46.12 MB / 344.3 MB, free: 11.75 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001614/0.001614, allocations: 83.83 kB / 417.5 MB, free: 20.17 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1623/0.1639, allocations: 62.43 MB / 479.9 MB, free: 5.703 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient): time 0.05601/0.22, allocations: 28.67 MB / 0.4967 GB, free: 8.938 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.004136/0.2242, allocations: 3.026 MB / 0.4996 GB, free: 5.902 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002031/0.2244, allocations: 4 kB / 0.4996 GB, free: 5.898 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004079/0.2249, allocations: 47.72 kB / 0.4997 GB, free: 5.852 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002392/0.2273, allocations: 0.6452 MB / 0.5003 GB, free: 5.203 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006389/0.228, allocations: 131.6 kB / 0.5004 GB, free: 5.078 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009386/0.2289, allocations: 446 kB / 0.5009 GB, free: 4.641 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.12e-05/0.229, allocations: 17.67 kB / 0.5009 GB, free: 4.621 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.4825/0.7115, allocations: 14.44 MB / 0.515 GB, free: 12.02 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005801/0.7122, allocations: 151.9 kB / 0.5151 GB, free: 12.02 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 4.173e-05/0.7122, allocations: 6.312 kB / 0.5151 GB, free: 12.02 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01124/0.7235, allocations: 3.431 MB / 0.5185 GB, free: 11.03 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001412/0.7237, allocations: 44.14 kB / 0.5185 GB, free: 11.03 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002645/0.7239, allocations: 104.9 kB / 0.5186 GB, free: 11.03 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000975/0.7249, allocations: 326.7 kB / 0.5189 GB, free: 11.02 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.087e-06/0.7249, allocations: 1.656 kB / 0.5189 GB, free: 11.02 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.513e-06/0.7249, allocations: 1.969 kB / 0.5189 GB, free: 11.02 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.675e-06/0.725, allocations: 0 / 0.5189 GB, free: 11.02 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.001442/0.7264, allocations: 0.5953 MB / 0.5195 GB, free: 10.63 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.544e-05/0.7265, allocations: 13.17 kB / 0.5195 GB, free: 10.63 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001917/0.7267, allocations: 24.06 kB / 0.5196 GB, free: 10.62 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002854/0.727, allocations: 227.8 kB / 0.5198 GB, free: 10.42 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001293/0.7271, allocations: 122.9 kB / 0.5199 GB, free: 10.29 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.237e-05/0.7272, allocations: 25.5 kB / 0.5199 GB, free: 10.29 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006129/0.7278, allocations: 328.4 kB / 0.5202 GB, free: 10.2 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.725e-05/0.7278, allocations: 1.594 kB / 0.5202 GB, free: 10.2 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.702e-05/0.7279, allocations: 10.62 kB / 0.5202 GB, free: 10.2 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.776e-05/0.7279, allocations: 6.906 kB / 0.5202 GB, free: 10.2 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001195/0.7291, allocations: 0.7414 MB / 0.521 GB, free: 10.19 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.001653/0.7307, allocations: 1.3 MB / 0.5222 GB, free: 9.18 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005267/0.7313, allocations: 160.9 kB / 0.5224 GB, free: 9.156 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002033/0.7315, allocations: 89.67 kB / 0.5225 GB, free: 9.145 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002745/0.7343, allocations: 2.81 MB / 0.5252 GB, free: 6.27 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.73e-05/0.7343, allocations: 33.34 kB / 0.5253 GB, free: 6.23 MB / 382.1 MB Notification: Performance of pre-optimization done (n=11): time 1.913e-06/0.7343, allocations: 0 / 0.5253 GB, free: 6.23 MB / 382.1 MB Notification: Performance of matching and sorting (n=11): time 0.0003934/0.7347, allocations: 125.2 kB / 0.5254 GB, free: 6.184 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.482e-05/0.7348, allocations: 52.59 kB / 0.5254 GB, free: 6.121 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002508/0.7351, allocations: 221.3 kB / 0.5256 GB, free: 6.012 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.303e-05/0.7351, allocations: 34.83 kB / 0.5257 GB, free: 5.977 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001339/0.7352, allocations: 220.1 kB / 0.5259 GB, free: 5.801 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.651e-05/0.7353, allocations: 43.28 kB / 0.5259 GB, free: 5.777 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000139/0.7354, allocations: 86.84 kB / 0.526 GB, free: 5.754 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001073/0.7355, allocations: 324.4 kB / 0.5263 GB, free: 5.441 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001001/0.7356, allocations: 46.23 kB / 0.5264 GB, free: 5.438 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003613/0.736, allocations: 349.9 kB / 0.5267 GB, free: 5.051 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005407/0.7366, allocations: 443.2 kB / 0.5271 GB, free: 4.652 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.488e-06/0.7366, allocations: 3.75 kB / 0.5271 GB, free: 4.652 MB / 382.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0007454/0.7373, allocations: 380.5 kB / 0.5275 GB, free: 4.605 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.09e-05/0.7374, allocations: 9.531 kB / 0.5275 GB, free: 4.605 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.651e-05/0.7374, allocations: 11.44 kB / 0.5275 GB, free: 4.605 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.04e-05/0.7375, allocations: 17.47 kB / 0.5275 GB, free: 4.602 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003059/0.7378, allocations: 96.22 kB / 0.5276 GB, free: 4.602 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.219e-05/0.7378, allocations: 22.81 kB / 0.5276 GB, free: 4.602 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002891/0.7381, allocations: 57.03 kB / 0.5277 GB, free: 4.574 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.367e-05/0.7382, allocations: 35.58 kB / 0.5277 GB, free: 4.574 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.0001548/0.7384, allocations: 152.9 kB / 0.5279 GB, free: 4.449 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.643e-05/0.7384, allocations: 17.59 kB / 0.5279 GB, free: 4.441 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003429/0.7388, allocations: 148.1 kB / 0.528 GB, free: 4.387 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.282e-05/0.7388, allocations: 6.344 kB / 0.528 GB, free: 4.383 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.382e-06/0.7388, allocations: 0 / 0.528 GB, free: 4.383 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.739e-06/0.7388, allocations: 0 / 0.528 GB, free: 4.383 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004616/0.7393, allocations: 411.9 kB / 0.5284 GB, free: 4.059 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.557e-06/0.7393, allocations: 1.406 kB / 0.5284 GB, free: 4.059 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.954e-05/0.7394, allocations: 10.09 kB / 0.5284 GB, free: 4.059 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.707e-06/0.7394, allocations: 6.938 kB / 0.5284 GB, free: 4.055 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.131e-05/0.7394, allocations: 5.094 kB / 0.5284 GB, free: 4.055 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.266e-06/0.7394, allocations: 1.188 kB / 0.5284 GB, free: 4.055 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.294e-06/0.7394, allocations: 1.031 kB / 0.5284 GB, free: 4.055 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001916/0.7396, allocations: 215.6 kB / 0.5287 GB, free: 3.883 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.897e-05/0.7397, allocations: 102.9 kB / 0.5288 GB, free: 3.777 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.853e-05/0.7397, allocations: 4.734 kB / 0.5288 GB, free: 3.777 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001584/0.7399, allocations: 3.094 kB / 0.5288 GB, free: 3.777 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.723e-05/0.7399, allocations: 6.156 kB / 0.5288 GB, free: 3.777 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.426e-05/0.74, allocations: 8.156 kB / 0.5288 GB, free: 3.777 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001429/0.7401, allocations: 153.7 kB / 0.5289 GB, free: 3.695 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.7401, allocations: 0 / 0.5289 GB, free: 3.695 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0006406/0.7408, allocations: 94.5 kB / 0.529 GB, free: 3.688 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.0003724/0.7411, allocations: 161.6 kB / 0.5292 GB, free: 3.586 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0003739/0.7415, allocations: 169.5 kB / 0.5293 GB, free: 3.582 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.898e-06/0.7415, allocations: 0 / 0.5293 GB, free: 3.582 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 5.651e-05/0.7416, allocations: 29.31 kB / 0.5294 GB, free: 3.582 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000509/0.7421, allocations: 49.3 kB / 0.5294 GB, free: 3.578 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001361/0.7435, allocations: 0.6292 MB / 0.53 GB, free: 3.242 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002162/0.7437, allocations: 0.728 MB / 0.5307 GB, free: 2.539 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.782e-05/0.7438, allocations: 33.09 kB / 0.5308 GB, free: 2.531 MB / 382.1 MB Notification: Performance of SimCode: time 2.51e-07/0.7438, allocations: 0 / 0.5308 GB, free: 2.531 MB / 382.1 MB Notification: Performance of Templates: time 0.009802/0.7536, allocations: 3.331 MB / 0.534 GB, free: 1.961 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/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