Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.TestsWithFluid.MediaTestModels.Water.ConstantPropertyLiquidWater,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Water_ConstantPropertyLiquidWater",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.ConstantPropertyLiquidWater,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Media_TestsWithFluid_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.0009745/0.0009745, allocations: 94.83 kB / 17.35 MB, free: 6.371 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.001103/0.001103, allocations: 179.3 kB / 18.26 MB, free: 5.52 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.361/1.361, allocations: 223.3 MB / 242.3 MB, free: 14.47 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2143/0.2143, allocations: 44.24 MB / 337.7 MB, free: 2.398 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003304/0.0003304, allocations: 8.781 kB / 410.4 MB, free: 27.14 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1357/0.1361, allocations: 61.92 MB / 472.4 MB, free: 13.18 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.ConstantPropertyLiquidWater): time 0.01705/0.1532, allocations: 16.38 MB / 488.7 MB, free: 12.73 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.008147/0.1614, allocations: 5.528 MB / 494.3 MB, free: 7.184 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001141/0.1626, allocations: 27.75 kB / 494.3 MB, free: 7.156 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009174/0.1635, allocations: 278.5 kB / 494.6 MB, free: 6.883 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002172/0.1657, allocations: 0.7814 MB / 495.4 MB, free: 6.098 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002583/0.1683, allocations: 0.9061 MB / 496.3 MB, free: 5.199 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.003085/0.1714, allocations: 2.652 MB / 498.9 MB, free: 2.543 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007527/0.1721, allocations: 405.3 kB / 499.3 MB, free: 2.141 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001399/0.1736, allocations: 0.6498 MB / 500 MB, free: 1.488 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001047/0.1746, allocations: 0.6422 MB / 0.4889 GB, free: 0.8438 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 9.97e-05/0.1747, allocations: 32 kB / 0.4889 GB, free: 0.8125 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001149/0.1759, allocations: 331.5 kB / 0.4892 GB, free: 500 kB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002937/0.1762, allocations: 231.3 kB / 0.4894 GB, free: 268 kB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005202/0.1767, allocations: 391.9 kB / 0.4898 GB, free: 15.87 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001405/0.1781, allocations: 1.082 MB / 0.4909 GB, free: 14.79 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.773e-06/0.1782, allocations: 0 / 0.4909 GB, free: 14.79 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.354e-06/0.1782, allocations: 0 / 0.4909 GB, free: 14.79 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.079e-05/0.1782, allocations: 0 / 0.4909 GB, free: 14.79 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 130 * Number of variables: 130 Notification: Performance of Generate backend data structure: time 0.002006/0.1802, allocations: 0.8999 MB / 0.4917 GB, free: 13.84 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.989e-05/0.1803, allocations: 8.031 kB / 0.4917 GB, free: 13.83 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001326/0.1804, allocations: 102.6 kB / 0.4918 GB, free: 13.72 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003286/0.1807, allocations: 91.98 kB / 0.4919 GB, free: 13.63 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000785/0.1815, allocations: 0.5015 MB / 0.4924 GB, free: 13.09 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001173/0.1817, allocations: 105 kB / 0.4925 GB, free: 12.97 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.429e-05/0.1818, allocations: 52.12 kB / 0.4926 GB, free: 12.92 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00124/0.183, allocations: 0.8346 MB / 0.4934 GB, free: 12.01 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.114e-05/0.1831, allocations: 4 kB / 0.4934 GB, free: 12 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.264e-05/0.1831, allocations: 24 kB / 0.4934 GB, free: 11.98 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.119e-05/0.1832, allocations: 40.98 kB / 0.4935 GB, free: 11.94 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000984/0.1842, allocations: 0.6399 MB / 0.4941 GB, free: 11.3 MB / 382.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.004744/0.1889, allocations: 4.336 MB / 0.4983 GB, free: 6.652 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006034/0.1896, allocations: 343.9 kB / 0.4986 GB, free: 6.309 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003362/0.1899, allocations: 173.3 kB / 0.4988 GB, free: 6.137 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001996/0.1919, allocations: 1.717 MB / 0.5005 GB, free: 4.172 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.286e-05/0.192, allocations: 34.5 kB / 0.5005 GB, free: 4.129 MB / 382.1 MB Notification: Performance of pre-optimization done (n=26): time 1.793e-06/0.192, allocations: 0 / 0.5005 GB, free: 4.129 MB / 382.1 MB Notification: Performance of matching and sorting (n=37): time 0.003473/0.1955, allocations: 1.407 MB / 0.5019 GB, free: 2.664 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.041e-05/0.1956, allocations: 136.5 kB / 0.502 GB, free: 2.5 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007528/0.1963, allocations: 0.6288 MB / 0.5026 GB, free: 1.863 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 4.283e-05/0.1964, allocations: 33.7 kB / 0.5027 GB, free: 1.824 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003008/0.1967, allocations: 402.2 kB / 0.5031 GB, free: 1.426 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001074/0.1968, allocations: 138.2 kB / 0.5032 GB, free: 1.289 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.653e-05/0.1969, allocations: 61.69 kB / 0.5032 GB, free: 1.223 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001662/0.1971, allocations: 374.8 kB / 0.5036 GB, free: 0.8477 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002946/0.1974, allocations: 193.9 kB / 0.5038 GB, free: 0.6602 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.2136/0.411, allocations: 0.5429 MB / 0.5043 GB, free: 49.8 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001124/0.4121, allocations: 0.784 MB / 0.5051 GB, free: 49.36 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.997e-06/0.4122, allocations: 7.312 kB / 0.5051 GB, free: 49.36 MB / 382.1 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.00151/0.4137, allocations: 0.8285 MB / 0.5059 GB, free: 49.24 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.392e-05/0.4137, allocations: 11.25 kB / 0.5059 GB, free: 49.24 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.099e-05/0.4137, allocations: 12.09 kB / 0.5059 GB, free: 49.24 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004279/0.4142, allocations: 100.1 kB / 0.506 GB, free: 49.23 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006578/0.4148, allocations: 178 kB / 0.5062 GB, free: 49.22 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004889/0.4153, allocations: 0.6712 MB / 0.5068 GB, free: 48.7 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005481/0.4159, allocations: 39.56 kB / 0.5069 GB, free: 48.7 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.022e-05/0.416, allocations: 37.86 kB / 0.5069 GB, free: 48.7 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 54 * Number of states: 0 () * Number of discrete variables: 4 (volume.regularFlow[1],volume.regularFlow[2],volume.inFlow[2],volume.inFlow[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (87): * Single equations (assignments): 86 * 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,5)} Notification: Performance of prepare postOptimizeDAE: time 0.0003593/0.4164, allocations: 259.7 kB / 0.5072 GB, free: 48.57 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000103/0.4165, allocations: 73.81 kB / 0.5072 GB, free: 48.57 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009094/0.4174, allocations: 0.5005 MB / 0.5077 GB, free: 48.49 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.283e-06/0.4174, allocations: 3.891 kB / 0.5077 GB, free: 48.49 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.971e-06/0.4174, allocations: 4.906 kB / 0.5077 GB, free: 48.49 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.825e-06/0.4174, allocations: 1.875 kB / 0.5077 GB, free: 48.49 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001753/0.4192, allocations: 1.218 MB / 0.5089 GB, free: 48.04 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.951e-06/0.4192, allocations: 3.656 kB / 0.5089 GB, free: 48.04 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002814/0.4195, allocations: 72.52 kB / 0.509 GB, free: 48.03 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001792/0.4197, allocations: 45.5 kB / 0.509 GB, free: 48.01 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.765e-05/0.4197, allocations: 10.44 kB / 0.509 GB, free: 48.01 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002604/0.42, allocations: 0.5607 MB / 0.5096 GB, free: 47.47 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.668e-06/0.42, allocations: 7.25 kB / 0.5096 GB, free: 47.46 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008843/0.4209, allocations: 0.7305 MB / 0.5103 GB, free: 47.04 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002527/0.4211, allocations: 192.1 kB / 0.5105 GB, free: 46.88 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.478e-05/0.4212, allocations: 11.56 kB / 0.5105 GB, free: 46.88 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004193/0.4217, allocations: 26.81 kB / 0.5105 GB, free: 46.88 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.028e-05/0.4218, allocations: 31.47 kB / 0.5106 GB, free: 46.87 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.525e-05/0.4218, allocations: 22.33 kB / 0.5106 GB, free: 46.86 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0006099/0.4224, allocations: 474.5 kB / 0.511 GB, free: 46.66 MB / 382.1 MB Notification: Performance of sort global known variables: time 2e-07/0.4224, allocations: 6.969 kB / 0.511 GB, free: 46.66 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.000849/0.4233, allocations: 201.2 kB / 0.5112 GB, free: 46.64 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 13 * 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 (36): * Single equations (assignments): 35 * 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,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001511/0.4248, allocations: 1.42 MB / 0.5126 GB, free: 45.64 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001173/0.426, allocations: 0.5005 MB / 0.5131 GB, free: 45.48 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.528e-06/0.426, allocations: 1.188 kB / 0.5131 GB, free: 45.48 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003399/0.4263, allocations: 184.6 kB / 0.5133 GB, free: 45.41 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001968/0.4283, allocations: 344.1 kB / 0.5136 GB, free: 45.36 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008664/0.437, allocations: 6.81 MB / 0.5203 GB, free: 40.88 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004699/0.4375, allocations: 0.9344 MB / 0.5212 GB, free: 40.16 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0009234/0.4384, allocations: 218.6 kB / 0.5214 GB, free: 40.12 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002884/0.4387, allocations: 229.7 kB / 0.5216 GB, free: 39.96 MB / 382.1 MB Notification: Performance of SimCode: time 1.012e-06/0.4387, allocations: 0 / 0.5216 GB, free: 39.96 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03292/0.4717, allocations: 19.51 MB / 0.5407 GB, free: 25.84 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001954/0.4719, allocations: 334.3 kB / 0.541 GB, free: 25.45 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.162/2.634, allocations: 7.516 kB / 0.541 GB, free: 25.45 MB / 382.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.ConstantPropertyLiquidWater.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.ConstantPropertyLiquidWater.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.ConstantPropertyLiquidWater.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.ConstantPropertyLiquidWater.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.ConstantPropertyLiquidWater_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Water_ConstantPropertyLiquidWater_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Water_ConstantPropertyLiquidWater.fmu > ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.ConstantPropertyLiquidWater.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.ConstantPropertyLiquidWater_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestsWithFluid/MediaTestModels/Water/ConstantPropertyLiquidWater/ConstantPropertyLiquidWater.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.ConstantPropertyLiquidWater.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches