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.0008102/0.0008102, allocations: 76.08 kB / 20.67 MB, free: 3.883 MB / 18.57 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.0007891/0.0007891, allocations: 149.1 kB / 23.93 MB, free: 0.6211 MB / 18.57 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 0.8517/0.8517, allocations: 173.4 MB / 200.4 MB, free: 9.422 MB / 186.7 MB " [Timeout remaining time 179] 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 1.472e-06/1.472e-06, allocations: 0 / 318.4 MB, free: 6.359 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.011e-05/2.158e-05, allocations: 2.281 kB / 318.4 MB, free: 6.355 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut): time 0.003598/0.00362, allocations: 3.413 MB / 321.8 MB, free: 2.922 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001338/0.004957, allocations: 0.9501 MB / 322.8 MB, free: 1.965 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000221/0.005178, allocations: 7.938 kB / 322.8 MB, free: 1.957 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002938/0.005472, allocations: 122.8 kB / 322.9 MB, free: 1.836 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003288/0.005801, allocations: 218.1 kB / 323.1 MB, free: 1.621 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002385/0.00604, allocations: 135.7 kB / 323.3 MB, free: 1.488 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005576/0.006597, allocations: 0.7389 MB / 324 MB, free: 0.7461 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002166/0.006814, allocations: 143 kB / 324.1 MB, free: 0.6055 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003417/0.007155, allocations: 403.2 kB / 324.5 MB, free: 216 kB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002352/0.007391, allocations: 223.4 kB / 324.8 MB, free: 15.99 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 6.899e-05/0.00746, allocations: 60 kB / 324.8 MB, free: 15.93 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.322e-05/0.007523, allocations: 60 kB / 324.9 MB, free: 15.87 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 8.738e-05/0.00761, allocations: 135.4 kB / 325 MB, free: 15.74 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001752/0.007785, allocations: 231.4 kB / 325.2 MB, free: 15.52 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005751/0.008361, allocations: 0.7321 MB / 326 MB, free: 14.78 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.35e-06/0.008366, allocations: 0 / 326 MB, free: 14.78 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.453e-06/0.008367, allocations: 4 kB / 326 MB, free: 14.78 MB / 298.7 MB Notification: Performance of Transformations before backend: time 9.057e-06/0.008376, allocations: 0 / 326 MB, free: 14.78 MB / 298.7 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.001138/0.009514, allocations: 0.853 MB / 326.8 MB, free: 13.89 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.429e-05/0.009558, allocations: 12.92 kB / 326.8 MB, free: 13.88 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003671/0.009926, allocations: 83.66 kB / 326.9 MB, free: 13.78 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.808e-05/0.01001, allocations: 72.56 kB / 327 MB, free: 13.71 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005413/0.01055, allocations: 388.5 kB / 327.4 MB, free: 13.3 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.252e-05/0.01065, allocations: 106.7 kB / 327.5 MB, free: 13.18 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.276e-05/0.01069, allocations: 36.38 kB / 327.5 MB, free: 13.15 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006779/0.01137, allocations: 0.8947 MB / 328.4 MB, free: 12.11 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.537e-05/0.01138, allocations: 192 / 328.4 MB, free: 12.11 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.927e-05/0.01141, allocations: 19.94 kB / 328.4 MB, free: 12.09 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.237e-06/0.01142, allocations: 8 kB / 328.4 MB, free: 12.08 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000528/0.01195, allocations: 359.7 kB / 328.8 MB, free: 11.73 MB / 298.7 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.001531/0.01348, allocations: 1.063 MB / 329.8 MB, free: 10.61 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005586/0.01404, allocations: 358.9 kB / 330.2 MB, free: 10.25 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002363/0.01428, allocations: 172.8 kB / 330.4 MB, free: 10.07 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.232e-05/0.01431, allocations: 8.656 kB / 330.4 MB, free: 10.07 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.577e-05/0.01433, allocations: 42.31 kB / 330.4 MB, free: 10.02 MB / 298.7 MB Notification: Performance of pre-optimization done (n=37): time 2.344e-06/0.01434, allocations: 3.938 kB / 330.4 MB, free: 10.01 MB / 298.7 MB Notification: Performance of matching and sorting (n=37): time 0.001004/0.01534, allocations: 0.5903 MB / 331 MB, free: 9.41 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001388/0.01548, allocations: 449 kB / 331.4 MB, free: 8.867 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000397/0.01588, allocations: 482 kB / 331.9 MB, free: 8.383 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 3.465e-05/0.01591, allocations: 37.7 kB / 331.9 MB, free: 8.34 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001379/0.01605, allocations: 252.6 kB / 332.2 MB, free: 8.09 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.506e-05/0.01612, allocations: 130.9 kB / 332.3 MB, free: 7.961 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.509e-05/0.01622, allocations: 77.69 kB / 332.4 MB, free: 7.879 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001073/0.01633, allocations: 358.8 kB / 332.7 MB, free: 7.52 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002446/0.01657, allocations: 177.5 kB / 332.9 MB, free: 7.34 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004377/0.01701, allocations: 0.693 MB / 333.6 MB, free: 6.496 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007088/0.01772, allocations: 346.6 kB / 334 MB, free: 6.145 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.316e-06/0.01772, allocations: 0 / 334 MB, free: 6.145 MB / 298.7 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0006345/0.01836, allocations: 0.5135 MB / 334.5 MB, free: 5.605 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.36e-05/0.01839, allocations: 37.69 kB / 334.5 MB, free: 5.562 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.773e-06/0.0184, allocations: 0 / 334.5 MB, free: 5.562 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001374/0.01853, allocations: 53.64 kB / 334.6 MB, free: 5.504 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002309/0.01876, allocations: 83.88 kB / 334.6 MB, free: 5.422 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001657/0.02042, allocations: 2.746 MB / 337.4 MB, free: 2.445 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000274/0.0207, allocations: 55.75 kB / 337.4 MB, free: 2.391 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.677e-05/0.02072, allocations: 12.16 kB / 337.4 MB, free: 2.379 MB / 298.7 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.000184/0.02091, allocations: 181.8 kB / 337.6 MB, free: 2.191 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.905e-05/0.02097, allocations: 55.67 kB / 337.7 MB, free: 2.137 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.541e-05/0.02103, allocations: 52.94 kB / 337.7 MB, free: 2.082 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.557e-06/0.02103, allocations: 4 kB / 337.7 MB, free: 2.078 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.491e-06/0.02104, allocations: 7.922 kB / 337.7 MB, free: 2.07 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005997/0.02164, allocations: 0.7387 MB / 338.5 MB, free: 1.227 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001074/0.02271, allocations: 0.9311 MB / 339.4 MB, free: 240 kB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.424e-06/0.02272, allocations: 0 / 339.4 MB, free: 240 kB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002495/0.02297, allocations: 95.81 kB / 339.5 MB, free: 144 kB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.448e-06/0.02297, allocations: 4 kB / 339.5 MB, free: 140 kB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.818e-05/0.02299, allocations: 8 kB / 339.5 MB, free: 132 kB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.785e-06/0.02299, allocations: 4 kB / 339.5 MB, free: 128 kB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.02299, allocations: 0 / 339.5 MB, free: 128 kB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007891/0.02378, allocations: 0.6725 MB / 340.2 MB, free: 15.43 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001463/0.02393, allocations: 99.42 kB / 340.3 MB, free: 15.33 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.952e-05/0.02397, allocations: 8 kB / 340.3 MB, free: 15.32 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001944/0.02416, allocations: 31.97 kB / 340.3 MB, free: 15.29 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.9e-05/0.02422, allocations: 23.95 kB / 340.4 MB, free: 15.27 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.312e-05/0.02423, allocations: 8 kB / 340.4 MB, free: 15.26 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0002719/0.02451, allocations: 338.9 kB / 340.7 MB, free: 14.93 MB / 314.7 MB Notification: Performance of sort global known variables: time 7e-08/0.02451, allocations: 4.062 kB / 340.7 MB, free: 14.93 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.000652/0.02516, allocations: 143.8 kB / 340.8 MB, free: 14.79 MB / 314.7 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.001071/0.02623, allocations: 1.239 MB / 342.1 MB, free: 13.52 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0008409/0.02707, allocations: 0.6579 MB / 342.7 MB, free: 12.82 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 4.038e-06/0.02707, allocations: 3.938 kB / 342.7 MB, free: 12.82 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000234/0.02731, allocations: 175.8 kB / 342.9 MB, free: 12.64 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005071/0.02781, allocations: 149.3 kB / 343.1 MB, free: 12.5 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004919/0.03273, allocations: 4.741 MB / 347.8 MB, free: 7.629 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005921/0.03333, allocations: 245.9 kB / 348 MB, free: 7.363 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.000219/0.03354, allocations: 68.52 kB / 348.1 MB, free: 7.297 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001969/0.03374, allocations: 184.4 kB / 348.3 MB, free: 7.117 MB / 314.7 MB Notification: Performance of SimCode: time 1.442e-06/0.03374, allocations: 0 / 348.3 MB, free: 7.117 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03521/0.06895, allocations: 15.81 MB / 364.1 MB, free: 7.617 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.447/8.516, allocations: 10.98 kB / 364.1 MB, free: 7.609 MB / 330.7 MB " [Timeout remaining time 651] (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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Thermal/FluidHeatFlow/Examples/PumpDropOut/PumpDropOut.csv","/var/lib/jenkins/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: 10.270320056006312]