Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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_3.2.3_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_3.2.3_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001492/0.001492, allocations: 107.9 kB / 16.64 MB, free: 6.82 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001696/0.001696, allocations: 190.5 kB / 17.56 MB, free: 5.941 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.364/1.364, allocations: 205.1 MB / 223.4 MB, free: 12.45 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2039/0.2039, allocations: 43.52 MB / 314.3 MB, free: 0.6953 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001546/0.001547, allocations: 63.48 kB / 382.9 MB, free: 57 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09539/0.09696, allocations: 57.8 MB / 440.7 MB, free: 7.355 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater): time 0.005668/0.1027, allocations: 4.99 MB / 445.6 MB, free: 2.328 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.004432/0.1072, allocations: 4.536 MB / 450.2 MB, free: 13.77 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002358/0.1074, allocations: 4 kB / 450.2 MB, free: 13.77 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003551/0.1078, allocations: 43.73 kB / 450.2 MB, free: 13.73 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002073/0.1099, allocations: 0.6102 MB / 450.8 MB, free: 13.11 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000415/0.1103, allocations: 145.7 kB / 451 MB, free: 12.98 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.000632/0.111, allocations: 374.1 kB / 451.3 MB, free: 12.61 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.495e-05/0.1111, allocations: 17.66 kB / 451.4 MB, free: 12.59 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003067/0.1114, allocations: 151.5 kB / 451.5 MB, free: 12.45 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002266/0.1116, allocations: 131.5 kB / 451.6 MB, free: 12.32 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.727e-05/0.1117, allocations: 8 kB / 451.6 MB, free: 12.31 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008716/0.1125, allocations: 339.6 kB / 452 MB, free: 11.98 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 9.08e-05/0.1126, allocations: 51.75 kB / 452 MB, free: 11.93 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001481/0.1128, allocations: 103.5 kB / 452.1 MB, free: 11.82 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005826/0.1134, allocations: 299.6 kB / 452.4 MB, free: 11.53 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.947e-06/0.1134, allocations: 0 / 452.4 MB, free: 11.53 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.683e-06/0.1134, allocations: 0 / 452.4 MB, free: 11.53 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.771e-06/0.1134, allocations: 0 / 452.4 MB, free: 11.53 MB / 334.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.001053/0.1145, allocations: 0.5891 MB / 453 MB, free: 10.89 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.961e-05/0.1145, allocations: 11.89 kB / 453 MB, free: 10.88 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001683/0.1147, allocations: 32.69 kB / 453.1 MB, free: 10.85 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002538/0.115, allocations: 224.1 kB / 453.3 MB, free: 10.59 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001405/0.1151, allocations: 123.9 kB / 453.4 MB, free: 10.45 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.168e-05/0.1152, allocations: 20.38 kB / 453.4 MB, free: 10.43 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005294/0.1157, allocations: 331.6 kB / 453.7 MB, free: 10.07 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.112e-05/0.1157, allocations: 0 / 453.7 MB, free: 10.07 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.113e-05/0.1158, allocations: 12 kB / 453.8 MB, free: 10.06 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.001e-05/0.1158, allocations: 8 kB / 453.8 MB, free: 10.05 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008079/0.1166, allocations: 0.7429 MB / 454.5 MB, free: 9.312 MB / 334.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.001335/0.1179, allocations: 1.246 MB / 455.7 MB, free: 7.961 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003339/0.1183, allocations: 158.5 kB / 455.9 MB, free: 7.797 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001096/0.1184, allocations: 76.58 kB / 456 MB, free: 7.719 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002172/0.1206, allocations: 2.651 MB / 458.6 MB, free: 4.555 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.9e-05/0.1206, allocations: 34.56 kB / 458.7 MB, free: 4.512 MB / 334.1 MB Notification: Performance of pre-optimization done (n=13): time 1.543e-06/0.1206, allocations: 0 / 458.7 MB, free: 4.512 MB / 334.1 MB Notification: Performance of matching and sorting (n=14): time 0.0006619/0.1213, allocations: 220.6 kB / 458.9 MB, free: 4.293 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.983e-05/0.1214, allocations: 55.34 kB / 458.9 MB, free: 4.227 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002393/0.1216, allocations: 218.8 kB / 459.1 MB, free: 4.004 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.608e-05/0.1216, allocations: 29.7 kB / 459.2 MB, free: 3.969 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000134/0.1218, allocations: 210.8 kB / 459.4 MB, free: 3.758 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.022e-05/0.1218, allocations: 51.3 kB / 459.4 MB, free: 3.707 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.409e-05/0.1219, allocations: 93.94 kB / 459.5 MB, free: 3.609 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0002592/0.1222, allocations: 326.8 kB / 459.8 MB, free: 3.281 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.625e-05/0.1223, allocations: 48.83 kB / 459.9 MB, free: 3.234 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002582/0.1226, allocations: 322.1 kB / 460.2 MB, free: 2.781 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004346/0.123, allocations: 421.2 kB / 460.6 MB, free: 2.234 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.315e-06/0.123, allocations: 8 kB / 460.6 MB, free: 2.227 MB / 334.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0005507/0.1236, allocations: 381.6 kB / 461 MB, free: 1.848 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.324e-05/0.1236, allocations: 8 kB / 461 MB, free: 1.84 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.481e-05/0.1236, allocations: 12 kB / 461 MB, free: 1.828 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.124e-05/0.1237, allocations: 12 kB / 461 MB, free: 1.816 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003359/0.124, allocations: 111.8 kB / 461.1 MB, free: 1.707 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.974e-05/0.124, allocations: 15.94 kB / 461.2 MB, free: 1.691 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002285/0.1243, allocations: 19.98 kB / 461.2 MB, free: 1.672 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.951e-05/0.1243, allocations: 28 kB / 461.2 MB, free: 1.645 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 44 * 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.0001373/0.1245, allocations: 157.7 kB / 461.4 MB, free: 1.48 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.156e-05/0.1245, allocations: 19.81 kB / 461.4 MB, free: 1.461 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003207/0.1248, allocations: 158.8 kB / 461.5 MB, free: 1.297 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.023e-05/0.1249, allocations: 3.938 kB / 461.5 MB, free: 1.293 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.009e-06/0.1249, allocations: 0 / 461.5 MB, free: 1.293 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.325e-06/0.1249, allocations: 7.984 kB / 461.5 MB, free: 1.285 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005828/0.1255, allocations: 427.2 kB / 462 MB, free: 0.8086 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.054e-06/0.1255, allocations: 3.938 kB / 462 MB, free: 0.8047 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001733/0.1257, allocations: 35.91 kB / 462 MB, free: 0.7695 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.497e-06/0.1257, allocations: 4.031 kB / 462 MB, free: 0.7656 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.371e-05/0.1257, allocations: 8 kB / 462 MB, free: 0.7578 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.943e-06/0.1257, allocations: 0 / 462 MB, free: 0.7578 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.272e-06/0.1257, allocations: 0 / 462 MB, free: 0.7578 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002524/0.126, allocations: 226.4 kB / 462.2 MB, free: 0.5195 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.492e-05/0.1261, allocations: 104.8 kB / 462.3 MB, free: 408 kB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.872e-05/0.1261, allocations: 4 kB / 462.3 MB, free: 404 kB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001961/0.1263, allocations: 12 kB / 462.3 MB, free: 392 kB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.731e-05/0.1264, allocations: 7.984 kB / 462.4 MB, free: 384 kB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.912e-05/0.1264, allocations: 15.92 kB / 462.4 MB, free: 368 kB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001425/0.1265, allocations: 144.5 kB / 462.5 MB, free: 228 kB / 334.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1265, allocations: 4 kB / 462.5 MB, free: 224 kB / 334.1 MB Notification: Performance of remove unused functions: time 0.0004959/0.127, allocations: 95.98 kB / 462.6 MB, free: 128 kB / 334.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.0004156/0.1275, allocations: 171.1 kB / 462.8 MB, free: 15.95 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003646/0.1278, allocations: 181.3 kB / 463 MB, free: 15.77 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.815e-06/0.1279, allocations: 0.8125 kB / 463 MB, free: 15.77 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 6.06e-05/0.1279, allocations: 39.98 kB / 463 MB, free: 15.73 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004396/0.1284, allocations: 52.52 kB / 463 MB, free: 15.68 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00103/0.1294, allocations: 0.601 MB / 463.6 MB, free: 15.04 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003942/0.1298, allocations: 0.7323 MB / 464.4 MB, free: 14.29 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.022e-05/0.1299, allocations: 31.42 kB / 464.4 MB, free: 14.25 MB / 350.1 MB Notification: Performance of SimCode: time 4.51e-07/0.1299, allocations: 0 / 464.4 MB, free: 14.25 MB / 350.1 MB Notification: Performance of Templates: time 0.006357/0.1363, allocations: 3.443 MB / 467.8 MB, free: 10.81 MB / 350.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater.sim & ./ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Media/TestAllProperties/ConstantPropertyLiquidWater/ConstantPropertyLiquidWater.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches