Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001944/0.001944, allocations: 107.5 kB / 20.44 MB, free: 1.066 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002287/0.002287, allocations: 184.1 kB / 23.7 MB, free: 4.191 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.43/1.43, allocations: 225.7 MB / 252.5 MB, free: 12.83 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut,fileNamePrefix="Modelica_4_0_0_Modelica_Thermal_FluidHeatFlow_Examples_PumpDropOut",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut,fileNamePrefix="Modelica_4_0_0_Modelica_Thermal_FluidHeatFlow_Examples_PumpDropOut",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001822/0.001822, allocations: 47.91 kB / 370.4 MB, free: 9.742 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2612/0.263, allocations: 52.18 MB / 422.6 MB, free: 14.45 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut): time 0.005174/0.2682, allocations: 3.442 MB / 426 MB, free: 11 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001815/0.27, allocations: 0.9424 MB / 426.9 MB, free: 10.05 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002133/0.2702, allocations: 7.938 kB / 427 MB, free: 10.04 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003331/0.2705, allocations: 111.1 kB / 427.1 MB, free: 9.934 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000431/0.271, allocations: 214.2 kB / 427.3 MB, free: 9.723 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003006/0.2713, allocations: 131.8 kB / 427.4 MB, free: 9.594 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008129/0.2721, allocations: 0.7119 MB / 428.1 MB, free: 8.879 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002626/0.2723, allocations: 127.3 kB / 428.2 MB, free: 8.75 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003292/0.2727, allocations: 275 kB / 428.5 MB, free: 8.48 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003596/0.273, allocations: 262.7 kB / 428.8 MB, free: 8.223 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000113/0.2732, allocations: 63.94 kB / 428.8 MB, free: 8.16 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001157/0.2733, allocations: 64 kB / 428.9 MB, free: 8.098 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000129/0.2734, allocations: 135.5 kB / 429 MB, free: 7.965 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002855/0.2737, allocations: 266.9 kB / 429.3 MB, free: 7.703 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007953/0.2745, allocations: 0.7254 MB / 430 MB, free: 6.977 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.649e-06/0.2745, allocations: 4 kB / 430 MB, free: 6.973 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.503e-06/0.2745, allocations: 0 / 430 MB, free: 6.973 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.024e-05/0.2745, allocations: 0 / 430 MB, free: 6.973 MB / 334.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.001666/0.2762, allocations: 0.853 MB / 430.9 MB, free: 6.082 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.456e-05/0.2762, allocations: 12.03 kB / 430.9 MB, free: 6.07 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001355/0.2763, allocations: 75.72 kB / 430.9 MB, free: 5.984 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001282/0.2765, allocations: 72.52 kB / 431 MB, free: 5.914 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008232/0.2773, allocations: 385.3 kB / 431.4 MB, free: 5.512 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001392/0.2774, allocations: 114.7 kB / 431.5 MB, free: 5.383 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.43e-05/0.2775, allocations: 36.38 kB / 431.5 MB, free: 5.348 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001176/0.2787, allocations: 0.8902 MB / 432.4 MB, free: 4.312 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.685e-05/0.2787, allocations: 0 / 432.4 MB, free: 4.312 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.452e-05/0.2787, allocations: 19.98 kB / 432.5 MB, free: 4.293 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.064e-05/0.2787, allocations: 12 kB / 432.5 MB, free: 4.281 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008711/0.2796, allocations: 351.8 kB / 432.8 MB, free: 3.938 MB / 334.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.002116/0.2817, allocations: 1.066 MB / 433.9 MB, free: 2.816 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008894/0.2826, allocations: 359 kB / 434.2 MB, free: 2.453 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000427/0.283, allocations: 184 kB / 434.4 MB, free: 2.273 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.617e-05/0.2831, allocations: 7.938 kB / 434.4 MB, free: 2.266 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.967e-05/0.2831, allocations: 42.56 kB / 434.5 MB, free: 2.215 MB / 334.1 MB Notification: Performance of pre-optimization done (n=37): time 2.564e-06/0.2831, allocations: 0 / 434.5 MB, free: 2.215 MB / 334.1 MB Notification: Performance of matching and sorting (n=37): time 0.001635/0.2848, allocations: 0.5945 MB / 435 MB, free: 1.609 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002644/0.285, allocations: 456.9 kB / 435.5 MB, free: 1.059 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005774/0.2856, allocations: 482 kB / 436 MB, free: 0.5742 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 4.671e-05/0.2856, allocations: 37.64 kB / 436 MB, free: 0.5312 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000201/0.2858, allocations: 248.6 kB / 436.2 MB, free: 292 kB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001127/0.286, allocations: 130.9 kB / 436.4 MB, free: 160 kB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001369/0.2861, allocations: 77.69 kB / 436.4 MB, free: 76 kB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0002002/0.2863, allocations: 354.8 kB / 436.8 MB, free: 15.72 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004337/0.2867, allocations: 177.6 kB / 437 MB, free: 15.54 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007475/0.2875, allocations: 0.6929 MB / 437.7 MB, free: 14.7 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007545/0.2882, allocations: 343.1 kB / 438 MB, free: 14.35 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.447e-06/0.2882, allocations: 0 / 438 MB, free: 14.35 MB / 350.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001127/0.2894, allocations: 0.5174 MB / 438.5 MB, free: 13.8 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.164e-05/0.2894, allocations: 33.7 kB / 438.5 MB, free: 13.77 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.983e-06/0.2894, allocations: 4.031 kB / 438.6 MB, free: 13.76 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001835/0.2896, allocations: 53.64 kB / 438.6 MB, free: 13.7 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005354/0.2901, allocations: 83.88 kB / 438.7 MB, free: 13.62 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002831/0.293, allocations: 2.751 MB / 441.4 MB, free: 10.64 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004967/0.2935, allocations: 51.75 kB / 441.5 MB, free: 10.59 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.545e-05/0.2935, allocations: 15.98 kB / 441.5 MB, free: 10.57 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.0002628/0.2938, allocations: 169.8 kB / 441.7 MB, free: 10.4 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.937e-05/0.2939, allocations: 55.67 kB / 441.7 MB, free: 10.34 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001141/0.294, allocations: 64.86 kB / 441.8 MB, free: 10.28 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.288e-06/0.294, allocations: 8.234 kB / 441.8 MB, free: 10.27 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.466e-06/0.294, allocations: 0 / 441.8 MB, free: 10.27 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001057/0.295, allocations: 0.7424 MB / 442.5 MB, free: 9.422 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001697/0.2967, allocations: 0.9267 MB / 443.5 MB, free: 8.438 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.015e-06/0.2967, allocations: 0 / 443.5 MB, free: 8.438 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004425/0.2972, allocations: 91.88 kB / 443.6 MB, free: 8.348 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.786e-06/0.2972, allocations: 0 / 443.6 MB, free: 8.348 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.294e-05/0.2972, allocations: 8 kB / 443.6 MB, free: 8.34 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.811e-06/0.2972, allocations: 4 kB / 443.6 MB, free: 8.336 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.176e-06/0.2972, allocations: 4 kB / 443.6 MB, free: 8.332 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001386/0.2986, allocations: 0.6804 MB / 444.2 MB, free: 7.633 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002467/0.2988, allocations: 103.5 kB / 444.3 MB, free: 7.531 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.954e-05/0.2989, allocations: 8 kB / 444.4 MB, free: 7.523 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003685/0.2993, allocations: 36.03 kB / 444.4 MB, free: 7.488 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.45e-05/0.2994, allocations: 27.89 kB / 444.4 MB, free: 7.461 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.5e-05/0.2994, allocations: 12 kB / 444.4 MB, free: 7.449 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0004352/0.2998, allocations: 342.8 kB / 444.8 MB, free: 7.117 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2998, allocations: 0 / 444.8 MB, free: 7.117 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004834/0.3003, allocations: 139.9 kB / 444.9 MB, free: 6.98 MB / 350.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.00184/0.3021, allocations: 1.235 MB / 446.1 MB, free: 5.719 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001343/0.3035, allocations: 0.6665 MB / 446.8 MB, free: 5.008 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.507e-06/0.3035, allocations: 0 / 446.8 MB, free: 5.008 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003964/0.3039, allocations: 167.8 kB / 447 MB, free: 4.844 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007157/0.3046, allocations: 146 kB / 447.1 MB, free: 4.699 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007573/0.3122, allocations: 4.776 MB / 451.9 MB, free: 15.79 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002744/0.3124, allocations: 234.2 kB / 452.1 MB, free: 15.54 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0003197/0.3128, allocations: 60.53 kB / 452.2 MB, free: 15.47 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002846/0.3131, allocations: 187.4 kB / 452.4 MB, free: 15.29 MB / 366.1 MB Notification: Performance of SimCode: time 8.62e-07/0.3131, allocations: 3.938 kB / 452.4 MB, free: 15.29 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07203/0.3851, allocations: 15.74 MB / 468.1 MB, free: 15.91 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.28/13.67, allocations: 13.75 kB / 468.1 MB, free: 15.91 MB / 382.1 MB " [Timeout remaining time 646] (rm -f Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.pipe ; mkfifo Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.pipe >> ../files/Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.sim & python3 -m fmpy simulate --output-file Modelica_4.0.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_0_0_Modelica_Thermal_FluidHeatFlow_Examples_PumpDropOut.fmu > Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Thermal/FluidHeatFlow/Examples/PumpDropOut/PumpDropOut.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.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.0.0_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut_res.csv. Warning: Get data of variable heatCapacitor.T from file Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut_res.csv failed! Error: Could not read variable pipe.T in file Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut_res.csv. Warning: Get data of variable pipe.T from file Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 16.19423043774441]