Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.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) 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(Modelica.Media.Examples.Tests.MediaTestModels.Water.ConstantPropertyLiquidWater,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_Tests_MediaTestModels_Water_ConstantPropertyLiquidWater",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.Tests.MediaTestModels.Water.ConstantPropertyLiquidWater,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_Tests_MediaTestModels_Water_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.001032/0.001033, allocations: 118.7 kB / 17.28 MB, free: 6.219 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.00105/0.00105, allocations: 193.3 kB / 18.19 MB, free: 5.301 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.289/1.289, allocations: 205.1 MB / 224.1 MB, free: 12.44 MB / 190.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.001097/0.001097, allocations: 55.92 kB / 280.3 MB, free: 3.375 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09181/0.09292, allocations: 46.62 MB / 326.9 MB, free: 4.68 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.Water.ConstantPropertyLiquidWater): time 0.01279/0.1058, allocations: 12.81 MB / 339.7 MB, free: 7.805 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.002169/0.108, allocations: 1.697 MB / 341.4 MB, free: 6.102 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001519/0.1081, allocations: 4 kB / 341.4 MB, free: 6.098 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004763/0.1087, allocations: 143.2 kB / 341.5 MB, free: 5.957 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005067/0.1092, allocations: 298.5 kB / 341.8 MB, free: 5.664 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008823/0.1101, allocations: 395.2 kB / 342.2 MB, free: 5.277 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007901/0.1109, allocations: 0.8212 MB / 343 MB, free: 4.453 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001902/0.1111, allocations: 96.69 kB / 343.1 MB, free: 4.359 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005832/0.1117, allocations: 390.6 kB / 343.5 MB, free: 3.977 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003095/0.112, allocations: 282.8 kB / 343.8 MB, free: 3.699 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 4.28e-05/0.112, allocations: 28 kB / 343.8 MB, free: 3.672 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002085/0.1123, allocations: 107.8 kB / 343.9 MB, free: 3.566 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001053/0.1124, allocations: 87.78 kB / 344 MB, free: 3.48 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001683/0.1125, allocations: 187.2 kB / 344.2 MB, free: 3.297 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004668/0.113, allocations: 470.8 kB / 344.7 MB, free: 2.836 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.14e-06/0.113, allocations: 4 kB / 344.7 MB, free: 2.832 MB / 286.1 MB Notification: Performance of FrontEnd: time 9.02e-07/0.113, allocations: 0 / 344.7 MB, free: 2.832 MB / 286.1 MB Notification: Performance of Transformations before backend: time 6.142e-06/0.1131, allocations: 0 / 344.7 MB, free: 2.832 MB / 286.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.0007432/0.1138, allocations: 0.5847 MB / 345.2 MB, free: 2.199 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.788e-05/0.1138, allocations: 12.03 kB / 345.3 MB, free: 2.188 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.74e-05/0.1139, allocations: 62.72 kB / 345.3 MB, free: 2.117 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002474/0.1142, allocations: 40.64 kB / 345.4 MB, free: 2.078 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002909/0.1145, allocations: 283.7 kB / 345.6 MB, free: 1.762 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.95e-05/0.1145, allocations: 20.94 kB / 345.7 MB, free: 1.742 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.789e-05/0.1145, allocations: 20.38 kB / 345.7 MB, free: 1.723 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004721/0.115, allocations: 321.3 kB / 346 MB, free: 1.371 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.508e-05/0.115, allocations: 3.906 kB / 346 MB, free: 1.367 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.428e-05/0.1151, allocations: 12 kB / 346 MB, free: 1.355 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.786e-06/0.1151, allocations: 8 kB / 346 MB, free: 1.348 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003581/0.1155, allocations: 197.5 kB / 346.2 MB, free: 1.156 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001786/0.1173, allocations: 1.72 MB / 347.9 MB, free: 15.29 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000202/0.1175, allocations: 142.5 kB / 348.1 MB, free: 15.14 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001318/0.1176, allocations: 68.83 kB / 348.1 MB, free: 15.07 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001405/0.1178, allocations: 170.2 kB / 348.3 MB, free: 14.87 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.468e-05/0.1178, allocations: 46.5 kB / 348.3 MB, free: 14.81 MB / 302.1 MB Notification: Performance of pre-optimization done (n=15): time 1.273e-06/0.1178, allocations: 0 / 348.3 MB, free: 14.81 MB / 302.1 MB Notification: Performance of matching and sorting (n=21): time 0.001755/0.1196, allocations: 0.7856 MB / 349.1 MB, free: 13.95 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.769e-05/0.1196, allocations: 55.34 kB / 349.2 MB, free: 13.89 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002835/0.1199, allocations: 278.5 kB / 349.5 MB, free: 13.61 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.445e-05/0.12, allocations: 33.7 kB / 349.5 MB, free: 13.57 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001389/0.1201, allocations: 207.4 kB / 349.7 MB, free: 13.36 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.819e-05/0.1202, allocations: 67 kB / 349.8 MB, free: 13.29 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.465e-05/0.1203, allocations: 69.39 kB / 349.8 MB, free: 13.22 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001363/0.1204, allocations: 342.8 kB / 350.2 MB, free: 12.88 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001154/0.1205, allocations: 67.97 kB / 350.2 MB, free: 12.81 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001935/0.1207, allocations: 187.2 kB / 350.4 MB, free: 12.57 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003351/0.1211, allocations: 287.2 kB / 350.7 MB, free: 12.23 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.784e-06/0.1211, allocations: 0 / 350.7 MB, free: 12.23 MB / 302.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0004746/0.1216, allocations: 334 kB / 351 MB, free: 11.9 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.877e-05/0.1216, allocations: 8 kB / 351 MB, free: 11.89 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.231e-05/0.1216, allocations: 7.938 kB / 351 MB, free: 11.88 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.333e-05/0.1217, allocations: 20.86 kB / 351 MB, free: 11.86 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003683/0.1221, allocations: 91.83 kB / 351.1 MB, free: 11.77 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001103/0.1232, allocations: 1.386 MB / 352.5 MB, free: 10.24 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001966/0.1234, allocations: 20.14 kB / 352.5 MB, free: 10.22 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.134e-05/0.1235, allocations: 20 kB / 352.6 MB, free: 10.2 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * 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 (41): * Single equations (assignments): 40 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.000161/0.1236, allocations: 153.7 kB / 352.7 MB, free: 10.04 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.011e-05/0.1237, allocations: 35.56 kB / 352.7 MB, free: 10.01 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003308/0.124, allocations: 205.3 kB / 352.9 MB, free: 9.801 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.167e-06/0.124, allocations: 8 kB / 353 MB, free: 9.793 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.152e-06/0.124, allocations: 0 / 353 MB, free: 9.793 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003766/0.1244, allocations: 488 kB / 353.4 MB, free: 9.23 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009772/0.1254, allocations: 0.7683 MB / 354.2 MB, free: 8.359 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.395e-06/0.1254, allocations: 0 / 354.2 MB, free: 8.359 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001662/0.1256, allocations: 47.91 kB / 354.2 MB, free: 8.312 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.688e-06/0.1256, allocations: 4.047 kB / 354.3 MB, free: 8.309 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.228e-05/0.1256, allocations: 15.92 kB / 354.3 MB, free: 8.293 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.671e-06/0.1257, allocations: 11.94 kB / 354.3 MB, free: 8.281 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.858e-06/0.1257, allocations: 7.938 kB / 354.3 MB, free: 8.273 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004373/0.1261, allocations: 407.2 kB / 354.7 MB, free: 7.832 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.037e-05/0.1262, allocations: 100.8 kB / 354.8 MB, free: 7.715 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.254e-05/0.1262, allocations: 8 kB / 354.8 MB, free: 7.707 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002388/0.1265, allocations: 23.83 kB / 354.8 MB, free: 7.684 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.037e-05/0.1265, allocations: 16.05 kB / 354.8 MB, free: 7.668 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.679e-05/0.1266, allocations: 19.98 kB / 354.8 MB, free: 7.648 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001937/0.1268, allocations: 202 kB / 355 MB, free: 7.453 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1268, allocations: 0 / 355 MB, free: 7.453 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004184/0.1272, allocations: 95.98 kB / 355.1 MB, free: 7.359 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 1 (volume.medium.T) * 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 (21): * Single equations (assignments): 21 * Array equations: 0 * 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.0009215/0.1281, allocations: 0.9694 MB / 356.1 MB, free: 6.336 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0005056/0.1286, allocations: 315.1 kB / 356.4 MB, free: 6.016 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.427e-06/0.1286, allocations: 4.188 kB / 356.4 MB, free: 6.012 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001174/0.1288, allocations: 79.8 kB / 356.5 MB, free: 5.934 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000913/0.1297, allocations: 155.7 kB / 356.7 MB, free: 5.785 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003478/0.1332, allocations: 3.179 MB / 359.8 MB, free: 2.367 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003249/0.1335, allocations: 0.7561 MB / 360.6 MB, free: 1.582 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0002736/0.1338, allocations: 56.66 kB / 360.6 MB, free: 1.527 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000124/0.1339, allocations: 95.41 kB / 360.7 MB, free: 1.434 MB / 302.1 MB Notification: Performance of SimCode: time 4.71e-07/0.1339, allocations: 0 / 360.7 MB, free: 1.434 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02246/0.1564, allocations: 8.5 MB / 369.2 MB, free: 8.906 MB / 318.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003395/0.1568, allocations: 269.5 kB / 369.5 MB, free: 8.547 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.981/2.138, allocations: 0 / 369.5 MB, free: 8.547 MB / 318.1 MB (rm -f Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.ConstantPropertyLiquidWater.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.ConstantPropertyLiquidWater.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.ConstantPropertyLiquidWater.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.ConstantPropertyLiquidWater.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.ConstantPropertyLiquidWater_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Media_Examples_Tests_MediaTestModels_Water_ConstantPropertyLiquidWater_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Media_Examples_Tests_MediaTestModels_Water_ConstantPropertyLiquidWater.fmu > Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.ConstantPropertyLiquidWater.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.ConstantPropertyLiquidWater_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/Tests/MediaTestModels/Water/ConstantPropertyLiquidWater/ConstantPropertyLiquidWater.csv","../files/Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.ConstantPropertyLiquidWater.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches