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.00107/0.00107, allocations: 107.4 kB / 17.21 MB, free: 6.293 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.001046/0.001046, allocations: 194 kB / 18.12 MB, free: 5.383 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.35/1.35, allocations: 222.9 MB / 241.8 MB, free: 15.48 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.2261/0.2261, allocations: 44.18 MB / 336.1 MB, free: 3.008 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001376/0.001376, allocations: 56.56 kB / 407.8 MB, free: 27.61 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1236/0.125, allocations: 60.84 MB / 468.6 MB, free: 14.74 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.ConstantPropertyLiquidWater): time 0.02062/0.1457, allocations: 16.94 MB / 485.6 MB, free: 13.72 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.008435/0.1542, allocations: 5.598 MB / 491.2 MB, free: 8.105 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001014/0.1552, allocations: 27.75 kB / 491.2 MB, free: 8.078 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001097/0.1564, allocations: 274.5 kB / 491.5 MB, free: 7.809 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002946/0.1594, allocations: 0.7854 MB / 492.3 MB, free: 7.02 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003128/0.1625, allocations: 0.9098 MB / 493.2 MB, free: 6.117 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.003145/0.1657, allocations: 2.659 MB / 495.8 MB, free: 3.453 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007977/0.1665, allocations: 401.2 kB / 496.2 MB, free: 3.055 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001722/0.1683, allocations: 0.6576 MB / 496.9 MB, free: 2.395 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001135/0.1694, allocations: 0.6266 MB / 497.5 MB, free: 1.766 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001837/0.1696, allocations: 32 kB / 497.5 MB, free: 1.734 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001037/0.1706, allocations: 339.5 kB / 497.9 MB, free: 1.402 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003421/0.171, allocations: 235.2 kB / 498.1 MB, free: 1.172 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000657/0.1717, allocations: 370.2 kB / 498.5 MB, free: 0.8086 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001612/0.1733, allocations: 1.09 MB / 499.6 MB, free: 15.71 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.567e-06/0.1733, allocations: 0 / 499.6 MB, free: 15.71 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.042e-06/0.1733, allocations: 3.938 kB / 499.6 MB, free: 15.71 MB / 382.1 MB Notification: Performance of Transformations before backend: time 2.979e-05/0.1734, allocations: 0 / 499.6 MB, free: 15.71 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.002613/0.176, allocations: 1.048 MB / 0.4889 GB, free: 14.61 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.669e-05/0.176, allocations: 8.031 kB / 0.4889 GB, free: 14.61 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001728/0.1762, allocations: 102.7 kB / 0.489 GB, free: 14.5 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003844/0.1766, allocations: 91.98 kB / 0.4891 GB, free: 14.41 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00088/0.1775, allocations: 0.5015 MB / 0.4896 GB, free: 13.86 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001064/0.1776, allocations: 101 kB / 0.4897 GB, free: 13.75 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.573e-05/0.1777, allocations: 56.11 kB / 0.4897 GB, free: 13.7 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001315/0.179, allocations: 0.8424 MB / 0.4905 GB, free: 12.78 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.19e-05/0.1791, allocations: 4 kB / 0.4905 GB, free: 12.77 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.093e-05/0.1792, allocations: 23.98 kB / 0.4906 GB, free: 12.75 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.589e-05/0.1792, allocations: 44.92 kB / 0.4906 GB, free: 12.7 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001053/0.1803, allocations: 0.64 MB / 0.4912 GB, free: 12.07 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.004651/0.1849, allocations: 4.324 MB / 0.4955 GB, free: 7.43 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006271/0.1856, allocations: 347.9 kB / 0.4958 GB, free: 7.082 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002877/0.1859, allocations: 173.3 kB / 0.4959 GB, free: 6.91 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001888/0.1878, allocations: 1.709 MB / 0.4976 GB, free: 4.953 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.142e-05/0.1878, allocations: 46.5 kB / 0.4977 GB, free: 4.898 MB / 382.1 MB Notification: Performance of pre-optimization done (n=26): time 1.593e-06/0.1878, allocations: 0 / 0.4977 GB, free: 4.898 MB / 382.1 MB Notification: Performance of matching and sorting (n=37): time 0.003607/0.1914, allocations: 1.391 MB / 0.499 GB, free: 3.449 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.639e-05/0.1915, allocations: 140.5 kB / 0.4992 GB, free: 3.281 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006905/0.1922, allocations: 0.625 MB / 0.4998 GB, free: 2.648 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 4.095e-05/0.1923, allocations: 33.7 kB / 0.4998 GB, free: 2.609 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002554/0.1925, allocations: 398.3 kB / 0.5002 GB, free: 2.215 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001016/0.1926, allocations: 146.1 kB / 0.5003 GB, free: 2.07 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001941/0.1928, allocations: 146.5 kB / 0.5005 GB, free: 1.922 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001387/0.193, allocations: 370.8 kB / 0.5008 GB, free: 1.551 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003054/0.1933, allocations: 189.9 kB / 0.501 GB, free: 1.367 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005514/0.1939, allocations: 0.552 MB / 0.5015 GB, free: 0.6367 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.2211/0.415, allocations: 0.7758 MB / 0.5023 GB, free: 51.1 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-05/0.4151, allocations: 7.531 kB / 0.5023 GB, free: 51.1 MB / 382.1 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.001967/0.417, allocations: 0.8316 MB / 0.5031 GB, free: 50.98 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.304e-05/0.4171, allocations: 9.406 kB / 0.5031 GB, free: 50.98 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.453e-05/0.4171, allocations: 12.94 kB / 0.5031 GB, free: 50.98 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004926/0.4176, allocations: 99.56 kB / 0.5032 GB, free: 50.97 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007162/0.4183, allocations: 178.2 kB / 0.5034 GB, free: 50.96 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005574/0.4189, allocations: 0.672 MB / 0.504 GB, free: 50.43 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000633/0.4196, allocations: 37.03 kB / 0.5041 GB, free: 50.43 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.137e-05/0.4196, allocations: 40.97 kB / 0.5041 GB, free: 50.43 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.0004269/0.4201, allocations: 263.6 kB / 0.5044 GB, free: 50.31 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001457/0.4202, allocations: 72.12 kB / 0.5044 GB, free: 50.3 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009077/0.4211, allocations: 0.504 MB / 0.5049 GB, free: 50.23 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.692e-06/0.4212, allocations: 3.188 kB / 0.5049 GB, free: 50.23 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.901e-06/0.4212, allocations: 1.75 kB / 0.5049 GB, free: 50.23 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.993e-06/0.4212, allocations: 2.062 kB / 0.5049 GB, free: 50.23 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001901/0.4231, allocations: 1.21 MB / 0.5061 GB, free: 49.59 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.02e-06/0.4231, allocations: 5.625 kB / 0.5061 GB, free: 49.59 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003223/0.4234, allocations: 75.64 kB / 0.5062 GB, free: 49.58 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000173/0.4236, allocations: 42.7 kB / 0.5062 GB, free: 49.56 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.948e-05/0.4236, allocations: 11.44 kB / 0.5063 GB, free: 49.56 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002621/0.4239, allocations: 0.5636 MB / 0.5068 GB, free: 49.02 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.21e-06/0.4239, allocations: 3.734 kB / 0.5068 GB, free: 49.02 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009595/0.4249, allocations: 0.7294 MB / 0.5075 GB, free: 48.59 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002216/0.4251, allocations: 186.7 kB / 0.5077 GB, free: 48.44 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001026/0.4252, allocations: 13.11 kB / 0.5077 GB, free: 48.44 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004119/0.4257, allocations: 30.58 kB / 0.5077 GB, free: 48.43 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.614e-05/0.4257, allocations: 42.06 kB / 0.5078 GB, free: 48.42 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.579e-05/0.4258, allocations: 21.97 kB / 0.5078 GB, free: 48.41 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0006644/0.4265, allocations: 469.8 kB / 0.5082 GB, free: 48.21 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4265, allocations: 0 / 0.5082 GB, free: 48.21 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0009346/0.4274, allocations: 206.8 kB / 0.5084 GB, free: 48.19 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.001819/0.4292, allocations: 1.412 MB / 0.5098 GB, free: 47.2 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001102/0.4303, allocations: 0.498 MB / 0.5103 GB, free: 47.04 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 5.169e-06/0.4304, allocations: 1.531 kB / 0.5103 GB, free: 47.04 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000382/0.4308, allocations: 175.9 kB / 0.5105 GB, free: 46.98 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001671/0.4324, allocations: 342.2 kB / 0.5108 GB, free: 46.92 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009035/0.4415, allocations: 6.733 MB / 0.5174 GB, free: 42.48 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005202/0.442, allocations: 0.9426 MB / 0.5183 GB, free: 41.75 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0009947/0.4431, allocations: 214.3 kB / 0.5185 GB, free: 41.72 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003003/0.4434, allocations: 234.1 kB / 0.5187 GB, free: 41.55 MB / 382.1 MB Notification: Performance of SimCode: time 1.292e-06/0.4434, allocations: 3.938 kB / 0.5187 GB, free: 41.55 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03084/0.4742, allocations: 19.7 MB / 0.538 GB, free: 27.54 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002078/0.4745, allocations: 330.7 kB / 0.5383 GB, free: 27.15 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.316/2.79, allocations: 0 / 0.5383 GB, free: 27.15 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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.ConstantPropertyLiquidWater.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches