Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater.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.ConstantPropertyLiquidWater,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.ConstantPropertyLiquidWater") translateModel(ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater,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.ConstantPropertyLiquidWater") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009522/0.0009523, allocations: 119.9 kB / 18.42 MB, free: 4.555 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001064/0.001064, allocations: 207.5 kB / 19.36 MB, free: 3.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.332/1.332, 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.1964/0.1964, allocations: 46.1 MB / 344.9 MB, free: 11.52 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001356/0.001357, allocations: 79.62 kB / 419 MB, free: 19.05 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.105/0.1063, allocations: 62.46 MB / 481.5 MB, free: 4.539 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater): time 0.005663/0.112, allocations: 5.012 MB / 486.5 MB, free: 15.5 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.004148/0.1162, allocations: 4.578 MB / 491.1 MB, free: 10.9 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.141e-05/0.1163, allocations: 0 / 491.1 MB, free: 10.9 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002355/0.1166, allocations: 51.61 kB / 491.1 MB, free: 10.85 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001287/0.1179, allocations: 0.6603 MB / 491.8 MB, free: 10.19 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003309/0.1182, allocations: 158.9 kB / 491.9 MB, free: 10.04 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004323/0.1186, allocations: 378.1 kB / 492.3 MB, free: 9.668 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.993e-05/0.1187, allocations: 9.688 kB / 492.3 MB, free: 9.66 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001952/0.1189, allocations: 155.5 kB / 492.5 MB, free: 9.508 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001638/0.1191, allocations: 127.5 kB / 492.6 MB, free: 9.383 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.339e-05/0.1191, allocations: 8 kB / 492.6 MB, free: 9.375 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006308/0.1197, allocations: 347.6 kB / 492.9 MB, free: 9.035 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 7.328e-05/0.1198, allocations: 39.83 kB / 493 MB, free: 8.996 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000116/0.1199, allocations: 111.5 kB / 493.1 MB, free: 8.887 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005882/0.1205, allocations: 426.9 kB / 493.5 MB, free: 8.469 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.336e-06/0.1206, allocations: 0 / 493.5 MB, free: 8.469 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.513e-06/0.1206, allocations: 0 / 493.5 MB, free: 8.469 MB / 366.1 MB Notification: Performance of Transformations before backend: time 9.067e-06/0.1206, allocations: 0 / 493.5 MB, free: 8.469 MB / 366.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.0008887/0.1215, allocations: 0.5852 MB / 494.1 MB, free: 7.832 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.891e-05/0.1215, allocations: 12.03 kB / 494.1 MB, free: 7.82 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001472/0.1217, allocations: 32.73 kB / 494.1 MB, free: 7.789 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002569/0.1219, allocations: 224 kB / 494.3 MB, free: 7.531 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000118/0.1221, allocations: 123.9 kB / 494.5 MB, free: 7.387 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.795e-05/0.1221, allocations: 20.38 kB / 494.5 MB, free: 7.367 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004618/0.1226, allocations: 335.5 kB / 494.8 MB, free: 7.012 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.259e-05/0.1226, allocations: 4 kB / 494.8 MB, free: 7.008 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.35e-05/0.1226, allocations: 7.938 kB / 494.8 MB, free: 7 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.921e-05/0.1226, allocations: 8 kB / 494.8 MB, free: 6.992 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007513/0.1234, allocations: 0.7391 MB / 495.6 MB, free: 6.254 MB / 366.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.001184/0.1246, allocations: 1.242 MB / 496.8 MB, free: 4.906 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002984/0.1249, allocations: 150.8 kB / 497 MB, free: 4.75 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001072/0.125, allocations: 80.77 kB / 497 MB, free: 4.668 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002109/0.1271, allocations: 2.666 MB / 499.7 MB, free: 1.488 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.485e-05/0.1272, allocations: 34.56 kB / 499.7 MB, free: 1.445 MB / 366.1 MB Notification: Performance of pre-optimization done (n=13): time 2.845e-06/0.1272, allocations: 0 / 499.7 MB, free: 1.445 MB / 366.1 MB Notification: Performance of matching and sorting (n=14): time 0.0006325/0.1278, allocations: 216.8 kB / 499.9 MB, free: 1.227 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.397e-05/0.1279, allocations: 59.34 kB / 0.4883 GB, free: 1.156 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001724/0.128, allocations: 214.8 kB / 0.4885 GB, free: 0.9375 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.854e-05/0.1281, allocations: 33.7 kB / 0.4885 GB, free: 0.8984 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001091/0.1282, allocations: 206.8 kB / 0.4887 GB, free: 0.6914 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.407e-05/0.1282, allocations: 55.3 kB / 0.4888 GB, free: 0.6367 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.144e-05/0.1283, allocations: 85.92 kB / 0.4889 GB, free: 0.5469 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001411/0.1285, allocations: 334.8 kB / 0.4892 GB, free: 216 kB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.296e-05/0.1286, allocations: 48.84 kB / 0.4892 GB, free: 168 kB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002996/0.1289, allocations: 316.3 kB / 0.4895 GB, free: 15.73 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003905/0.1293, allocations: 399.5 kB / 0.4899 GB, free: 15.21 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.327e-06/0.1293, allocations: 8 kB / 0.4899 GB, free: 15.2 MB / 382.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0005332/0.1298, allocations: 372.8 kB / 0.4903 GB, free: 14.83 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.532e-05/0.1299, allocations: 8.938 kB / 0.4903 GB, free: 14.82 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.028e-05/0.1299, allocations: 8 kB / 0.4903 GB, free: 14.82 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.111e-05/0.1299, allocations: 12 kB / 0.4903 GB, free: 14.8 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000334/0.1302, allocations: 119.8 kB / 0.4904 GB, free: 14.69 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.609e-05/0.1303, allocations: 19.92 kB / 0.4904 GB, free: 14.67 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002105/0.1305, allocations: 12 kB / 0.4904 GB, free: 14.66 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.492e-05/0.1305, allocations: 31.98 kB / 0.4905 GB, free: 14.62 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 42 * 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.0001136/0.1306, allocations: 145.6 kB / 0.4906 GB, free: 14.47 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.265e-05/0.1307, allocations: 23.81 kB / 0.4906 GB, free: 14.45 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002799/0.131, allocations: 158.5 kB / 0.4908 GB, free: 14.29 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.097e-06/0.131, allocations: 7.875 kB / 0.4908 GB, free: 14.29 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.577e-06/0.131, allocations: 128 / 0.4908 GB, free: 14.29 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.378e-06/0.131, allocations: 4 kB / 0.4908 GB, free: 14.28 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005044/0.1315, allocations: 439.2 kB / 0.4912 GB, free: 13.79 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.843e-06/0.1315, allocations: 0 / 0.4912 GB, free: 13.79 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001583/0.1317, allocations: 31.92 kB / 0.4912 GB, free: 13.76 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.124e-06/0.1317, allocations: 0 / 0.4912 GB, free: 13.76 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.537e-05/0.1317, allocations: 11.98 kB / 0.4913 GB, free: 13.75 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.623e-06/0.1317, allocations: 0 / 0.4913 GB, free: 13.75 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.1317, allocations: 0 / 0.4913 GB, free: 13.75 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002312/0.132, allocations: 216.2 kB / 0.4915 GB, free: 13.52 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.672e-05/0.1321, allocations: 104.8 kB / 0.4916 GB, free: 13.4 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.525e-05/0.1321, allocations: 11.84 kB / 0.4916 GB, free: 13.39 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001983/0.1323, allocations: 11.98 kB / 0.4916 GB, free: 13.38 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.179e-05/0.1324, allocations: 7.984 kB / 0.4916 GB, free: 13.37 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.693e-05/0.1324, allocations: 11.94 kB / 0.4916 GB, free: 13.36 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001123/0.1325, allocations: 148.5 kB / 0.4917 GB, free: 13.21 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1325, allocations: 8 kB / 0.4918 GB, free: 13.2 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0004496/0.133, allocations: 92 kB / 0.4918 GB, free: 13.11 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (14): * Single equations (assignments): 13 * 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.000245/0.1332, allocations: 179 kB / 0.492 GB, free: 12.93 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.000302/0.1335, allocations: 173.6 kB / 0.4922 GB, free: 12.76 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.426e-06/0.1335, allocations: 0 / 0.4922 GB, free: 12.76 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 5.667e-05/0.1336, allocations: 39.91 kB / 0.4922 GB, free: 12.72 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004045/0.134, allocations: 51.56 kB / 0.4923 GB, free: 12.68 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008/0.1348, allocations: 0.4979 MB / 0.4927 GB, free: 12.15 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002791/0.1351, allocations: 0.7284 MB / 0.4935 GB, free: 11.39 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001807/0.1353, allocations: 62.78 kB / 0.4935 GB, free: 11.34 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.131e-05/0.1354, allocations: 31.42 kB / 0.4936 GB, free: 11.3 MB / 382.1 MB Notification: Performance of SimCode: time 2.31e-07/0.1354, allocations: 0 / 0.4936 GB, free: 11.3 MB / 382.1 MB Notification: Performance of Templates: time 0.006688/0.1421, allocations: 3.46 MB / 0.4969 GB, free: 7.863 MB / 382.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater.sim & ./ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestAllProperties/ConstantPropertyLiquidWater/ConstantPropertyLiquidWater.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches