Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009003/0.0009003, allocations: 80.34 kB / 20.67 MB, free: 3.891 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001004/0.001004, allocations: 156.9 kB / 23.95 MB, free: 0.6133 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.9036/0.9036, allocations: 177 MB / 204.1 MB, free: 5.742 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut,fileNamePrefix="Modelica_trunk_Modelica_Thermal_FluidHeatFlow_Examples_PumpDropOut",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut,fileNamePrefix="Modelica_trunk_Modelica_Thermal_FluidHeatFlow_Examples_PumpDropOut",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.813e-06/1.813e-06, allocations: 0 / 324.5 MB, free: 15.91 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.789e-05/1.971e-05, allocations: 2.281 kB / 324.5 MB, free: 15.9 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut): time 0.004509/0.004528, allocations: 3.457 MB / 328 MB, free: 12.43 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001724/0.006252, allocations: 0.9852 MB / 328.9 MB, free: 11.44 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002591/0.006511, allocations: 11.88 kB / 329 MB, free: 11.43 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003449/0.006856, allocations: 107.1 kB / 329.1 MB, free: 11.32 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004412/0.007297, allocations: 218.1 kB / 329.3 MB, free: 11.11 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003209/0.007618, allocations: 139.7 kB / 329.4 MB, free: 10.97 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.001083/0.008702, allocations: 0.7388 MB / 330.1 MB, free: 10.23 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002614/0.008963, allocations: 138.9 kB / 330.3 MB, free: 10.09 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000343/0.009306, allocations: 407.1 kB / 330.7 MB, free: 9.691 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002404/0.009547, allocations: 227.3 kB / 330.9 MB, free: 9.469 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 5.899e-05/0.009606, allocations: 60 kB / 331 MB, free: 9.41 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.573e-05/0.009661, allocations: 60 kB / 331 MB, free: 9.352 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 7.213e-05/0.009734, allocations: 131.5 kB / 331.1 MB, free: 9.223 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001462/0.00988, allocations: 227.4 kB / 331.4 MB, free: 9 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005839/0.01046, allocations: 0.736 MB / 332.1 MB, free: 8.262 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.531e-06/0.01047, allocations: 0 / 332.1 MB, free: 8.262 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.964e-06/0.01047, allocations: 4 kB / 332.1 MB, free: 8.258 MB / 298.7 MB Notification: Performance of Transformations before backend: time 7.254e-06/0.01048, allocations: 0 / 332.1 MB, free: 8.258 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.000996/0.01147, allocations: 0.8607 MB / 333 MB, free: 7.359 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.825e-05/0.01151, allocations: 11.98 kB / 333 MB, free: 7.348 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.946e-05/0.01161, allocations: 87.67 kB / 333.1 MB, free: 7.25 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.713e-05/0.01169, allocations: 64.56 kB / 333.1 MB, free: 7.188 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006519/0.01234, allocations: 388.5 kB / 333.5 MB, free: 6.781 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.959e-05/0.01243, allocations: 114.7 kB / 333.6 MB, free: 6.652 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.272e-05/0.01247, allocations: 36.33 kB / 333.7 MB, free: 6.617 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006332/0.01311, allocations: 0.883 MB / 334.5 MB, free: 5.586 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.442e-05/0.01312, allocations: 4.172 kB / 334.5 MB, free: 5.582 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.059e-05/0.01315, allocations: 23.94 kB / 334.6 MB, free: 5.559 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.845e-06/0.01316, allocations: 8 kB / 334.6 MB, free: 5.551 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004886/0.01365, allocations: 343.8 kB / 334.9 MB, free: 5.215 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.001333/0.01498, allocations: 1.078 MB / 336 MB, free: 4.082 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005585/0.01554, allocations: 360 kB / 336.3 MB, free: 3.719 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002425/0.01578, allocations: 180.7 kB / 336.5 MB, free: 3.539 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.065e-05/0.01581, allocations: 4 kB / 336.5 MB, free: 3.535 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.727e-05/0.01584, allocations: 42.5 kB / 336.6 MB, free: 3.484 MB / 298.7 MB Notification: Performance of pre-optimization done (n=37): time 2.004e-06/0.01584, allocations: 0 / 336.6 MB, free: 3.484 MB / 298.7 MB Notification: Performance of matching and sorting (n=37): time 0.001337/0.01718, allocations: 0.5919 MB / 337.2 MB, free: 2.879 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001561/0.01734, allocations: 444.9 kB / 337.6 MB, free: 2.34 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003928/0.01773, allocations: 482 kB / 338.1 MB, free: 1.859 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 3.018e-05/0.01776, allocations: 33.7 kB / 338.1 MB, free: 1.82 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001333/0.01789, allocations: 252.6 kB / 338.3 MB, free: 1.57 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.452e-05/0.01797, allocations: 138.8 kB / 338.5 MB, free: 1.434 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.068e-05/0.01806, allocations: 81.64 kB / 338.6 MB, free: 1.348 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001065/0.01816, allocations: 362.8 kB / 338.9 MB, free: 0.9844 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002365/0.0184, allocations: 169.6 kB / 339.1 MB, free: 0.8086 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004154/0.01882, allocations: 0.6775 MB / 339.7 MB, free: 15.98 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004584/0.01927, allocations: 351 kB / 340.1 MB, free: 15.62 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.795e-06/0.01928, allocations: 0 / 340.1 MB, free: 15.62 MB / 314.7 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0006454/0.01992, allocations: 0.5213 MB / 340.6 MB, free: 15.08 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.039e-05/0.01996, allocations: 29.7 kB / 340.6 MB, free: 15.04 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.594e-06/0.01997, allocations: 4 kB / 340.6 MB, free: 15.04 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000154/0.02012, allocations: 53.69 kB / 340.7 MB, free: 14.98 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002301/0.02035, allocations: 83.88 kB / 340.8 MB, free: 14.9 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001767/0.02212, allocations: 2.738 MB / 343.5 MB, free: 11.93 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000212/0.02233, allocations: 59.78 kB / 343.6 MB, free: 11.87 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2e-05/0.02235, allocations: 12 kB / 343.6 MB, free: 11.86 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.0003951/0.02275, allocations: 173.9 kB / 343.8 MB, free: 11.68 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.429e-05/0.0228, allocations: 55.67 kB / 343.8 MB, free: 11.62 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.946e-05/0.02286, allocations: 56.92 kB / 343.9 MB, free: 11.57 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.294e-06/0.02286, allocations: 4 kB / 343.9 MB, free: 11.56 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.306e-06/0.02287, allocations: 3.938 kB / 343.9 MB, free: 11.56 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005756/0.02344, allocations: 0.7398 MB / 344.6 MB, free: 10.71 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009644/0.02441, allocations: 0.9344 MB / 345.6 MB, free: 9.723 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.286e-06/0.02441, allocations: 4 kB / 345.6 MB, free: 9.719 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002271/0.02464, allocations: 87.81 kB / 345.6 MB, free: 9.633 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.686e-06/0.02464, allocations: 8 kB / 345.6 MB, free: 9.625 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.83e-05/0.02466, allocations: 15.92 kB / 345.7 MB, free: 9.609 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.336e-06/0.02466, allocations: 8 kB / 345.7 MB, free: 9.602 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.263e-06/0.02466, allocations: 0 / 345.7 MB, free: 9.602 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007474/0.02541, allocations: 0.6647 MB / 346.3 MB, free: 8.918 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00013/0.02554, allocations: 99.52 kB / 346.4 MB, free: 8.82 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.608e-05/0.02558, allocations: 12 kB / 346.4 MB, free: 8.809 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001791/0.02576, allocations: 23.97 kB / 346.5 MB, free: 8.785 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.579e-05/0.02581, allocations: 27.94 kB / 346.5 MB, free: 8.758 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.32e-05/0.02583, allocations: 12.23 kB / 346.5 MB, free: 8.746 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0002471/0.02607, allocations: 338.9 kB / 346.8 MB, free: 8.418 MB / 314.7 MB Notification: Performance of sort global known variables: time 7e-08/0.02607, allocations: 3.938 kB / 346.8 MB, free: 8.414 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0002957/0.02637, allocations: 147.8 kB / 347 MB, free: 8.27 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.0009735/0.02734, allocations: 1.232 MB / 348.2 MB, free: 7.008 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0007243/0.02807, allocations: 0.6663 MB / 348.9 MB, free: 6.297 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.945e-06/0.02807, allocations: 4 kB / 348.9 MB, free: 6.293 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002288/0.0283, allocations: 171.7 kB / 349.1 MB, free: 6.125 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004361/0.02873, allocations: 133.8 kB / 349.2 MB, free: 5.996 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004681/0.03341, allocations: 4.753 MB / 353.9 MB, free: 1.109 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001393/0.03355, allocations: 238.3 kB / 354.2 MB, free: 0.8516 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0001594/0.03371, allocations: 64.52 kB / 354.2 MB, free: 0.7891 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000178/0.03389, allocations: 184.4 kB / 354.4 MB, free: 0.6094 MB / 314.7 MB Notification: Performance of SimCode: time 7.11e-07/0.03389, allocations: 4 kB / 354.4 MB, free: 0.6055 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02878/0.06268, allocations: 15.83 MB / 370.2 MB, free: 1.066 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.868/7.93, allocations: 5.781 kB / 370.3 MB, free: 1.062 MB / 330.7 MB " [Timeout remaining time 652] (rm -f Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.pipe ; mkfifo Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.pipe >> ../files/Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.sim & python3 -m fmpy simulate --output-file Modelica_trunk_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_trunk_Modelica_Thermal_FluidHeatFlow_Examples_PumpDropOut.fmu > Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_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_trunk_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_trunk_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut_res.csv. Warning: Get data of variable heatCapacitor.T from file Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut_res.csv failed! Error: Could not read variable pipe.T in file Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut_res.csv. Warning: Get data of variable pipe.T from file Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 9.688546093180776]