Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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 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.TestsWithFluid.MediaTestModels.Water.ConstantPropertyLiquidWater,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Water_ConstantPropertyLiquidWater",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.ConstantPropertyLiquidWater,fileNamePrefix="ModelicaTest_3_2_3_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.001324/0.001324, allocations: 107 kB / 16.41 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.001252/0.001252, allocations: 189.5 kB / 17.34 MB, free: 5.766 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.555/1.555, allocations: 205.1 MB / 223.2 MB, free: 12.2 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.2452/0.2452, allocations: 43.52 MB / 314.1 MB, free: 468 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.001453/0.001453, allocations: 75.89 kB / 441.3 MB, free: 6.16 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1312/0.1327, allocations: 57.8 MB / 499.1 MB, free: 12.29 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.ConstantPropertyLiquidWater): time 0.018/0.1507, allocations: 16.42 MB / 0.5035 GB, free: 11.79 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00832/0.1591, allocations: 5.465 MB / 0.5088 GB, free: 6.312 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008646/0.16, allocations: 19.88 kB / 0.5088 GB, free: 6.293 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001271/0.1613, allocations: 314 kB / 0.5091 GB, free: 5.984 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002737/0.1641, allocations: 0.8238 MB / 0.5099 GB, free: 5.156 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003396/0.1676, allocations: 1.001 MB / 0.5109 GB, free: 4.152 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.002483/0.1701, allocations: 1.79 MB / 0.5126 GB, free: 2.352 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001003/0.1711, allocations: 457.3 kB / 0.5131 GB, free: 1.902 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001749/0.1728, allocations: 0.7513 MB / 0.5138 GB, free: 1.148 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001189/0.174, allocations: 0.6189 MB / 0.5144 GB, free: 0.5273 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002194/0.1743, allocations: 60 kB / 0.5145 GB, free: 480 kB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001138/0.1754, allocations: 347.5 kB / 0.5148 GB, free: 132 kB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004078/0.1758, allocations: 263.2 kB / 0.5151 GB, free: 15.87 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008813/0.1767, allocations: 394.2 kB / 0.5154 GB, free: 15.48 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002243/0.179, allocations: 1.11 MB / 0.5165 GB, free: 14.37 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.642e-06/0.179, allocations: 7.984 kB / 0.5165 GB, free: 14.36 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.334e-06/0.179, allocations: 0 / 0.5165 GB, free: 14.36 MB / 414.1 MB Notification: Performance of Transformations before backend: time 3.552e-05/0.1791, allocations: 0 / 0.5165 GB, free: 14.36 MB / 414.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.002667/0.1817, allocations: 1.044 MB / 0.5175 GB, free: 13.27 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.693e-05/0.1818, allocations: 8.031 kB / 0.5176 GB, free: 13.26 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001663/0.182, allocations: 94.7 kB / 0.5176 GB, free: 13.16 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003895/0.1824, allocations: 88.08 kB / 0.5177 GB, free: 13.07 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00112/0.1835, allocations: 0.5443 MB / 0.5183 GB, free: 12.49 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001304/0.1836, allocations: 105 kB / 0.5184 GB, free: 12.38 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001074/0.1838, allocations: 52.11 kB / 0.5184 GB, free: 12.32 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001396/0.1852, allocations: 0.8268 MB / 0.5192 GB, free: 11.41 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.624e-05/0.1852, allocations: 11.94 kB / 0.5192 GB, free: 11.4 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.464e-05/0.1853, allocations: 27.98 kB / 0.5193 GB, free: 11.38 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.721e-05/0.1853, allocations: 32.98 kB / 0.5193 GB, free: 11.34 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001143/0.1865, allocations: 0.6438 MB / 0.5199 GB, free: 10.7 MB / 414.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.00536/0.1919, allocations: 4.332 MB / 0.5241 GB, free: 6.062 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006852/0.1926, allocations: 354.2 kB / 0.5245 GB, free: 5.715 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000291/0.1929, allocations: 181.3 kB / 0.5247 GB, free: 5.535 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00208/0.195, allocations: 1.702 MB / 0.5263 GB, free: 3.586 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.902e-05/0.195, allocations: 38.56 kB / 0.5264 GB, free: 3.539 MB / 414.1 MB Notification: Performance of pre-optimization done (n=26): time 2.425e-06/0.195, allocations: 0 / 0.5264 GB, free: 3.539 MB / 414.1 MB Notification: Performance of matching and sorting (n=37): time 0.00384/0.1989, allocations: 1.39 MB / 0.5277 GB, free: 2.09 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.721e-05/0.199, allocations: 132.5 kB / 0.5278 GB, free: 1.93 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007966/0.1998, allocations: 0.6328 MB / 0.5285 GB, free: 1.289 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 4.646e-05/0.1998, allocations: 37.7 kB / 0.5285 GB, free: 1.246 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002811/0.2001, allocations: 394.3 kB / 0.5289 GB, free: 0.8555 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001062/0.2002, allocations: 134.1 kB / 0.529 GB, free: 0.7227 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002021/0.2004, allocations: 150.5 kB / 0.5291 GB, free: 0.5703 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001597/0.2006, allocations: 382.8 kB / 0.5295 GB, free: 192 kB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003074/0.2009, allocations: 189.8 kB / 0.5297 GB, free: 0 / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.2566/0.4576, allocations: 0.5405 MB / 0.5302 GB, free: 41.59 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008772/0.4585, allocations: 0.7854 MB / 0.531 GB, free: 41.15 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.476e-06/0.4585, allocations: 10.69 kB / 0.531 GB, free: 41.15 MB / 414.1 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.001419/0.4599, allocations: 0.8172 MB / 0.5318 GB, free: 41.04 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.755e-05/0.46, allocations: 12.77 kB / 0.5318 GB, free: 41.04 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.663e-05/0.46, allocations: 12.47 kB / 0.5318 GB, free: 41.04 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004457/0.4604, allocations: 94.56 kB / 0.5319 GB, free: 41.03 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006457/0.4611, allocations: 182.6 kB / 0.5321 GB, free: 41.02 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004746/0.4616, allocations: 0.6721 MB / 0.5327 GB, free: 40.49 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004821/0.4621, allocations: 28.14 kB / 0.5328 GB, free: 40.49 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.177e-05/0.4622, allocations: 40.39 kB / 0.5328 GB, free: 40.49 MB / 414.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.0004532/0.4626, allocations: 259.7 kB / 0.533 GB, free: 40.36 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001262/0.4627, allocations: 75.84 kB / 0.5331 GB, free: 40.36 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009136/0.4637, allocations: 0.4956 MB / 0.5336 GB, free: 40.27 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.402e-06/0.4637, allocations: 3.531 kB / 0.5336 GB, free: 40.27 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.432e-06/0.4637, allocations: 1.031 kB / 0.5336 GB, free: 40.27 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.943e-06/0.4637, allocations: 7.875 kB / 0.5336 GB, free: 40.27 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001824/0.4655, allocations: 1.22 MB / 0.5348 GB, free: 39.86 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.254e-06/0.4656, allocations: 3 kB / 0.5348 GB, free: 39.86 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000296/0.4659, allocations: 77.69 kB / 0.5349 GB, free: 39.85 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002182/0.4661, allocations: 36.86 kB / 0.5349 GB, free: 39.84 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.702e-05/0.4661, allocations: 12.41 kB / 0.5349 GB, free: 39.84 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002441/0.4664, allocations: 0.5612 MB / 0.5355 GB, free: 39.32 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.128e-06/0.4664, allocations: 5.156 kB / 0.5355 GB, free: 39.32 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009312/0.4673, allocations: 0.7331 MB / 0.5362 GB, free: 39.06 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002543/0.4676, allocations: 188.4 kB / 0.5364 GB, free: 38.93 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001009/0.4677, allocations: 9.75 kB / 0.5364 GB, free: 38.93 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003598/0.4681, allocations: 20.02 kB / 0.5364 GB, free: 38.93 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.895e-05/0.4681, allocations: 36.06 kB / 0.5364 GB, free: 38.92 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.502e-05/0.4682, allocations: 21.89 kB / 0.5365 GB, free: 38.92 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0006193/0.4688, allocations: 471.6 kB / 0.5369 GB, free: 38.83 MB / 414.1 MB Notification: Performance of sort global known variables: time 3.21e-07/0.4688, allocations: 1.125 kB / 0.5369 GB, free: 38.83 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0007849/0.4696, allocations: 205.3 kB / 0.5371 GB, free: 38.83 MB / 414.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.001807/0.4714, allocations: 1.413 MB / 0.5385 GB, free: 37.88 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001442/0.4729, allocations: 0.5078 MB / 0.539 GB, free: 37.72 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 9.618e-06/0.4729, allocations: 0 / 0.539 GB, free: 37.72 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004142/0.4733, allocations: 191 kB / 0.5392 GB, free: 37.66 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001916/0.4753, allocations: 356.2 kB / 0.5395 GB, free: 37.57 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00878/0.4841, allocations: 6.3 MB / 0.5457 GB, free: 33.62 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005098/0.4846, allocations: 0.9382 MB / 0.5466 GB, free: 32.9 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0008998/0.4855, allocations: 214.5 kB / 0.5468 GB, free: 32.86 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002974/0.4858, allocations: 233.9 kB / 0.547 GB, free: 32.7 MB / 414.1 MB Notification: Performance of SimCode: time 9.72e-07/0.4858, allocations: 0 / 0.547 GB, free: 32.7 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04769/0.5335, allocations: 20.87 MB / 0.5674 GB, free: 20.8 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.18/12.72, allocations: 20.45 kB / 0.5674 GB, free: 20.79 MB / 414.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.ConstantPropertyLiquidWater.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.ConstantPropertyLiquidWater.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.ConstantPropertyLiquidWater.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.ConstantPropertyLiquidWater.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.ConstantPropertyLiquidWater_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Water_ConstantPropertyLiquidWater_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Water_ConstantPropertyLiquidWater.fmu > ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.ConstantPropertyLiquidWater.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.ConstantPropertyLiquidWater_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Media/TestsWithFluid/MediaTestModels/Water/ConstantPropertyLiquidWater/ConstantPropertyLiquidWater.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.ConstantPropertyLiquidWater.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches