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.001954/0.001954, allocations: 107.6 kB / 21.18 MB, free: 452 kB / 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.001701/0.001701, allocations: 216.1 kB / 24.47 MB, free: 3.777 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.389/1.389, allocations: 207.7 MB / 235.3 MB, free: 9.801 MB / 190.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.001784/0.001784, allocations: 59.91 kB / 347.2 MB, free: 9.844 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2544/0.2562, allocations: 49.15 MB / 396.4 MB, free: 8.879 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.Water.ConstantPropertyLiquidWater): time 0.01385/0.27, allocations: 11.9 MB / 408.3 MB, free: 0.8359 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002456/0.2725, allocations: 1.607 MB / 409.9 MB, free: 15.74 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002062/0.2727, allocations: 6.688 kB / 409.9 MB, free: 15.73 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006342/0.2733, allocations: 165.6 kB / 410.1 MB, free: 15.64 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000723/0.274, allocations: 316.2 kB / 410.4 MB, free: 15.46 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001219/0.2753, allocations: 422.8 kB / 410.8 MB, free: 15.23 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001012/0.2763, allocations: 0.8385 MB / 411.6 MB, free: 14.85 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001855/0.2765, allocations: 75.05 kB / 411.7 MB, free: 14.81 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007325/0.2772, allocations: 403.4 kB / 412.1 MB, free: 14.64 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003897/0.2776, allocations: 264.7 kB / 412.4 MB, free: 14.55 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 6.126e-05/0.2776, allocations: 28.56 kB / 412.4 MB, free: 14.55 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002776/0.2779, allocations: 96.83 kB / 412.5 MB, free: 14.52 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001371/0.278, allocations: 90.52 kB / 412.6 MB, free: 14.46 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002027/0.2783, allocations: 160.1 kB / 412.7 MB, free: 14.38 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005991/0.2789, allocations: 475.4 kB / 413.2 MB, free: 14.07 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.509e-06/0.2789, allocations: 1.438 kB / 413.2 MB, free: 14.07 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.2789, allocations: 0 / 413.2 MB, free: 14.07 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.213e-06/0.2789, allocations: 0 / 413.2 MB, free: 14.07 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.0008263/0.2797, allocations: 0.5123 MB / 413.7 MB, free: 13.64 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.038e-05/0.2797, allocations: 12.8 kB / 413.7 MB, free: 13.63 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.084e-05/0.2798, allocations: 63.7 kB / 413.8 MB, free: 13.57 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002741/0.2801, allocations: 44.55 kB / 413.8 MB, free: 13.55 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004545/0.2805, allocations: 233.7 kB / 414 MB, free: 13.34 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.639e-05/0.2806, allocations: 17.53 kB / 414.1 MB, free: 13.33 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.317e-05/0.2806, allocations: 24.72 kB / 414.1 MB, free: 13.32 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006408/0.2813, allocations: 0.5479 MB / 414.6 MB, free: 12.79 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.521e-05/0.2813, allocations: 1.156 kB / 414.6 MB, free: 12.79 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.491e-05/0.2813, allocations: 15.41 kB / 414.6 MB, free: 12.78 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.285e-06/0.2813, allocations: 6.812 kB / 414.7 MB, free: 12.78 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003225/0.2816, allocations: 197.5 kB / 414.8 MB, free: 12.69 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001874/0.2835, allocations: 1.362 MB / 416.2 MB, free: 11.45 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002399/0.2837, allocations: 129.7 kB / 416.3 MB, free: 11.38 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001052/0.2839, allocations: 63.25 kB / 416.4 MB, free: 11.34 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.34e-05/0.2839, allocations: 13.58 kB / 416.4 MB, free: 11.34 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.82e-05/0.284, allocations: 38.25 kB / 416.4 MB, free: 11.29 MB / 334.1 MB Notification: Performance of pre-optimization done (n=15): time 3.938e-06/0.284, allocations: 3.984 kB / 416.5 MB, free: 11.29 MB / 334.1 MB Notification: Performance of matching and sorting (n=21): time 0.001814/0.2858, allocations: 0.6466 MB / 417.1 MB, free: 10.87 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.431e-05/0.2858, allocations: 58 kB / 417.2 MB, free: 10.8 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003391/0.2862, allocations: 283.3 kB / 417.4 MB, free: 10.61 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 4.308e-05/0.2862, allocations: 32.08 kB / 417.5 MB, free: 10.57 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001704/0.2864, allocations: 204.1 kB / 417.7 MB, free: 10.39 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.15e-05/0.2864, allocations: 76.72 kB / 417.7 MB, free: 10.32 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001024/0.2866, allocations: 70.25 kB / 417.8 MB, free: 10.27 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.000158/0.2867, allocations: 338.2 kB / 418.1 MB, free: 9.938 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001183/0.2868, allocations: 68.31 kB / 418.2 MB, free: 9.906 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002138/0.287, allocations: 187.2 kB / 418.4 MB, free: 9.719 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003693/0.2874, allocations: 276.9 kB / 418.7 MB, free: 9.484 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.845e-06/0.2874, allocations: 2.344 kB / 418.7 MB, free: 9.484 MB / 334.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0005252/0.2879, allocations: 337.3 kB / 419 MB, free: 9.297 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.728e-05/0.288, allocations: 11.03 kB / 419 MB, free: 9.293 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.197e-05/0.288, allocations: 7.781 kB / 419 MB, free: 9.289 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.957e-05/0.2881, allocations: 21.61 kB / 419 MB, free: 9.277 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003139/0.2884, allocations: 81.7 kB / 419.1 MB, free: 9.262 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001146/0.2895, allocations: 1.284 MB / 420.4 MB, free: 7.949 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001846/0.2897, allocations: 8.562 kB / 420.4 MB, free: 7.945 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.401e-05/0.2897, allocations: 22.67 kB / 420.4 MB, free: 7.938 MB / 334.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.0001666/0.2899, allocations: 154.4 kB / 420.6 MB, free: 7.793 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.41e-05/0.29, allocations: 30.47 kB / 420.6 MB, free: 7.777 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003897/0.2904, allocations: 204 kB / 420.8 MB, free: 7.641 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.779e-06/0.2904, allocations: 11.25 kB / 420.8 MB, free: 7.633 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.503e-06/0.2904, allocations: 0 / 420.8 MB, free: 7.633 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004317/0.2908, allocations: 494.9 kB / 421.3 MB, free: 7.129 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001094/0.2919, allocations: 0.6456 MB / 421.9 MB, free: 6.578 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.661e-06/0.2919, allocations: 6.391 kB / 421.9 MB, free: 6.574 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001737/0.2921, allocations: 47.39 kB / 422 MB, free: 6.562 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.545e-06/0.2921, allocations: 7.281 kB / 422 MB, free: 6.559 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.571e-05/0.2921, allocations: 8.406 kB / 422 MB, free: 6.555 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.118e-06/0.2921, allocations: 3.5 kB / 422 MB, free: 6.555 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.086e-06/0.2921, allocations: 2.469 kB / 422 MB, free: 6.555 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005114/0.2926, allocations: 407.8 kB / 422.4 MB, free: 6.23 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.903e-05/0.2927, allocations: 29.77 kB / 422.4 MB, free: 6.211 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.051e-05/0.2927, allocations: 3.719 kB / 422.4 MB, free: 6.211 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002248/0.2929, allocations: 13.27 kB / 422.5 MB, free: 6.203 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.035e-05/0.293, allocations: 19.64 kB / 422.5 MB, free: 6.191 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.921e-05/0.293, allocations: 22.55 kB / 422.5 MB, free: 6.18 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002119/0.2932, allocations: 206.6 kB / 422.7 MB, free: 6.043 MB / 334.1 MB Notification: Performance of sort global known variables: time 1e-07/0.2932, allocations: 3.938 kB / 422.7 MB, free: 6.039 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0004642/0.2937, allocations: 94.69 kB / 422.8 MB, free: 6.027 MB / 334.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.001056/0.2947, allocations: 0.9579 MB / 423.8 MB, free: 5.168 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0006012/0.2953, allocations: 303.5 kB / 424.1 MB, free: 4.965 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.266e-06/0.2953, allocations: 0 / 424.1 MB, free: 4.965 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000119/0.2954, allocations: 72.08 kB / 424.1 MB, free: 4.934 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009613/0.2964, allocations: 154.4 kB / 424.3 MB, free: 4.852 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0042/0.3006, allocations: 3.089 MB / 427.4 MB, free: 2.379 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002402/0.3008, allocations: 152 kB / 427.5 MB, free: 2.262 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0002864/0.3011, allocations: 62 kB / 427.6 MB, free: 2.234 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001525/0.3013, allocations: 91.38 kB / 427.7 MB, free: 2.164 MB / 334.1 MB Notification: Performance of SimCode: time 6.52e-07/0.3013, allocations: 0 / 427.7 MB, free: 2.164 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04371/0.345, allocations: 9.781 MB / 437.4 MB, free: 8.836 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.85/13.19, allocations: 11.94 kB / 437.5 MB, free: 8.824 MB / 350.1 MB " [Timeout remaining time 647] (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: 15.756720448844135]