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.0008742/0.0008742, allocations: 79.69 kB / 20.67 MB, free: 3.891 MB / 18.57 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.0008912/0.0008912, allocations: 170 kB / 23.95 MB, free: 0.6094 MB / 18.57 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 0.9033/0.9033, allocations: 177.1 MB / 204.3 MB, free: 5.727 MB / 186.7 MB " [Timeout remaining time 179] 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 1.843e-06/1.843e-06, allocations: 0 / 324.5 MB, free: 15.95 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.855e-05/2.04e-05, allocations: 4.953 kB / 324.5 MB, free: 15.95 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut): time 0.003343/0.003363, allocations: 3.444 MB / 328 MB, free: 12.48 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001684/0.005047, allocations: 0.9928 MB / 329 MB, free: 11.48 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000186/0.005233, allocations: 7.938 kB / 329 MB, free: 11.48 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002745/0.005507, allocations: 119 kB / 329.1 MB, free: 11.36 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003226/0.00583, allocations: 210.1 kB / 329.3 MB, free: 11.15 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002303/0.00606, allocations: 143.7 kB / 329.5 MB, free: 11.01 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005592/0.00662, allocations: 0.7349 MB / 330.2 MB, free: 10.27 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002093/0.006829, allocations: 130.9 kB / 330.3 MB, free: 10.14 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002946/0.007123, allocations: 419.1 kB / 330.7 MB, free: 9.734 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002097/0.007333, allocations: 219.4 kB / 330.9 MB, free: 9.52 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 6.037e-05/0.007393, allocations: 60 kB / 331 MB, free: 9.461 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.568e-05/0.007449, allocations: 60 kB / 331.1 MB, free: 9.402 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 8.499e-05/0.007534, allocations: 135.5 kB / 331.2 MB, free: 9.27 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001576/0.007692, allocations: 227.5 kB / 331.4 MB, free: 9.047 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005604/0.008252, allocations: 0.7398 MB / 332.2 MB, free: 8.305 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.008256, allocations: 0 / 332.2 MB, free: 8.305 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.543e-06/0.008258, allocations: 0 / 332.2 MB, free: 8.305 MB / 298.7 MB Notification: Performance of Transformations before backend: time 9.177e-06/0.008267, allocations: 0 / 332.2 MB, free: 8.305 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.001124/0.009391, allocations: 0.8677 MB / 333 MB, free: 7.402 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.22e-05/0.009443, allocations: 8.031 kB / 333 MB, free: 7.395 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001057/0.009549, allocations: 83.67 kB / 333.1 MB, free: 7.301 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.714e-05/0.009636, allocations: 72.56 kB / 333.2 MB, free: 7.23 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005287/0.01016, allocations: 384.6 kB / 333.6 MB, free: 6.828 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.55e-05/0.01026, allocations: 110.7 kB / 333.7 MB, free: 6.703 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.985e-05/0.01031, allocations: 44.25 kB / 333.7 MB, free: 6.66 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007058/0.01102, allocations: 0.8791 MB / 334.6 MB, free: 5.637 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.588e-05/0.01103, allocations: 192 / 334.6 MB, free: 5.637 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.133e-05/0.01106, allocations: 19.94 kB / 334.6 MB, free: 5.617 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.648e-06/0.01107, allocations: 12 kB / 334.6 MB, free: 5.605 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005006/0.01157, allocations: 355.7 kB / 335 MB, free: 5.258 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.001818/0.01339, allocations: 1.071 MB / 336 MB, free: 4.133 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005524/0.01394, allocations: 359.5 kB / 336.4 MB, free: 3.77 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002297/0.01417, allocations: 172.8 kB / 336.6 MB, free: 3.598 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.936e-05/0.0142, allocations: 11.98 kB / 336.6 MB, free: 3.586 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.708e-05/0.01423, allocations: 38.56 kB / 336.6 MB, free: 3.539 MB / 298.7 MB Notification: Performance of pre-optimization done (n=37): time 1.704e-06/0.01423, allocations: 4.5 kB / 336.6 MB, free: 3.535 MB / 298.7 MB Notification: Performance of matching and sorting (n=37): time 0.0009874/0.01522, allocations: 0.5918 MB / 337.2 MB, free: 2.93 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001507/0.01537, allocations: 445 kB / 337.6 MB, free: 2.391 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003693/0.01574, allocations: 482 kB / 338.1 MB, free: 1.91 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.829e-05/0.01577, allocations: 33.7 kB / 338.1 MB, free: 1.871 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001362/0.0159, allocations: 256.6 kB / 338.4 MB, free: 1.617 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.638e-05/0.01598, allocations: 130.8 kB / 338.5 MB, free: 1.488 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.033e-05/0.01607, allocations: 89.58 kB / 338.6 MB, free: 1.395 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001064/0.01618, allocations: 362.8 kB / 339 MB, free: 1.031 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002232/0.0164, allocations: 165.6 kB / 339.1 MB, free: 0.8594 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004192/0.01682, allocations: 0.6891 MB / 339.8 MB, free: 20 kB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004699/0.01729, allocations: 343.1 kB / 340.1 MB, free: 15.67 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.376e-06/0.01729, allocations: 0 / 340.1 MB, free: 15.67 MB / 314.7 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0006336/0.01793, allocations: 0.5252 MB / 340.7 MB, free: 15.12 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.594e-05/0.01796, allocations: 29.7 kB / 340.7 MB, free: 15.09 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.533e-06/0.01797, allocations: 0 / 340.7 MB, free: 15.09 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001404/0.01811, allocations: 49.7 kB / 340.7 MB, free: 15.03 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002184/0.01833, allocations: 83.88 kB / 340.8 MB, free: 14.95 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001888/0.02021, allocations: 2.746 MB / 343.6 MB, free: 11.97 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002561/0.02047, allocations: 59.78 kB / 343.6 MB, free: 11.91 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.01e-05/0.02049, allocations: 12 kB / 343.6 MB, free: 11.9 MB / 314.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.0001708/0.02066, allocations: 173.9 kB / 343.8 MB, free: 11.72 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.542e-05/0.02072, allocations: 55.67 kB / 343.9 MB, free: 11.67 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.165e-05/0.02078, allocations: 56.92 kB / 343.9 MB, free: 11.61 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.487e-06/0.02078, allocations: 4 kB / 343.9 MB, free: 11.61 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.068e-06/0.02079, allocations: 3.938 kB / 343.9 MB, free: 11.6 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005844/0.02137, allocations: 0.7397 MB / 344.7 MB, free: 10.76 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001005/0.02238, allocations: 0.9383 MB / 345.6 MB, free: 9.762 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.687e-06/0.02238, allocations: 240 / 345.6 MB, free: 9.762 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002249/0.0226, allocations: 91.88 kB / 345.7 MB, free: 9.672 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.787e-06/0.02261, allocations: 7.938 kB / 345.7 MB, free: 9.664 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.591e-05/0.02262, allocations: 8 kB / 345.7 MB, free: 9.656 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.936e-06/0.02263, allocations: 4 kB / 345.7 MB, free: 9.652 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.458e-06/0.02263, allocations: 7.969 kB / 345.7 MB, free: 9.645 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007485/0.02338, allocations: 0.6608 MB / 346.4 MB, free: 8.965 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001544/0.02353, allocations: 99.52 kB / 346.5 MB, free: 8.867 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.795e-05/0.02357, allocations: 8 kB / 346.5 MB, free: 8.859 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001807/0.02375, allocations: 27.97 kB / 346.5 MB, free: 8.832 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.582e-05/0.02381, allocations: 23.95 kB / 346.5 MB, free: 8.809 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.613e-05/0.02383, allocations: 15.98 kB / 346.6 MB, free: 8.793 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0002585/0.02408, allocations: 334.9 kB / 346.9 MB, free: 8.469 MB / 314.7 MB Notification: Performance of sort global known variables: time 6e-08/0.02408, allocations: 3.938 kB / 346.9 MB, free: 8.465 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0003286/0.02441, allocations: 155.7 kB / 347 MB, free: 8.312 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.001001/0.02541, allocations: 1.235 MB / 348.3 MB, free: 7.051 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0008229/0.02624, allocations: 0.6622 MB / 348.9 MB, free: 6.344 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.176e-06/0.02624, allocations: 4 kB / 348.9 MB, free: 6.34 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002271/0.02647, allocations: 171.5 kB / 349.1 MB, free: 6.172 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004893/0.02696, allocations: 142 kB / 349.3 MB, free: 6.035 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005112/0.03207, allocations: 4.747 MB / 354 MB, free: 1.145 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001615/0.03223, allocations: 238.3 kB / 354.2 MB, free: 0.8867 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0002077/0.03244, allocations: 60.53 kB / 354.3 MB, free: 0.8281 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001885/0.03263, allocations: 184.4 kB / 354.5 MB, free: 0.6484 MB / 314.7 MB Notification: Performance of SimCode: time 1.122e-06/0.03263, allocations: 0 / 354.5 MB, free: 0.6484 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03124/0.06387, allocations: 15.84 MB / 370.3 MB, free: 1.129 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.97/8.033, allocations: 12 kB / 370.3 MB, free: 1.117 MB / 330.7 MB " [Timeout remaining time 652] (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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Thermal/FluidHeatFlow/Examples/PumpDropOut/PumpDropOut.csv","/var/lib/jenkins/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: 9.820616499520838]