Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.WaterPump.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001408/0.001408, allocations: 119.1 kB / 20.45 MB, free: 1.176 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001573/0.001573, allocations: 205 kB / 23.73 MB, free: 4.391 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.505/1.505, allocations: 230.5 MB / 257.4 MB, free: 7.738 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Thermal.FluidHeatFlow.Examples.WaterPump,fileNamePrefix="Modelica_trunk_Modelica_Thermal_FluidHeatFlow_Examples_WaterPump",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Thermal.FluidHeatFlow.Examples.WaterPump,fileNamePrefix="Modelica_trunk_Modelica_Thermal_FluidHeatFlow_Examples_WaterPump",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00214/0.00214, allocations: 67.88 kB / 377.7 MB, free: 2.828 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2457/0.2479, allocations: 53.4 MB / 431.1 MB, free: 6.469 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.WaterPump): time 0.006402/0.2543, allocations: 4.383 MB / 435.5 MB, free: 2.078 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002764/0.2571, allocations: 1.328 MB / 436.8 MB, free: 0.7422 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000325/0.2574, allocations: 15.88 kB / 436.9 MB, free: 0.7266 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004051/0.2578, allocations: 150.7 kB / 437 MB, free: 0.5781 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007197/0.2585, allocations: 337.4 kB / 437.3 MB, free: 252 kB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000492/0.259, allocations: 219.6 kB / 437.5 MB, free: 32 kB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001132/0.2601, allocations: 1.026 MB / 438.6 MB, free: 15 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003498/0.2605, allocations: 206.4 kB / 438.8 MB, free: 14.79 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005918/0.2611, allocations: 414.6 kB / 439.2 MB, free: 14.38 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000524/0.2616, allocations: 390.1 kB / 439.6 MB, free: 14 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001345/0.2617, allocations: 88 kB / 439.6 MB, free: 13.91 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001703/0.2619, allocations: 88 kB / 439.7 MB, free: 13.83 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001754/0.2621, allocations: 195.3 kB / 439.9 MB, free: 13.64 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004048/0.2625, allocations: 406.3 kB / 440.3 MB, free: 13.24 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001162/0.2636, allocations: 1.086 MB / 441.4 MB, free: 12.15 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.749e-06/0.2636, allocations: 0 / 441.4 MB, free: 12.15 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.192e-06/0.2636, allocations: 0 / 441.4 MB, free: 12.15 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.216e-05/0.2637, allocations: 0 / 441.4 MB, free: 12.15 MB / 350.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.002287/0.2659, allocations: 1.168 MB / 442.6 MB, free: 10.93 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.352e-05/0.266, allocations: 15.98 kB / 442.6 MB, free: 10.92 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001595/0.2661, allocations: 107.9 kB / 442.7 MB, free: 10.8 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001756/0.2663, allocations: 108.3 kB / 442.8 MB, free: 10.7 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008838/0.2672, allocations: 475.2 kB / 443.3 MB, free: 10.2 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001925/0.2674, allocations: 156.7 kB / 443.4 MB, free: 10.03 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.188e-05/0.2675, allocations: 52.38 kB / 443.5 MB, free: 9.977 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001817/0.2693, allocations: 1.566 MB / 445 MB, free: 8.121 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.188e-05/0.2693, allocations: 4 kB / 445 MB, free: 8.117 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.33e-05/0.2694, allocations: 24 kB / 445.1 MB, free: 8.094 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.33e-05/0.2694, allocations: 15.94 kB / 445.1 MB, free: 8.078 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001264/0.2707, allocations: 0.497 MB / 445.6 MB, free: 7.582 MB / 350.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.003308/0.274, allocations: 1.769 MB / 447.3 MB, free: 5.727 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001313/0.2753, allocations: 0.4942 MB / 447.8 MB, free: 5.215 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005851/0.2759, allocations: 226.2 kB / 448.1 MB, free: 4.992 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.533e-05/0.2759, allocations: 12.5 kB / 448.1 MB, free: 4.98 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000774/0.2767, allocations: 330 kB / 448.4 MB, free: 4.645 MB / 350.1 MB Notification: Performance of pre-optimization done (n=56): time 3.046e-06/0.2767, allocations: 0 / 448.4 MB, free: 4.645 MB / 350.1 MB Notification: Performance of matching and sorting (n=56): time 0.004896/0.2816, allocations: 1.326 MB / 449.7 MB, free: 3.309 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004544/0.2821, allocations: 0.8193 MB / 450.5 MB, free: 2.293 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007594/0.2828, allocations: 0.594 MB / 451.1 MB, free: 1.688 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 7.428e-05/0.2829, allocations: 41.7 kB / 451.2 MB, free: 1.641 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002987/0.2832, allocations: 345.1 kB / 451.5 MB, free: 1.297 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001834/0.2834, allocations: 202.3 kB / 451.7 MB, free: 1.098 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002188/0.2836, allocations: 138.3 kB / 451.8 MB, free: 0.957 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001886/0.2838, allocations: 374.8 kB / 452.2 MB, free: 0.582 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006159/0.2844, allocations: 272.6 kB / 452.5 MB, free: 312 kB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001336/0.2857, allocations: 1.329 MB / 453.8 MB, free: 14.66 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001278/0.287, allocations: 0.5641 MB / 454.4 MB, free: 14.05 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.068e-06/0.287, allocations: 0 / 454.4 MB, free: 14.05 MB / 366.1 MB Notification: Performance of matching and sorting (n=70) (initialization): time 0.002312/0.2893, allocations: 0.9504 MB / 455.3 MB, free: 13.06 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.797e-05/0.2894, allocations: 59.41 kB / 455.4 MB, free: 12.99 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.366e-06/0.2894, allocations: 0 / 455.4 MB, free: 12.99 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007332/0.2901, allocations: 229.5 kB / 455.6 MB, free: 12.76 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006377/0.2908, allocations: 115.8 kB / 455.7 MB, free: 12.65 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006813/0.2976, allocations: 4.33 MB / 460 MB, free: 8.09 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008422/0.2984, allocations: 87.56 kB / 460.1 MB, free: 8.004 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.152e-05/0.2985, allocations: 24 kB / 460.1 MB, free: 7.98 MB / 366.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.0003647/0.2988, allocations: 225.7 kB / 460.4 MB, free: 7.75 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001311/0.299, allocations: 83.47 kB / 460.5 MB, free: 7.668 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001526/0.2991, allocations: 78.84 kB / 460.5 MB, free: 7.586 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.774e-06/0.2991, allocations: 8 kB / 460.5 MB, free: 7.578 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.33e-06/0.2991, allocations: 0 / 460.5 MB, free: 7.578 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002169/0.3013, allocations: 1.041 MB / 461.6 MB, free: 6.426 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002799/0.3041, allocations: 1.385 MB / 463 MB, free: 4.977 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.777e-06/0.3041, allocations: 0 / 463 MB, free: 4.977 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006208/0.3047, allocations: 111.8 kB / 463.1 MB, free: 4.867 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005629/0.3053, allocations: 169.5 kB / 463.2 MB, free: 4.695 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.883e-05/0.3053, allocations: 15.98 kB / 463.3 MB, free: 4.68 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005519/0.3108, allocations: 3.702 MB / 467 MB, free: 0.7422 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.994e-06/0.3109, allocations: 128 / 467 MB, free: 0.7422 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002483/0.3133, allocations: 1.022 MB / 468 MB, free: 15.7 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004419/0.3138, allocations: 139.3 kB / 468.1 MB, free: 15.56 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001026/0.3139, allocations: 16 kB / 468.1 MB, free: 15.55 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005998/0.3145, allocations: 48.06 kB / 468.2 MB, free: 15.5 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001664/0.3146, allocations: 52.34 kB / 468.2 MB, free: 15.45 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.739e-05/0.3147, allocations: 15.98 kB / 468.2 MB, free: 15.43 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0005844/0.3153, allocations: 419.1 kB / 468.7 MB, free: 15.03 MB / 382.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3153, allocations: 0 / 468.7 MB, free: 15.03 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.000821/0.3161, allocations: 259.8 kB / 468.9 MB, free: 14.77 MB / 382.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.002694/0.3188, allocations: 1.593 MB / 470.5 MB, free: 13.14 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002146/0.3209, allocations: 1.04 MB / 471.5 MB, free: 12.05 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 5.019e-06/0.3209, allocations: 0 / 471.5 MB, free: 12.05 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00102/0.322, allocations: 0.5278 MB / 472.1 MB, free: 11.49 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009474/0.3229, allocations: 207 kB / 472.3 MB, free: 11.29 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01098/0.3339, allocations: 6.346 MB / 478.6 MB, free: 4.734 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003688/0.3343, allocations: 324.2 kB / 478.9 MB, free: 4.395 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0004067/0.3347, allocations: 89.2 kB / 479 MB, free: 4.305 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003612/0.335, allocations: 259.3 kB / 479.3 MB, free: 4.051 MB / 382.1 MB Notification: Performance of SimCode: time 7.21e-07/0.335, allocations: 0 / 479.3 MB, free: 4.051 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1011/0.4361, allocations: 24.91 MB / 0.4924 GB, free: 11.57 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.47/13.9, allocations: 3.938 kB / 0.4924 GB, free: 11.56 MB / 414.1 MB " [Timeout remaining time 646] (rm -f Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.WaterPump.pipe ; mkfifo Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.WaterPump.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.WaterPump.pipe >> ../files/Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.WaterPump.sim & python3 -m fmpy simulate --output-file Modelica_trunk_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_trunk_Modelica_Thermal_FluidHeatFlow_Examples_WaterPump.fmu > Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.WaterPump.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.WaterPump_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Thermal/FluidHeatFlow/Examples/WaterPump/WaterPump.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_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_trunk_Modelica.Thermal.FluidHeatFlow.Examples.WaterPump_res.csv. Warning: Get data of variable speed.phi from file Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.WaterPump_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 16.57484332798049]