Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve.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.001791/0.001791, allocations: 112.4 kB / 21.18 MB, free: 0.7148 MB / 14.72 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.002313/0.002313, allocations: 216.7 kB / 24.49 MB, free: 4.086 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.489/1.489, allocations: 207.6 MB / 235.3 MB, free: 9.977 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.PumpAndValve,fileNamePrefix="Modelica_3_2_3_Modelica_Thermal_FluidHeatFlow_Examples_PumpAndValve",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve,fileNamePrefix="Modelica_3_2_3_Modelica_Thermal_FluidHeatFlow_Examples_PumpAndValve",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001769/0.001769, allocations: 51.92 kB / 347.2 MB, free: 10.04 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2725/0.2743, allocations: 49.16 MB / 396.3 MB, free: 8.984 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve): time 0.004922/0.2792, allocations: 4.408 MB / 400.7 MB, free: 5.875 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002143/0.2814, allocations: 1.271 MB / 402 MB, free: 4.953 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002997/0.2817, allocations: 13.69 kB / 402 MB, free: 4.945 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003582/0.282, allocations: 136.1 kB / 402.2 MB, free: 4.867 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004889/0.2825, allocations: 268.1 kB / 402.4 MB, free: 4.676 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004105/0.2829, allocations: 195 kB / 402.6 MB, free: 4.57 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008377/0.2838, allocations: 0.93 MB / 403.5 MB, free: 4.094 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002754/0.2841, allocations: 169.5 kB / 403.7 MB, free: 3.996 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000463/0.2845, allocations: 383 kB / 404.1 MB, free: 3.82 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004683/0.285, allocations: 400.8 kB / 404.5 MB, free: 3.621 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001187/0.2851, allocations: 76.25 kB / 404.6 MB, free: 3.621 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001466/0.2852, allocations: 78.03 kB / 404.6 MB, free: 3.621 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001334/0.2854, allocations: 168.7 kB / 404.8 MB, free: 3.508 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003238/0.2857, allocations: 423.4 kB / 405.2 MB, free: 3.262 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001027/0.2867, allocations: 0.9245 MB / 406.1 MB, free: 2.891 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.569e-06/0.2867, allocations: 0 / 406.1 MB, free: 2.891 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.443e-06/0.2867, allocations: 0 / 406.1 MB, free: 2.891 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.459e-05/0.2868, allocations: 1.125 kB / 406.1 MB, free: 2.891 MB / 318.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.001901/0.2887, allocations: 1.063 MB / 407.2 MB, free: 2.156 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.54e-05/0.2887, allocations: 13.58 kB / 407.2 MB, free: 2.152 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001436/0.2888, allocations: 97.58 kB / 407.3 MB, free: 2.078 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000145/0.289, allocations: 91.17 kB / 407.4 MB, free: 2.035 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006369/0.2896, allocations: 427.5 kB / 407.8 MB, free: 1.73 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001368/0.2898, allocations: 153.5 kB / 408 MB, free: 1.582 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.181e-05/0.2898, allocations: 48 kB / 408 MB, free: 1.566 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001045/0.2909, allocations: 0.6593 MB / 408.7 MB, free: 1.164 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.082e-05/0.2909, allocations: 1.188 kB / 408.7 MB, free: 1.164 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.858e-05/0.2909, allocations: 17.91 kB / 408.7 MB, free: 1.152 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.131e-05/0.291, allocations: 14.73 kB / 408.7 MB, free: 1.148 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009859/0.2919, allocations: 456 kB / 409.1 MB, free: 1.012 MB / 318.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.002871/0.2948, allocations: 1.9 MB / 411 MB, free: 15.69 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001836/0.2967, allocations: 0.5752 MB / 411.6 MB, free: 15.41 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000554/0.2972, allocations: 241.3 kB / 411.9 MB, free: 15.29 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.898e-05/0.2973, allocations: 15.02 kB / 411.9 MB, free: 15.28 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.078e-05/0.2973, allocations: 44.09 kB / 411.9 MB, free: 15.23 MB / 334.1 MB Notification: Performance of pre-optimization done (n=54): time 1.793e-06/0.2973, allocations: 0 / 411.9 MB, free: 15.23 MB / 334.1 MB Notification: Performance of matching and sorting (n=54): time 0.005009/0.3023, allocations: 1.243 MB / 413.2 MB, free: 14.61 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003098/0.3026, allocations: 0.5656 MB / 413.7 MB, free: 13.92 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006531/0.3033, allocations: 0.5345 MB / 414.3 MB, free: 13.6 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 7.026e-05/0.3033, allocations: 40.14 kB / 414.3 MB, free: 13.56 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000257/0.3036, allocations: 299 kB / 414.6 MB, free: 13.29 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001906/0.3038, allocations: 195.8 kB / 414.8 MB, free: 13.12 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001956/0.304, allocations: 114 kB / 414.9 MB, free: 13.05 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0002145/0.3042, allocations: 377 kB / 415.3 MB, free: 12.68 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004985/0.3047, allocations: 188.9 kB / 415.4 MB, free: 12.59 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007502/0.3054, allocations: 418 kB / 415.9 MB, free: 12.25 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001079/0.3065, allocations: 492.3 kB / 416.3 MB, free: 11.96 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.785e-06/0.3065, allocations: 0 / 416.3 MB, free: 11.96 MB / 334.1 MB Notification: Performance of matching and sorting (n=63) (initialization): time 0.002363/0.3089, allocations: 0.8006 MB / 417.1 MB, free: 11.52 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.19e-05/0.3089, allocations: 36.5 kB / 417.2 MB, free: 11.48 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.085e-05/0.3089, allocations: 5.109 kB / 417.2 MB, free: 11.48 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00104/0.31, allocations: 214 kB / 417.4 MB, free: 11.37 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007274/0.3107, allocations: 135.6 kB / 417.5 MB, free: 11.33 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008074/0.3188, allocations: 5.303 MB / 422.8 MB, free: 6.492 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008896/0.3197, allocations: 81.38 kB / 422.9 MB, free: 6.441 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.929e-05/0.3197, allocations: 20.92 kB / 422.9 MB, free: 6.434 MB / 334.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.0003647/0.3201, allocations: 185.7 kB / 423.1 MB, free: 6.277 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001491/0.3202, allocations: 79.38 kB / 423.2 MB, free: 6.234 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002402/0.3227, allocations: 0.7695 MB / 423.9 MB, free: 5.781 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.688e-06/0.3227, allocations: 9.469 kB / 424 MB, free: 5.777 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.514e-06/0.3227, allocations: 128 / 424 MB, free: 5.777 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002271/0.3249, allocations: 1.033 MB / 425 MB, free: 4.941 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003492/0.3284, allocations: 1.472 MB / 426.5 MB, free: 3.906 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.007e-06/0.3284, allocations: 0 / 426.5 MB, free: 3.906 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007497/0.3292, allocations: 126.1 kB / 426.6 MB, free: 3.875 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008622/0.33, allocations: 178.7 kB / 426.8 MB, free: 3.707 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.018e-05/0.3301, allocations: 15.98 kB / 426.8 MB, free: 3.691 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00554/0.3356, allocations: 3.592 MB / 430.4 MB, free: 15.87 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.01e-06/0.3356, allocations: 3.938 kB / 430.4 MB, free: 15.86 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003179/0.3388, allocations: 1.061 MB / 431.4 MB, free: 14.78 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005257/0.3393, allocations: 131.4 kB / 431.6 MB, free: 14.65 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000105/0.3394, allocations: 16.23 kB / 431.6 MB, free: 14.64 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005074/0.3399, allocations: 35.91 kB / 431.6 MB, free: 14.6 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001604/0.3401, allocations: 52.28 kB / 431.7 MB, free: 14.55 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.676e-05/0.3402, allocations: 23.97 kB / 431.7 MB, free: 14.53 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000542/0.3407, allocations: 386.8 kB / 432.1 MB, free: 14.15 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3407, allocations: 0 / 432.1 MB, free: 14.15 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0008736/0.3416, allocations: 215.9 kB / 432.3 MB, free: 13.94 MB / 350.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.003305/0.3449, allocations: 1.625 MB / 433.9 MB, free: 12.28 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.002572/0.3474, allocations: 1.025 MB / 434.9 MB, free: 11.21 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 5.34e-06/0.3474, allocations: 0 / 434.9 MB, free: 11.21 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001049/0.3485, allocations: 0.5078 MB / 435.4 MB, free: 10.67 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001053/0.3496, allocations: 186.7 kB / 435.6 MB, free: 10.49 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01129/0.3608, allocations: 6.05 MB / 441.7 MB, free: 4.312 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000547/0.3614, allocations: 0.8879 MB / 442.6 MB, free: 3.398 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0003706/0.3618, allocations: 81.11 kB / 442.6 MB, free: 3.316 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003415/0.3621, allocations: 235.4 kB / 442.9 MB, free: 3.086 MB / 350.1 MB Notification: Performance of SimCode: time 1.233e-06/0.3621, allocations: 0 / 442.9 MB, free: 3.086 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06439/0.4265, allocations: 20.73 MB / 463.6 MB, free: 14.26 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 14.28/14.71, allocations: 7.906 kB / 463.6 MB, free: 14.25 MB / 382.1 MB " [Timeout remaining time 645] (rm -f Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve.pipe ; mkfifo Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve.pipe >> ../files/Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve.sim & python3 -m fmpy simulate --output-file Modelica_3.2.3_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_3_2_3_Modelica_Thermal_FluidHeatFlow_Examples_PumpAndValve.fmu > Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Thermal/FluidHeatFlow/Examples/PumpAndValve/PumpAndValve.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_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_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve_res.csv. Warning: Get data of variable heatCapacitor.T from file Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve_res.csv failed! Error: Could not read variable pipe.T in file Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve_res.csv. Warning: Get data of variable pipe.T from file Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve_res.csv failed! Error: Could not read variable speed.phi in file Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve_res.csv. Warning: Get data of variable speed.phi from file Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 17.258170697001333]