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.001373/0.001373, allocations: 115.6 kB / 20.43 MB, free: 1.457 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.001427/0.001427, allocations: 214.1 kB / 23.75 MB, free: 4.668 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.476/1.476, allocations: 230.6 MB / 257.5 MB, free: 7.996 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.00203/0.00203, allocations: 47.92 kB / 377.8 MB, free: 3.137 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2371/0.2391, allocations: 53.36 MB / 431.1 MB, free: 6.859 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut): time 0.005596/0.2447, allocations: 3.806 MB / 434.9 MB, free: 3.047 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002049/0.2468, allocations: 1.032 MB / 436 MB, free: 2.008 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003088/0.2471, allocations: 11.94 kB / 436 MB, free: 1.996 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003838/0.2475, allocations: 111 kB / 436.1 MB, free: 1.887 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004767/0.248, allocations: 210.2 kB / 436.3 MB, free: 1.68 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003463/0.2483, allocations: 139.8 kB / 436.4 MB, free: 1.543 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008437/0.2491, allocations: 0.7077 MB / 437.1 MB, free: 0.8359 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002641/0.2494, allocations: 143.2 kB / 437.3 MB, free: 0.6914 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003192/0.2497, allocations: 271 kB / 437.5 MB, free: 436 kB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003939/0.2501, allocations: 306.7 kB / 437.8 MB, free: 128 kB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 9.635e-05/0.2502, allocations: 60 kB / 437.9 MB, free: 68 kB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001/0.2503, allocations: 60 kB / 438 MB, free: 8 kB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001422/0.2505, allocations: 143.6 kB / 438.1 MB, free: 15.86 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000301/0.2508, allocations: 322.5 kB / 438.4 MB, free: 15.55 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007831/0.2515, allocations: 0.7176 MB / 439.1 MB, free: 14.83 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.578e-06/0.2516, allocations: 4 kB / 439.1 MB, free: 14.82 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.2516, allocations: 0 / 439.1 MB, free: 14.82 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.568e-05/0.2516, allocations: 0 / 439.1 MB, free: 14.82 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.001616/0.2532, allocations: 0.853 MB / 440 MB, free: 13.93 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.413e-05/0.2532, allocations: 12.03 kB / 440 MB, free: 13.92 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001285/0.2534, allocations: 83.66 kB / 440.1 MB, free: 13.83 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000119/0.2535, allocations: 72.56 kB / 440.2 MB, free: 13.76 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008059/0.2543, allocations: 381.3 kB / 440.5 MB, free: 13.36 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001323/0.2544, allocations: 110.7 kB / 440.6 MB, free: 13.23 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.535e-05/0.2545, allocations: 36.38 kB / 440.7 MB, free: 13.2 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008862/0.2554, allocations: 0.5154 MB / 441.2 MB, free: 12.63 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.554e-05/0.2554, allocations: 4 kB / 441.2 MB, free: 12.63 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.028e-05/0.2554, allocations: 16 kB / 441.2 MB, free: 12.61 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.156e-05/0.2554, allocations: 8 kB / 441.2 MB, free: 12.61 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008612/0.2563, allocations: 359.8 kB / 441.6 MB, free: 12.25 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.002276/0.2586, allocations: 1.313 MB / 442.9 MB, free: 10.86 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008773/0.2594, allocations: 366.8 kB / 443.2 MB, free: 10.49 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004293/0.2599, allocations: 176.8 kB / 443.4 MB, free: 10.31 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.772e-05/0.2599, allocations: 11.98 kB / 443.4 MB, free: 10.3 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.877e-05/0.26, allocations: 38.31 kB / 443.5 MB, free: 10.25 MB / 350.1 MB Notification: Performance of pre-optimization done (n=37): time 2.214e-06/0.26, allocations: 4 kB / 443.5 MB, free: 10.25 MB / 350.1 MB Notification: Performance of matching and sorting (n=37): time 0.001637/0.2616, allocations: 0.5891 MB / 444 MB, free: 9.648 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002669/0.2619, allocations: 452.9 kB / 444.5 MB, free: 9.102 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005949/0.2625, allocations: 478 kB / 445 MB, free: 8.621 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.349e-05/0.2625, allocations: 33.7 kB / 445 MB, free: 8.582 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002082/0.2627, allocations: 252.7 kB / 445.2 MB, free: 8.332 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001296/0.2628, allocations: 138.8 kB / 445.4 MB, free: 8.195 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001392/0.263, allocations: 81.64 kB / 445.5 MB, free: 8.109 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001806/0.2632, allocations: 358.8 kB / 445.8 MB, free: 7.75 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003801/0.2635, allocations: 139.9 kB / 445.9 MB, free: 7.613 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005924/0.2641, allocations: 294.4 kB / 446.2 MB, free: 7.273 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007583/0.2649, allocations: 350.6 kB / 446.6 MB, free: 6.918 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.765e-06/0.2649, allocations: 0 / 446.6 MB, free: 6.918 MB / 350.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001059/0.266, allocations: 0.4923 MB / 447.1 MB, free: 6.406 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.426e-05/0.266, allocations: 29.7 kB / 447.1 MB, free: 6.371 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.662e-06/0.266, allocations: 0 / 447.1 MB, free: 6.371 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001829/0.2662, allocations: 53.64 kB / 447.1 MB, free: 6.312 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004364/0.2666, allocations: 87.91 kB / 447.2 MB, free: 6.227 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00278/0.2694, allocations: 2.758 MB / 450 MB, free: 3.238 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005359/0.2699, allocations: 63.58 kB / 450 MB, free: 3.176 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.347e-05/0.27, allocations: 12 kB / 450.1 MB, free: 3.164 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.0002873/0.2703, allocations: 169.8 kB / 450.2 MB, free: 2.988 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001077/0.2704, allocations: 55.67 kB / 450.3 MB, free: 2.934 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001236/0.2705, allocations: 68.86 kB / 450.3 MB, free: 2.863 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.568e-06/0.2705, allocations: 4 kB / 450.4 MB, free: 2.859 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.007e-06/0.2705, allocations: 0 / 450.4 MB, free: 2.859 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001037/0.2715, allocations: 0.736 MB / 451.1 MB, free: 2.02 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001803/0.2733, allocations: 1.016 MB / 452.1 MB, free: 0.9453 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.699e-06/0.2734, allocations: 0 / 452.1 MB, free: 0.9453 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004709/0.2738, allocations: 87.88 kB / 452.2 MB, free: 0.8594 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.025e-06/0.2738, allocations: 0 / 452.2 MB, free: 0.8594 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.322e-05/0.2739, allocations: 15.98 kB / 452.2 MB, free: 0.8438 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.968e-06/0.2739, allocations: 4 kB / 452.2 MB, free: 0.8398 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.224e-06/0.2739, allocations: 3.938 kB / 452.2 MB, free: 0.8359 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001374/0.2752, allocations: 0.6722 MB / 452.9 MB, free: 148 kB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002733/0.2755, allocations: 99.52 kB / 453 MB, free: 48 kB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.117e-05/0.2756, allocations: 12 kB / 453 MB, free: 36 kB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003669/0.276, allocations: 31.91 kB / 453 MB, free: 4 kB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001036/0.2761, allocations: 28.02 kB / 453.1 MB, free: 15.97 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.535e-05/0.2761, allocations: 8 kB / 453.1 MB, free: 15.96 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0004355/0.2765, allocations: 338.9 kB / 453.4 MB, free: 15.64 MB / 366.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2765, allocations: 4.062 kB / 453.4 MB, free: 15.63 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005047/0.277, allocations: 143.8 kB / 453.5 MB, free: 15.49 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.001668/0.2787, allocations: 1.236 MB / 454.8 MB, free: 14.23 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001377/0.2801, allocations: 0.6332 MB / 455.4 MB, free: 13.56 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.607e-06/0.2801, allocations: 0 / 455.4 MB, free: 13.56 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004144/0.2805, allocations: 175.8 kB / 455.6 MB, free: 13.39 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008225/0.2813, allocations: 142 kB / 455.7 MB, free: 13.25 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007429/0.2887, allocations: 4.669 MB / 460.4 MB, free: 8.48 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004619/0.2892, allocations: 0.8468 MB / 461.2 MB, free: 7.605 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002894/0.2895, allocations: 72.47 kB / 461.3 MB, free: 7.531 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002715/0.2898, allocations: 179.4 kB / 461.5 MB, free: 7.355 MB / 366.1 MB Notification: Performance of SimCode: time 1.513e-06/0.2898, allocations: 0 / 461.5 MB, free: 7.355 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04968/0.3394, allocations: 14.31 MB / 475.8 MB, free: 9.328 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.32/13.66, allocations: 18.84 kB / 475.8 MB, free: 9.316 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.197695494000072]