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.001169/0.001169, allocations: 103 kB / 16.4 MB, free: 6.496 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.001246/0.001246, allocations: 189.5 kB / 17.34 MB, free: 5.77 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.453/1.453, 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.2061/0.2061, allocations: 43.52 MB / 314.1 MB, free: 472 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.001479/0.001479, allocations: 67.91 kB / 441.3 MB, free: 6.152 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1072/0.1087, allocations: 57.78 MB / 499.1 MB, free: 12.29 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater): time 0.006093/0.1148, allocations: 4.976 MB / 0.4923 GB, free: 7.281 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.004527/0.1193, allocations: 4.563 MB / 0.4967 GB, free: 2.703 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001714/0.1195, allocations: 0 / 0.4967 GB, free: 2.703 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002956/0.1199, allocations: 51.66 kB / 0.4968 GB, free: 2.652 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001702/0.1216, allocations: 0.6603 MB / 0.4974 GB, free: 1.988 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004098/0.122, allocations: 163.7 kB / 0.4976 GB, free: 1.828 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.000573/0.1226, allocations: 370.1 kB / 0.4979 GB, free: 1.465 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.399e-05/0.1227, allocations: 9.969 kB / 0.498 GB, free: 1.457 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002889/0.123, allocations: 155.4 kB / 0.4981 GB, free: 1.305 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002187/0.1232, allocations: 127.5 kB / 0.4982 GB, free: 1.18 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 4.112e-05/0.1232, allocations: 12 kB / 0.4982 GB, free: 1.168 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008362/0.1241, allocations: 331.6 kB / 0.4985 GB, free: 0.8438 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 9.139e-05/0.1242, allocations: 47.81 kB / 0.4986 GB, free: 0.7969 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001391/0.1243, allocations: 107.5 kB / 0.4987 GB, free: 0.6914 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008355/0.1252, allocations: 422.9 kB / 0.4991 GB, free: 284 kB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.1252, allocations: 0 / 0.4991 GB, free: 284 kB / 382.1 MB Notification: Performance of FrontEnd: time 1.252e-06/0.1252, allocations: 0 / 0.4991 GB, free: 284 kB / 382.1 MB Notification: Performance of Transformations before backend: time 9.017e-06/0.1252, allocations: 0 / 0.4991 GB, free: 284 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.1263, allocations: 0.5814 MB / 0.4997 GB, free: 15.65 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.269e-05/0.1264, allocations: 11.89 kB / 0.4997 GB, free: 15.64 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.528e-05/0.1264, allocations: 62.72 kB / 0.4997 GB, free: 15.57 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001711/0.1266, allocations: 24.75 kB / 0.4998 GB, free: 15.54 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000353/0.127, allocations: 228.1 kB / 0.5 GB, free: 15.28 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001243/0.1271, allocations: 123.9 kB / 0.5001 GB, free: 15.13 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.087e-05/0.1271, allocations: 24.12 kB / 0.5001 GB, free: 15.11 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005006/0.1277, allocations: 327.6 kB / 0.5004 GB, free: 14.76 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.375e-05/0.1277, allocations: 0 / 0.5004 GB, free: 14.76 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.982e-05/0.1277, allocations: 15.94 kB / 0.5004 GB, free: 14.75 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.275e-05/0.1277, allocations: 11.98 kB / 0.5005 GB, free: 14.73 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007608/0.1285, allocations: 0.7352 MB / 0.5012 GB, free: 14 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.001318/0.1298, allocations: 1.261 MB / 0.5024 GB, free: 12.63 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003127/0.1302, allocations: 146.8 kB / 0.5025 GB, free: 12.48 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001116/0.1303, allocations: 72.83 kB / 0.5026 GB, free: 12.41 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002144/0.1324, allocations: 2.651 MB / 0.5052 GB, free: 9.242 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.34e-05/0.1325, allocations: 38.56 kB / 0.5052 GB, free: 9.195 MB / 398.1 MB Notification: Performance of pre-optimization done (n=13): time 2.825e-06/0.1325, allocations: 0 / 0.5052 GB, free: 9.195 MB / 398.1 MB Notification: Performance of matching and sorting (n=14): time 0.0006275/0.1331, allocations: 224.8 kB / 0.5055 GB, free: 8.969 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.228e-05/0.1332, allocations: 51.41 kB / 0.5055 GB, free: 8.906 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001835/0.1334, allocations: 215.8 kB / 0.5057 GB, free: 8.688 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.259e-05/0.1334, allocations: 29.7 kB / 0.5057 GB, free: 8.652 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001211/0.1335, allocations: 210.8 kB / 0.5059 GB, free: 8.441 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.246e-05/0.1336, allocations: 59.22 kB / 0.506 GB, free: 8.383 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.43e-05/0.1337, allocations: 85.94 kB / 0.5061 GB, free: 8.293 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001011/0.1338, allocations: 330.8 kB / 0.5064 GB, free: 7.961 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.129e-05/0.1338, allocations: 48.84 kB / 0.5064 GB, free: 7.91 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002333/0.1341, allocations: 326.1 kB / 0.5068 GB, free: 7.461 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003893/0.1345, allocations: 417.2 kB / 0.5072 GB, free: 6.918 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.29e-06/0.1345, allocations: 3.984 kB / 0.5072 GB, free: 6.914 MB / 398.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.00054/0.135, allocations: 377.1 kB / 0.5075 GB, free: 6.539 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.901e-05/0.1351, allocations: 8 kB / 0.5075 GB, free: 6.531 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.562e-05/0.1351, allocations: 19.97 kB / 0.5075 GB, free: 6.512 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.388e-05/0.1351, allocations: 15.94 kB / 0.5076 GB, free: 6.496 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003253/0.1354, allocations: 104.5 kB / 0.5077 GB, free: 6.395 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.981e-05/0.1355, allocations: 23.92 kB / 0.5077 GB, free: 6.371 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002024/0.1357, allocations: 16 kB / 0.5077 GB, free: 6.355 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.258e-05/0.1357, allocations: 28.05 kB / 0.5077 GB, free: 6.328 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.0001147/0.1358, allocations: 157.5 kB / 0.5079 GB, free: 6.164 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.29e-05/0.1359, allocations: 23.8 kB / 0.5079 GB, free: 6.141 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002806/0.1362, allocations: 154.9 kB / 0.508 GB, free: 5.977 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.408e-06/0.1362, allocations: 3.938 kB / 0.508 GB, free: 5.973 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.671e-06/0.1362, allocations: 3.984 kB / 0.5081 GB, free: 5.969 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.597e-06/0.1362, allocations: 4 kB / 0.5081 GB, free: 5.965 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004878/0.1367, allocations: 424.3 kB / 0.5085 GB, free: 5.492 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.078e-06/0.1367, allocations: 7.969 kB / 0.5085 GB, free: 5.484 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001541/0.1369, allocations: 31.97 kB / 0.5085 GB, free: 5.453 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.429e-06/0.1369, allocations: 0 / 0.5085 GB, free: 5.453 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.235e-05/0.1369, allocations: 11.94 kB / 0.5085 GB, free: 5.441 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.873e-06/0.1369, allocations: 0 / 0.5085 GB, free: 5.441 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.1369, allocations: 0 / 0.5085 GB, free: 5.441 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002105/0.1372, allocations: 216.2 kB / 0.5087 GB, free: 5.211 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.01e-05/0.1373, allocations: 112.8 kB / 0.5088 GB, free: 5.082 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.27e-05/0.1373, allocations: 4 kB / 0.5088 GB, free: 5.078 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001815/0.1375, allocations: 8 kB / 0.5088 GB, free: 5.07 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.361e-05/0.1375, allocations: 7.984 kB / 0.5088 GB, free: 5.062 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.698e-05/0.1375, allocations: 11.98 kB / 0.5089 GB, free: 5.051 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001087/0.1376, allocations: 144.5 kB / 0.509 GB, free: 4.91 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1376, allocations: 0 / 0.509 GB, free: 4.91 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0004573/0.1381, allocations: 103.9 kB / 0.5091 GB, free: 4.809 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.0006063/0.1387, allocations: 0.8222 MB / 0.5099 GB, free: 3.957 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002959/0.139, allocations: 184.6 kB / 0.5101 GB, free: 3.777 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.139, allocations: 3.938 kB / 0.5101 GB, free: 3.773 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 5.298e-05/0.1391, allocations: 35.92 kB / 0.5101 GB, free: 3.738 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004192/0.1395, allocations: 53.59 kB / 0.5102 GB, free: 3.691 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002697/0.1422, allocations: 2.711 MB / 0.5128 GB, free: 0.6328 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003725/0.1426, allocations: 0.7285 MB / 0.5135 GB, free: 15.88 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0002085/0.1428, allocations: 58.72 kB / 0.5136 GB, free: 15.82 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001172/0.143, allocations: 67.41 kB / 0.5136 GB, free: 15.75 MB / 414.1 MB Notification: Performance of SimCode: time 2.3e-07/0.143, allocations: 0 / 0.5136 GB, free: 15.75 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02369/0.1667, allocations: 5.626 MB / 0.5191 GB, free: 10.13 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.495/7.662, allocations: 12.61 kB / 0.5191 GB, free: 10.12 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