Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.WaterPump.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.001878/0.001878, 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.002241/0.002241, allocations: 214.8 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.423/1.423, allocations: 207.7 MB / 235.3 MB, free: 9.805 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.WaterPump,fileNamePrefix="Modelica_3_2_3_Modelica_Thermal_FluidHeatFlow_Examples_WaterPump",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Thermal.FluidHeatFlow.Examples.WaterPump,fileNamePrefix="Modelica_3_2_3_Modelica_Thermal_FluidHeatFlow_Examples_WaterPump",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.001833/0.001833, allocations: 58.11 kB / 347.2 MB, free: 9.895 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2393/0.2411, allocations: 49.15 MB / 396.3 MB, free: 8.879 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.WaterPump): time 0.005236/0.2464, allocations: 4.367 MB / 400.7 MB, free: 5.969 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002466/0.2488, allocations: 1.339 MB / 402 MB, free: 5.02 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004144/0.2492, allocations: 14.69 kB / 402.1 MB, free: 5.012 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004164/0.2497, allocations: 157.4 kB / 402.2 MB, free: 4.922 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00074/0.2504, allocations: 348.1 kB / 402.6 MB, free: 4.684 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005119/0.2509, allocations: 211.6 kB / 402.8 MB, free: 4.57 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009674/0.2519, allocations: 1.024 MB / 403.8 MB, free: 4.051 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000293/0.2522, allocations: 196.6 kB / 404 MB, free: 3.934 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005019/0.2527, allocations: 416.1 kB / 404.4 MB, free: 3.746 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004594/0.2531, allocations: 398.8 kB / 404.8 MB, free: 3.574 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001348/0.2533, allocations: 86.81 kB / 404.9 MB, free: 3.574 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001616/0.2534, allocations: 90.31 kB / 404.9 MB, free: 3.574 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001367/0.2536, allocations: 193.4 kB / 405.1 MB, free: 3.441 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003527/0.2539, allocations: 397.1 kB / 405.5 MB, free: 3.242 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00108/0.255, allocations: 1.086 MB / 406.6 MB, free: 2.805 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.589e-06/0.255, allocations: 3.938 kB / 406.6 MB, free: 2.801 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.212e-06/0.255, allocations: 1.344 kB / 406.6 MB, free: 2.801 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.546e-05/0.255, allocations: 0 / 406.6 MB, free: 2.801 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: 127 * Number of variables: 127 Notification: Performance of Generate backend data structure: time 0.001929/0.2569, allocations: 1.179 MB / 407.8 MB, free: 2 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.93e-05/0.257, allocations: 13.58 kB / 407.8 MB, free: 1.996 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001431/0.2571, allocations: 107.6 kB / 407.9 MB, free: 1.918 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001487/0.2573, allocations: 101.6 kB / 408 MB, free: 1.871 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007442/0.258, allocations: 462.1 kB / 408.5 MB, free: 1.543 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001424/0.2582, allocations: 155.6 kB / 408.6 MB, free: 1.398 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.846e-05/0.2582, allocations: 53.33 kB / 408.7 MB, free: 1.383 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001404/0.2596, allocations: 1.569 MB / 410.2 MB, free: 15.92 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.134e-05/0.2597, allocations: 1.516 kB / 410.2 MB, free: 15.92 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.781e-05/0.2597, allocations: 29.09 kB / 410.3 MB, free: 15.9 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.288e-05/0.2597, allocations: 12.38 kB / 410.3 MB, free: 15.9 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001245/0.261, allocations: 0.5057 MB / 410.8 MB, free: 15.74 MB / 334.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.003426/0.2644, allocations: 1.77 MB / 412.5 MB, free: 14.4 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001257/0.2657, allocations: 0.4899 MB / 413 MB, free: 14.15 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005664/0.2662, allocations: 236.3 kB / 413.3 MB, free: 14.02 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.951e-05/0.2663, allocations: 7.094 kB / 413.3 MB, free: 14.02 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007615/0.267, allocations: 323.2 kB / 413.6 MB, free: 13.82 MB / 334.1 MB Notification: Performance of pre-optimization done (n=56): time 3.346e-06/0.267, allocations: 1.375 kB / 413.6 MB, free: 13.82 MB / 334.1 MB Notification: Performance of matching and sorting (n=56): time 0.004927/0.272, allocations: 1.32 MB / 414.9 MB, free: 13.15 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004841/0.2725, allocations: 0.8224 MB / 415.7 MB, free: 12.14 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007777/0.2732, allocations: 0.6013 MB / 416.3 MB, free: 11.79 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 8.348e-05/0.2733, allocations: 43.23 kB / 416.4 MB, free: 11.74 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003037/0.2736, allocations: 347.5 kB / 416.7 MB, free: 11.44 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002253/0.2738, allocations: 198.5 kB / 416.9 MB, free: 11.27 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002225/0.2741, allocations: 130 kB / 417 MB, free: 11.19 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0002036/0.2743, allocations: 377.8 kB / 417.4 MB, free: 10.82 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006249/0.2749, allocations: 264.4 kB / 417.7 MB, free: 10.66 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001372/0.2763, allocations: 1.336 MB / 419 MB, free: 9.176 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001222/0.2775, allocations: 0.562 MB / 419.6 MB, free: 8.809 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.43e-06/0.2775, allocations: 5.219 kB / 419.6 MB, free: 8.805 MB / 334.1 MB Notification: Performance of matching and sorting (n=70) (initialization): time 0.00236/0.2799, allocations: 0.9492 MB / 420.5 MB, free: 8.238 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.905e-05/0.2799, allocations: 62.78 kB / 420.6 MB, free: 8.172 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.108e-05/0.2799, allocations: 6.234 kB / 420.6 MB, free: 8.168 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007226/0.2807, allocations: 222.7 kB / 420.8 MB, free: 8.055 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006216/0.2813, allocations: 114.5 kB / 420.9 MB, free: 8.023 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006804/0.2881, allocations: 4.321 MB / 425.2 MB, free: 4.352 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009261/0.289, allocations: 96.59 kB / 425.3 MB, free: 4.289 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.853e-05/0.2891, allocations: 19.81 kB / 425.4 MB, free: 4.285 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 6 (oneWayValve.backward,trapezoid.count,$PRE.trapezoid.count,trapezoid.T_start,$PRE.trapezoid.T_start,$whenCondition1) * 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: 2 * 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 {(9,3), (1,11)} Notification: Performance of prepare postOptimizeDAE: time 0.0004029/0.2895, allocations: 217 kB / 425.6 MB, free: 4.109 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001418/0.2896, allocations: 89.55 kB / 425.6 MB, free: 4.062 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001478/0.2897, allocations: 80 kB / 425.7 MB, free: 3.992 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.09e-06/0.2897, allocations: 5.25 kB / 425.7 MB, free: 3.992 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.48e-06/0.2898, allocations: 1.375 kB / 425.7 MB, free: 3.992 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002155/0.2919, allocations: 1.047 MB / 426.8 MB, free: 3.148 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002897/0.2948, allocations: 1.388 MB / 428.2 MB, free: 1.699 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.888e-06/0.2948, allocations: 0 / 428.2 MB, free: 1.699 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006331/0.2954, allocations: 115.8 kB / 428.3 MB, free: 1.586 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005518/0.296, allocations: 161.6 kB / 428.4 MB, free: 1.422 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.908e-05/0.296, allocations: 11.98 kB / 428.5 MB, free: 1.41 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00539/0.3014, allocations: 3.714 MB / 432.2 MB, free: 13.47 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/0.3014, allocations: 0 / 432.2 MB, free: 13.47 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002608/0.304, allocations: 1.014 MB / 433.2 MB, free: 12.43 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004348/0.3045, allocations: 139.3 kB / 433.3 MB, free: 12.3 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001121/0.3046, allocations: 19.98 kB / 433.3 MB, free: 12.28 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005944/0.3052, allocations: 43.95 kB / 433.4 MB, free: 12.23 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001579/0.3053, allocations: 52.41 kB / 433.4 MB, free: 12.18 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.737e-05/0.3054, allocations: 24.05 kB / 433.5 MB, free: 12.16 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000552/0.3059, allocations: 415.1 kB / 433.9 MB, free: 11.76 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3059, allocations: 4 kB / 433.9 MB, free: 11.75 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0008742/0.3068, allocations: 251.7 kB / 434.1 MB, free: 11.51 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (speed.phi) * Number of discrete variables: 4 ($whenCondition1,trapezoid.T_start,trapezoid.count,oneWayValve.backward) * Number of discrete states: 1 (trapezoid.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (41): * Single equations (assignments): 37 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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 {(2,3), (1,11)} Notification: Performance of Backend phase and start with SimCode phase: time 0.002742/0.3095, allocations: 1.586 MB / 435.7 MB, free: 9.891 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.002178/0.3117, allocations: 1.045 MB / 436.7 MB, free: 8.781 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 6.002e-06/0.3117, allocations: 4 kB / 436.7 MB, free: 8.777 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009992/0.3127, allocations: 0.5234 MB / 437.3 MB, free: 8.23 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009692/0.3137, allocations: 215.4 kB / 437.5 MB, free: 8.023 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0111/0.3248, allocations: 6.348 MB / 443.8 MB, free: 1.445 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003632/0.3252, allocations: 324.2 kB / 444.1 MB, free: 1.102 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0004272/0.3256, allocations: 89.2 kB / 444.2 MB, free: 1.012 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000389/0.326, allocations: 255.4 kB / 444.5 MB, free: 0.7617 MB / 350.1 MB Notification: Performance of SimCode: time 8.82e-07/0.326, allocations: 0 / 444.5 MB, free: 0.7617 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09944/0.4254, allocations: 24.88 MB / 469.4 MB, free: 7.781 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.68/14.11, allocations: 7.797 kB / 469.4 MB, free: 7.773 MB / 382.1 MB " [Timeout remaining time 646] (rm -f Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.WaterPump.pipe ; mkfifo Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.WaterPump.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.WaterPump.pipe >> ../files/Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.WaterPump.sim & python3 -m fmpy simulate --output-file Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.WaterPump_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_WaterPump.fmu > Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.WaterPump.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.WaterPump_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Thermal/FluidHeatFlow/Examples/WaterPump/WaterPump.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.WaterPump.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable speed.phi in file Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.WaterPump_res.csv. Warning: Get data of variable speed.phi from file Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.WaterPump_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 16.584410808049142]