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.001538/0.001538, allocations: 105.5 kB / 16.4 MB, free: 6.445 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.001821/0.001821, allocations: 192.1 kB / 17.34 MB, free: 5.719 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.495/1.495, allocations: 205.1 MB / 223.2 MB, free: 12.21 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.2216/0.2216, allocations: 43.53 MB / 314.1 MB, free: 452 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.001667/0.001667, allocations: 73.47 kB / 441.3 MB, free: 6.129 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1124/0.1141, allocations: 57.8 MB / 499.1 MB, free: 12.25 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater): time 0.00709/0.1213, allocations: 4.964 MB / 0.4923 GB, free: 7.254 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.005024/0.1263, allocations: 4.555 MB / 0.4967 GB, free: 2.684 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001906/0.1265, allocations: 0 / 0.4967 GB, free: 2.684 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003114/0.1269, allocations: 51.61 kB / 0.4968 GB, free: 2.633 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001817/0.1287, allocations: 0.6604 MB / 0.4974 GB, free: 1.969 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003988/0.1292, allocations: 167.7 kB / 0.4976 GB, free: 1.805 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006029/0.1298, allocations: 370.1 kB / 0.4979 GB, free: 1.441 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.522e-05/0.1298, allocations: 13.95 kB / 0.498 GB, free: 1.43 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002906/0.1301, allocations: 147.4 kB / 0.4981 GB, free: 1.285 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002263/0.1304, allocations: 131.5 kB / 0.4982 GB, free: 1.156 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.207e-05/0.1304, allocations: 8 kB / 0.4982 GB, free: 1.148 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000814/0.1312, allocations: 335.7 kB / 0.4985 GB, free: 0.8203 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 8.591e-05/0.1313, allocations: 47.75 kB / 0.4986 GB, free: 0.7734 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001286/0.1315, allocations: 107.5 kB / 0.4987 GB, free: 0.668 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008396/0.1323, allocations: 426.9 kB / 0.4991 GB, free: 256 kB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.958e-06/0.1323, allocations: 0 / 0.4991 GB, free: 256 kB / 382.1 MB Notification: Performance of FrontEnd: time 1.443e-06/0.1323, allocations: 0 / 0.4991 GB, free: 256 kB / 382.1 MB Notification: Performance of Transformations before backend: time 7.323e-06/0.1323, allocations: 0 / 0.4991 GB, free: 256 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.001095/0.1334, allocations: 0.5814 MB / 0.4997 GB, free: 15.62 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.863e-05/0.1335, allocations: 11.89 kB / 0.4997 GB, free: 15.61 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.04e-05/0.1336, allocations: 66.66 kB / 0.4997 GB, free: 15.54 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001916/0.1338, allocations: 24.75 kB / 0.4998 GB, free: 15.51 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003428/0.1341, allocations: 228.1 kB / 0.5 GB, free: 15.25 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001438/0.1343, allocations: 123.9 kB / 0.5001 GB, free: 15.1 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.087e-05/0.1343, allocations: 20.12 kB / 0.5001 GB, free: 15.08 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005272/0.1349, allocations: 327.6 kB / 0.5004 GB, free: 14.73 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.616e-05/0.1349, allocations: 0 / 0.5004 GB, free: 14.73 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.694e-05/0.1349, allocations: 12 kB / 0.5004 GB, free: 14.72 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.7e-05/0.135, allocations: 8 kB / 0.5005 GB, free: 14.71 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001105/0.1361, allocations: 0.739 MB / 0.5012 GB, free: 13.97 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.001393/0.1375, allocations: 1.261 MB / 0.5024 GB, free: 12.61 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003509/0.1378, allocations: 150.8 kB / 0.5026 GB, free: 12.45 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001211/0.138, allocations: 72.83 kB / 0.5026 GB, free: 12.38 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002267/0.1403, allocations: 2.655 MB / 0.5052 GB, free: 9.211 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.494e-05/0.1403, allocations: 34.56 kB / 0.5052 GB, free: 9.168 MB / 398.1 MB Notification: Performance of pre-optimization done (n=13): time 1.493e-06/0.1403, allocations: 0 / 0.5052 GB, free: 9.168 MB / 398.1 MB Notification: Performance of matching and sorting (n=14): time 0.0006401/0.1409, allocations: 220.8 kB / 0.5055 GB, free: 8.945 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.435e-05/0.141, allocations: 59.34 kB / 0.5055 GB, free: 8.875 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001667/0.1412, allocations: 215.8 kB / 0.5057 GB, free: 8.656 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.508e-05/0.1412, allocations: 29.7 kB / 0.5057 GB, free: 8.621 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001111/0.1413, allocations: 210.8 kB / 0.5059 GB, free: 8.41 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.897e-05/0.1414, allocations: 51.3 kB / 0.506 GB, free: 8.359 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.244e-05/0.1415, allocations: 89.92 kB / 0.5061 GB, free: 8.266 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001081/0.1416, allocations: 326.8 kB / 0.5064 GB, free: 7.938 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.846e-05/0.1417, allocations: 52.83 kB / 0.5064 GB, free: 7.883 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002554/0.1419, allocations: 322.1 kB / 0.5068 GB, free: 7.438 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004116/0.1424, allocations: 425.2 kB / 0.5072 GB, free: 6.887 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.829e-06/0.1424, allocations: 0 / 0.5072 GB, free: 6.887 MB / 398.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0005543/0.1429, allocations: 373.2 kB / 0.5075 GB, free: 6.516 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.067e-05/0.143, allocations: 8 kB / 0.5075 GB, free: 6.508 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.293e-05/0.143, allocations: 12 kB / 0.5075 GB, free: 6.496 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.494e-05/0.143, allocations: 15.94 kB / 0.5075 GB, free: 6.48 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003404/0.1434, allocations: 112.3 kB / 0.5077 GB, free: 6.371 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.674e-05/0.1434, allocations: 19.94 kB / 0.5077 GB, free: 6.352 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002145/0.1436, allocations: 23.98 kB / 0.5077 GB, free: 6.328 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.692e-05/0.1437, allocations: 28 kB / 0.5077 GB, free: 6.301 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.000118/0.1438, allocations: 145.6 kB / 0.5079 GB, free: 6.148 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.564e-05/0.1438, allocations: 19.81 kB / 0.5079 GB, free: 6.129 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003101/0.1442, allocations: 162.8 kB / 0.508 GB, free: 5.957 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.859e-06/0.1442, allocations: 3.938 kB / 0.508 GB, free: 5.953 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.643e-06/0.1442, allocations: 4.109 kB / 0.508 GB, free: 5.949 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.102e-06/0.1442, allocations: 11.97 kB / 0.5081 GB, free: 5.938 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005533/0.1448, allocations: 423.3 kB / 0.5085 GB, free: 5.465 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.978e-06/0.1448, allocations: 3.969 kB / 0.5085 GB, free: 5.461 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001631/0.1449, allocations: 35.97 kB / 0.5085 GB, free: 5.426 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.338e-06/0.145, allocations: 0 / 0.5085 GB, free: 5.426 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.269e-05/0.145, allocations: 4 kB / 0.5085 GB, free: 5.422 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.264e-06/0.145, allocations: 0 / 0.5085 GB, free: 5.422 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.145, allocations: 0 / 0.5085 GB, free: 5.422 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002325/0.1452, allocations: 221.2 kB / 0.5087 GB, free: 5.188 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001017/0.1453, allocations: 108.8 kB / 0.5088 GB, free: 5.062 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.16e-05/0.1454, allocations: 7.984 kB / 0.5088 GB, free: 5.055 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000184/0.1456, allocations: 11.98 kB / 0.5088 GB, free: 5.043 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.514e-05/0.1456, allocations: 7.984 kB / 0.5088 GB, free: 5.035 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.707e-05/0.1456, allocations: 7.984 kB / 0.5089 GB, free: 5.027 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001374/0.1458, allocations: 148.5 kB / 0.509 GB, free: 4.883 MB / 398.1 MB Notification: Performance of sort global known variables: time 2.1e-07/0.1458, allocations: 0 / 0.509 GB, free: 4.883 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0004869/0.1463, allocations: 99.92 kB / 0.5091 GB, free: 4.785 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.0007003/0.147, allocations: 0.8223 MB / 0.5099 GB, free: 3.934 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003128/0.1473, allocations: 188.7 kB / 0.5101 GB, free: 3.75 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.325e-06/0.1473, allocations: 0 / 0.5101 GB, free: 3.75 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 5.666e-05/0.1474, allocations: 39.92 kB / 0.5101 GB, free: 3.711 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004303/0.1478, allocations: 49.77 kB / 0.5102 GB, free: 3.664 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002911/0.1507, allocations: 2.7 MB / 0.5128 GB, free: 0.6172 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003217/0.1511, allocations: 0.7324 MB / 0.5135 GB, free: 15.86 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0002131/0.1513, allocations: 58.77 kB / 0.5136 GB, free: 15.8 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.84e-05/0.1514, allocations: 71.41 kB / 0.5136 GB, free: 15.73 MB / 414.1 MB Notification: Performance of SimCode: time 7.52e-07/0.1514, allocations: 0 / 0.5136 GB, free: 15.73 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02464/0.1761, allocations: 5.633 MB / 0.5191 GB, free: 10.1 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.662/7.838, allocations: 5.328 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Media_TestAllProperties_ConstantPropertyLiquidWater_fmu --startTime=0 --stopTime=0.1 --timeout=50 --tolerance=1e-06 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.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