Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.WaterPump.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0019/0.0019, allocations: 112 kB / 18.4 MB, free: 4.672 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001576/0.001576, allocations: 190.9 kB / 21.34 MB, free: 1.738 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.402/1.402, allocations: 205.1 MB / 229.2 MB, free: 4.371 MB / 174.1 MB " [Timeout remaining time 179] 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Thermal.FluidHeatFlow.Examples.WaterPump,fileNamePrefix="Modelica_3_2_3_Modelica_Thermal_FluidHeatFlow_Examples_WaterPump",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Thermal.FluidHeatFlow.Examples.WaterPump,fileNamePrefix="Modelica_3_2_3_Modelica_Thermal_FluidHeatFlow_Examples_WaterPump",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.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.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001713/0.001713, allocations: 51.39 kB / 334.7 MB, free: 14.7 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09098/0.0927, allocations: 46.63 MB / 381.3 MB, free: 0.9531 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.WaterPump): time 0.006379/0.09912, allocations: 4.813 MB / 386.2 MB, free: 12.12 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.00262/0.1018, allocations: 1.414 MB / 387.6 MB, free: 10.69 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002769/0.1021, allocations: 11.94 kB / 387.6 MB, free: 10.68 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004066/0.1025, allocations: 150.7 kB / 387.7 MB, free: 10.53 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006611/0.1032, allocations: 333.4 kB / 388.1 MB, free: 10.2 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004493/0.1037, allocations: 219.6 kB / 388.3 MB, free: 9.988 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001114/0.1048, allocations: 1.031 MB / 389.3 MB, free: 8.953 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004316/0.1052, allocations: 297.8 kB / 389.6 MB, free: 8.652 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005375/0.1058, allocations: 406.5 kB / 390 MB, free: 8.254 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005336/0.1063, allocations: 450.1 kB / 390.4 MB, free: 7.812 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001393/0.1065, allocations: 88 kB / 390.5 MB, free: 7.727 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001687/0.1066, allocations: 88 kB / 390.6 MB, free: 7.641 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001956/0.1069, allocations: 195.3 kB / 390.8 MB, free: 7.449 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004846/0.1073, allocations: 481.9 kB / 391.3 MB, free: 6.977 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001152/0.1085, allocations: 1.082 MB / 392.3 MB, free: 5.891 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.9e-06/0.1085, allocations: 0 / 392.3 MB, free: 5.891 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.624e-06/0.1085, allocations: 0 / 392.3 MB, free: 5.891 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.29e-05/0.1085, allocations: 4 kB / 392.3 MB, free: 5.887 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: 127 * Number of variables: 127 Notification: Performance of Generate backend data structure: time 0.002262/0.1108, allocations: 1.243 MB / 393.6 MB, free: 4.578 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.067e-05/0.1109, allocations: 8.031 kB / 393.6 MB, free: 4.57 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000166/0.111, allocations: 112 kB / 393.7 MB, free: 4.453 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000156/0.1112, allocations: 100.4 kB / 393.8 MB, free: 4.355 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000769/0.112, allocations: 0.5245 MB / 394.3 MB, free: 3.789 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000157/0.1121, allocations: 101.3 kB / 394.4 MB, free: 3.68 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.441e-05/0.1122, allocations: 56.33 kB / 394.5 MB, free: 3.625 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001419/0.1137, allocations: 0.801 MB / 395.3 MB, free: 2.719 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.019e-05/0.1137, allocations: 4 kB / 395.3 MB, free: 2.715 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.512e-05/0.1138, allocations: 32 kB / 395.3 MB, free: 2.684 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.361e-05/0.1138, allocations: 12 kB / 395.3 MB, free: 2.672 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001257/0.115, allocations: 0.5047 MB / 395.8 MB, free: 2.164 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.003379/0.1184, allocations: 2.175 MB / 398 MB, free: 15.85 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001314/0.1198, allocations: 0.5418 MB / 398.6 MB, free: 15.3 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005991/0.1204, allocations: 258.4 kB / 398.8 MB, free: 15.04 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.963e-05/0.1204, allocations: 17.64 kB / 398.8 MB, free: 15.02 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007641/0.1212, allocations: 322.9 kB / 399.1 MB, free: 14.7 MB / 334.1 MB Notification: Performance of pre-optimization done (n=56): time 3.056e-06/0.1212, allocations: 0 / 399.1 MB, free: 14.7 MB / 334.1 MB Notification: Performance of matching and sorting (n=56): time 0.005293/0.1265, allocations: 1.486 MB / 400.6 MB, free: 13.16 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.00052/0.1271, allocations: 0.8233 MB / 401.4 MB, free: 12.14 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008287/0.1279, allocations: 0.594 MB / 402 MB, free: 11.54 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 8.782e-05/0.128, allocations: 37.7 kB / 402.1 MB, free: 11.5 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003458/0.1284, allocations: 349.1 kB / 402.4 MB, free: 11.15 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002062/0.1286, allocations: 206.2 kB / 402.6 MB, free: 10.95 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002266/0.1288, allocations: 134.2 kB / 402.8 MB, free: 10.81 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0002173/0.129, allocations: 374.8 kB / 403.1 MB, free: 10.43 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007304/0.1298, allocations: 213 kB / 403.3 MB, free: 10.23 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00103/0.1308, allocations: 0.5285 MB / 403.9 MB, free: 9.574 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001275/0.1321, allocations: 0.5614 MB / 404.4 MB, free: 8.969 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.967e-06/0.1321, allocations: 0 / 404.4 MB, free: 8.969 MB / 334.1 MB Notification: Performance of matching and sorting (n=70) (initialization): time 0.002517/0.1346, allocations: 0.9055 MB / 405.3 MB, free: 8.039 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.32e-05/0.1347, allocations: 59.41 kB / 405.4 MB, free: 7.969 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.41e-05/0.1347, allocations: 7.984 kB / 405.4 MB, free: 7.961 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007624/0.1355, allocations: 221.5 kB / 405.6 MB, free: 7.738 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006202/0.1361, allocations: 115.8 kB / 405.7 MB, free: 7.625 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006979/0.1431, allocations: 4.593 MB / 410.3 MB, free: 2.758 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008378/0.144, allocations: 83.58 kB / 410.4 MB, free: 2.676 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.956e-05/0.1441, allocations: 24 kB / 410.4 MB, free: 2.652 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 6 (oneWayValve.backward,trapezoid.count,$PRE.trapezoid.count,trapezoid.T_start,$PRE.trapezoid.T_start,$whenCondition1) * 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: 2 * 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 {(9,3), (1,11)} Notification: Performance of prepare postOptimizeDAE: time 0.0003549/0.1444, allocations: 209.9 kB / 410.6 MB, free: 2.438 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000139/0.1446, allocations: 83.47 kB / 410.7 MB, free: 2.355 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001527/0.1447, allocations: 82.86 kB / 410.8 MB, free: 2.266 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.44e-06/0.1447, allocations: 4 kB / 410.8 MB, free: 2.262 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.735e-06/0.1448, allocations: 0 / 410.8 MB, free: 2.262 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002226/0.147, allocations: 1.054 MB / 411.8 MB, free: 1.094 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002992/0.15, allocations: 1.551 MB / 413.4 MB, free: 15.47 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.018e-06/0.15, allocations: 0 / 413.4 MB, free: 15.47 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006251/0.1506, allocations: 111.8 kB / 413.5 MB, free: 15.36 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000572/0.1512, allocations: 165.6 kB / 413.7 MB, free: 15.2 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.619e-05/0.1513, allocations: 8 kB / 413.7 MB, free: 15.19 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005265/0.1565, allocations: 3.941 MB / 417.6 MB, free: 10.96 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.003e-06/0.1566, allocations: 0 / 417.6 MB, free: 10.96 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002582/0.1592, allocations: 1.028 MB / 418.6 MB, free: 9.918 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000418/0.1596, allocations: 216.5 kB / 418.9 MB, free: 9.688 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001/0.1597, allocations: 16 kB / 418.9 MB, free: 9.672 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005974/0.1603, allocations: 44.02 kB / 418.9 MB, free: 9.629 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001766/0.1605, allocations: 60.42 kB / 419 MB, free: 9.57 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.704e-05/0.1606, allocations: 12 kB / 419 MB, free: 9.559 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0005615/0.1611, allocations: 423.1 kB / 419.4 MB, free: 9.148 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1611, allocations: 0 / 419.4 MB, free: 9.148 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0008564/0.162, allocations: 259.9 kB / 419.6 MB, free: 8.895 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (speed.phi) * Number of discrete variables: 4 ($whenCondition1,trapezoid.T_start,trapezoid.count,oneWayValve.backward) * Number of discrete states: 1 (trapezoid.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (41): * Single equations (assignments): 37 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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 {(2,3), (1,11)} Notification: Performance of Backend phase and start with SimCode phase: time 0.002844/0.1648, allocations: 1.603 MB / 421.3 MB, free: 7.25 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.002275/0.1671, allocations: 1.011 MB / 422.3 MB, free: 6.188 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 7.324e-06/0.1672, allocations: 8.188 kB / 422.3 MB, free: 6.18 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00109/0.1683, allocations: 0.5472 MB / 422.8 MB, free: 5.609 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00107/0.1693, allocations: 214.9 kB / 423 MB, free: 5.398 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01095/0.1803, allocations: 6.147 MB / 429.2 MB, free: 15.08 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006308/0.181, allocations: 0.916 MB / 430.1 MB, free: 14.13 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0004462/0.1814, allocations: 89.2 kB / 430.2 MB, free: 14.04 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000401/0.1818, allocations: 263.3 kB / 430.4 MB, free: 13.79 MB / 366.1 MB Notification: Performance of SimCode: time 1.102e-06/0.1818, allocations: 0 / 430.4 MB, free: 13.79 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06164/0.2435, allocations: 22.75 MB / 453.2 MB, free: 6.945 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.02/13.27, allocations: 15.94 kB / 453.2 MB, free: 6.93 MB / 382.1 MB " [Timeout remaining time 647] (rm -f Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.WaterPump.pipe ; mkfifo Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.WaterPump.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.WaterPump.pipe >> ../files/Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.WaterPump.sim & python3 -m fmpy simulate --output-file Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.WaterPump_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_WaterPump.fmu > Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.WaterPump.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.WaterPump_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Thermal/FluidHeatFlow/Examples/WaterPump/WaterPump.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.WaterPump.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable speed.phi in file Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.WaterPump_res.csv. Warning: Get data of variable speed.phi from file Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.WaterPump_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 15.910646714968607]