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: "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Media_TestAllProperties_ConstantPropertyLiquidWater",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Media_TestAllProperties_ConstantPropertyLiquidWater",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001524/0.001525, allocations: 101.8 kB / 16.41 MB, free: 6.5 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.001268/0.001268, allocations: 192.2 kB / 17.34 MB, free: 5.738 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.337/1.337, allocations: 205.1 MB / 223.2 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.1941/0.1941, allocations: 43.52 MB / 314.1 MB, free: 456 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.001442/0.001442, allocations: 67.91 kB / 441.3 MB, free: 6.121 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1007/0.1021, allocations: 57.79 MB / 499.1 MB, free: 12.25 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater): time 0.006784/0.109, allocations: 4.964 MB / 0.4923 GB, free: 7.254 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.004447/0.1135, allocations: 4.571 MB / 0.4967 GB, free: 2.668 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001542/0.1136, allocations: 0 / 0.4967 GB, free: 2.668 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002729/0.114, allocations: 51.61 kB / 0.4968 GB, free: 2.617 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001559/0.1155, allocations: 0.6603 MB / 0.4974 GB, free: 1.953 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003738/0.1159, allocations: 163.7 kB / 0.4976 GB, free: 1.793 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.000506/0.1164, allocations: 374 kB / 0.498 GB, free: 1.426 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.644e-05/0.1165, allocations: 13.69 kB / 0.498 GB, free: 1.414 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002348/0.1167, allocations: 155.4 kB / 0.4981 GB, free: 1.262 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001837/0.1169, allocations: 123.5 kB / 0.4982 GB, free: 1.141 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.804e-05/0.117, allocations: 8 kB / 0.4982 GB, free: 1.133 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007516/0.1177, allocations: 335.6 kB / 0.4986 GB, free: 0.8047 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 8.109e-05/0.1178, allocations: 43.81 kB / 0.4986 GB, free: 0.7617 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001148/0.1179, allocations: 107.5 kB / 0.4987 GB, free: 0.6562 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007313/0.1187, allocations: 414.7 kB / 0.4991 GB, free: 256 kB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.541e-06/0.1187, allocations: 0 / 0.4991 GB, free: 256 kB / 382.1 MB Notification: Performance of FrontEnd: time 2.294e-06/0.1187, allocations: 7.938 kB / 0.4991 GB, free: 248 kB / 382.1 MB Notification: Performance of Transformations before backend: time 5.33e-06/0.1187, allocations: 3.938 kB / 0.4991 GB, free: 244 kB / 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.0009/0.1196, allocations: 0.5883 MB / 0.4997 GB, free: 15.6 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.514e-05/0.1196, allocations: 15.88 kB / 0.4997 GB, free: 15.59 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.634e-05/0.1197, allocations: 58.73 kB / 0.4998 GB, free: 15.52 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001402/0.1199, allocations: 32.73 kB / 0.4998 GB, free: 15.49 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002976/0.1202, allocations: 228.1 kB / 0.5 GB, free: 15.23 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001189/0.1203, allocations: 123.9 kB / 0.5001 GB, free: 15.08 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.828e-05/0.1203, allocations: 20.12 kB / 0.5001 GB, free: 15.06 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004591/0.1208, allocations: 327.6 kB / 0.5005 GB, free: 14.71 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.037e-05/0.1208, allocations: 4 kB / 0.5005 GB, free: 14.71 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.304e-05/0.1209, allocations: 12 kB / 0.5005 GB, free: 14.7 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.168e-05/0.1209, allocations: 11.98 kB / 0.5005 GB, free: 14.68 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007266/0.1216, allocations: 0.7351 MB / 0.5012 GB, free: 13.95 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.001263/0.1229, allocations: 1.257 MB / 0.5024 GB, free: 12.59 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000288/0.1232, allocations: 142.8 kB / 0.5026 GB, free: 12.44 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001088/0.1233, allocations: 80.81 kB / 0.5026 GB, free: 12.36 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002036/0.1253, allocations: 2.651 MB / 0.5052 GB, free: 9.191 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.315e-05/0.1254, allocations: 42.56 kB / 0.5053 GB, free: 9.141 MB / 398.1 MB Notification: Performance of pre-optimization done (n=13): time 1.403e-06/0.1254, allocations: 0 / 0.5053 GB, free: 9.141 MB / 398.1 MB Notification: Performance of matching and sorting (n=14): time 0.0005941/0.126, allocations: 225 kB / 0.5055 GB, free: 8.914 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.087e-05/0.126, allocations: 51.41 kB / 0.5055 GB, free: 8.852 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001547/0.1262, allocations: 223.7 kB / 0.5057 GB, free: 8.625 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.9e-05/0.1262, allocations: 25.7 kB / 0.5058 GB, free: 8.594 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001032/0.1263, allocations: 223.5 kB / 0.506 GB, free: 8.371 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.571e-05/0.1264, allocations: 51.64 kB / 0.506 GB, free: 8.32 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.175e-05/0.1265, allocations: 86.03 kB / 0.5061 GB, free: 8.23 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 8.886e-05/0.1266, allocations: 326.8 kB / 0.5064 GB, free: 7.902 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.107e-05/0.1266, allocations: 48.84 kB / 0.5065 GB, free: 7.852 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002199/0.1269, allocations: 326 kB / 0.5068 GB, free: 7.402 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000353/0.1272, allocations: 429.2 kB / 0.5072 GB, free: 6.848 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.776e-06/0.1272, allocations: 0 / 0.5072 GB, free: 6.848 MB / 398.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0004804/0.1277, allocations: 369.6 kB / 0.5075 GB, free: 6.48 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.615e-05/0.1277, allocations: 12.22 kB / 0.5076 GB, free: 6.469 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.005e-05/0.1278, allocations: 12 kB / 0.5076 GB, free: 6.457 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.053e-05/0.1278, allocations: 15.94 kB / 0.5076 GB, free: 6.441 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003088/0.1281, allocations: 103.8 kB / 0.5077 GB, free: 6.34 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.711e-05/0.1281, allocations: 23.92 kB / 0.5077 GB, free: 6.316 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002059/0.1283, allocations: 20.06 kB / 0.5077 GB, free: 6.297 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.191e-05/0.1284, allocations: 31.94 kB / 0.5078 GB, free: 6.266 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.0001057/0.1285, allocations: 149.5 kB / 0.5079 GB, free: 6.109 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.326e-05/0.1286, allocations: 35.78 kB / 0.5079 GB, free: 6.074 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002793/0.1288, allocations: 151 kB / 0.5081 GB, free: 5.914 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.688e-06/0.1289, allocations: 3.938 kB / 0.5081 GB, free: 5.91 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.406e-06/0.1289, allocations: 8 kB / 0.5081 GB, free: 5.902 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.046e-06/0.1289, allocations: 0 / 0.5081 GB, free: 5.902 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004911/0.1294, allocations: 432.3 kB / 0.5085 GB, free: 5.422 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.288e-06/0.1294, allocations: 7.922 kB / 0.5085 GB, free: 5.414 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000157/0.1295, allocations: 27.98 kB / 0.5085 GB, free: 5.387 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.224e-06/0.1296, allocations: 0 / 0.5085 GB, free: 5.387 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.266e-05/0.1296, allocations: 7.984 kB / 0.5085 GB, free: 5.379 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.804e-06/0.1296, allocations: 0 / 0.5085 GB, free: 5.379 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.1296, allocations: 0 / 0.5085 GB, free: 5.379 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002064/0.1298, allocations: 228.3 kB / 0.5088 GB, free: 5.137 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.262e-05/0.1299, allocations: 104.9 kB / 0.5089 GB, free: 5.016 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.608e-05/0.1299, allocations: 7.953 kB / 0.5089 GB, free: 5.008 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001892/0.1301, allocations: 11.98 kB / 0.5089 GB, free: 4.996 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.261e-05/0.1302, allocations: 4 kB / 0.5089 GB, free: 4.992 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.561e-05/0.1302, allocations: 11.98 kB / 0.5089 GB, free: 4.98 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001292/0.1303, allocations: 152.5 kB / 0.509 GB, free: 4.832 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.1303, allocations: 0 / 0.509 GB, free: 4.832 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0004458/0.1308, allocations: 95.86 kB / 0.5091 GB, free: 4.738 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.0006042/0.1314, allocations: 0.8184 MB / 0.5099 GB, free: 3.891 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002712/0.1317, allocations: 182 kB / 0.5101 GB, free: 3.715 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.424e-06/0.1317, allocations: 0 / 0.5101 GB, free: 3.715 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 6.375e-05/0.1317, allocations: 44.05 kB / 0.5101 GB, free: 3.672 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000418/0.1322, allocations: 47.78 kB / 0.5102 GB, free: 3.629 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002626/0.1348, allocations: 2.72 MB / 0.5128 GB, free: 0.5625 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002628/0.1351, allocations: 0.7245 MB / 0.5136 GB, free: 15.81 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001932/0.1353, allocations: 66.86 kB / 0.5136 GB, free: 15.74 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.559e-05/0.1354, allocations: 71.41 kB / 0.5137 GB, free: 15.67 MB / 414.1 MB Notification: Performance of SimCode: time 2.41e-07/0.1354, allocations: 0 / 0.5137 GB, free: 15.67 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0227/0.1581, allocations: 5.576 MB / 0.5191 GB, free: 10.1 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.397/7.555, allocations: 9.391 kB / 0.5191 GB, free: 10.09 MB / 414.1 MB (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 & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater_res.csv --start-time 0 --stop-time 0.1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 4e-05 ModelicaTest_3_2_3_ModelicaTest_Media_TestAllProperties_ConstantPropertyLiquidWater.fmu > ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater_res.csv","/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