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.001626/0.001626, allocations: 123.4 kB / 17.79 MB, free: 5.281 MB / 14.72 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.001968/0.001968, allocations: 215.5 kB / 20.75 MB, free: 2.324 MB / 14.72 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 1.581/1.581, allocations: 230.4 MB / 254 MB, free: 15.03 MB / 206.1 MB " [Timeout remaining time 178] 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 0.001903/0.001903, allocations: 60.09 kB / 373 MB, free: 10.1 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1025/0.1044, allocations: 53.37 MB / 426.3 MB, free: 4.629 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut): time 0.005395/0.1098, allocations: 3.792 MB / 430.1 MB, free: 0.8203 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.197/0.3068, allocations: 1.025 MB / 431.2 MB, free: 7.551 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004606/0.3072, allocations: 12.31 kB / 431.2 MB, free: 7.551 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005125/0.3077, allocations: 109.3 kB / 431.3 MB, free: 7.551 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006906/0.3084, allocations: 205 kB / 431.5 MB, free: 7.551 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004032/0.3088, allocations: 140.7 kB / 431.6 MB, free: 7.551 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001046/0.3099, allocations: 0.7016 MB / 432.3 MB, free: 7.445 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002607/0.3101, allocations: 142.5 kB / 432.5 MB, free: 7.418 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003876/0.3105, allocations: 274.9 kB / 432.7 MB, free: 7.367 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003022/0.3108, allocations: 313.2 kB / 433 MB, free: 7.297 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 7.355e-05/0.3109, allocations: 59.41 kB / 433.1 MB, free: 7.297 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.222e-05/0.311, allocations: 58.75 kB / 433.2 MB, free: 7.297 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.942e-05/0.3111, allocations: 132.6 kB / 433.3 MB, free: 7.277 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002604/0.3114, allocations: 321.8 kB / 433.6 MB, free: 7.188 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007356/0.3121, allocations: 0.7161 MB / 434.3 MB, free: 7.074 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.578e-06/0.3121, allocations: 0 / 434.3 MB, free: 7.074 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.3121, allocations: 0.5625 kB / 434.3 MB, free: 7.074 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.695e-05/0.3121, allocations: 1.344 kB / 434.3 MB, free: 7.074 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.001466/0.3136, allocations: 0.9306 MB / 435.2 MB, free: 6.465 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.997e-05/0.3136, allocations: 9.312 kB / 435.3 MB, free: 6.465 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001107/0.3137, allocations: 86.72 kB / 435.3 MB, free: 6.418 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001172/0.3138, allocations: 69.19 kB / 435.4 MB, free: 6.387 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006386/0.3145, allocations: 451.5 kB / 435.8 MB, free: 6.105 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001179/0.3146, allocations: 61.86 kB / 435.9 MB, free: 6.074 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.63e-05/0.3147, allocations: 34.94 kB / 435.9 MB, free: 6.074 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008488/0.3155, allocations: 0.5102 MB / 436.5 MB, free: 5.883 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.642e-05/0.3155, allocations: 2.625 kB / 436.5 MB, free: 5.883 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.316e-05/0.3156, allocations: 16.78 kB / 436.5 MB, free: 5.883 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.28e-05/0.3156, allocations: 7.906 kB / 436.5 MB, free: 5.883 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008822/0.3165, allocations: 355 kB / 436.8 MB, free: 5.883 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.002192/0.3187, allocations: 1.356 MB / 438.2 MB, free: 5.055 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008945/0.3196, allocations: 440.3 kB / 438.6 MB, free: 4.816 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004328/0.32, allocations: 182.2 kB / 438.8 MB, free: 4.746 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.398e-05/0.32, allocations: 8.438 kB / 438.8 MB, free: 4.746 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.479e-05/0.3201, allocations: 43.53 kB / 438.8 MB, free: 4.699 MB / 350.1 MB Notification: Performance of pre-optimization done (n=37): time 2.455e-06/0.3201, allocations: 0 / 438.8 MB, free: 4.699 MB / 350.1 MB Notification: Performance of matching and sorting (n=37): time 0.001647/0.3217, allocations: 0.7346 MB / 439.6 MB, free: 4.285 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.158e-05/0.3218, allocations: 456.1 kB / 440 MB, free: 3.742 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005135/0.3223, allocations: 472.8 kB / 440.5 MB, free: 3.516 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.025e-05/0.3223, allocations: 37.64 kB / 440.5 MB, free: 3.477 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001358/0.3225, allocations: 256.7 kB / 440.8 MB, free: 3.27 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.444e-05/0.3226, allocations: 134.5 kB / 440.9 MB, free: 3.164 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001325/0.3227, allocations: 77.73 kB / 441 MB, free: 3.121 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 7.807e-05/0.3228, allocations: 358.1 kB / 441.3 MB, free: 2.789 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003823/0.3232, allocations: 141.2 kB / 441.5 MB, free: 2.746 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000498/0.3237, allocations: 287.1 kB / 441.7 MB, free: 2.543 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007769/0.3244, allocations: 359.9 kB / 442.1 MB, free: 2.367 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.287e-06/0.3244, allocations: 0 / 442.1 MB, free: 2.367 MB / 350.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.00128/0.3257, allocations: 0.4904 MB / 442.6 MB, free: 2.129 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.143e-05/0.3258, allocations: 31.53 kB / 442.6 MB, free: 2.098 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.906e-06/0.3258, allocations: 1.125 kB / 442.6 MB, free: 2.098 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002095/0.326, allocations: 50.27 kB / 442.7 MB, free: 2.07 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004562/0.3264, allocations: 91.67 kB / 442.8 MB, free: 2.059 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002191/0.3286, allocations: 2.965 MB / 445.7 MB, free: 15.15 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005613/0.3292, allocations: 54.08 kB / 445.8 MB, free: 15.12 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.627e-05/0.3292, allocations: 13.94 kB / 445.8 MB, free: 15.12 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.0002797/0.3295, allocations: 173.1 kB / 446 MB, free: 14.97 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001071/0.3296, allocations: 56.14 kB / 446 MB, free: 14.95 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001262/0.3297, allocations: 60.97 kB / 446.1 MB, free: 14.9 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.308e-06/0.3297, allocations: 9.078 kB / 446.1 MB, free: 14.9 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.813e-06/0.3297, allocations: 6.562 kB / 446.1 MB, free: 14.89 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001116/0.3309, allocations: 0.7356 MB / 446.8 MB, free: 14.27 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001986/0.3328, allocations: 1.056 MB / 447.9 MB, free: 13.65 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.036e-06/0.3329, allocations: 0 / 447.9 MB, free: 13.65 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004714/0.3333, allocations: 93.14 kB / 448 MB, free: 13.64 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.558e-06/0.3333, allocations: 2.094 kB / 448 MB, free: 13.64 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.824e-05/0.3334, allocations: 7.109 kB / 448 MB, free: 13.64 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.507e-06/0.3334, allocations: 1.984 kB / 448 MB, free: 13.64 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.3334, allocations: 4 kB / 448 MB, free: 13.63 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00144/0.3348, allocations: 0.6795 MB / 448.7 MB, free: 13.28 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002578/0.3351, allocations: 169.1 kB / 448.8 MB, free: 13.13 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.565e-05/0.3351, allocations: 12.77 kB / 448.8 MB, free: 13.12 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004325/0.3356, allocations: 25.39 kB / 448.9 MB, free: 13.12 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.417e-05/0.3357, allocations: 25.44 kB / 448.9 MB, free: 13.12 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.499e-05/0.3357, allocations: 11.41 kB / 448.9 MB, free: 13.11 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0004167/0.3361, allocations: 341 kB / 449.2 MB, free: 12.95 MB / 366.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3361, allocations: 0 / 449.2 MB, free: 12.95 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005281/0.3366, allocations: 152.2 kB / 449.4 MB, free: 12.92 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.001755/0.3384, allocations: 1.22 MB / 450.6 MB, free: 12.05 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001343/0.3397, allocations: 0.6366 MB / 451.2 MB, free: 11.64 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.667e-06/0.3397, allocations: 5.094 kB / 451.2 MB, free: 11.64 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000431/0.3402, allocations: 173.3 kB / 451.4 MB, free: 11.59 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007239/0.3409, allocations: 138.7 kB / 451.5 MB, free: 11.54 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007617/0.3485, allocations: 4.665 MB / 456.2 MB, free: 8.973 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005172/0.349, allocations: 0.8405 MB / 457.1 MB, free: 8.262 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0003241/0.3493, allocations: 66.31 kB / 457.1 MB, free: 8.246 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000376/0.3497, allocations: 182.6 kB / 457.3 MB, free: 8.117 MB / 366.1 MB Notification: Performance of SimCode: time 9.92e-07/0.3497, allocations: 0 / 457.3 MB, free: 8.117 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06794/0.4177, allocations: 14.1 MB / 471.4 MB, free: 1.59 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.45/12.87, allocations: 11.55 kB / 471.4 MB, free: 1.582 MB / 366.1 MB " [Timeout remaining time 647] (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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Thermal/FluidHeatFlow/Examples/PumpDropOut/PumpDropOut.csv","/var/lib/jenkins1/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: 15.495718969963491]