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.001398/0.001398, allocations: 111.4 kB / 17.04 MB, free: 6.078 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.001462/0.001462, allocations: 195 kB / 17.97 MB, free: 5.16 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.419/1.419, allocations: 205.1 MB / 223.9 MB, free: 12.24 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.2075/0.2075, allocations: 43.52 MB / 314.7 MB, free: 492 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.001602/0.001602, allocations: 74.58 kB / 384.2 MB, free: 56.36 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09237/0.09398, allocations: 57.79 MB / 442 MB, free: 6.172 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater): time 0.005807/0.09984, allocations: 4.957 MB / 446.9 MB, free: 1.18 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.004644/0.1045, allocations: 4.555 MB / 451.5 MB, free: 12.61 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001553/0.1047, allocations: 8 kB / 451.5 MB, free: 12.6 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000272/0.105, allocations: 51.61 kB / 451.5 MB, free: 12.55 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001853/0.1069, allocations: 0.6564 MB / 452.2 MB, free: 11.89 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004035/0.1073, allocations: 162.7 kB / 452.4 MB, free: 11.74 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006017/0.1079, allocations: 370.1 kB / 452.7 MB, free: 11.38 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.807e-05/0.108, allocations: 17.67 kB / 452.7 MB, free: 11.36 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000269/0.1082, allocations: 159.4 kB / 452.9 MB, free: 11.2 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002298/0.1085, allocations: 127.5 kB / 453 MB, free: 11.08 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.293e-05/0.1085, allocations: 8 kB / 453 MB, free: 11.07 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008775/0.1094, allocations: 331.7 kB / 453.3 MB, free: 10.75 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001006/0.1095, allocations: 47.75 kB / 453.4 MB, free: 10.7 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001392/0.1097, allocations: 111.5 kB / 453.5 MB, free: 10.59 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000847/0.1105, allocations: 418.9 kB / 453.9 MB, free: 10.18 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.523e-06/0.1105, allocations: 0 / 453.9 MB, free: 10.18 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.804e-06/0.1105, allocations: 7.938 kB / 453.9 MB, free: 10.17 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.562e-06/0.1106, allocations: 0 / 453.9 MB, free: 10.17 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.001008/0.1116, allocations: 0.5736 MB / 454.5 MB, free: 9.551 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.896e-05/0.1116, allocations: 15.89 kB / 454.5 MB, free: 9.535 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001815/0.1118, allocations: 32.61 kB / 454.5 MB, free: 9.504 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003437/0.1122, allocations: 232.1 kB / 454.8 MB, free: 9.238 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001372/0.1123, allocations: 123.9 kB / 454.9 MB, free: 9.09 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.194e-05/0.1124, allocations: 20.38 kB / 454.9 MB, free: 9.07 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004907/0.1129, allocations: 323.6 kB / 455.2 MB, free: 8.727 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.276e-05/0.1129, allocations: 7.938 kB / 455.2 MB, free: 8.719 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.642e-05/0.1129, allocations: 8 kB / 455.2 MB, free: 8.711 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.343e-05/0.1129, allocations: 8 kB / 455.2 MB, free: 8.703 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007663/0.1137, allocations: 0.7391 MB / 456 MB, free: 7.965 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.001259/0.115, allocations: 1.253 MB / 457.2 MB, free: 6.605 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003215/0.1153, allocations: 150.5 kB / 457.4 MB, free: 6.449 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001074/0.1154, allocations: 72.83 kB / 457.5 MB, free: 6.375 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002222/0.1177, allocations: 2.655 MB / 460.1 MB, free: 3.207 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.536e-05/0.1177, allocations: 34.56 kB / 460.1 MB, free: 3.164 MB / 334.1 MB Notification: Performance of pre-optimization done (n=13): time 2.545e-06/0.1177, allocations: 7.984 kB / 460.2 MB, free: 3.156 MB / 334.1 MB Notification: Performance of matching and sorting (n=14): time 0.0006268/0.1183, allocations: 208.9 kB / 460.4 MB, free: 2.945 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.665e-05/0.1184, allocations: 63.28 kB / 460.4 MB, free: 2.871 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001765/0.1186, allocations: 211.9 kB / 460.6 MB, free: 2.656 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.927e-05/0.1186, allocations: 25.7 kB / 460.6 MB, free: 2.625 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001181/0.1187, allocations: 214.8 kB / 460.9 MB, free: 2.41 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.791e-05/0.1188, allocations: 55.28 kB / 460.9 MB, free: 2.355 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.62e-05/0.1189, allocations: 89.92 kB / 461 MB, free: 2.262 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001083/0.119, allocations: 326.8 kB / 461.3 MB, free: 1.934 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.336e-05/0.1191, allocations: 52.83 kB / 461.4 MB, free: 1.883 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002574/0.1193, allocations: 322.1 kB / 461.7 MB, free: 1.43 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004233/0.1198, allocations: 421.2 kB / 462.1 MB, free: 0.8828 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.458e-06/0.1198, allocations: 4 kB / 462.1 MB, free: 0.8789 MB / 334.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0005169/0.1203, allocations: 368.8 kB / 462.5 MB, free: 0.5117 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.086e-05/0.1203, allocations: 12 kB / 462.5 MB, free: 0.5 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.112e-05/0.1204, allocations: 8.906 kB / 462.5 MB, free: 0.4922 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.175e-05/0.1204, allocations: 12 kB / 462.5 MB, free: 492 kB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003483/0.1207, allocations: 119.8 kB / 462.6 MB, free: 372 kB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.884e-05/0.1208, allocations: 19.88 kB / 462.6 MB, free: 352 kB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002143/0.121, allocations: 16 kB / 462.6 MB, free: 336 kB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.324e-05/0.121, allocations: 35.92 kB / 462.7 MB, free: 300 kB / 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.000119/0.1212, allocations: 149.6 kB / 462.8 MB, free: 140 kB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.807e-05/0.1212, allocations: 15.81 kB / 462.8 MB, free: 124 kB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003057/0.1215, allocations: 154.9 kB / 463 MB, free: 15.96 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.102e-05/0.1215, allocations: 7.938 kB / 463 MB, free: 15.95 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.26e-06/0.1216, allocations: 4.062 kB / 463 MB, free: 15.95 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.316e-06/0.1216, allocations: 0 / 463 MB, free: 15.95 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005161/0.1221, allocations: 439.1 kB / 463.4 MB, free: 15.46 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.003e-06/0.1221, allocations: 3.938 kB / 463.4 MB, free: 15.46 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001659/0.1223, allocations: 35.86 kB / 463.5 MB, free: 15.43 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.937e-06/0.1223, allocations: 4 kB / 463.5 MB, free: 15.42 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.116e-05/0.1223, allocations: 3.984 kB / 463.5 MB, free: 15.42 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.843e-06/0.1223, allocations: 0 / 463.5 MB, free: 15.42 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.1223, allocations: 0 / 463.5 MB, free: 15.42 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002195/0.1225, allocations: 220.1 kB / 463.7 MB, free: 15.18 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.978e-05/0.1226, allocations: 104.8 kB / 463.8 MB, free: 15.06 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.197e-05/0.1227, allocations: 4 kB / 463.8 MB, free: 15.06 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001896/0.1229, allocations: 11.98 kB / 463.8 MB, free: 15.05 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.43e-05/0.1229, allocations: 11.92 kB / 463.8 MB, free: 15.04 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.583e-05/0.1229, allocations: 4 kB / 463.8 MB, free: 15.03 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001103/0.123, allocations: 156.5 kB / 464 MB, free: 14.88 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.123, allocations: 4 kB / 464 MB, free: 14.88 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004558/0.1235, allocations: 88 kB / 464.1 MB, free: 14.79 MB / 350.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.0002786/0.1238, allocations: 171.2 kB / 464.2 MB, free: 14.61 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002749/0.1241, allocations: 177.5 kB / 464.4 MB, free: 14.44 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.033e-06/0.1241, allocations: 0 / 464.4 MB, free: 14.44 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 5.627e-05/0.1241, allocations: 39.92 kB / 464.5 MB, free: 14.4 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004229/0.1246, allocations: 58.09 kB / 464.5 MB, free: 14.35 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008152/0.1254, allocations: 0.4939 MB / 465 MB, free: 13.82 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000253/0.1257, allocations: 0.7284 MB / 465.7 MB, free: 13.07 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001825/0.1259, allocations: 62.78 kB / 465.8 MB, free: 13.01 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.103e-05/0.1259, allocations: 31.42 kB / 465.8 MB, free: 12.98 MB / 350.1 MB Notification: Performance of SimCode: time 2.4e-07/0.1259, allocations: 0 / 465.8 MB, free: 12.98 MB / 350.1 MB Notification: Performance of Templates: time 0.00697/0.1329, allocations: 3.402 MB / 469.2 MB, free: 9.605 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 -s gbode -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