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.001318/0.001318, allocations: 112.2 kB / 20.43 MB, free: 1.449 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.001321/0.001321, allocations: 188.4 kB / 23.72 MB, free: 4.684 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.406/1.406, allocations: 225.6 MB / 252.5 MB, free: 13.04 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.001502/0.001502, allocations: 47.92 kB / 370.4 MB, free: 9.871 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.244/0.2455, allocations: 52.18 MB / 422.6 MB, free: 14.62 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut): time 0.0058/0.2513, allocations: 3.792 MB / 426.4 MB, free: 10.81 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002279/0.2536, allocations: 0.9969 MB / 427.4 MB, free: 9.809 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002718/0.2539, allocations: 11.94 kB / 427.4 MB, free: 9.797 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004201/0.2543, allocations: 119 kB / 427.5 MB, free: 9.68 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004776/0.2548, allocations: 206.3 kB / 427.7 MB, free: 9.477 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003605/0.2551, allocations: 139.8 kB / 427.9 MB, free: 9.34 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008594/0.256, allocations: 0.7003 MB / 428.6 MB, free: 8.637 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002718/0.2563, allocations: 147 kB / 428.7 MB, free: 8.492 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003165/0.2566, allocations: 275 kB / 429 MB, free: 8.223 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003825/0.257, allocations: 306.7 kB / 429.3 MB, free: 7.922 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 8.635e-05/0.257, allocations: 60 kB / 429.3 MB, free: 7.863 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.712e-05/0.2571, allocations: 60 kB / 429.4 MB, free: 7.805 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001358/0.2573, allocations: 127.5 kB / 429.5 MB, free: 7.68 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003219/0.2576, allocations: 322.5 kB / 429.8 MB, free: 7.363 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008074/0.2584, allocations: 0.7242 MB / 430.6 MB, free: 6.641 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.019e-06/0.2584, allocations: 4 kB / 430.6 MB, free: 6.637 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.663e-06/0.2584, allocations: 0 / 430.6 MB, free: 6.637 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.038e-05/0.2584, allocations: 0 / 430.6 MB, free: 6.637 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.00163/0.2601, allocations: 0.8599 MB / 431.4 MB, free: 5.742 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.142e-05/0.2601, allocations: 8.031 kB / 431.4 MB, free: 5.734 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001302/0.2602, allocations: 79.72 kB / 431.5 MB, free: 5.645 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001188/0.2603, allocations: 72.52 kB / 431.6 MB, free: 5.574 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007794/0.2611, allocations: 385.3 kB / 432 MB, free: 5.172 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001496/0.2613, allocations: 122.6 kB / 432.1 MB, free: 5.035 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.786e-05/0.2613, allocations: 36.38 kB / 432.1 MB, free: 5 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008902/0.2622, allocations: 0.5058 MB / 432.6 MB, free: 4.438 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.653e-05/0.2622, allocations: 0 / 432.6 MB, free: 4.438 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.364e-05/0.2623, allocations: 20 kB / 432.6 MB, free: 4.418 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.738e-06/0.2623, allocations: 8 kB / 432.6 MB, free: 4.41 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000862/0.2632, allocations: 363.7 kB / 433 MB, free: 4.055 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.002222/0.2654, allocations: 1.309 MB / 434.3 MB, free: 2.66 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008652/0.2662, allocations: 363.4 kB / 434.7 MB, free: 2.293 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004081/0.2667, allocations: 172.8 kB / 434.8 MB, free: 2.121 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.358e-05/0.2667, allocations: 8.656 kB / 434.8 MB, free: 2.113 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.238e-05/0.2667, allocations: 38.56 kB / 434.9 MB, free: 2.066 MB / 334.1 MB Notification: Performance of pre-optimization done (n=37): time 1.964e-06/0.2667, allocations: 3.938 kB / 434.9 MB, free: 2.062 MB / 334.1 MB Notification: Performance of matching and sorting (n=37): time 0.00159/0.2683, allocations: 0.5981 MB / 435.5 MB, free: 1.453 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002433/0.2686, allocations: 452.9 kB / 435.9 MB, free: 0.9062 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005714/0.2691, allocations: 470.1 kB / 436.4 MB, free: 444 kB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 4.911e-05/0.2692, allocations: 37.7 kB / 436.4 MB, free: 400 kB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002043/0.2694, allocations: 252.6 kB / 436.7 MB, free: 144 kB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001201/0.2695, allocations: 134.8 kB / 436.8 MB, free: 8 kB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001592/0.2697, allocations: 81.64 kB / 436.9 MB, free: 15.92 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001729/0.2698, allocations: 358.8 kB / 437.2 MB, free: 15.56 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003842/0.2702, allocations: 139.9 kB / 437.4 MB, free: 15.43 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005246/0.2708, allocations: 298.3 kB / 437.7 MB, free: 15.08 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007766/0.2715, allocations: 347.1 kB / 438 MB, free: 14.73 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.845e-06/0.2715, allocations: 0 / 438 MB, free: 14.73 MB / 350.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001031/0.2726, allocations: 496.1 kB / 438.5 MB, free: 14.23 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.015e-05/0.2726, allocations: 37.14 kB / 438.5 MB, free: 14.19 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.36e-06/0.2726, allocations: 4.031 kB / 438.5 MB, free: 14.18 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001729/0.2728, allocations: 57.56 kB / 438.6 MB, free: 14.12 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004443/0.2732, allocations: 91.88 kB / 438.7 MB, free: 14.03 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002626/0.2759, allocations: 2.755 MB / 441.4 MB, free: 11.05 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004297/0.2763, allocations: 55.73 kB / 441.5 MB, free: 10.99 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.953e-05/0.2763, allocations: 11.94 kB / 441.5 MB, free: 10.98 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.0002325/0.2765, allocations: 179.8 kB / 441.7 MB, free: 10.8 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.592e-05/0.2766, allocations: 59.86 kB / 441.7 MB, free: 10.74 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001123/0.2768, allocations: 60.86 kB / 441.8 MB, free: 10.68 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.272e-06/0.2768, allocations: 7.984 kB / 441.8 MB, free: 10.67 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.905e-06/0.2768, allocations: 0 / 441.8 MB, free: 10.67 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001058/0.2778, allocations: 0.7503 MB / 442.5 MB, free: 9.812 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001727/0.2795, allocations: 1.005 MB / 443.5 MB, free: 8.75 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.414e-06/0.2795, allocations: 0 / 443.5 MB, free: 8.75 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004647/0.28, allocations: 99.86 kB / 443.6 MB, free: 8.652 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.895e-06/0.28, allocations: 0 / 443.6 MB, free: 8.652 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.599e-05/0.28, allocations: 8 kB / 443.7 MB, free: 8.645 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.114e-06/0.28, allocations: 0 / 443.7 MB, free: 8.645 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.28, allocations: 0 / 443.7 MB, free: 8.645 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001325/0.2814, allocations: 0.6765 MB / 444.3 MB, free: 7.949 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001993/0.2816, allocations: 103.5 kB / 444.4 MB, free: 7.848 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.247e-05/0.2816, allocations: 15.98 kB / 444.4 MB, free: 7.832 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003643/0.282, allocations: 27.97 kB / 444.5 MB, free: 7.805 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.732e-05/0.2821, allocations: 31.95 kB / 444.5 MB, free: 7.773 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.215e-05/0.2821, allocations: 12 kB / 444.5 MB, free: 7.762 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0003991/0.2825, allocations: 338.9 kB / 444.8 MB, free: 7.434 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2825, allocations: 0 / 444.8 MB, free: 7.434 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004549/0.283, allocations: 139.9 kB / 445 MB, free: 7.297 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.001659/0.2846, allocations: 1.231 MB / 446.2 MB, free: 6.039 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001239/0.2859, allocations: 0.6414 MB / 446.9 MB, free: 5.359 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.2859, allocations: 0 / 446.9 MB, free: 5.359 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004111/0.2863, allocations: 167.8 kB / 447 MB, free: 5.195 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006758/0.2869, allocations: 145.8 kB / 447.2 MB, free: 5.051 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007082/0.294, allocations: 4.676 MB / 451.8 MB, free: 276 kB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004844/0.2945, allocations: 0.8354 MB / 452.7 MB, free: 15.41 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002689/0.2948, allocations: 68.52 kB / 452.7 MB, free: 15.34 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002763/0.2951, allocations: 179.4 kB / 452.9 MB, free: 15.16 MB / 366.1 MB Notification: Performance of SimCode: time 6.71e-07/0.2951, allocations: 0 / 452.9 MB, free: 15.16 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05199/0.347, allocations: 14.32 MB / 467.2 MB, free: 1.129 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.13/13.47, allocations: 19.06 kB / 467.3 MB, free: 1.121 MB / 366.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: 15.927707352002471]