Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.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.001375/0.001375, allocations: 111.1 kB / 20.44 MB, free: 1.062 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.001585/0.001585, allocations: 213.9 kB / 23.73 MB, free: 4.16 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.456/1.456, allocations: 230.6 MB / 257.5 MB, free: 7.816 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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.PumpDropOut,fileNamePrefix="Modelica_4_1_0_Modelica_Thermal_FluidHeatFlow_Examples_PumpDropOut",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut,fileNamePrefix="Modelica_4_1_0_Modelica_Thermal_FluidHeatFlow_Examples_PumpDropOut",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001541/0.001541, allocations: 47.92 kB / 377.7 MB, free: 3.09 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2532/0.2547, allocations: 53.36 MB / 431.1 MB, free: 6.676 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut): time 0.005027/0.2597, allocations: 3.44 MB / 434.5 MB, free: 3.227 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00179/0.2615, allocations: 0.9774 MB / 435.5 MB, free: 2.242 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001955/0.2617, allocations: 8 kB / 435.5 MB, free: 2.234 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003131/0.262, allocations: 115 kB / 435.6 MB, free: 2.121 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000442/0.2625, allocations: 198.3 kB / 435.8 MB, free: 1.926 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003028/0.2628, allocations: 151.8 kB / 436 MB, free: 1.777 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007664/0.2635, allocations: 0.7002 MB / 436.7 MB, free: 1.074 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002616/0.2638, allocations: 139 kB / 436.8 MB, free: 0.9375 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000295/0.2641, allocations: 275 kB / 437.1 MB, free: 0.668 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003336/0.2644, allocations: 258.8 kB / 437.3 MB, free: 424 kB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 9.095e-05/0.2645, allocations: 60 kB / 437.4 MB, free: 364 kB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001098/0.2646, allocations: 60 kB / 437.4 MB, free: 304 kB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001208/0.2647, allocations: 139.4 kB / 437.6 MB, free: 164 kB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002724/0.265, allocations: 270.8 kB / 437.8 MB, free: 15.89 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007721/0.2658, allocations: 0.7281 MB / 438.6 MB, free: 15.17 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.028e-06/0.2658, allocations: 0 / 438.6 MB, free: 15.17 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.252e-06/0.2658, allocations: 0 / 438.6 MB, free: 15.17 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.448e-06/0.2658, allocations: 0 / 438.6 MB, free: 15.17 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.00165/0.2675, allocations: 0.8569 MB / 439.4 MB, free: 14.27 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.003e-05/0.2675, allocations: 8.031 kB / 439.4 MB, free: 14.27 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001272/0.2676, allocations: 79.7 kB / 439.5 MB, free: 14.18 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001236/0.2677, allocations: 72.52 kB / 439.6 MB, free: 14.11 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007887/0.2685, allocations: 389.2 kB / 439.9 MB, free: 13.7 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001323/0.2687, allocations: 114.7 kB / 440.1 MB, free: 13.57 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.053e-05/0.2687, allocations: 32.38 kB / 440.1 MB, free: 13.54 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001115/0.2698, allocations: 0.8863 MB / 441 MB, free: 12.5 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.817e-05/0.2699, allocations: 3.984 kB / 441 MB, free: 12.5 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.299e-05/0.2699, allocations: 19.94 kB / 441 MB, free: 12.48 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.475e-05/0.2699, allocations: 12 kB / 441 MB, free: 12.47 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008543/0.2708, allocations: 355.8 kB / 441.4 MB, free: 12.12 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.00206/0.2728, allocations: 1.059 MB / 442.4 MB, free: 11.01 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000881/0.2737, allocations: 367 kB / 442.8 MB, free: 10.64 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004243/0.2742, allocations: 176.4 kB / 443 MB, free: 10.47 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.762e-05/0.2742, allocations: 15.94 kB / 443 MB, free: 10.45 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.515e-05/0.2742, allocations: 46.25 kB / 443 MB, free: 10.4 MB / 350.1 MB Notification: Performance of pre-optimization done (n=37): time 1.713e-06/0.2742, allocations: 4 kB / 443 MB, free: 10.39 MB / 350.1 MB Notification: Performance of matching and sorting (n=37): time 0.001585/0.2758, allocations: 0.5887 MB / 443.6 MB, free: 9.793 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002475/0.2761, allocations: 456.9 kB / 444 MB, free: 9.242 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005586/0.2766, allocations: 474 kB / 444.5 MB, free: 8.766 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.562e-05/0.2767, allocations: 37.7 kB / 444.5 MB, free: 8.723 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001997/0.2769, allocations: 252.6 kB / 444.8 MB, free: 8.473 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001109/0.277, allocations: 126.9 kB / 444.9 MB, free: 8.348 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001369/0.2771, allocations: 85.58 kB / 445 MB, free: 8.258 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001719/0.2773, allocations: 362.7 kB / 445.4 MB, free: 7.895 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000401/0.2777, allocations: 165.6 kB / 445.5 MB, free: 7.727 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007352/0.2784, allocations: 0.6967 MB / 446.2 MB, free: 6.879 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007812/0.2792, allocations: 350.8 kB / 446.6 MB, free: 6.523 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.909e-06/0.2792, allocations: 3.984 kB / 446.6 MB, free: 6.52 MB / 350.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001075/0.2803, allocations: 0.5097 MB / 447.1 MB, free: 5.984 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.848e-05/0.2803, allocations: 33.7 kB / 447.1 MB, free: 5.945 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.44e-06/0.2803, allocations: 3.938 kB / 447.1 MB, free: 5.941 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001653/0.2805, allocations: 53.62 kB / 447.2 MB, free: 5.883 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004286/0.2809, allocations: 91.91 kB / 447.3 MB, free: 5.793 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002539/0.2835, allocations: 2.734 MB / 450 MB, free: 2.828 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004435/0.2839, allocations: 59.89 kB / 450 MB, free: 2.77 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.053e-05/0.2839, allocations: 16 kB / 450.1 MB, free: 2.754 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.0002322/0.2842, allocations: 169.8 kB / 450.2 MB, free: 2.578 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.788e-05/0.2843, allocations: 55.67 kB / 450.3 MB, free: 2.523 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001134/0.2844, allocations: 61.09 kB / 450.3 MB, free: 2.461 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.409e-06/0.2844, allocations: 4 kB / 450.3 MB, free: 2.457 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.667e-06/0.2844, allocations: 3.938 kB / 450.3 MB, free: 2.453 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001045/0.2854, allocations: 0.74 MB / 451.1 MB, free: 1.609 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001708/0.2871, allocations: 0.9343 MB / 452 MB, free: 0.6172 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.016e-06/0.2871, allocations: 0 / 452 MB, free: 0.6172 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004469/0.2876, allocations: 91.88 kB / 452.1 MB, free: 0.5273 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.272e-06/0.2876, allocations: 4 kB / 452.1 MB, free: 0.5234 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.718e-05/0.2876, allocations: 11.98 kB / 452.1 MB, free: 0.5117 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.218e-06/0.2876, allocations: 4 kB / 452.1 MB, free: 0.5078 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.143e-06/0.2876, allocations: 0 / 452.1 MB, free: 0.5078 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001336/0.289, allocations: 0.6764 MB / 452.8 MB, free: 15.81 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002152/0.2892, allocations: 95.52 kB / 452.9 MB, free: 15.72 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.529e-05/0.2892, allocations: 8 kB / 452.9 MB, free: 15.71 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003867/0.2896, allocations: 31.97 kB / 452.9 MB, free: 15.68 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.314e-05/0.2897, allocations: 23.95 kB / 453 MB, free: 15.66 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.228e-05/0.2897, allocations: 19.98 kB / 453 MB, free: 15.64 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0004157/0.2901, allocations: 342.8 kB / 453.3 MB, free: 15.3 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2901, allocations: 0 / 453.3 MB, free: 15.3 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004759/0.2906, allocations: 151.8 kB / 453.5 MB, free: 15.16 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.001787/0.2924, allocations: 1.228 MB / 454.7 MB, free: 13.9 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001299/0.2937, allocations: 0.6545 MB / 455.3 MB, free: 13.2 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.929e-06/0.2937, allocations: 8.062 kB / 455.4 MB, free: 13.2 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004113/0.2941, allocations: 167.8 kB / 455.5 MB, free: 13.03 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006858/0.2948, allocations: 139.7 kB / 455.7 MB, free: 12.89 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007275/0.3021, allocations: 4.784 MB / 460.4 MB, free: 7.988 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002376/0.3023, allocations: 238.2 kB / 460.7 MB, free: 7.73 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002987/0.3026, allocations: 68.53 kB / 460.7 MB, free: 7.66 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002753/0.3029, allocations: 179.4 kB / 460.9 MB, free: 7.484 MB / 366.1 MB Notification: Performance of SimCode: time 7.92e-07/0.3029, allocations: 0 / 460.9 MB, free: 7.484 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05229/0.3552, allocations: 15.74 MB / 476.7 MB, free: 8.109 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.47/13.82, allocations: 0 / 476.7 MB, free: 8.109 MB / 382.1 MB " [Timeout remaining time 646] (rm -f Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.pipe ; mkfifo Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.pipe >> ../files/Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.sim & python3 -m fmpy simulate --output-file Modelica_4.1.0_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_4_1_0_Modelica_Thermal_FluidHeatFlow_Examples_PumpDropOut.fmu > Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_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_4.1.0_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_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut_res.csv. Warning: Get data of variable heatCapacitor.T from file Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut_res.csv failed! Error: Could not read variable pipe.T in file Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut_res.csv. Warning: Get data of variable pipe.T from file Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 16.303548978175968]