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: 99.7 kB / 16.27 MB, free: 6.395 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.001347/0.001347, allocations: 193.1 kB / 17.2 MB, free: 5.965 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.579/1.579, allocations: 205.1 MB / 223.1 MB, free: 12.32 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.2188/0.2188, allocations: 43.53 MB / 313.9 MB, free: 0.5391 MB / 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.001777/0.001777, allocations: 70.59 kB / 382.8 MB, free: 56.68 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.104/0.1058, allocations: 57.79 MB / 440.6 MB, free: 6.828 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.ConstantPropertyLiquidWater): time 0.0176/0.1234, allocations: 16.43 MB / 457.1 MB, free: 6.324 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.007983/0.1314, allocations: 5.454 MB / 462.5 MB, free: 0.8555 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008923/0.1324, allocations: 19.88 kB / 462.5 MB, free: 0.8359 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001054/0.1335, allocations: 322 kB / 462.8 MB, free: 0.5195 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002107/0.1356, allocations: 0.82 MB / 463.7 MB, free: 15.69 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002997/0.1386, allocations: 1 MB / 464.7 MB, free: 14.7 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002487/0.1411, allocations: 1.782 MB / 466.4 MB, free: 12.91 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007213/0.1419, allocations: 469.2 kB / 466.9 MB, free: 12.45 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001463/0.1434, allocations: 0.7396 MB / 467.6 MB, free: 11.71 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008678/0.1442, allocations: 0.6111 MB / 468.3 MB, free: 11.09 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001226/0.1444, allocations: 60 kB / 468.3 MB, free: 11.04 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001004/0.1454, allocations: 335.5 kB / 468.6 MB, free: 10.71 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002847/0.1457, allocations: 271.3 kB / 468.9 MB, free: 10.44 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004331/0.1461, allocations: 406.1 kB / 469.3 MB, free: 10.04 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001503/0.1476, allocations: 1.091 MB / 470.4 MB, free: 8.949 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.791e-06/0.1476, allocations: 0 / 470.4 MB, free: 8.949 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.1477, allocations: 4 kB / 470.4 MB, free: 8.945 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.212e-05/0.1477, allocations: 0 / 470.4 MB, free: 8.945 MB / 350.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.002147/0.1498, allocations: 1.048 MB / 471.4 MB, free: 7.848 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.504e-05/0.1499, allocations: 8.031 kB / 471.5 MB, free: 7.84 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001334/0.15, allocations: 98.69 kB / 471.6 MB, free: 7.734 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000349/0.1504, allocations: 96.08 kB / 471.6 MB, free: 7.641 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007876/0.1512, allocations: 0.5014 MB / 472.1 MB, free: 7.098 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000143/0.1513, allocations: 112.9 kB / 472.3 MB, free: 6.977 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.313e-05/0.1514, allocations: 48.12 kB / 472.3 MB, free: 6.93 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001309/0.1528, allocations: 0.8309 MB / 473.1 MB, free: 6.023 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.209e-05/0.1528, allocations: 7.938 kB / 473.1 MB, free: 6.016 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.442e-05/0.1529, allocations: 27.98 kB / 473.2 MB, free: 5.988 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.066e-05/0.1529, allocations: 32.98 kB / 473.2 MB, free: 5.953 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001047/0.154, allocations: 0.6438 MB / 473.8 MB, free: 5.312 MB / 350.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.005577/0.1596, allocations: 4.352 MB / 478.2 MB, free: 0.6523 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000661/0.1602, allocations: 353.8 kB / 478.5 MB, free: 308 kB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002831/0.1605, allocations: 169.3 kB / 478.7 MB, free: 136 kB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002015/0.1626, allocations: 1.706 MB / 480.4 MB, free: 14.18 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.796e-05/0.1626, allocations: 38.56 kB / 480.5 MB, free: 14.13 MB / 366.1 MB Notification: Performance of pre-optimization done (n=26): time 2.335e-06/0.1626, allocations: 0 / 480.5 MB, free: 14.13 MB / 366.1 MB Notification: Performance of matching and sorting (n=37): time 0.004064/0.1667, allocations: 1.395 MB / 481.8 MB, free: 12.68 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001124/0.1668, allocations: 136.5 kB / 482 MB, free: 12.52 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008786/0.1677, allocations: 0.6327 MB / 482.6 MB, free: 11.88 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.537e-05/0.1678, allocations: 37.7 kB / 482.6 MB, free: 11.83 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003397/0.1681, allocations: 390.4 kB / 483 MB, free: 11.45 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001279/0.1683, allocations: 138.1 kB / 483.2 MB, free: 11.31 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000215/0.1685, allocations: 146.5 kB / 483.3 MB, free: 11.16 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001809/0.1687, allocations: 374.8 kB / 483.7 MB, free: 10.79 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003184/0.169, allocations: 189.8 kB / 483.9 MB, free: 10.6 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006113/0.1696, allocations: 0.5598 MB / 484.4 MB, free: 9.867 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009224/0.1706, allocations: 0.7912 MB / 485.2 MB, free: 8.91 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.869e-06/0.1706, allocations: 3.938 kB / 485.2 MB, free: 8.906 MB / 366.1 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.001321/0.1719, allocations: 0.8259 MB / 486 MB, free: 8.07 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.206e-05/0.1719, allocations: 12 kB / 486.1 MB, free: 8.059 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.474e-05/0.172, allocations: 12 kB / 486.1 MB, free: 8.047 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004477/0.1724, allocations: 96.8 kB / 486.2 MB, free: 7.949 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006456/0.1731, allocations: 179.7 kB / 486.3 MB, free: 7.773 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006202/0.1737, allocations: 0.6733 MB / 487 MB, free: 7.074 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004795/0.1742, allocations: 28 kB / 487 MB, free: 7.047 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.156e-05/0.1743, allocations: 36 kB / 487.1 MB, free: 7.012 MB / 366.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.0003321/0.1746, allocations: 265.3 kB / 487.3 MB, free: 6.742 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001104/0.1747, allocations: 67.16 kB / 487.4 MB, free: 6.676 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008807/0.1756, allocations: 0.511 MB / 487.9 MB, free: 6.156 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.312e-06/0.1756, allocations: 4 kB / 487.9 MB, free: 6.152 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.58e-06/0.1756, allocations: 0 / 487.9 MB, free: 6.152 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.969e-06/0.1756, allocations: 0 / 487.9 MB, free: 6.152 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001894/0.1775, allocations: 1.223 MB / 489.1 MB, free: 4.832 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.947e-06/0.1776, allocations: 64 / 489.1 MB, free: 4.832 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002969/0.1779, allocations: 71.91 kB / 489.2 MB, free: 4.762 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001965/0.1781, allocations: 48.77 kB / 489.3 MB, free: 4.711 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.781e-05/0.1781, allocations: 8.141 kB / 489.3 MB, free: 4.703 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000449/0.1786, allocations: 0.5682 MB / 489.8 MB, free: 4.109 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.903e-06/0.1786, allocations: 7.938 kB / 489.8 MB, free: 4.102 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001086/0.1797, allocations: 0.7249 MB / 490.6 MB, free: 3.32 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002595/0.1799, allocations: 188.1 kB / 490.7 MB, free: 3.117 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.913e-05/0.18, allocations: 20.06 kB / 490.8 MB, free: 3.098 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003729/0.1804, allocations: 19.92 kB / 490.8 MB, free: 3.078 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.285e-05/0.1805, allocations: 31.91 kB / 490.8 MB, free: 3.047 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.7e-05/0.1805, allocations: 19.98 kB / 490.8 MB, free: 3.027 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0006333/0.1812, allocations: 479 kB / 491.3 MB, free: 2.562 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.1812, allocations: 0 / 491.3 MB, free: 2.562 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0008794/0.1821, allocations: 207.9 kB / 491.5 MB, free: 2.359 MB / 366.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.001872/0.184, allocations: 1.391 MB / 492.9 MB, free: 0.9102 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001127/0.1851, allocations: 0.5347 MB / 493.4 MB, free: 388 kB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.837e-06/0.1851, allocations: 0.875 kB / 493.4 MB, free: 388 kB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003425/0.1855, allocations: 183.8 kB / 493.6 MB, free: 204 kB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001721/0.1872, allocations: 356.3 kB / 494 MB, free: 15.86 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008979/0.1962, allocations: 6.564 MB / 0.4888 GB, free: 8.793 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000632/0.1969, allocations: 0.9417 MB / 0.4897 GB, free: 7.824 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0008457/0.1977, allocations: 215 kB / 0.4899 GB, free: 7.621 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003362/0.1981, allocations: 231.4 kB / 0.4901 GB, free: 7.395 MB / 382.1 MB Notification: Performance of SimCode: time 4.41e-07/0.1981, allocations: 0 / 0.4901 GB, free: 7.395 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05467/0.2527, allocations: 20.34 MB / 0.51 GB, free: 3.027 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.44/11.69, allocations: 12.38 kB / 0.51 GB, free: 3.016 MB / 398.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