Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.ConstantPropertyLiquidWater.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0007684/0.0007684, allocations: 83.62 kB / 21.43 MB, free: 3.133 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.003457/0.003457, allocations: 161.2 kB / 24.69 MB, free: 9.414 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.8651/0.8651, allocations: 158.6 MB / 186.5 MB, free: 3.035 MB / 170.7 MB " [Timeout remaining time 179] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Media.Examples.Tests.MediaTestModels.Water.ConstantPropertyLiquidWater,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_Tests_MediaTestModels_Water_ConstantPropertyLiquidWater",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.Tests.MediaTestModels.Water.ConstantPropertyLiquidWater,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_Tests_MediaTestModels_Water_ConstantPropertyLiquidWater",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.843e-06/1.843e-06, allocations: 0 / 298.5 MB, free: 3.477 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.449e-05/1.633e-05, allocations: 2.281 kB / 298.5 MB, free: 3.473 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.Water.ConstantPropertyLiquidWater): time 0.1373/0.1374, allocations: 11.81 MB / 310.3 MB, free: 9.266 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001737/0.1391, allocations: 1.601 MB / 311.9 MB, free: 8.172 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001617/0.1393, allocations: 7.969 kB / 311.9 MB, free: 8.168 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000462/0.1397, allocations: 168.4 kB / 312.1 MB, free: 8.074 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000522/0.1402, allocations: 328.8 kB / 312.4 MB, free: 7.875 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008986/0.1411, allocations: 427.5 kB / 312.8 MB, free: 7.652 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009062/0.142, allocations: 0.8288 MB / 313.6 MB, free: 7.266 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001845/0.1422, allocations: 66.56 kB / 313.7 MB, free: 7.242 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007923/0.143, allocations: 0.502 MB / 314.2 MB, free: 7.035 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003852/0.1434, allocations: 237.6 kB / 314.4 MB, free: 6.965 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 5.93e-05/0.1435, allocations: 28.38 kB / 314.5 MB, free: 6.965 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002269/0.1437, allocations: 103.2 kB / 314.6 MB, free: 6.93 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000112/0.1438, allocations: 103.5 kB / 314.7 MB, free: 6.871 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001516/0.144, allocations: 132.8 kB / 314.8 MB, free: 6.828 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006118/0.1446, allocations: 494.4 kB / 315.3 MB, free: 6.672 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.678e-06/0.1446, allocations: 5.219 kB / 315.3 MB, free: 6.668 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.873e-06/0.1446, allocations: 0 / 315.3 MB, free: 6.668 MB / 282.7 MB Notification: Performance of Transformations before backend: time 8.035e-06/0.1446, allocations: 0 / 315.3 MB, free: 6.668 MB / 282.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.0006741/0.1453, allocations: 0.5051 MB / 315.8 MB, free: 6.27 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.008e-05/0.1453, allocations: 13.58 kB / 315.8 MB, free: 6.266 MB / 282.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.609e-05/0.1453, allocations: 62.12 kB / 315.9 MB, free: 6.211 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000191/0.1455, allocations: 43.3 kB / 315.9 MB, free: 6.195 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003802/0.1459, allocations: 231.5 kB / 316.1 MB, free: 6.004 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.159e-05/0.1459, allocations: 18.28 kB / 316.2 MB, free: 5.996 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.538e-05/0.146, allocations: 26.94 kB / 316.2 MB, free: 5.988 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000429/0.1464, allocations: 0.5369 MB / 316.7 MB, free: 5.512 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.59e-05/0.1464, allocations: 1.438 kB / 316.7 MB, free: 5.512 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.976e-05/0.1465, allocations: 16.56 kB / 316.7 MB, free: 5.5 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.425e-05/0.1465, allocations: 6.406 kB / 316.7 MB, free: 5.5 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002998/0.1468, allocations: 188.1 kB / 316.9 MB, free: 5.441 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001227/0.148, allocations: 1.369 MB / 318.3 MB, free: 4.297 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001782/0.1482, allocations: 126.8 kB / 318.4 MB, free: 4.234 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.495e-05/0.1482, allocations: 62.95 kB / 318.5 MB, free: 4.203 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.988e-05/0.1483, allocations: 12.89 kB / 318.5 MB, free: 4.203 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.927e-05/0.1483, allocations: 38.02 kB / 318.5 MB, free: 4.16 MB / 282.7 MB Notification: Performance of pre-optimization done (n=15): time 1.643e-06/0.1483, allocations: 5.062 kB / 318.5 MB, free: 4.156 MB / 282.7 MB Notification: Performance of matching and sorting (n=21): time 0.001216/0.1495, allocations: 0.6494 MB / 319.2 MB, free: 3.785 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.869e-05/0.1496, allocations: 56.94 kB / 319.2 MB, free: 3.719 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002503/0.1498, allocations: 295.6 kB / 319.5 MB, free: 3.547 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.962e-05/0.1498, allocations: 30.95 kB / 319.6 MB, free: 3.512 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.583e-05/0.1499, allocations: 192.1 kB / 319.7 MB, free: 3.348 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.01e-05/0.15, allocations: 82.83 kB / 319.8 MB, free: 3.281 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.659e-05/0.1501, allocations: 67.89 kB / 319.9 MB, free: 3.238 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 6.367e-05/0.1501, allocations: 340.8 kB / 320.2 MB, free: 2.91 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.618e-05/0.1502, allocations: 64.69 kB / 320.3 MB, free: 2.891 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001484/0.1504, allocations: 189.9 kB / 320.5 MB, free: 2.715 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002572/0.1506, allocations: 289.9 kB / 320.8 MB, free: 2.477 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.486e-06/0.1506, allocations: 1.469 kB / 320.8 MB, free: 2.477 MB / 282.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0004/0.151, allocations: 332.2 kB / 321.1 MB, free: 2.316 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.337e-05/0.151, allocations: 7.562 kB / 321.1 MB, free: 2.316 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.209e-05/0.1511, allocations: 4.859 kB / 321.1 MB, free: 2.316 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001032/0.1512, allocations: 22.84 kB / 321.1 MB, free: 2.305 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002303/0.1514, allocations: 85.3 kB / 321.2 MB, free: 2.297 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007081/0.1521, allocations: 1.291 MB / 322.5 MB, free: 1.008 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001055/0.1522, allocations: 17.59 kB / 322.5 MB, free: 0.9961 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.621e-05/0.1522, allocations: 13.16 kB / 322.5 MB, free: 0.9961 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (41): * Single equations (assignments): 40 * 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,1)} Notification: Performance of prepare postOptimizeDAE: time 9.802e-05/0.1523, allocations: 156.6 kB / 322.7 MB, free: 0.8516 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.672e-05/0.1524, allocations: 36.66 kB / 322.7 MB, free: 0.832 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002575/0.1526, allocations: 205.3 kB / 322.9 MB, free: 0.7188 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.495e-06/0.1526, allocations: 3.391 kB / 322.9 MB, free: 0.7188 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.392e-06/0.1526, allocations: 0 / 322.9 MB, free: 0.7188 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002041/0.1528, allocations: 487.4 kB / 323.4 MB, free: 240 kB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007392/0.1536, allocations: 0.6395 MB / 324 MB, free: 15.75 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.788e-06/0.1536, allocations: 2.812 kB / 324 MB, free: 15.75 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000113/0.1537, allocations: 44.45 kB / 324.1 MB, free: 15.75 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.679e-06/0.1537, allocations: 3.781 kB / 324.1 MB, free: 15.75 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.409e-05/0.1537, allocations: 9.453 kB / 324.1 MB, free: 15.75 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.068e-06/0.1537, allocations: 4.266 kB / 324.1 MB, free: 15.75 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.18e-06/0.1537, allocations: 15.06 kB / 324.1 MB, free: 15.73 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003612/0.1541, allocations: 391.1 kB / 324.5 MB, free: 15.44 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.098e-05/0.1541, allocations: 28.23 kB / 324.5 MB, free: 15.43 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.709e-05/0.1541, allocations: 13.22 kB / 324.5 MB, free: 15.42 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001118/0.1543, allocations: 5.5 kB / 324.5 MB, free: 15.42 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.565e-05/0.1543, allocations: 19.3 kB / 324.6 MB, free: 15.41 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.174e-05/0.1543, allocations: 13.17 kB / 324.6 MB, free: 15.41 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001729/0.1545, allocations: 203.9 kB / 324.8 MB, free: 15.3 MB / 298.7 MB Notification: Performance of sort global known variables: time 7e-08/0.1545, allocations: 0 / 324.8 MB, free: 15.3 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003512/0.1548, allocations: 99.69 kB / 324.9 MB, free: 15.29 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * 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 (21): * Single equations (assignments): 21 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007762/0.1556, allocations: 0.966 MB / 325.8 MB, free: 14.45 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0004117/0.156, allocations: 304.9 kB / 326.1 MB, free: 14.26 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.156, allocations: 3.938 kB / 326.1 MB, free: 14.26 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 7.122e-05/0.1561, allocations: 68.59 kB / 326.2 MB, free: 14.23 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005315/0.1566, allocations: 172 kB / 326.4 MB, free: 14.18 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002619/0.1592, allocations: 3.043 MB / 329.4 MB, free: 11.93 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001154/0.1594, allocations: 154.5 kB / 329.6 MB, free: 11.85 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0001534/0.1595, allocations: 62.62 kB / 329.6 MB, free: 11.83 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.128e-05/0.1596, allocations: 88.78 kB / 329.7 MB, free: 11.77 MB / 298.7 MB Notification: Performance of SimCode: time 8.42e-07/0.1596, allocations: 0 / 329.7 MB, free: 11.77 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02315/0.1828, allocations: 9.889 MB / 339.6 MB, free: 4.582 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.063/8.245, allocations: 0 / 339.6 MB, free: 4.582 MB / 298.7 MB " [Timeout remaining time 652] (rm -f Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.ConstantPropertyLiquidWater.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.ConstantPropertyLiquidWater.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.ConstantPropertyLiquidWater.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.ConstantPropertyLiquidWater.sim & python3 -m fmpy simulate --output-file Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.ConstantPropertyLiquidWater_res.csv --start-time 0 --stop-time 1.01 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.000201919 Modelica_3_2_3_Modelica_Media_Examples_Tests_MediaTestModels_Water_ConstantPropertyLiquidWater.fmu > Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.ConstantPropertyLiquidWater.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.ConstantPropertyLiquidWater_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/Tests/MediaTestModels/Water/ConstantPropertyLiquidWater/ConstantPropertyLiquidWater.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.ConstantPropertyLiquidWater.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 9.926600781269372]