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.001587/0.001587, allocations: 113.8 kB / 17.08 MB, free: 5.945 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.001676/0.001676, allocations: 194.5 kB / 18.01 MB, free: 5.031 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.347/1.347, allocations: 205.1 MB / 223.9 MB, free: 12.27 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.208/0.208, allocations: 43.51 MB / 314.8 MB, free: 460 kB / 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.001428/0.001428, allocations: 65.47 kB / 442.5 MB, free: 5.613 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1028/0.1042, allocations: 57.78 MB / 0.4886 GB, free: 11.75 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater): time 0.006494/0.1108, allocations: 4.977 MB / 0.4934 GB, free: 6.742 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.004727/0.1156, allocations: 4.551 MB / 0.4979 GB, free: 2.176 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001956/0.1158, allocations: 4 kB / 0.4979 GB, free: 2.172 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003283/0.1162, allocations: 55.59 kB / 0.4979 GB, free: 2.117 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001772/0.1179, allocations: 0.6565 MB / 0.4986 GB, free: 1.457 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004005/0.1184, allocations: 163.6 kB / 0.4987 GB, free: 1.297 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006008/0.119, allocations: 370.2 kB / 0.4991 GB, free: 0.9336 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.04e-05/0.119, allocations: 9.688 kB / 0.4991 GB, free: 0.9258 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003079/0.1194, allocations: 155.4 kB / 0.4992 GB, free: 0.7734 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002504/0.1196, allocations: 127.5 kB / 0.4994 GB, free: 0.6484 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 4.246e-05/0.1197, allocations: 8 kB / 0.4994 GB, free: 0.6406 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000865/0.1205, allocations: 335.6 kB / 0.4997 GB, free: 320 kB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 8.351e-05/0.1206, allocations: 43.77 kB / 0.4997 GB, free: 276 kB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001303/0.1208, allocations: 115.5 kB / 0.4998 GB, free: 160 kB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009412/0.1217, allocations: 419 kB / 0.5002 GB, free: 15.74 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.769e-06/0.1217, allocations: 0 / 0.5002 GB, free: 15.74 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.404e-06/0.1217, allocations: 7.984 kB / 0.5003 GB, free: 15.73 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.145e-06/0.1218, allocations: 0 / 0.5003 GB, free: 15.73 MB / 398.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.001077/0.1228, allocations: 0.5809 MB / 0.5008 GB, free: 15.11 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.414e-05/0.1229, allocations: 15.89 kB / 0.5008 GB, free: 15.09 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001855/0.1231, allocations: 24.75 kB / 0.5009 GB, free: 15.07 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003493/0.1235, allocations: 228 kB / 0.5011 GB, free: 14.81 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001286/0.1236, allocations: 127.9 kB / 0.5012 GB, free: 14.66 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.863e-05/0.1236, allocations: 20.38 kB / 0.5012 GB, free: 14.64 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005102/0.1241, allocations: 327.6 kB / 0.5015 GB, free: 14.29 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.146e-05/0.1242, allocations: 0 / 0.5015 GB, free: 14.29 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.97e-05/0.1242, allocations: 12 kB / 0.5015 GB, free: 14.28 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.24e-05/0.1242, allocations: 8 kB / 0.5015 GB, free: 14.27 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007544/0.125, allocations: 0.7391 MB / 0.5023 GB, free: 13.53 MB / 398.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.001272/0.1263, allocations: 1.257 MB / 0.5035 GB, free: 12.17 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003191/0.1266, allocations: 150.8 kB / 0.5036 GB, free: 12.02 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001138/0.1267, allocations: 76.77 kB / 0.5037 GB, free: 11.94 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002144/0.1289, allocations: 2.655 MB / 0.5063 GB, free: 8.77 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.644e-05/0.1289, allocations: 38.56 kB / 0.5063 GB, free: 8.723 MB / 398.1 MB Notification: Performance of pre-optimization done (n=13): time 1.713e-06/0.1289, allocations: 3.938 kB / 0.5063 GB, free: 8.719 MB / 398.1 MB Notification: Performance of matching and sorting (n=14): time 0.0006412/0.1296, allocations: 216.8 kB / 0.5066 GB, free: 8.5 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.467e-05/0.1296, allocations: 55.34 kB / 0.5066 GB, free: 8.434 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000181/0.1298, allocations: 215.8 kB / 0.5068 GB, free: 8.215 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.462e-05/0.1299, allocations: 33.7 kB / 0.5068 GB, free: 8.176 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001151/0.13, allocations: 210.8 kB / 0.507 GB, free: 7.965 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.918e-05/0.13, allocations: 51.3 kB / 0.5071 GB, free: 7.914 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.282e-05/0.1301, allocations: 89.92 kB / 0.5072 GB, free: 7.82 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001118/0.1302, allocations: 326.8 kB / 0.5075 GB, free: 7.492 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.694e-05/0.1303, allocations: 48.83 kB / 0.5075 GB, free: 7.441 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002544/0.1306, allocations: 326.1 kB / 0.5079 GB, free: 6.988 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000419/0.131, allocations: 429.2 kB / 0.5083 GB, free: 6.434 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.761e-06/0.131, allocations: 4 kB / 0.5083 GB, free: 6.43 MB / 398.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0005683/0.1316, allocations: 369.7 kB / 0.5086 GB, free: 6.062 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.213e-05/0.1316, allocations: 12 kB / 0.5086 GB, free: 6.051 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.511e-05/0.1317, allocations: 8 kB / 0.5086 GB, free: 6.043 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.405e-05/0.1317, allocations: 12 kB / 0.5086 GB, free: 6.031 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003405/0.132, allocations: 119.7 kB / 0.5088 GB, free: 5.914 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.959e-05/0.1321, allocations: 19.92 kB / 0.5088 GB, free: 5.895 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002213/0.1323, allocations: 12 kB / 0.5088 GB, free: 5.883 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.411e-05/0.1323, allocations: 28 kB / 0.5088 GB, free: 5.855 MB / 398.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.0001281/0.1325, allocations: 157.7 kB / 0.509 GB, free: 5.691 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.433e-05/0.1325, allocations: 19.75 kB / 0.509 GB, free: 5.672 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003126/0.1329, allocations: 158.8 kB / 0.5091 GB, free: 5.504 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.254e-05/0.1329, allocations: 7.938 kB / 0.5091 GB, free: 5.496 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.419e-06/0.1329, allocations: 0 / 0.5091 GB, free: 5.496 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.051e-06/0.1329, allocations: 3.984 kB / 0.5091 GB, free: 5.492 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005324/0.1334, allocations: 420.4 kB / 0.5096 GB, free: 5.023 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.505e-06/0.1334, allocations: 0 / 0.5096 GB, free: 5.023 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001683/0.1336, allocations: 39.84 kB / 0.5096 GB, free: 4.984 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.843e-06/0.1336, allocations: 4 kB / 0.5096 GB, free: 4.98 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.278e-05/0.1337, allocations: 4 kB / 0.5096 GB, free: 4.977 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.174e-06/0.1337, allocations: 4.031 kB / 0.5096 GB, free: 4.973 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.1337, allocations: 0 / 0.5096 GB, free: 4.973 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002366/0.1339, allocations: 224.2 kB / 0.5098 GB, free: 4.734 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.168e-05/0.134, allocations: 104.8 kB / 0.5099 GB, free: 4.613 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.886e-05/0.134, allocations: 4 kB / 0.5099 GB, free: 4.609 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001922/0.1342, allocations: 8 kB / 0.5099 GB, free: 4.602 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.652e-05/0.1343, allocations: 11.98 kB / 0.5099 GB, free: 4.59 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.437e-05/0.1343, allocations: 11.98 kB / 0.5099 GB, free: 4.578 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001193/0.1344, allocations: 148.5 kB / 0.5101 GB, free: 4.438 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1344, allocations: 0 / 0.5101 GB, free: 4.438 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0004937/0.1349, allocations: 99.92 kB / 0.5102 GB, free: 4.34 MB / 398.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.0003188/0.1353, allocations: 171.2 kB / 0.5103 GB, free: 4.164 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003281/0.1356, allocations: 177.9 kB / 0.5105 GB, free: 3.992 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.915e-06/0.1356, allocations: 0 / 0.5105 GB, free: 3.992 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 5.626e-05/0.1357, allocations: 35.92 kB / 0.5106 GB, free: 3.957 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004627/0.1362, allocations: 59.14 kB / 0.5106 GB, free: 3.902 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009421/0.1371, allocations: 0.5191 MB / 0.5111 GB, free: 3.352 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002775/0.1374, allocations: 0.7323 MB / 0.5118 GB, free: 2.594 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.966e-05/0.1375, allocations: 35.42 kB / 0.5119 GB, free: 2.559 MB / 398.1 MB Notification: Performance of SimCode: time 2.4e-07/0.1375, allocations: 0 / 0.5119 GB, free: 2.559 MB / 398.1 MB Notification: Performance of Templates: time 0.006201/0.1437, allocations: 3.468 MB / 0.5153 GB, free: 15.09 MB / 414.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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches