Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve.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.001735/0.001735, allocations: 110 kB / 20.43 MB, free: 1.453 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.002137/0.002137, allocations: 212.5 kB / 23.74 MB, free: 4.66 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.565/1.565, allocations: 230.5 MB / 257.4 MB, free: 7.977 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.PumpAndValve,fileNamePrefix="Modelica_trunk_Modelica_Thermal_FluidHeatFlow_Examples_PumpAndValve",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve,fileNamePrefix="Modelica_trunk_Modelica_Thermal_FluidHeatFlow_Examples_PumpAndValve",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00192/0.00192, allocations: 67.89 kB / 377.8 MB, free: 3.008 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2535/0.2554, allocations: 53.41 MB / 431.2 MB, free: 6.691 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve): time 0.005949/0.2613, allocations: 4.427 MB / 435.6 MB, free: 2.25 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002412/0.2637, allocations: 1.254 MB / 436.9 MB, free: 0.9883 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002612/0.264, allocations: 11.94 kB / 436.9 MB, free: 0.9766 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003766/0.2644, allocations: 134.8 kB / 437 MB, free: 0.8438 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005466/0.2649, allocations: 269.8 kB / 437.3 MB, free: 0.5781 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004916/0.2654, allocations: 199.5 kB / 437.5 MB, free: 392 kB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001043/0.2665, allocations: 0.9297 MB / 438.4 MB, free: 15.45 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000319/0.2668, allocations: 174.1 kB / 438.6 MB, free: 15.27 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005522/0.2673, allocations: 382.7 kB / 438.9 MB, free: 14.9 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005469/0.2679, allocations: 406.3 kB / 439.3 MB, free: 14.5 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001127/0.268, allocations: 76 kB / 439.4 MB, free: 14.43 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001535/0.2681, allocations: 80 kB / 439.5 MB, free: 14.35 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001604/0.2683, allocations: 171.4 kB / 439.7 MB, free: 14.18 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004166/0.2687, allocations: 422 kB / 440.1 MB, free: 13.77 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00105/0.2698, allocations: 0.9216 MB / 441 MB, free: 12.84 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.528e-06/0.2698, allocations: 0 / 441 MB, free: 12.84 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.643e-06/0.2698, allocations: 0 / 441 MB, free: 12.84 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.372e-05/0.2698, allocations: 7.922 kB / 441 MB, free: 12.84 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: 111 * Number of variables: 111 Notification: Performance of Generate backend data structure: time 0.002126/0.2719, allocations: 1.057 MB / 442 MB, free: 11.73 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.845e-05/0.272, allocations: 12.03 kB / 442.1 MB, free: 11.72 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001469/0.2721, allocations: 95.64 kB / 442.2 MB, free: 11.62 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002605/0.2724, allocations: 96.42 kB / 442.2 MB, free: 11.52 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008062/0.2732, allocations: 431.2 kB / 442.7 MB, free: 11.07 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001855/0.2734, allocations: 156.3 kB / 442.8 MB, free: 10.9 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.471e-05/0.2735, allocations: 52.33 kB / 442.9 MB, free: 10.85 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001222/0.2747, allocations: 0.6592 MB / 443.5 MB, free: 10.12 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.242e-05/0.2747, allocations: 0 / 443.5 MB, free: 10.12 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.419e-05/0.2748, allocations: 24 kB / 443.6 MB, free: 10.09 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.349e-05/0.2748, allocations: 12 kB / 443.6 MB, free: 10.08 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001101/0.2759, allocations: 451.7 kB / 444 MB, free: 9.637 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.003292/0.2792, allocations: 1.904 MB / 445.9 MB, free: 7.621 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001921/0.2811, allocations: 0.5748 MB / 446.5 MB, free: 7.035 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005596/0.2816, allocations: 234 kB / 446.7 MB, free: 6.805 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.345e-05/0.2817, allocations: 16.42 kB / 446.7 MB, free: 6.789 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.751e-05/0.2817, allocations: 39.56 kB / 446.8 MB, free: 6.742 MB / 350.1 MB Notification: Performance of pre-optimization done (n=54): time 2.254e-06/0.2817, allocations: 0 / 446.8 MB, free: 6.742 MB / 350.1 MB Notification: Performance of matching and sorting (n=54): time 0.005048/0.2868, allocations: 1.25 MB / 448 MB, free: 5.477 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003291/0.2871, allocations: 0.5683 MB / 448.6 MB, free: 4.773 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006829/0.2878, allocations: 0.5382 MB / 449.1 MB, free: 4.223 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 6.329e-05/0.2879, allocations: 37.7 kB / 449.2 MB, free: 4.18 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002592/0.2881, allocations: 297.1 kB / 449.5 MB, free: 3.879 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001744/0.2883, allocations: 190.3 kB / 449.6 MB, free: 3.691 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001889/0.2885, allocations: 114.3 kB / 449.8 MB, free: 3.574 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002008/0.2887, allocations: 378.7 kB / 450.1 MB, free: 3.195 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005124/0.2892, allocations: 193.2 kB / 450.3 MB, free: 3.008 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007469/0.2899, allocations: 420.8 kB / 450.7 MB, free: 2.523 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001091/0.291, allocations: 487.5 kB / 451.2 MB, free: 2.027 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/0.291, allocations: 0 / 451.2 MB, free: 2.027 MB / 350.1 MB Notification: Performance of matching and sorting (n=63) (initialization): time 0.002331/0.2934, allocations: 0.8056 MB / 452 MB, free: 1.199 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.666e-05/0.2934, allocations: 36.2 kB / 452 MB, free: 1.16 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.663e-06/0.2934, allocations: 0 / 452 MB, free: 1.16 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001069/0.2945, allocations: 230.3 kB / 452.3 MB, free: 0.9258 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000719/0.2952, allocations: 127.8 kB / 452.4 MB, free: 0.8008 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00853/0.3037, allocations: 5.289 MB / 457.7 MB, free: 11.17 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009562/0.3047, allocations: 83.56 kB / 457.8 MB, free: 11.09 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.627e-05/0.3047, allocations: 27.88 kB / 457.8 MB, free: 11.06 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (47): * Single equations (assignments): 43 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * 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): 3 systems {(5,2), (1,1), (1,9)} Notification: Performance of prepare postOptimizeDAE: time 0.0003251/0.3051, allocations: 189.8 kB / 458 MB, free: 10.86 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001433/0.3052, allocations: 71.58 kB / 458 MB, free: 10.79 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002531/0.3077, allocations: 0.7679 MB / 458.8 MB, free: 10.02 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.899e-06/0.3078, allocations: 7.938 kB / 458.8 MB, free: 10.01 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.753e-06/0.3078, allocations: 4 kB / 458.8 MB, free: 10 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002476/0.3102, allocations: 1.029 MB / 459.8 MB, free: 8.859 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003476/0.3137, allocations: 1.48 MB / 461.3 MB, free: 7.316 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.158e-06/0.3137, allocations: 0 / 461.3 MB, free: 7.316 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007863/0.3145, allocations: 127.8 kB / 461.5 MB, free: 7.191 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008688/0.3154, allocations: 181.5 kB / 461.6 MB, free: 7.008 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.003e-05/0.3154, allocations: 12 kB / 461.6 MB, free: 6.996 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005565/0.321, allocations: 3.585 MB / 465.2 MB, free: 3.184 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.943e-06/0.321, allocations: 7.922 kB / 465.2 MB, free: 3.176 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002936/0.3239, allocations: 1.057 MB / 466.3 MB, free: 2.094 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003361/0.3243, allocations: 135.4 kB / 466.4 MB, free: 1.961 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.803e-05/0.3243, allocations: 12 kB / 466.4 MB, free: 1.949 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004986/0.3248, allocations: 43.89 kB / 466.5 MB, free: 1.906 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00012/0.325, allocations: 40.42 kB / 466.5 MB, free: 1.867 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.631e-05/0.325, allocations: 19.98 kB / 466.5 MB, free: 1.848 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0004888/0.3255, allocations: 383 kB / 466.9 MB, free: 1.477 MB / 366.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3255, allocations: 0 / 466.9 MB, free: 1.477 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0007892/0.3263, allocations: 223.8 kB / 467.1 MB, free: 1.258 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (pipe.T,heatCapacitor.T,speed.phi) * 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 (44): * Single equations (assignments): 42 * Array equations: 0 * Algorithm blocks: 0 * 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 {(1,2), (1,9)} Notification: Performance of Backend phase and start with SimCode phase: time 0.003284/0.3296, allocations: 1.625 MB / 468.8 MB, free: 15.6 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002486/0.332, allocations: 1.017 MB / 469.8 MB, free: 14.53 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.447e-06/0.3321, allocations: 0 / 469.8 MB, free: 14.53 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001031/0.3331, allocations: 0.5155 MB / 470.3 MB, free: 13.99 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008576/0.3339, allocations: 186.6 kB / 470.5 MB, free: 13.81 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01132/0.3453, allocations: 6.064 MB / 476.5 MB, free: 7.613 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000622/0.3459, allocations: 0.8918 MB / 477.4 MB, free: 6.695 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0003629/0.3462, allocations: 77.12 kB / 477.5 MB, free: 6.617 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003415/0.3466, allocations: 235.4 kB / 477.7 MB, free: 6.387 MB / 382.1 MB Notification: Performance of SimCode: time 1.302e-06/0.3466, allocations: 0 / 477.7 MB, free: 6.387 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06253/0.4091, allocations: 20.72 MB / 498.5 MB, free: 1.949 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 14.33/14.74, allocations: 7.938 kB / 498.5 MB, free: 1.941 MB / 398.1 MB " [Timeout remaining time 645] (rm -f Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve.pipe ; mkfifo Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve.pipe >> ../files/Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve.sim & python3 -m fmpy simulate --output-file Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve_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_PumpAndValve.fmu > Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Thermal/FluidHeatFlow/Examples/PumpAndValve/PumpAndValve.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve.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.PumpAndValve_res.csv. Warning: Get data of variable heatCapacitor.T from file Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve_res.csv failed! Error: Could not read variable pipe.T in file Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve_res.csv. Warning: Get data of variable pipe.T from file Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve_res.csv failed! Error: Could not read variable speed.phi in file Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve_res.csv. Warning: Get data of variable speed.phi from file Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 17.40774198299914]