Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve.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.001334/0.001334, allocations: 103.6 kB / 21.18 MB, free: 332 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.002174/0.002174, allocations: 210.9 kB / 24.47 MB, free: 3.547 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.457/1.457, 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.Thermal.FluidHeatFlow.Examples.PumpAndValve,fileNamePrefix="Modelica_3_2_3_Modelica_Thermal_FluidHeatFlow_Examples_PumpAndValve",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve,fileNamePrefix="Modelica_3_2_3_Modelica_Thermal_FluidHeatFlow_Examples_PumpAndValve",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.001828/0.001828, allocations: 58.58 kB / 347.2 MB, free: 9.891 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2909/0.2927, allocations: 49.15 MB / 396.3 MB, free: 8.887 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve): time 0.004826/0.2976, allocations: 3.95 MB / 400.3 MB, free: 6.25 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002445/0.3, allocations: 1.21 MB / 401.5 MB, free: 5.391 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004059/0.3004, allocations: 9.969 kB / 401.5 MB, free: 5.387 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003994/0.3008, allocations: 132.1 kB / 401.6 MB, free: 5.312 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006438/0.3015, allocations: 269 kB / 401.9 MB, free: 5.121 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005042/0.302, allocations: 206 kB / 402.1 MB, free: 5.004 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009332/0.3029, allocations: 0.9305 MB / 403 MB, free: 4.531 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002703/0.3032, allocations: 168.3 kB / 403.2 MB, free: 4.434 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004202/0.3036, allocations: 368.5 kB / 403.6 MB, free: 4.27 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004237/0.304, allocations: 354.2 kB / 403.9 MB, free: 4.117 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001298/0.3041, allocations: 76.12 kB / 404 MB, free: 4.117 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001737/0.3043, allocations: 78.19 kB / 404.1 MB, free: 4.117 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001184/0.3044, allocations: 173.6 kB / 404.2 MB, free: 4 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003001/0.3047, allocations: 350.2 kB / 404.6 MB, free: 3.824 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00123/0.306, allocations: 0.9283 MB / 405.5 MB, free: 3.453 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.432e-06/0.306, allocations: 2.031 kB / 405.5 MB, free: 3.453 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.884e-06/0.306, allocations: 0 / 405.5 MB, free: 3.453 MB / 318.1 MB Notification: Performance of Transformations before backend: time 2.649e-05/0.306, allocations: 0 / 405.5 MB, free: 3.453 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 111 * Number of variables: 111 Notification: Performance of Generate backend data structure: time 0.00207/0.3081, allocations: 1.056 MB / 406.6 MB, free: 2.727 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.075e-05/0.3081, allocations: 17.52 kB / 406.6 MB, free: 2.719 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001327/0.3082, allocations: 101.2 kB / 406.7 MB, free: 2.641 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001389/0.3084, allocations: 91.73 kB / 406.8 MB, free: 2.598 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007423/0.3091, allocations: 426.6 kB / 407.2 MB, free: 2.293 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001336/0.3093, allocations: 153.3 kB / 407.3 MB, free: 2.145 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.264e-05/0.3093, allocations: 48.81 kB / 407.4 MB, free: 2.129 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001155/0.3105, allocations: 1.157 MB / 408.5 MB, free: 1.109 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.236e-05/0.3105, allocations: 5.344 kB / 408.5 MB, free: 1.105 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.287e-05/0.3106, allocations: 21.91 kB / 408.6 MB, free: 1.09 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.541e-05/0.3106, allocations: 11.38 kB / 408.6 MB, free: 1.09 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001047/0.3116, allocations: 448.9 kB / 409 MB, free: 0.957 MB / 318.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.003017/0.3146, allocations: 1.577 MB / 410.6 MB, free: 15.97 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001889/0.3165, allocations: 0.5678 MB / 411.2 MB, free: 15.7 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005711/0.3171, allocations: 240.7 kB / 411.4 MB, free: 15.58 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.274e-05/0.3172, allocations: 11.47 kB / 411.4 MB, free: 15.57 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.904e-05/0.3172, allocations: 48.58 kB / 411.4 MB, free: 15.52 MB / 334.1 MB Notification: Performance of pre-optimization done (n=54): time 3.196e-06/0.3172, allocations: 0 / 411.4 MB, free: 15.52 MB / 334.1 MB Notification: Performance of matching and sorting (n=54): time 0.004952/0.3222, allocations: 1.245 MB / 412.7 MB, free: 14.89 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003226/0.3225, allocations: 0.5655 MB / 413.3 MB, free: 14.2 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007462/0.3232, allocations: 0.5351 MB / 413.8 MB, free: 13.88 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 9.652e-05/0.3233, allocations: 38.8 kB / 413.8 MB, free: 13.84 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000256/0.3236, allocations: 299.8 kB / 414.1 MB, free: 13.58 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000196/0.3238, allocations: 191.6 kB / 414.3 MB, free: 13.41 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002018/0.324, allocations: 110.2 kB / 414.4 MB, free: 13.34 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001983/0.3242, allocations: 377.4 kB / 414.8 MB, free: 12.98 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000567/0.3247, allocations: 231 kB / 415 MB, free: 12.84 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001096/0.3258, allocations: 0.9584 MB / 416 MB, free: 11.81 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001109/0.3269, allocations: 484.4 kB / 416.4 MB, free: 11.54 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.522e-06/0.327, allocations: 3.984 kB / 416.4 MB, free: 11.53 MB / 334.1 MB Notification: Performance of matching and sorting (n=63) (initialization): time 0.002421/0.3294, allocations: 0.8274 MB / 417.3 MB, free: 11.06 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.508e-05/0.3294, allocations: 36.62 kB / 417.3 MB, free: 11.02 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.156e-06/0.3294, allocations: 1.125 kB / 417.3 MB, free: 11.02 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009783/0.3304, allocations: 217.3 kB / 417.5 MB, free: 10.91 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007206/0.3311, allocations: 128.5 kB / 417.6 MB, free: 10.88 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007791/0.3389, allocations: 5.266 MB / 422.9 MB, free: 6.082 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000869/0.3398, allocations: 85.14 kB / 423 MB, free: 6.027 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.965e-05/0.3398, allocations: 24.77 kB / 423 MB, free: 6.016 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (47): * Single equations (assignments): 43 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * 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): 3 systems {(5,2), (1,1), (1,9)} Notification: Performance of prepare postOptimizeDAE: time 0.0003578/0.3402, allocations: 186.2 kB / 423.2 MB, free: 5.859 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000139/0.3403, allocations: 71.8 kB / 423.3 MB, free: 5.824 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002311/0.3426, allocations: 0.7705 MB / 424 MB, free: 5.375 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.023e-05/0.3427, allocations: 13.02 kB / 424.1 MB, free: 5.367 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.354e-06/0.3427, allocations: 0 / 424.1 MB, free: 5.367 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002223/0.3449, allocations: 1.028 MB / 425.1 MB, free: 4.535 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003374/0.3483, allocations: 1.352 MB / 426.4 MB, free: 3.617 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.507e-06/0.3483, allocations: 0 / 426.4 MB, free: 3.617 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007666/0.349, allocations: 130.7 kB / 426.6 MB, free: 3.492 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008287/0.3499, allocations: 177.5 kB / 426.7 MB, free: 3.312 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.472e-05/0.3499, allocations: 15.98 kB / 426.8 MB, free: 3.297 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005572/0.3555, allocations: 3.565 MB / 430.3 MB, free: 15.5 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.476e-06/0.3555, allocations: 7.875 kB / 430.3 MB, free: 15.49 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003117/0.3586, allocations: 1.065 MB / 431.4 MB, free: 14.41 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005415/0.3591, allocations: 131.4 kB / 431.5 MB, free: 14.28 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.323e-05/0.3592, allocations: 12 kB / 431.5 MB, free: 14.27 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005274/0.3598, allocations: 39.91 kB / 431.6 MB, free: 14.23 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001486/0.3599, allocations: 44.41 kB / 431.6 MB, free: 14.18 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.534e-05/0.3599, allocations: 19.98 kB / 431.6 MB, free: 14.16 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0005176/0.3605, allocations: 386.8 kB / 432 MB, free: 13.79 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.3605, allocations: 4 kB / 432 MB, free: 13.79 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0008042/0.3613, allocations: 219.8 kB / 432.2 MB, free: 13.57 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (pipe.T,heatCapacitor.T,speed.phi) * 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 (44): * Single equations (assignments): 42 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(1,2), (1,9)} Notification: Performance of Backend phase and start with SimCode phase: time 0.003329/0.3646, allocations: 1.621 MB / 433.8 MB, free: 11.92 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.002626/0.3672, allocations: 1.042 MB / 434.9 MB, free: 10.82 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 5.25e-06/0.3672, allocations: 0 / 434.9 MB, free: 10.82 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001074/0.3683, allocations: 0.5158 MB / 435.4 MB, free: 10.28 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001044/0.3693, allocations: 191.8 kB / 435.6 MB, free: 10.09 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01168/0.381, allocations: 6.153 MB / 441.7 MB, free: 3.781 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003294/0.3813, allocations: 293.9 kB / 442 MB, free: 3.469 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0004189/0.3818, allocations: 81.12 kB / 442.1 MB, free: 3.387 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003721/0.3821, allocations: 235.4 kB / 442.3 MB, free: 3.156 MB / 350.1 MB Notification: Performance of SimCode: time 7.91e-07/0.3821, allocations: 0 / 442.3 MB, free: 3.156 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06861/0.4507, allocations: 22.08 MB / 464.4 MB, free: 12.97 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.37/13.82, allocations: 4 kB / 464.4 MB, free: 12.97 MB / 382.1 MB " [Timeout remaining time 646] (rm -f Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve.pipe ; mkfifo Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve.pipe >> ../files/Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve.sim & python3 -m fmpy simulate --output-file Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve_res.csv --start-time 0 --stop-time 2 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.001 Modelica_3_2_3_Modelica_Thermal_FluidHeatFlow_Examples_PumpAndValve.fmu > Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Thermal/FluidHeatFlow/Examples/PumpAndValve/PumpAndValve.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable heatCapacitor.T in file Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve_res.csv. Warning: Get data of variable heatCapacitor.T from file Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve_res.csv failed! Error: Could not read variable pipe.T in file Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve_res.csv. Warning: Get data of variable pipe.T from file Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve_res.csv failed! Error: Could not read variable speed.phi in file Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve_res.csv. Warning: Get data of variable speed.phi from file Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 16.40666867699474]