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.001861/0.001861, 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.002298/0.002298, 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.443/1.443, allocations: 207.6 MB / 235.3 MB, free: 10 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.001762/0.001762, allocations: 50.59 kB / 347.2 MB, free: 10.04 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.271/0.2728, allocations: 49.16 MB / 396.3 MB, free: 9.203 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.WaterPump): time 0.005692/0.2785, allocations: 4.875 MB / 401.2 MB, free: 5.734 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.003617/0.2821, allocations: 1.418 MB / 402.6 MB, free: 4.699 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006018/0.2827, allocations: 11.62 kB / 402.6 MB, free: 4.695 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004921/0.2832, allocations: 157 kB / 402.8 MB, free: 4.605 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008153/0.284, allocations: 344 kB / 403.1 MB, free: 4.371 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005415/0.2846, allocations: 218.4 kB / 403.3 MB, free: 4.25 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001121/0.2857, allocations: 1.029 MB / 404.4 MB, free: 3.727 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003203/0.286, allocations: 203.5 kB / 404.6 MB, free: 3.602 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005767/0.2866, allocations: 417 kB / 405 MB, free: 3.414 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006345/0.2872, allocations: 447.7 kB / 405.4 MB, free: 3.191 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00017/0.2874, allocations: 92.41 kB / 405.5 MB, free: 3.188 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001935/0.2876, allocations: 90.47 kB / 405.6 MB, free: 3.188 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001977/0.2878, allocations: 194.4 kB / 405.8 MB, free: 3.055 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005724/0.2883, allocations: 486 kB / 406.3 MB, free: 2.77 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001872/0.2902, allocations: 1.072 MB / 407.3 MB, free: 2.34 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.961e-06/0.2902, allocations: 1.469 kB / 407.3 MB, free: 2.34 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.796e-06/0.2902, allocations: 0 / 407.3 MB, free: 2.34 MB / 318.1 MB Notification: Performance of Transformations before backend: time 3.218e-05/0.2903, allocations: 0 / 407.3 MB, free: 2.34 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.002718/0.293, allocations: 1.178 MB / 408.5 MB, free: 1.539 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.009e-05/0.293, allocations: 17.52 kB / 408.5 MB, free: 1.531 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001759/0.2932, allocations: 108.1 kB / 408.6 MB, free: 1.453 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001723/0.2934, allocations: 101.3 kB / 408.7 MB, free: 1.406 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008234/0.2942, allocations: 469.5 kB / 409.2 MB, free: 1.07 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001524/0.2944, allocations: 152.3 kB / 409.3 MB, free: 0.9297 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.777e-05/0.2944, allocations: 53.34 kB / 409.4 MB, free: 0.9141 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001286/0.2957, allocations: 0.8111 MB / 410.2 MB, free: 392 kB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.556e-05/0.2958, allocations: 1.984 kB / 410.2 MB, free: 392 kB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.608e-05/0.2958, allocations: 24.25 kB / 410.2 MB, free: 376 kB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.123e-05/0.2958, allocations: 12.38 kB / 410.2 MB, free: 376 kB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001309/0.2972, allocations: 0.5154 MB / 410.8 MB, free: 212 kB / 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.003803/0.301, allocations: 2.103 MB / 412.9 MB, free: 14.48 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001284/0.3022, allocations: 0.491 MB / 413.4 MB, free: 14.23 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005591/0.3028, allocations: 224.3 kB / 413.6 MB, free: 14.11 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.63e-05/0.3029, allocations: 16.2 kB / 413.6 MB, free: 14.1 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000744/0.3036, allocations: 327.8 kB / 413.9 MB, free: 13.9 MB / 334.1 MB Notification: Performance of pre-optimization done (n=56): time 4.117e-06/0.3036, allocations: 0 / 413.9 MB, free: 13.9 MB / 334.1 MB Notification: Performance of matching and sorting (n=56): time 0.004936/0.3086, allocations: 1.325 MB / 415.2 MB, free: 13.23 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004891/0.309, allocations: 0.8226 MB / 416.1 MB, free: 12.22 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008672/0.3099, allocations: 0.5871 MB / 416.6 MB, free: 11.87 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000112/0.31, allocations: 40.95 kB / 416.7 MB, free: 11.83 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003255/0.3103, allocations: 351.2 kB / 417 MB, free: 11.52 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002043/0.3106, allocations: 197.7 kB / 417.2 MB, free: 11.35 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000227/0.3108, allocations: 130 kB / 417.3 MB, free: 11.27 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0002029/0.311, allocations: 378.4 kB / 417.7 MB, free: 10.91 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000569/0.3116, allocations: 206.3 kB / 417.9 MB, free: 10.81 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008936/0.3124, allocations: 0.5289 MB / 418.4 MB, free: 10.32 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001216/0.3137, allocations: 0.5603 MB / 419 MB, free: 9.957 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.937e-06/0.3137, allocations: 0 / 419 MB, free: 9.957 MB / 334.1 MB Notification: Performance of matching and sorting (n=70) (initialization): time 0.00241/0.3161, allocations: 0.892 MB / 419.9 MB, free: 9.457 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.991e-05/0.3161, allocations: 60 kB / 420 MB, free: 9.395 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.382e-05/0.3161, allocations: 9.422 kB / 420 MB, free: 9.387 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007212/0.3169, allocations: 223.8 kB / 420.2 MB, free: 9.273 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005946/0.3175, allocations: 114.8 kB / 420.3 MB, free: 9.242 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007088/0.3246, allocations: 4.384 MB / 424.7 MB, free: 5.504 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001042/0.3256, allocations: 92.64 kB / 424.8 MB, free: 5.445 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.549e-05/0.3257, allocations: 27.33 kB / 424.8 MB, free: 5.434 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.0004258/0.3261, allocations: 211.5 kB / 425 MB, free: 5.262 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00015/0.3262, allocations: 89.92 kB / 425.1 MB, free: 5.215 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001538/0.3264, allocations: 75.48 kB / 425.2 MB, free: 5.148 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.423e-06/0.3264, allocations: 6.031 kB / 425.2 MB, free: 5.148 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.993e-06/0.3264, allocations: 0 / 425.2 MB, free: 5.148 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002156/0.3286, allocations: 1.05 MB / 426.2 MB, free: 4.305 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003052/0.3316, allocations: 1.503 MB / 427.7 MB, free: 2.816 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.727e-06/0.3316, allocations: 0 / 427.7 MB, free: 2.816 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006063/0.3322, allocations: 111.9 kB / 427.8 MB, free: 2.707 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005544/0.3328, allocations: 169.5 kB / 428 MB, free: 2.535 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.976e-05/0.3328, allocations: 15.92 kB / 428 MB, free: 2.52 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00537/0.3382, allocations: 3.73 MB / 431.7 MB, free: 14.57 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.743e-06/0.3382, allocations: 0 / 431.7 MB, free: 14.57 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002531/0.3407, allocations: 1.018 MB / 432.8 MB, free: 13.52 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004377/0.3412, allocations: 143.3 kB / 432.9 MB, free: 13.38 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001035/0.3413, allocations: 12 kB / 432.9 MB, free: 13.37 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006059/0.3419, allocations: 43.95 kB / 433 MB, free: 13.33 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001783/0.342, allocations: 56.39 kB / 433 MB, free: 13.27 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.375e-05/0.3421, allocations: 16.06 kB / 433 MB, free: 13.26 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0005541/0.3426, allocations: 419.1 kB / 433.4 MB, free: 12.85 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3426, allocations: 0 / 433.4 MB, free: 12.85 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0009347/0.3436, allocations: 259.8 kB / 433.7 MB, free: 12.6 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.002795/0.3464, allocations: 1.59 MB / 435.3 MB, free: 10.98 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.002202/0.3486, allocations: 0.9864 MB / 436.3 MB, free: 9.938 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 5.14e-06/0.3486, allocations: 0 / 436.3 MB, free: 9.938 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001059/0.3496, allocations: 0.5238 MB / 436.8 MB, free: 9.391 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001209/0.3508, allocations: 215.2 kB / 437 MB, free: 9.184 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01176/0.3626, allocations: 6.145 MB / 443.1 MB, free: 2.863 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006806/0.3633, allocations: 0.92 MB / 444.1 MB, free: 1.914 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0004576/0.3637, allocations: 89.2 kB / 444.2 MB, free: 1.824 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003725/0.3641, allocations: 259.3 kB / 444.4 MB, free: 1.57 MB / 350.1 MB Notification: Performance of SimCode: time 1.142e-06/0.3641, allocations: 0 / 444.4 MB, free: 1.57 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1013/0.4654, allocations: 23.38 MB / 467.8 MB, free: 10.1 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 14.07/14.54, allocations: 4 kB / 467.8 MB, free: 10.09 MB / 382.1 MB " [Timeout remaining time 645] (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: 17.090272023997386]