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.001793/0.001793, allocations: 113.6 kB / 21.19 MB, free: 0.7031 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.001476/0.001476, allocations: 208.6 kB / 24.49 MB, free: 4.055 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.402/1.402, allocations: 207.6 MB / 235.2 MB, free: 10.01 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.001766/0.001766, allocations: 51.12 kB / 347.2 MB, free: 10.09 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2466/0.2483, allocations: 49.16 MB / 396.4 MB, free: 9.176 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.Water.ConstantPropertyLiquidWater): time 0.01142/0.2597, allocations: 13.07 MB / 409.5 MB, free: 15.86 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00266/0.2624, allocations: 1.722 MB / 411.2 MB, free: 14.64 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001863/0.2626, allocations: 7.156 kB / 411.2 MB, free: 14.63 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005747/0.2632, allocations: 175.5 kB / 411.4 MB, free: 14.53 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006341/0.2638, allocations: 315.7 kB / 411.7 MB, free: 14.34 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001078/0.2649, allocations: 417.6 kB / 412.1 MB, free: 14.12 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009584/0.2658, allocations: 0.8421 MB / 412.9 MB, free: 13.73 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001892/0.266, allocations: 79.97 kB / 413 MB, free: 13.69 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006983/0.2667, allocations: 400.3 kB / 413.4 MB, free: 13.52 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004061/0.2671, allocations: 281.6 kB / 413.7 MB, free: 13.41 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.059e-05/0.2672, allocations: 32.44 kB / 413.7 MB, free: 13.41 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002638/0.2674, allocations: 102.9 kB / 413.8 MB, free: 13.38 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00012/0.2676, allocations: 89.77 kB / 413.9 MB, free: 13.33 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000211/0.2678, allocations: 188.3 kB / 414.1 MB, free: 13.23 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005574/0.2683, allocations: 470.9 kB / 414.5 MB, free: 12.93 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.771e-06/0.2683, allocations: 4 kB / 414.5 MB, free: 12.92 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.322e-06/0.2683, allocations: 0 / 414.5 MB, free: 12.92 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.793e-06/0.2683, allocations: 1.5 kB / 414.5 MB, free: 12.92 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.0008346/0.2692, allocations: 0.5187 MB / 415 MB, free: 12.48 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.21e-05/0.2692, allocations: 12.8 kB / 415.1 MB, free: 12.47 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.531e-05/0.2693, allocations: 64.97 kB / 415.1 MB, free: 12.41 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002739/0.2696, allocations: 40.5 kB / 415.2 MB, free: 12.39 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004433/0.27, allocations: 231.5 kB / 415.4 MB, free: 12.18 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.246e-05/0.27, allocations: 18.59 kB / 415.4 MB, free: 12.17 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.572e-05/0.2701, allocations: 28.09 kB / 415.4 MB, free: 12.16 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005058/0.2706, allocations: 315.9 kB / 415.7 MB, free: 11.93 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.918e-05/0.2706, allocations: 5.328 kB / 415.7 MB, free: 11.92 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.651e-05/0.2706, allocations: 15.91 kB / 415.8 MB, free: 11.91 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.037e-06/0.2707, allocations: 6.5 kB / 415.8 MB, free: 11.91 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003499/0.271, allocations: 198 kB / 416 MB, free: 11.81 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00221/0.2732, allocations: 1.599 MB / 417.6 MB, free: 10.3 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002599/0.2735, allocations: 125.6 kB / 417.7 MB, free: 10.22 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000123/0.2736, allocations: 62.25 kB / 417.7 MB, free: 10.19 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.843e-05/0.2737, allocations: 16.88 kB / 417.8 MB, free: 10.18 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.562e-05/0.2737, allocations: 38.55 kB / 417.8 MB, free: 10.14 MB / 334.1 MB Notification: Performance of pre-optimization done (n=15): time 1.854e-06/0.2737, allocations: 0 / 417.8 MB, free: 10.14 MB / 334.1 MB Notification: Performance of matching and sorting (n=21): time 0.001828/0.2756, allocations: 0.6544 MB / 418.5 MB, free: 9.707 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.599e-05/0.2756, allocations: 57.94 kB / 418.5 MB, free: 9.641 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000329/0.2759, allocations: 281.8 kB / 418.8 MB, free: 9.449 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.086e-05/0.276, allocations: 31.67 kB / 418.8 MB, free: 9.414 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001484/0.2761, allocations: 200.5 kB / 419 MB, free: 9.23 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.918e-05/0.2762, allocations: 79.42 kB / 419.1 MB, free: 9.16 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.075e-05/0.2763, allocations: 63.45 kB / 419.2 MB, free: 9.117 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001643/0.2764, allocations: 340.9 kB / 419.5 MB, free: 8.781 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000131/0.2766, allocations: 71.56 kB / 419.6 MB, free: 8.746 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002252/0.2768, allocations: 189.5 kB / 419.7 MB, free: 8.555 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003844/0.2772, allocations: 281.6 kB / 420 MB, free: 8.312 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.605e-06/0.2772, allocations: 1.375 kB / 420 MB, free: 8.312 MB / 334.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0005172/0.2777, allocations: 334 kB / 420.3 MB, free: 8.129 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.865e-05/0.2777, allocations: 7.438 kB / 420.4 MB, free: 8.129 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.103e-05/0.2777, allocations: 7.375 kB / 420.4 MB, free: 8.125 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.947e-05/0.2778, allocations: 26.06 kB / 420.4 MB, free: 8.109 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003202/0.2781, allocations: 89.23 kB / 420.5 MB, free: 8.086 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001287/0.2794, allocations: 1.288 MB / 421.8 MB, free: 6.766 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001884/0.2796, allocations: 13.88 kB / 421.8 MB, free: 6.758 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.489e-05/0.2796, allocations: 13.34 kB / 421.8 MB, free: 6.758 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.0001954/0.2798, allocations: 166.3 kB / 421.9 MB, free: 6.602 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.629e-05/0.2799, allocations: 29.25 kB / 422 MB, free: 6.586 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00038/0.2803, allocations: 205.5 kB / 422.2 MB, free: 6.449 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.186e-06/0.2803, allocations: 2.219 kB / 422.2 MB, free: 6.449 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.934e-06/0.2803, allocations: 1.281 kB / 422.2 MB, free: 6.449 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004606/0.2807, allocations: 486.6 kB / 422.7 MB, free: 5.953 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001108/0.2819, allocations: 0.6686 MB / 423.3 MB, free: 5.379 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.857e-06/0.2819, allocations: 2.594 kB / 423.3 MB, free: 5.379 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001774/0.282, allocations: 50.88 kB / 423.4 MB, free: 5.363 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.223e-05/0.282, allocations: 11.19 kB / 423.4 MB, free: 5.355 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.649e-05/0.2821, allocations: 8.438 kB / 423.4 MB, free: 5.352 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.331e-06/0.2821, allocations: 7.375 kB / 423.4 MB, free: 5.348 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.826e-06/0.2821, allocations: 2.094 kB / 423.4 MB, free: 5.348 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004976/0.2826, allocations: 403.4 kB / 423.8 MB, free: 5.023 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.258e-05/0.2826, allocations: 33.89 kB / 423.8 MB, free: 5 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.171e-05/0.2827, allocations: 3.906 kB / 423.8 MB, free: 5 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002181/0.2829, allocations: 12.72 kB / 423.8 MB, free: 4.992 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.494e-05/0.2829, allocations: 19.09 kB / 423.9 MB, free: 4.98 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.839e-05/0.283, allocations: 18.36 kB / 423.9 MB, free: 4.973 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002066/0.2832, allocations: 202.2 kB / 424.1 MB, free: 4.84 MB / 334.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2832, allocations: 0 / 424.1 MB, free: 4.84 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0004577/0.2836, allocations: 95.69 kB / 424.2 MB, free: 4.828 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.00105/0.2847, allocations: 0.9596 MB / 425.1 MB, free: 3.961 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0005273/0.2852, allocations: 304.2 kB / 425.4 MB, free: 3.758 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.916e-06/0.2852, allocations: 1.062 kB / 425.4 MB, free: 3.758 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001155/0.2853, allocations: 78.62 kB / 425.5 MB, free: 3.719 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009041/0.2862, allocations: 159.4 kB / 425.7 MB, free: 3.633 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003782/0.29, allocations: 3.079 MB / 428.7 MB, free: 1.152 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004084/0.2904, allocations: 0.7586 MB / 429.5 MB, free: 428 kB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0002451/0.2907, allocations: 54.02 kB / 429.6 MB, free: 404 kB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001411/0.2908, allocations: 91.86 kB / 429.6 MB, free: 332 kB / 334.1 MB Notification: Performance of SimCode: time 6.81e-07/0.2908, allocations: 0 / 429.6 MB, free: 332 kB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04104/0.3318, allocations: 9.025 MB / 438.7 MB, free: 7.965 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.81/13.14, allocations: 7.984 kB / 438.7 MB, free: 7.957 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.577630612002395]