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.001827/0.001827, allocations: 124 kB / 17.79 MB, free: 5.266 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.001929/0.001929, allocations: 190.9 kB / 20.73 MB, free: 2.328 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.466/1.466, allocations: 225.6 MB / 249.1 MB, free: 3.621 MB / 190.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.001548/0.001548, allocations: 51.92 kB / 365.6 MB, free: 0.8594 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1038/0.1053, allocations: 52.15 MB / 417.8 MB, free: 12.62 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut): time 0.005106/0.1105, allocations: 3.766 MB / 421.5 MB, free: 8.84 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001747/0.1122, allocations: 1.009 MB / 422.5 MB, free: 7.824 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000209/0.1124, allocations: 7.938 kB / 422.6 MB, free: 7.816 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003337/0.1127, allocations: 115 kB / 422.7 MB, free: 7.703 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004492/0.1132, allocations: 202.3 kB / 422.9 MB, free: 7.504 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003045/0.1135, allocations: 139.8 kB / 423 MB, free: 7.367 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008573/0.1144, allocations: 0.7041 MB / 423.7 MB, free: 6.66 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002588/0.1146, allocations: 138.8 kB / 423.8 MB, free: 6.516 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003233/0.1149, allocations: 279 kB / 424.1 MB, free: 6.242 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003789/0.1153, allocations: 302.7 kB / 424.4 MB, free: 5.945 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 9.82e-05/0.1154, allocations: 63.98 kB / 424.5 MB, free: 5.883 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.853e-05/0.1155, allocations: 60 kB / 424.5 MB, free: 5.824 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001224/0.1156, allocations: 131.5 kB / 424.7 MB, free: 5.695 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003054/0.1159, allocations: 318.5 kB / 425 MB, free: 5.383 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007622/0.1167, allocations: 0.7159 MB / 425.7 MB, free: 4.664 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.528e-06/0.1167, allocations: 4 kB / 425.7 MB, free: 4.66 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.643e-06/0.1167, allocations: 0 / 425.7 MB, free: 4.66 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.01e-05/0.1167, allocations: 0 / 425.7 MB, free: 4.66 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.001692/0.1184, allocations: 0.9361 MB / 426.6 MB, free: 3.668 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.909e-05/0.1184, allocations: 12.03 kB / 426.6 MB, free: 3.656 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001259/0.1186, allocations: 75.72 kB / 426.7 MB, free: 3.574 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001256/0.1187, allocations: 76.45 kB / 426.8 MB, free: 3.5 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007588/0.1195, allocations: 451.1 kB / 427.2 MB, free: 3.02 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001024/0.1196, allocations: 67.25 kB / 427.3 MB, free: 2.949 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.896e-05/0.1196, allocations: 36.38 kB / 427.3 MB, free: 2.914 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009182/0.1205, allocations: 0.5058 MB / 427.8 MB, free: 2.348 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.521e-05/0.1206, allocations: 0 / 427.8 MB, free: 2.348 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.664e-05/0.1206, allocations: 16 kB / 427.8 MB, free: 2.332 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.03e-05/0.1206, allocations: 8 kB / 427.9 MB, free: 2.324 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009668/0.1216, allocations: 355.8 kB / 428.2 MB, free: 1.98 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.002262/0.1238, allocations: 1.359 MB / 429.6 MB, free: 0.5273 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001009/0.1249, allocations: 451.5 kB / 430 MB, free: 60 kB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004694/0.1253, allocations: 177.4 kB / 430.2 MB, free: 15.88 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.672e-05/0.1254, allocations: 4 kB / 430.2 MB, free: 15.88 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.626e-05/0.1254, allocations: 38.56 kB / 430.2 MB, free: 15.83 MB / 366.1 MB Notification: Performance of pre-optimization done (n=37): time 1.743e-06/0.1254, allocations: 4 kB / 430.2 MB, free: 15.82 MB / 366.1 MB Notification: Performance of matching and sorting (n=37): time 0.001784/0.1272, allocations: 0.7463 MB / 431 MB, free: 15.03 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002477/0.1274, allocations: 448.9 kB / 431.4 MB, free: 14.48 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005962/0.128, allocations: 482 kB / 431.9 MB, free: 14 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.82e-05/0.1281, allocations: 33.7 kB / 431.9 MB, free: 13.96 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002105/0.1283, allocations: 252.6 kB / 432.2 MB, free: 13.71 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001294/0.1284, allocations: 134.7 kB / 432.3 MB, free: 13.58 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001488/0.1286, allocations: 77.69 kB / 432.4 MB, free: 13.5 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001853/0.1288, allocations: 358.8 kB / 432.7 MB, free: 13.14 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00041/0.1292, allocations: 147.9 kB / 432.9 MB, free: 13 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005417/0.1297, allocations: 294.4 kB / 433.1 MB, free: 12.66 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000828/0.1305, allocations: 347 kB / 433.5 MB, free: 12.3 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/0.1305, allocations: 0 / 433.5 MB, free: 12.3 MB / 366.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001112/0.1317, allocations: 499.9 kB / 434 MB, free: 11.8 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.49e-05/0.1317, allocations: 33.73 kB / 434 MB, free: 11.76 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.255e-06/0.1317, allocations: 7.984 kB / 434 MB, free: 11.75 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000179/0.1319, allocations: 53.62 kB / 434.1 MB, free: 11.69 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004647/0.1324, allocations: 83.88 kB / 434.1 MB, free: 11.61 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002879/0.1352, allocations: 2.957 MB / 437.1 MB, free: 8.375 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004831/0.1357, allocations: 59.83 kB / 437.2 MB, free: 8.316 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.495e-05/0.1358, allocations: 16 kB / 437.2 MB, free: 8.301 MB / 366.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.000258/0.136, allocations: 178.4 kB / 437.4 MB, free: 8.117 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001081/0.1361, allocations: 55.67 kB / 437.4 MB, free: 8.062 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001234/0.1362, allocations: 64.86 kB / 437.5 MB, free: 7.996 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.488e-06/0.1362, allocations: 4 kB / 437.5 MB, free: 7.992 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.137e-06/0.1362, allocations: 0 / 437.5 MB, free: 7.992 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00124/0.1375, allocations: 0.7359 MB / 438.2 MB, free: 7.152 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00185/0.1393, allocations: 1.041 MB / 439.3 MB, free: 6.047 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.736e-06/0.1393, allocations: 4 kB / 439.3 MB, free: 6.043 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004905/0.1398, allocations: 95.86 kB / 439.3 MB, free: 5.949 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.955e-06/0.1398, allocations: 3.938 kB / 439.4 MB, free: 5.945 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.61e-05/0.1399, allocations: 8 kB / 439.4 MB, free: 5.938 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.645e-06/0.1399, allocations: 80 / 439.4 MB, free: 5.938 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.149e-06/0.1399, allocations: 7.984 kB / 439.4 MB, free: 5.93 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001449/0.1413, allocations: 0.6759 MB / 440 MB, free: 5.23 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000237/0.1416, allocations: 184.5 kB / 440.2 MB, free: 5.031 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.634e-05/0.1416, allocations: 8 kB / 440.2 MB, free: 5.023 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003879/0.142, allocations: 36.03 kB / 440.3 MB, free: 4.988 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.964e-05/0.1421, allocations: 23.91 kB / 440.3 MB, free: 4.965 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.199e-05/0.1421, allocations: 8 kB / 440.3 MB, free: 4.957 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0004329/0.1425, allocations: 338.9 kB / 440.6 MB, free: 4.629 MB / 366.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.1425, allocations: 0 / 440.6 MB, free: 4.629 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004843/0.143, allocations: 143.9 kB / 440.8 MB, free: 4.488 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.001773/0.1448, allocations: 1.232 MB / 442 MB, free: 3.23 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001317/0.1461, allocations: 0.637 MB / 442.6 MB, free: 2.555 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.786e-06/0.1461, allocations: 0 / 442.6 MB, free: 2.555 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004313/0.1466, allocations: 175.8 kB / 442.8 MB, free: 2.383 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007075/0.1473, allocations: 133.8 kB / 442.9 MB, free: 2.246 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1909/0.3382, allocations: 4.657 MB / 447.6 MB, free: 29.14 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002556/0.3384, allocations: 0.8461 MB / 448.4 MB, free: 28.44 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002792/0.3387, allocations: 67.38 kB / 448.5 MB, free: 28.43 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002362/0.339, allocations: 181.2 kB / 448.7 MB, free: 28.43 MB / 366.1 MB Notification: Performance of SimCode: time 1.082e-06/0.339, allocations: 0.7656 kB / 448.7 MB, free: 28.43 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04743/0.3864, allocations: 14.08 MB / 462.8 MB, free: 25.07 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.8/13.19, allocations: 14.89 kB / 462.8 MB, free: 25.05 MB / 366.1 MB " [Timeout remaining time 647] (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.640231305267662]