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.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.0007895/0.0007895, allocations: 87.62 kB / 21.43 MB, free: 3.133 MB / 18.57 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.003297/0.003297, allocations: 161.6 kB / 24.69 MB, free: 8.883 MB / 18.57 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 0.8468/0.8468, allocations: 158.6 MB / 186.5 MB, free: 3.051 MB / 170.7 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.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.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: Performance of FrontEnd - loaded program: time 1.393e-06/1.393e-06, allocations: 0 / 298.4 MB, free: 3.527 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.971e-05/2.11e-05, allocations: 2.281 kB / 298.4 MB, free: 3.523 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.WaterPump): time 0.1338/0.1339, allocations: 4.341 MB / 302.8 MB, free: 13.17 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.002155/0.136, allocations: 1.344 MB / 304.1 MB, free: 13.05 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003267/0.1363, allocations: 10.41 kB / 304.1 MB, free: 13.04 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003728/0.1367, allocations: 158.6 kB / 304.3 MB, free: 12.97 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006931/0.1374, allocations: 354.9 kB / 304.6 MB, free: 12.78 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005213/0.1379, allocations: 222.8 kB / 304.8 MB, free: 12.75 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009964/0.1389, allocations: 1.075 MB / 305.9 MB, free: 12.21 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003149/0.1392, allocations: 197 kB / 306.1 MB, free: 12.11 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007685/0.14, allocations: 0.5963 MB / 306.7 MB, free: 11.86 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004688/0.1405, allocations: 330 kB / 307 MB, free: 11.75 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001318/0.1406, allocations: 87.94 kB / 307.1 MB, free: 11.75 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001577/0.1408, allocations: 90.56 kB / 307.2 MB, free: 11.75 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001312/0.1409, allocations: 197.1 kB / 307.4 MB, free: 11.61 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003929/0.1413, allocations: 343.1 kB / 307.7 MB, free: 11.46 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001394/0.1427, allocations: 1.118 MB / 308.9 MB, free: 11.02 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.432e-06/0.1427, allocations: 0.9375 kB / 308.9 MB, free: 11.02 MB / 282.7 MB Notification: Performance of FrontEnd: time 2.083e-06/0.1427, allocations: 5.156 kB / 308.9 MB, free: 11.02 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.356e-05/0.1427, allocations: 1.688 kB / 308.9 MB, free: 11.02 MB / 282.7 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.00198/0.1447, allocations: 1.166 MB / 310 MB, free: 10.22 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.585e-05/0.1448, allocations: 13.55 kB / 310 MB, free: 10.22 MB / 282.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001368/0.1449, allocations: 107.8 kB / 310.1 MB, free: 10.14 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001734/0.1451, allocations: 106.2 kB / 310.2 MB, free: 10.09 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007631/0.1458, allocations: 472.7 kB / 310.7 MB, free: 9.754 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001497/0.146, allocations: 157.3 kB / 310.9 MB, free: 9.609 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.463e-05/0.1461, allocations: 51.67 kB / 310.9 MB, free: 9.594 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001169/0.1472, allocations: 1.567 MB / 312.5 MB, free: 8.137 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.806e-05/0.1472, allocations: 192 / 312.5 MB, free: 8.137 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.486e-05/0.1473, allocations: 33.66 kB / 312.5 MB, free: 8.113 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.297e-05/0.1473, allocations: 12.12 kB / 312.5 MB, free: 8.113 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008044/0.1481, allocations: 0.5033 MB / 313 MB, free: 7.957 MB / 282.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.002428/0.1505, allocations: 1.762 MB / 314.8 MB, free: 6.855 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008302/0.1514, allocations: 499.8 kB / 315.3 MB, free: 6.668 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003424/0.1517, allocations: 231.1 kB / 315.5 MB, free: 6.586 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.651e-05/0.1517, allocations: 9.203 kB / 315.5 MB, free: 6.586 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004782/0.1522, allocations: 322.1 kB / 315.8 MB, free: 6.449 MB / 282.7 MB Notification: Performance of pre-optimization done (n=56): time 1.964e-06/0.1522, allocations: 5.375 kB / 315.8 MB, free: 6.445 MB / 282.7 MB Notification: Performance of matching and sorting (n=56): time 0.002865/0.1551, allocations: 1.323 MB / 317.2 MB, free: 6.059 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000101/0.1552, allocations: 0.8218 MB / 318 MB, free: 5.055 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005363/0.1557, allocations: 0.5947 MB / 318.6 MB, free: 4.781 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 4.869e-05/0.1558, allocations: 44.42 kB / 318.6 MB, free: 4.738 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001565/0.1559, allocations: 347.9 kB / 319 MB, free: 4.465 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001019/0.156, allocations: 198.5 kB / 319.2 MB, free: 4.305 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001432/0.1562, allocations: 131 kB / 319.3 MB, free: 4.238 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 7.378e-05/0.1563, allocations: 380 kB / 319.6 MB, free: 3.895 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003639/0.1566, allocations: 270.4 kB / 319.9 MB, free: 3.758 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005569/0.1572, allocations: 1.327 MB / 321.2 MB, free: 2.332 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008056/0.158, allocations: 0.5641 MB / 321.8 MB, free: 2 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.362e-06/0.158, allocations: 6.344 kB / 321.8 MB, free: 1.996 MB / 282.7 MB Notification: Performance of matching and sorting (n=70) (initialization): time 0.001492/0.1595, allocations: 0.9433 MB / 322.8 MB, free: 1.547 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.078e-05/0.1595, allocations: 60.69 kB / 322.8 MB, free: 1.484 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.15e-05/0.1595, allocations: 10.47 kB / 322.8 MB, free: 1.477 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005256/0.1601, allocations: 220.3 kB / 323 MB, free: 1.391 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003652/0.1604, allocations: 118.2 kB / 323.2 MB, free: 1.355 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004427/0.1649, allocations: 4.336 MB / 327.5 MB, free: 13.67 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007901/0.1656, allocations: 77.5 kB / 327.6 MB, free: 13.63 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.136e-05/0.1657, allocations: 23.77 kB / 327.6 MB, free: 13.62 MB / 298.7 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.000341/0.166, allocations: 209.1 kB / 327.8 MB, free: 13.45 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001057/0.1661, allocations: 84.62 kB / 327.9 MB, free: 13.41 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.92e-05/0.1662, allocations: 83.94 kB / 328 MB, free: 13.34 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.821e-06/0.1662, allocations: 5.156 kB / 328 MB, free: 13.34 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.771e-06/0.1662, allocations: 1.344 kB / 328 MB, free: 13.34 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001343/0.1676, allocations: 1.039 MB / 329 MB, free: 12.51 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00198/0.1696, allocations: 1.399 MB / 330.4 MB, free: 11.54 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.406e-06/0.1696, allocations: 1.25 kB / 330.4 MB, free: 11.54 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003537/0.1699, allocations: 112.9 kB / 330.5 MB, free: 11.5 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003519/0.1703, allocations: 166.8 kB / 330.7 MB, free: 11.42 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.786e-05/0.1703, allocations: 10.16 kB / 330.7 MB, free: 11.41 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003355/0.1737, allocations: 3.688 MB / 334.4 MB, free: 8.105 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.984e-06/0.1737, allocations: 0 / 334.4 MB, free: 8.105 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001628/0.1753, allocations: 1.029 MB / 335.4 MB, free: 7.508 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003232/0.1756, allocations: 139.8 kB / 335.5 MB, free: 7.398 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.338e-05/0.1757, allocations: 19.19 kB / 335.6 MB, free: 7.387 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003253/0.176, allocations: 47.08 kB / 335.6 MB, free: 7.363 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001267/0.1761, allocations: 61.02 kB / 335.7 MB, free: 7.32 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.18e-05/0.1762, allocations: 9.531 kB / 335.7 MB, free: 7.32 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0004115/0.1766, allocations: 421.9 kB / 336.1 MB, free: 7.078 MB / 298.7 MB Notification: Performance of sort global known variables: time 7e-08/0.1766, allocations: 0 / 336.1 MB, free: 7.078 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0006836/0.1773, allocations: 258.6 kB / 336.3 MB, free: 7.035 MB / 298.7 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.001655/0.1789, allocations: 1.585 MB / 337.9 MB, free: 5.523 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.001522/0.1804, allocations: 1.037 MB / 339 MB, free: 4.422 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 5.29e-06/0.1804, allocations: 0 / 339 MB, free: 4.422 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005986/0.181, allocations: 0.5356 MB / 339.5 MB, free: 3.863 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007606/0.1818, allocations: 215.2 kB / 339.7 MB, free: 3.652 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007211/0.189, allocations: 6.329 MB / 346 MB, free: 13.1 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002237/0.1892, allocations: 324.3 kB / 346.4 MB, free: 12.76 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0002966/0.1895, allocations: 89.2 kB / 346.4 MB, free: 12.68 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002254/0.1898, allocations: 256.4 kB / 346.7 MB, free: 12.43 MB / 314.7 MB Notification: Performance of SimCode: time 1.283e-06/0.1898, allocations: 0 / 346.7 MB, free: 12.43 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04152/0.2313, allocations: 24.91 MB / 371.6 MB, free: 3.418 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.749/8.98, allocations: 11.89 kB / 371.6 MB, free: 3.406 MB / 330.7 MB " [Timeout remaining time 651] (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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Thermal/FluidHeatFlow/Examples/WaterPump/WaterPump.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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: 10.635143300518394]