Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.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.001924/0.001924, allocations: 107.1 kB / 20.44 MB, free: 1.195 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.001599/0.001599, allocations: 206.3 kB / 23.73 MB, free: 4.402 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.411/1.411, allocations: 230.5 MB / 257.4 MB, free: 7.758 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.PumpDropOut,fileNamePrefix="Modelica_trunk_Modelica_Thermal_FluidHeatFlow_Examples_PumpDropOut",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut,fileNamePrefix="Modelica_trunk_Modelica_Thermal_FluidHeatFlow_Examples_PumpDropOut",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002091/0.002091, allocations: 67.88 kB / 377.7 MB, free: 2.828 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2512/0.2533, allocations: 53.41 MB / 431.1 MB, free: 6.477 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut): time 0.005252/0.2586, allocations: 3.443 MB / 434.6 MB, free: 3.031 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002045/0.2606, allocations: 0.9813 MB / 435.6 MB, free: 2.043 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003384/0.2609, allocations: 11.94 kB / 435.6 MB, free: 2.031 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003964/0.2613, allocations: 107 kB / 435.7 MB, free: 1.926 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005666/0.2619, allocations: 214.3 kB / 435.9 MB, free: 1.715 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003323/0.2622, allocations: 127.8 kB / 436 MB, free: 1.59 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008337/0.2631, allocations: 0.711 MB / 436.7 MB, free: 0.8789 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002539/0.2633, allocations: 135.2 kB / 436.8 MB, free: 0.7422 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003136/0.2636, allocations: 275 kB / 437.1 MB, free: 484 kB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003394/0.264, allocations: 258.8 kB / 437.4 MB, free: 224 kB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 8.9e-05/0.2641, allocations: 60 kB / 437.4 MB, free: 164 kB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001119/0.2642, allocations: 64 kB / 437.5 MB, free: 100 kB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001349/0.2643, allocations: 143.4 kB / 437.6 MB, free: 15.96 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002696/0.2646, allocations: 266.9 kB / 437.9 MB, free: 15.7 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007504/0.2653, allocations: 0.7293 MB / 438.6 MB, free: 14.96 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.2653, allocations: 0 / 438.6 MB, free: 14.96 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.302e-06/0.2653, allocations: 0 / 438.6 MB, free: 14.96 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.147e-06/0.2653, allocations: 0 / 438.6 MB, free: 14.96 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: 85 * Number of variables: 85 Notification: Performance of Generate backend data structure: time 0.001559/0.2669, allocations: 0.8569 MB / 439.5 MB, free: 14.07 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.614e-05/0.2669, allocations: 11.98 kB / 439.5 MB, free: 14.06 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001321/0.2671, allocations: 87.66 kB / 439.6 MB, free: 13.96 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001181/0.2672, allocations: 68.56 kB / 439.6 MB, free: 13.89 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007779/0.268, allocations: 385.3 kB / 440 MB, free: 13.49 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001278/0.2681, allocations: 114.7 kB / 440.1 MB, free: 13.36 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.334e-05/0.2682, allocations: 40.31 kB / 440.2 MB, free: 13.32 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001068/0.2692, allocations: 0.8863 MB / 441.1 MB, free: 12.29 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.629e-05/0.2692, allocations: 0 / 441.1 MB, free: 12.29 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.072e-05/0.2693, allocations: 20 kB / 441.1 MB, free: 12.27 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.122e-05/0.2693, allocations: 8 kB / 441.1 MB, free: 12.27 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008582/0.2702, allocations: 355.7 kB / 441.4 MB, free: 11.92 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.002047/0.2722, allocations: 1.066 MB / 442.5 MB, free: 10.8 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000874/0.2731, allocations: 365.8 kB / 442.9 MB, free: 10.43 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004233/0.2735, allocations: 176.8 kB / 443 MB, free: 10.25 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.288e-05/0.2735, allocations: 8 kB / 443 MB, free: 10.25 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.149e-05/0.2736, allocations: 46.86 kB / 443.1 MB, free: 10.19 MB / 350.1 MB Notification: Performance of pre-optimization done (n=37): time 1.713e-06/0.2736, allocations: 0 / 443.1 MB, free: 10.19 MB / 350.1 MB Notification: Performance of matching and sorting (n=37): time 0.001612/0.2752, allocations: 0.5926 MB / 443.7 MB, free: 9.586 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002294/0.2754, allocations: 452.9 kB / 444.1 MB, free: 9.039 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005593/0.276, allocations: 470.1 kB / 444.6 MB, free: 8.566 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.33e-05/0.276, allocations: 37.7 kB / 444.6 MB, free: 8.523 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001978/0.2762, allocations: 252.6 kB / 444.9 MB, free: 8.273 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001186/0.2763, allocations: 134.8 kB / 445 MB, free: 8.141 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001362/0.2765, allocations: 81.64 kB / 445.1 MB, free: 8.055 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001684/0.2766, allocations: 362.7 kB / 445.4 MB, free: 7.691 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004059/0.277, allocations: 169.6 kB / 445.6 MB, free: 7.52 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007166/0.2778, allocations: 0.6889 MB / 446.3 MB, free: 6.68 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007903/0.2785, allocations: 354.8 kB / 446.6 MB, free: 6.32 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.605e-06/0.2786, allocations: 0 / 446.6 MB, free: 6.32 MB / 350.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.00107/0.2796, allocations: 0.5096 MB / 447.1 MB, free: 5.785 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.9e-05/0.2797, allocations: 33.69 kB / 447.2 MB, free: 5.746 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.554e-06/0.2797, allocations: 4 kB / 447.2 MB, free: 5.742 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001619/0.2798, allocations: 53.61 kB / 447.2 MB, free: 5.684 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004247/0.2803, allocations: 83.94 kB / 447.3 MB, free: 5.602 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002498/0.2828, allocations: 2.75 MB / 450.1 MB, free: 2.621 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000436/0.2832, allocations: 55.75 kB / 450.1 MB, free: 2.566 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.175e-05/0.2832, allocations: 12 kB / 450.1 MB, free: 2.555 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (39): * Single equations (assignments): 36 * Array equations: 0 * Algorithm blocks: 1 * 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 {(3,1), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0002267/0.2834, allocations: 174.4 kB / 450.3 MB, free: 2.375 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.543e-05/0.2835, allocations: 55.67 kB / 450.3 MB, free: 2.32 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001123/0.2837, allocations: 56.88 kB / 450.4 MB, free: 2.262 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.108e-06/0.2837, allocations: 4 kB / 450.4 MB, free: 2.258 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.176e-06/0.2837, allocations: 4 kB / 450.4 MB, free: 2.254 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001027/0.2847, allocations: 0.7399 MB / 451.1 MB, free: 1.41 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001686/0.2864, allocations: 0.9382 MB / 452.1 MB, free: 424 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.785e-06/0.2864, allocations: 0 / 452.1 MB, free: 424 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004548/0.2868, allocations: 91.88 kB / 452.2 MB, free: 332 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.286e-06/0.2868, allocations: 0 / 452.2 MB, free: 332 kB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.552e-05/0.2869, allocations: 8 kB / 452.2 MB, free: 324 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.934e-06/0.2869, allocations: 0 / 452.2 MB, free: 324 kB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.2869, allocations: 0 / 452.2 MB, free: 324 kB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001374/0.2882, allocations: 0.68 MB / 452.9 MB, free: 15.62 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00023/0.2885, allocations: 99.52 kB / 453 MB, free: 15.52 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.8e-05/0.2885, allocations: 8 kB / 453 MB, free: 15.51 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003841/0.2889, allocations: 32.03 kB / 453 MB, free: 15.48 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.035e-05/0.289, allocations: 27.95 kB / 453 MB, free: 15.45 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.265e-05/0.289, allocations: 8 kB / 453 MB, free: 15.45 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0004411/0.2895, allocations: 342.9 kB / 453.4 MB, free: 15.11 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2895, allocations: 0 / 453.4 MB, free: 15.11 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004613/0.2899, allocations: 147.8 kB / 453.5 MB, free: 14.97 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (pipe.T,heatCapacitor.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 (37): * Single equations (assignments): 37 * 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.001734/0.2917, allocations: 1.236 MB / 454.8 MB, free: 13.71 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001359/0.293, allocations: 0.6547 MB / 455.4 MB, free: 13.01 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 5.46e-06/0.293, allocations: 4 kB / 455.4 MB, free: 13 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004253/0.2934, allocations: 167.8 kB / 455.6 MB, free: 12.84 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007044/0.2941, allocations: 142 kB / 455.7 MB, free: 12.7 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007317/0.3015, allocations: 4.774 MB / 460.5 MB, free: 7.793 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002422/0.3017, allocations: 241.9 kB / 460.7 MB, free: 7.531 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002848/0.302, allocations: 72.52 kB / 460.8 MB, free: 7.457 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002834/0.3023, allocations: 183.4 kB / 461 MB, free: 7.277 MB / 366.1 MB Notification: Performance of SimCode: time 7.21e-07/0.3023, allocations: 0 / 461 MB, free: 7.277 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05103/0.3533, allocations: 15.75 MB / 476.7 MB, free: 7.828 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.51/13.86, allocations: 11.92 kB / 476.7 MB, free: 7.816 MB / 382.1 MB " [Timeout remaining time 646] (rm -f Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.pipe ; mkfifo Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.pipe >> ../files/Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.sim & python3 -m fmpy simulate --output-file Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut_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_PumpDropOut.fmu > Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Thermal/FluidHeatFlow/Examples/PumpDropOut/PumpDropOut.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable heatCapacitor.T in file Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut_res.csv. Warning: Get data of variable heatCapacitor.T from file Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut_res.csv failed! Error: Could not read variable pipe.T in file Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut_res.csv. Warning: Get data of variable pipe.T from file Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 16.357103437185287]