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.001254/0.001254, allocations: 116.9 kB / 18.45 MB, free: 4.609 MB / 14.72 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.001408/0.001408, allocations: 216.3 kB / 21.41 MB, free: 1.648 MB / 14.72 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 1.448/1.448, allocations: 207.6 MB / 231.8 MB, free: 4.066 MB / 174.1 MB " [Timeout remaining time 178] 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: Modelica requested package Complex of version 3.2.3. Complex 4.1.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.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001773/0.001773, allocations: 55.94 kB / 342.3 MB, free: 9.957 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09375/0.09552, allocations: 49.13 MB / 391.5 MB, free: 8.668 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.Water.ConstantPropertyLiquidWater): time 0.01514/0.1107, allocations: 12.95 MB / 404.4 MB, free: 11.66 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002557/0.1132, allocations: 1.709 MB / 406.1 MB, free: 9.945 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000183/0.1134, allocations: 7.938 kB / 406.1 MB, free: 9.938 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005419/0.1139, allocations: 170.9 kB / 406.3 MB, free: 9.77 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006021/0.1145, allocations: 318.2 kB / 406.6 MB, free: 9.457 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00102/0.1156, allocations: 419 kB / 407 MB, free: 9.047 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009813/0.1165, allocations: 0.829 MB / 407.8 MB, free: 8.215 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001909/0.1167, allocations: 76.92 kB / 407.9 MB, free: 8.141 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007223/0.1175, allocations: 402.6 kB / 408.3 MB, free: 7.746 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003844/0.1178, allocations: 270.9 kB / 408.6 MB, free: 7.48 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 6.345e-05/0.1179, allocations: 28 kB / 408.6 MB, free: 7.453 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000266/0.1182, allocations: 107.8 kB / 408.7 MB, free: 7.348 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001219/0.1183, allocations: 99.72 kB / 408.8 MB, free: 7.25 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002115/0.1185, allocations: 179.3 kB / 409 MB, free: 7.074 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005961/0.1191, allocations: 470.4 kB / 409.4 MB, free: 6.613 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.078e-06/0.1191, allocations: 4 kB / 409.4 MB, free: 6.609 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.443e-06/0.1191, allocations: 0 / 409.4 MB, free: 6.609 MB / 334.1 MB Notification: Performance of Transformations before backend: time 8.235e-06/0.1191, allocations: 0 / 409.4 MB, free: 6.609 MB / 334.1 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.000913/0.12, allocations: 0.5883 MB / 410 MB, free: 5.973 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.844e-05/0.1201, allocations: 12.03 kB / 410 MB, free: 5.961 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.129e-05/0.1202, allocations: 70.66 kB / 410.1 MB, free: 5.883 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002791/0.1204, allocations: 40.75 kB / 410.2 MB, free: 5.844 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004946/0.1209, allocations: 295.8 kB / 410.4 MB, free: 5.516 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.233e-05/0.121, allocations: 16.94 kB / 410.5 MB, free: 5.5 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.926e-05/0.121, allocations: 24.38 kB / 410.5 MB, free: 5.477 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005246/0.1215, allocations: 325.3 kB / 410.8 MB, free: 5.125 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.361e-05/0.1216, allocations: 0 / 410.8 MB, free: 5.125 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.758e-05/0.1216, allocations: 12 kB / 410.8 MB, free: 5.113 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.057e-05/0.1216, allocations: 4 kB / 410.8 MB, free: 5.109 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003269/0.1219, allocations: 197.5 kB / 411 MB, free: 4.918 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002092/0.124, allocations: 1.74 MB / 412.7 MB, free: 3.027 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002265/0.1242, allocations: 118.6 kB / 412.9 MB, free: 2.902 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001025/0.1243, allocations: 68.81 kB / 412.9 MB, free: 2.832 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001596/0.1245, allocations: 166.2 kB / 413.1 MB, free: 2.633 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.544e-05/0.1245, allocations: 38.83 kB / 413.1 MB, free: 2.586 MB / 334.1 MB Notification: Performance of pre-optimization done (n=15): time 1.413e-06/0.1245, allocations: 0 / 413.1 MB, free: 2.586 MB / 334.1 MB Notification: Performance of matching and sorting (n=21): time 0.001815/0.1264, allocations: 0.8 MB / 413.9 MB, free: 1.711 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4e-05/0.1264, allocations: 59.28 kB / 414 MB, free: 1.641 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003109/0.1267, allocations: 282.6 kB / 414.3 MB, free: 1.355 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.325e-05/0.1267, allocations: 37.7 kB / 414.3 MB, free: 1.312 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001433/0.1269, allocations: 196 kB / 414.5 MB, free: 1.113 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.523e-05/0.127, allocations: 79.33 kB / 414.6 MB, free: 1.035 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.548e-05/0.127, allocations: 65.69 kB / 414.6 MB, free: 0.9648 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001544/0.1272, allocations: 334.8 kB / 415 MB, free: 0.6289 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001225/0.1273, allocations: 67.97 kB / 415 MB, free: 0.5625 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002201/0.1275, allocations: 195.1 kB / 415.2 MB, free: 324 kB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003827/0.1279, allocations: 287.2 kB / 415.5 MB, free: 15.98 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.1279, allocations: 0 / 415.5 MB, free: 15.98 MB / 350.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0005147/0.1284, allocations: 330 kB / 415.8 MB, free: 15.65 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.095e-05/0.1285, allocations: 11.98 kB / 415.8 MB, free: 15.64 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.898e-06/0.1285, allocations: 8.438 kB / 415.8 MB, free: 15.63 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.648e-05/0.1286, allocations: 28.8 kB / 415.9 MB, free: 15.6 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003306/0.1289, allocations: 87.83 kB / 416 MB, free: 15.51 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00123/0.1301, allocations: 1.394 MB / 417.3 MB, free: 13.98 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001744/0.1303, allocations: 8 kB / 417.4 MB, free: 13.97 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.104e-05/0.1303, allocations: 16 kB / 417.4 MB, free: 13.95 MB / 350.1 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 0.0001681/0.1305, allocations: 157.6 kB / 417.5 MB, free: 13.79 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.692e-05/0.1306, allocations: 31.84 kB / 417.6 MB, free: 13.76 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003624/0.1309, allocations: 200.7 kB / 417.8 MB, free: 13.55 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.354e-06/0.1309, allocations: 7.984 kB / 417.8 MB, free: 13.54 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.112e-06/0.1309, allocations: 0 / 417.8 MB, free: 13.54 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000415/0.1314, allocations: 491.7 kB / 418.2 MB, free: 12.98 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001118/0.1325, allocations: 0.776 MB / 419 MB, free: 12.1 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.484e-06/0.1325, allocations: 4 kB / 419 MB, free: 12.09 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001884/0.1327, allocations: 43.98 kB / 419.1 MB, free: 12.05 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.174e-06/0.1327, allocations: 7.938 kB / 419.1 MB, free: 12.04 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.496e-05/0.1327, allocations: 4 kB / 419.1 MB, free: 12.04 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.825e-06/0.1327, allocations: 7.922 kB / 419.1 MB, free: 12.03 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.542e-06/0.1327, allocations: 4.281 kB / 419.1 MB, free: 12.03 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000486/0.1332, allocations: 411.5 kB / 419.5 MB, free: 11.58 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.82e-05/0.1333, allocations: 109 kB / 419.6 MB, free: 11.46 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.904e-05/0.1333, allocations: 11.98 kB / 419.6 MB, free: 11.45 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002206/0.1335, allocations: 8 kB / 419.6 MB, free: 11.44 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.281e-05/0.1336, allocations: 15.98 kB / 419.6 MB, free: 11.42 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.655e-05/0.1336, allocations: 19.98 kB / 419.6 MB, free: 11.4 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002096/0.1338, allocations: 202 kB / 419.8 MB, free: 11.2 MB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1338, allocations: 0 / 419.8 MB, free: 11.2 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004336/0.1342, allocations: 95.94 kB / 419.9 MB, free: 11.11 MB / 350.1 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.0009352/0.1352, allocations: 0.9618 MB / 420.9 MB, free: 10.09 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0005096/0.1357, allocations: 294.3 kB / 421.2 MB, free: 9.793 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 5.14e-06/0.1357, allocations: 5 kB / 421.2 MB, free: 9.789 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001208/0.1358, allocations: 79.97 kB / 421.3 MB, free: 9.711 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009478/0.1368, allocations: 161.1 kB / 421.4 MB, free: 9.551 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0037/0.1405, allocations: 3.075 MB / 424.5 MB, free: 6.234 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000384/0.1408, allocations: 0.76 MB / 425.3 MB, free: 5.449 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.000234/0.1411, allocations: 68.59 kB / 425.3 MB, free: 5.383 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001368/0.1412, allocations: 91.41 kB / 425.4 MB, free: 5.293 MB / 350.1 MB Notification: Performance of SimCode: time 3.7e-07/0.1412, allocations: 0 / 425.4 MB, free: 5.293 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03818/0.1794, allocations: 8.798 MB / 434.2 MB, free: 12.44 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.98/12.16, allocations: 11.73 kB / 434.2 MB, free: 12.43 MB / 366.1 MB " [Timeout remaining time 648] (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/jenkins1/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/jenkins1/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: 14.659248582000146]