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.0016/0.0016, allocations: 116.5 kB / 20.44 MB, free: 1.469 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.002109/0.002109, allocations: 214.2 kB / 23.74 MB, free: 4.695 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.47/1.47, allocations: 230.5 MB / 257.4 MB, free: 8.02 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.001969/0.001969, allocations: 59.91 kB / 377.8 MB, free: 3.039 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2522/0.2542, allocations: 53.4 MB / 431.2 MB, free: 6.734 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut): time 0.005579/0.2598, allocations: 3.809 MB / 435 MB, free: 2.914 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001972/0.2617, allocations: 1.04 MB / 436 MB, free: 1.867 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002564/0.262, allocations: 4 kB / 436 MB, free: 1.863 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004038/0.2624, allocations: 111 kB / 436.1 MB, free: 1.754 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004566/0.2628, allocations: 210.3 kB / 436.3 MB, free: 1.547 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003254/0.2632, allocations: 139.8 kB / 436.5 MB, free: 1.41 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008675/0.264, allocations: 0.7074 MB / 437.2 MB, free: 0.7031 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002761/0.2643, allocations: 143 kB / 437.3 MB, free: 0.5625 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003278/0.2646, allocations: 275 kB / 437.6 MB, free: 300 kB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000409/0.2651, allocations: 310.8 kB / 437.9 MB, free: 15.99 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 9.917e-05/0.2652, allocations: 60 kB / 438 MB, free: 15.93 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.738e-05/0.2653, allocations: 60 kB / 438 MB, free: 15.87 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001181/0.2654, allocations: 127.5 kB / 438.1 MB, free: 15.75 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003321/0.2657, allocations: 326.4 kB / 438.5 MB, free: 15.43 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000814/0.2665, allocations: 0.7203 MB / 439.2 MB, free: 14.71 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.442e-06/0.2665, allocations: 0 / 439.2 MB, free: 14.71 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.2665, allocations: 0 / 439.2 MB, free: 14.71 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.102e-05/0.2665, allocations: 0 / 439.2 MB, free: 14.71 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.001646/0.2682, allocations: 0.853 MB / 440 MB, free: 13.82 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.398e-05/0.2682, allocations: 12.03 kB / 440 MB, free: 13.8 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000132/0.2684, allocations: 79.72 kB / 440.1 MB, free: 13.71 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001258/0.2685, allocations: 72.52 kB / 440.2 MB, free: 13.64 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007976/0.2693, allocations: 393.2 kB / 440.6 MB, free: 13.23 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000139/0.2694, allocations: 110.7 kB / 440.7 MB, free: 13.11 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.333e-05/0.2695, allocations: 32.38 kB / 440.7 MB, free: 13.08 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009309/0.2704, allocations: 0.5176 MB / 441.2 MB, free: 12.51 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.614e-05/0.2704, allocations: 0 / 441.2 MB, free: 12.51 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.052e-05/0.2705, allocations: 19.94 kB / 441.2 MB, free: 12.49 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.558e-05/0.2705, allocations: 11.98 kB / 441.3 MB, free: 12.48 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008498/0.2713, allocations: 351.8 kB / 441.6 MB, free: 12.13 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.002313/0.2736, allocations: 1.313 MB / 442.9 MB, free: 10.73 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008529/0.2745, allocations: 362.4 kB / 443.3 MB, free: 10.37 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000417/0.2749, allocations: 176.8 kB / 443.4 MB, free: 10.19 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.953e-05/0.275, allocations: 4 kB / 443.4 MB, free: 10.19 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.018e-05/0.275, allocations: 46.25 kB / 443.5 MB, free: 10.13 MB / 350.1 MB Notification: Performance of pre-optimization done (n=37): time 1.553e-06/0.275, allocations: 0 / 443.5 MB, free: 10.13 MB / 350.1 MB Notification: Performance of matching and sorting (n=37): time 0.001674/0.2767, allocations: 0.5965 MB / 444.1 MB, free: 9.523 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002886/0.277, allocations: 452.8 kB / 444.5 MB, free: 8.977 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000642/0.2776, allocations: 478 kB / 445 MB, free: 8.496 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 5.1e-05/0.2777, allocations: 37.7 kB / 445 MB, free: 8.453 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002306/0.2779, allocations: 248.7 kB / 445.3 MB, free: 8.207 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001354/0.278, allocations: 134.7 kB / 445.4 MB, free: 8.074 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001494/0.2782, allocations: 85.64 kB / 445.5 MB, free: 7.984 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000213/0.2784, allocations: 358.8 kB / 445.8 MB, free: 7.625 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003731/0.2788, allocations: 143.9 kB / 446 MB, free: 7.484 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005344/0.2793, allocations: 282.5 kB / 446.3 MB, free: 7.156 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007648/0.2801, allocations: 358.5 kB / 446.6 MB, free: 6.793 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.655e-06/0.2801, allocations: 0 / 446.6 MB, free: 6.793 MB / 350.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001039/0.2811, allocations: 492.2 kB / 447.1 MB, free: 6.293 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.491e-05/0.2811, allocations: 36.3 kB / 447.1 MB, free: 6.254 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.442e-06/0.2811, allocations: 0 / 447.1 MB, free: 6.254 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001806/0.2813, allocations: 57.62 kB / 447.2 MB, free: 6.191 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004324/0.2818, allocations: 91.91 kB / 447.3 MB, free: 6.102 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00274/0.2845, allocations: 2.754 MB / 450 MB, free: 3.117 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004217/0.2849, allocations: 63.69 kB / 450.1 MB, free: 3.055 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.024e-05/0.285, allocations: 11.98 kB / 450.1 MB, free: 3.043 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.0002458/0.2852, allocations: 169.8 kB / 450.3 MB, free: 2.867 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001013/0.2853, allocations: 55.67 kB / 450.3 MB, free: 2.812 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001221/0.2854, allocations: 64.86 kB / 450.4 MB, free: 2.746 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.168e-06/0.2854, allocations: 7.938 kB / 450.4 MB, free: 2.738 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.346e-06/0.2854, allocations: 0 / 450.4 MB, free: 2.738 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00105/0.2865, allocations: 0.7322 MB / 451.1 MB, free: 1.902 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001802/0.2883, allocations: 1.024 MB / 452.1 MB, free: 0.8203 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.435e-06/0.2883, allocations: 0 / 452.1 MB, free: 0.8203 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004503/0.2887, allocations: 92.11 kB / 452.2 MB, free: 0.7305 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.2e-06/0.2887, allocations: 4 kB / 452.2 MB, free: 0.7266 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.399e-05/0.2888, allocations: 11.94 kB / 452.3 MB, free: 0.7148 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.117e-06/0.2888, allocations: 4 kB / 452.3 MB, free: 0.7109 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.723e-06/0.2888, allocations: 0 / 452.3 MB, free: 0.7109 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001326/0.2901, allocations: 0.68 MB / 452.9 MB, free: 12 kB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00022/0.2903, allocations: 99.59 kB / 453 MB, free: 15.91 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.909e-05/0.2904, allocations: 15.94 kB / 453 MB, free: 15.89 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000362/0.2907, allocations: 31.97 kB / 453.1 MB, free: 15.86 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.221e-05/0.2908, allocations: 27.89 kB / 453.1 MB, free: 15.84 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.107e-05/0.2908, allocations: 8 kB / 453.1 MB, free: 15.83 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0004268/0.2913, allocations: 338.9 kB / 453.4 MB, free: 15.5 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.2913, allocations: 4.062 kB / 453.4 MB, free: 15.5 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004672/0.2917, allocations: 143.9 kB / 453.6 MB, free: 15.36 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.00171/0.2934, allocations: 1.232 MB / 454.8 MB, free: 14.1 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.00126/0.2947, allocations: 0.6294 MB / 455.5 MB, free: 13.43 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.372e-05/0.2947, allocations: 4 kB / 455.5 MB, free: 13.43 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003969/0.2951, allocations: 171.8 kB / 455.6 MB, free: 13.26 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006973/0.2958, allocations: 141.8 kB / 455.8 MB, free: 13.12 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00714/0.303, allocations: 4.661 MB / 460.4 MB, free: 8.355 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004598/0.3034, allocations: 0.8468 MB / 461.3 MB, free: 7.48 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002622/0.3037, allocations: 68.53 kB / 461.3 MB, free: 7.41 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000265/0.3039, allocations: 179.4 kB / 461.5 MB, free: 7.234 MB / 366.1 MB Notification: Performance of SimCode: time 1.052e-06/0.3039, allocations: 0 / 461.5 MB, free: 7.234 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0475/0.3514, allocations: 14.33 MB / 475.8 MB, free: 9.148 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.23/13.58, allocations: 7.312 kB / 475.8 MB, free: 9.145 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.180579214000318]