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.001128/0.001128, allocations: 103.1 kB / 17.32 MB, free: 5.984 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.001174/0.001174, allocations: 193.3 kB / 18.25 MB, free: 5.07 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.374/1.374, allocations: 222.9 MB / 241.9 MB, free: 15.43 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.2208/0.2208, allocations: 44.17 MB / 336.2 MB, free: 2.961 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001464/0.001464, allocations: 64.23 kB / 408 MB, free: 27.51 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1235/0.125, allocations: 60.83 MB / 468.8 MB, free: 14.64 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.ConstantPropertyLiquidWater): time 0.01998/0.145, allocations: 16.91 MB / 485.7 MB, free: 13.66 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.007356/0.1525, allocations: 5.536 MB / 491.3 MB, free: 8.102 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007128/0.1532, allocations: 23.81 kB / 491.3 MB, free: 8.078 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008672/0.1541, allocations: 274.5 kB / 491.6 MB, free: 7.809 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001689/0.1558, allocations: 0.7854 MB / 492.4 MB, free: 7.02 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002412/0.1583, allocations: 0.928 MB / 493.3 MB, free: 6.098 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.001907/0.1602, allocations: 1.782 MB / 495.1 MB, free: 4.312 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006081/0.1608, allocations: 461.3 kB / 495.5 MB, free: 3.855 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001132/0.1619, allocations: 0.7474 MB / 496.3 MB, free: 3.105 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007682/0.1627, allocations: 0.6539 MB / 496.9 MB, free: 2.449 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 9.692e-05/0.1628, allocations: 60 kB / 497 MB, free: 2.391 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007648/0.1636, allocations: 343.5 kB / 497.3 MB, free: 2.055 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002584/0.1639, allocations: 259.2 kB / 497.6 MB, free: 1.801 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003764/0.1642, allocations: 402.2 kB / 498 MB, free: 1.406 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001202/0.1655, allocations: 1.11 MB / 499.1 MB, free: 300 kB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.857e-06/0.1655, allocations: 0 / 499.1 MB, free: 300 kB / 366.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.1655, allocations: 4 kB / 499.1 MB, free: 296 kB / 366.1 MB Notification: Performance of Transformations before backend: time 1.015e-05/0.1655, allocations: 0 / 499.1 MB, free: 296 kB / 366.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.001916/0.1674, allocations: 1.044 MB / 0.4884 GB, free: 15.2 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.046e-05/0.1675, allocations: 8.031 kB / 0.4884 GB, free: 15.19 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001259/0.1676, allocations: 98.7 kB / 0.4885 GB, free: 15.08 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003367/0.1679, allocations: 95.98 kB / 0.4886 GB, free: 14.99 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007357/0.1687, allocations: 0.5054 MB / 0.4891 GB, free: 14.44 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.623e-05/0.1688, allocations: 96.97 kB / 0.4892 GB, free: 14.34 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.161e-05/0.1689, allocations: 52.11 kB / 0.4892 GB, free: 14.29 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001226/0.1701, allocations: 0.8385 MB / 0.49 GB, free: 13.37 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.002e-05/0.1701, allocations: 0 / 0.49 GB, free: 13.37 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.936e-05/0.1702, allocations: 27.98 kB / 0.4901 GB, free: 13.34 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.431e-05/0.1703, allocations: 52.84 kB / 0.4901 GB, free: 13.29 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009926/0.1713, allocations: 0.6361 MB / 0.4907 GB, free: 12.65 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.004531/0.1758, allocations: 4.328 MB / 0.495 GB, free: 8.012 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005851/0.1764, allocations: 358.3 kB / 0.4953 GB, free: 7.656 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002535/0.1767, allocations: 169.3 kB / 0.4955 GB, free: 7.488 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001775/0.1785, allocations: 1.702 MB / 0.4971 GB, free: 5.539 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.893e-05/0.1785, allocations: 50.44 kB / 0.4972 GB, free: 5.48 MB / 382.1 MB Notification: Performance of pre-optimization done (n=26): time 1.914e-06/0.1785, allocations: 0 / 0.4972 GB, free: 5.48 MB / 382.1 MB Notification: Performance of matching and sorting (n=37): time 0.003473/0.182, allocations: 1.395 MB / 0.4985 GB, free: 4.027 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.821e-05/0.1821, allocations: 140.5 kB / 0.4987 GB, free: 3.859 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007156/0.1828, allocations: 0.6289 MB / 0.4993 GB, free: 3.223 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 4.149e-05/0.1829, allocations: 37.7 kB / 0.4993 GB, free: 3.18 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002525/0.1831, allocations: 398.3 kB / 0.4997 GB, free: 2.785 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.205e-05/0.1832, allocations: 134.1 kB / 0.4998 GB, free: 2.652 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001818/0.1834, allocations: 146.5 kB / 0.5 GB, free: 2.504 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001478/0.1836, allocations: 374.8 kB / 0.5003 GB, free: 2.129 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002931/0.1839, allocations: 185.9 kB / 0.5005 GB, free: 1.949 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005419/0.1844, allocations: 0.552 MB / 0.5011 GB, free: 1.219 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008287/0.1853, allocations: 0.7843 MB / 0.5018 GB, free: 276 kB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.783e-06/0.1853, allocations: 7.938 kB / 0.5018 GB, free: 268 kB / 382.1 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.2173/0.4026, allocations: 0.8193 MB / 0.5026 GB, free: 51.03 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.68e-05/0.4027, allocations: 9.656 kB / 0.5026 GB, free: 51.03 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.221e-05/0.4027, allocations: 12.44 kB / 0.5026 GB, free: 51.03 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004465/0.4032, allocations: 97.31 kB / 0.5027 GB, free: 51.02 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006937/0.4039, allocations: 186.6 kB / 0.5029 GB, free: 51.01 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004748/0.4044, allocations: 0.6715 MB / 0.5036 GB, free: 50.48 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005851/0.405, allocations: 44.75 kB / 0.5036 GB, free: 50.48 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.427e-05/0.405, allocations: 43.36 kB / 0.5037 GB, free: 50.48 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.0003748/0.4054, allocations: 257.5 kB / 0.5039 GB, free: 50.36 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001176/0.4056, allocations: 67.28 kB / 0.504 GB, free: 50.36 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009298/0.4065, allocations: 0.5075 MB / 0.5045 GB, free: 50.28 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.264e-06/0.4065, allocations: 3.656 kB / 0.5045 GB, free: 50.28 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.57e-06/0.4065, allocations: 0.8438 kB / 0.5045 GB, free: 50.28 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.412e-06/0.4065, allocations: 1.312 kB / 0.5045 GB, free: 50.28 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001743/0.4083, allocations: 1.215 MB / 0.5057 GB, free: 49.8 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.909e-06/0.4083, allocations: 3.344 kB / 0.5057 GB, free: 49.8 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002872/0.4086, allocations: 71.67 kB / 0.5057 GB, free: 49.79 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001521/0.4087, allocations: 45.7 kB / 0.5058 GB, free: 49.77 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.656e-05/0.4088, allocations: 15.38 kB / 0.5058 GB, free: 49.77 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002387/0.409, allocations: 0.5574 MB / 0.5063 GB, free: 49.23 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.23e-06/0.409, allocations: 7.531 kB / 0.5063 GB, free: 49.23 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008274/0.4099, allocations: 0.7324 MB / 0.5071 GB, free: 48.8 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001966/0.4101, allocations: 191.2 kB / 0.5072 GB, free: 48.65 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001007/0.4102, allocations: 10.33 kB / 0.5072 GB, free: 48.64 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004078/0.4106, allocations: 27.59 kB / 0.5073 GB, free: 48.64 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.871e-05/0.4107, allocations: 37.36 kB / 0.5073 GB, free: 48.63 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.123e-05/0.4107, allocations: 23.58 kB / 0.5073 GB, free: 48.62 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0005337/0.4113, allocations: 474.2 kB / 0.5078 GB, free: 48.42 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.21e-07/0.4113, allocations: 0 / 0.5078 GB, free: 48.42 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0007774/0.412, allocations: 205.5 kB / 0.508 GB, free: 48.4 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.001362/0.4134, allocations: 1.408 MB / 0.5094 GB, free: 47.4 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0009601/0.4144, allocations: 0.5276 MB / 0.5099 GB, free: 47.24 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.057e-06/0.4144, allocations: 1.062 kB / 0.5099 GB, free: 47.24 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003225/0.4147, allocations: 183.5 kB / 0.51 GB, free: 47.18 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00156/0.4163, allocations: 365.4 kB / 0.5104 GB, free: 47.11 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007223/0.4235, allocations: 6.745 MB / 0.517 GB, free: 42.67 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003744/0.4239, allocations: 0.9405 MB / 0.5179 GB, free: 41.95 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0007283/0.4247, allocations: 212.4 kB / 0.5181 GB, free: 41.91 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002621/0.4249, allocations: 237.9 kB / 0.5183 GB, free: 41.75 MB / 382.1 MB Notification: Performance of SimCode: time 5.01e-07/0.4249, allocations: 0 / 0.5183 GB, free: 41.75 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03273/0.4577, allocations: 20.2 MB / 0.538 GB, free: 27.47 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001806/0.4579, allocations: 338.6 kB / 0.5384 GB, free: 27.08 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.274/2.732, allocations: 0 / 0.5384 GB, free: 27.08 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