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.0009777/0.0009777, allocations: 83.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.006374/0.006374, allocations: 161.9 kB / 24.69 MB, free: 9.418 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.9547/0.9547, allocations: 158.6 MB / 186.5 MB, free: 3.035 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.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: Performance of FrontEnd - loaded program: time 1.964e-06/1.964e-06, allocations: 0 / 298.4 MB, free: 3.531 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.944e-05/2.14e-05, allocations: 2.281 kB / 298.4 MB, free: 3.527 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve): time 0.1384/0.1385, allocations: 3.945 MB / 302.4 MB, free: 13.17 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.002566/0.141, allocations: 1.211 MB / 303.6 MB, free: 13.11 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003994/0.1414, allocations: 10.47 kB / 303.6 MB, free: 13.1 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000347/0.1418, allocations: 134.1 kB / 303.7 MB, free: 13.04 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006284/0.1424, allocations: 287.5 kB / 304 MB, free: 12.92 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005816/0.143, allocations: 197.4 kB / 304.2 MB, free: 12.91 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.001205/0.1442, allocations: 0.9754 MB / 305.2 MB, free: 12.48 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003143/0.1445, allocations: 155.5 kB / 305.3 MB, free: 12.41 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008192/0.1453, allocations: 0.5422 MB / 305.9 MB, free: 12.19 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004224/0.1457, allocations: 295.8 kB / 306.2 MB, free: 12.11 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001077/0.1458, allocations: 75.62 kB / 306.2 MB, free: 12.11 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001079/0.1459, allocations: 77.94 kB / 306.3 MB, free: 12.11 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000108/0.1461, allocations: 174.2 kB / 306.5 MB, free: 12 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002893/0.1463, allocations: 299.3 kB / 306.8 MB, free: 11.88 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00105/0.1474, allocations: 0.9569 MB / 307.7 MB, free: 11.55 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.52e-06/0.1474, allocations: 0 / 307.7 MB, free: 11.55 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.704e-06/0.1474, allocations: 0 / 307.7 MB, free: 11.55 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.837e-05/0.1474, allocations: 2.688 kB / 307.7 MB, free: 11.55 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: 111 * Number of variables: 111 Notification: Performance of Generate backend data structure: time 0.001452/0.1489, allocations: 1.051 MB / 308.8 MB, free: 10.82 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.508e-05/0.1489, allocations: 13.95 kB / 308.8 MB, free: 10.82 MB / 282.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001246/0.149, allocations: 97.77 kB / 308.9 MB, free: 10.74 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001209/0.1492, allocations: 92.42 kB / 309 MB, free: 10.7 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006055/0.1498, allocations: 427.4 kB / 309.4 MB, free: 10.4 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001277/0.1499, allocations: 149.1 kB / 309.5 MB, free: 10.26 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.182e-05/0.15, allocations: 49.25 kB / 309.6 MB, free: 10.25 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008934/0.1509, allocations: 1.163 MB / 310.8 MB, free: 9.227 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.651e-05/0.1509, allocations: 0 / 310.8 MB, free: 9.227 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.657e-05/0.1509, allocations: 22.53 kB / 310.8 MB, free: 9.211 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.266e-05/0.1509, allocations: 11.47 kB / 310.8 MB, free: 9.211 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007114/0.1516, allocations: 454.9 kB / 311.2 MB, free: 9.07 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.002153/0.1538, allocations: 1.561 MB / 312.8 MB, free: 8.148 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00119/0.155, allocations: 0.5752 MB / 313.4 MB, free: 7.969 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003486/0.1553, allocations: 233.1 kB / 313.6 MB, free: 7.883 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.831e-05/0.1554, allocations: 12.94 kB / 313.6 MB, free: 7.879 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.342e-05/0.1554, allocations: 44.62 kB / 313.6 MB, free: 7.832 MB / 282.7 MB Notification: Performance of pre-optimization done (n=54): time 2.394e-06/0.1554, allocations: 0 / 313.6 MB, free: 7.832 MB / 282.7 MB Notification: Performance of matching and sorting (n=54): time 0.002785/0.1582, allocations: 1.253 MB / 314.9 MB, free: 7.461 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.04e-05/0.1583, allocations: 0.5676 MB / 315.5 MB, free: 6.77 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004811/0.1587, allocations: 0.5398 MB / 316 MB, free: 6.52 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 4.04e-05/0.1588, allocations: 38.7 kB / 316 MB, free: 6.48 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001373/0.1589, allocations: 289.5 kB / 316.3 MB, free: 6.246 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001009/0.159, allocations: 202.8 kB / 316.5 MB, free: 6.086 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001278/0.1591, allocations: 109.2 kB / 316.6 MB, free: 6.031 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 7.108e-05/0.1592, allocations: 372.7 kB / 317 MB, free: 5.691 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003229/0.1595, allocations: 218.1 kB / 317.2 MB, free: 5.602 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004954/0.16, allocations: 0.9647 MB / 318.2 MB, free: 4.605 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006981/0.1607, allocations: 493 kB / 318.7 MB, free: 4.359 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.587e-06/0.1607, allocations: 0 / 318.7 MB, free: 4.359 MB / 282.7 MB Notification: Performance of matching and sorting (n=63) (initialization): time 0.001748/0.1625, allocations: 0.8395 MB / 319.5 MB, free: 3.984 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.033e-05/0.1625, allocations: 31.92 kB / 319.5 MB, free: 3.953 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.486e-06/0.1625, allocations: 1.219 kB / 319.5 MB, free: 3.953 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007619/0.1633, allocations: 216.3 kB / 319.7 MB, free: 3.887 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005438/0.1638, allocations: 130.1 kB / 319.9 MB, free: 3.875 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004547/0.1684, allocations: 5.255 MB / 325.1 MB, free: 15.39 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006598/0.169, allocations: 82.25 kB / 325.2 MB, free: 15.35 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.38e-05/0.1691, allocations: 18.03 kB / 325.2 MB, free: 15.34 MB / 298.7 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.0002817/0.1694, allocations: 197.7 kB / 325.4 MB, free: 15.18 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.63e-05/0.1694, allocations: 71.89 kB / 325.5 MB, free: 15.14 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001325/0.1708, allocations: 0.7707 MB / 326.3 MB, free: 14.69 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.264e-06/0.1708, allocations: 8.531 kB / 326.3 MB, free: 14.69 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.246e-06/0.1708, allocations: 0.875 kB / 326.3 MB, free: 14.69 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001239/0.172, allocations: 1.035 MB / 327.3 MB, free: 13.85 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002/0.174, allocations: 1.354 MB / 328.7 MB, free: 12.95 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.517e-06/0.174, allocations: 3.938 kB / 328.7 MB, free: 12.94 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000392/0.1744, allocations: 136.9 kB / 328.8 MB, free: 12.9 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004405/0.1749, allocations: 173.5 kB / 329 MB, free: 12.81 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.77e-05/0.1749, allocations: 13.09 kB / 329 MB, free: 12.8 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003118/0.178, allocations: 3.563 MB / 332.5 MB, free: 9.574 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.753e-06/0.178, allocations: 3.938 kB / 332.5 MB, free: 9.57 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001645/0.1796, allocations: 1.071 MB / 333.6 MB, free: 8.945 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002991/0.1799, allocations: 129.6 kB / 333.7 MB, free: 8.844 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.384e-05/0.18, allocations: 13.62 kB / 333.8 MB, free: 8.836 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002563/0.1803, allocations: 34.94 kB / 333.8 MB, free: 8.816 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001059/0.1804, allocations: 48.53 kB / 333.8 MB, free: 8.785 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.801e-05/0.1804, allocations: 13.16 kB / 333.8 MB, free: 8.781 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0003597/0.1807, allocations: 396.6 kB / 334.2 MB, free: 8.547 MB / 298.7 MB Notification: Performance of sort global known variables: time 8e-08/0.1807, allocations: 0 / 334.2 MB, free: 8.547 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0006484/0.1814, allocations: 220 kB / 334.4 MB, free: 8.516 MB / 298.7 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.001844/0.1832, allocations: 1.614 MB / 336.1 MB, free: 7.359 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.001533/0.1848, allocations: 1.039 MB / 337.1 MB, free: 6.441 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 4.068e-06/0.1848, allocations: 3.938 kB / 337.1 MB, free: 6.438 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005968/0.1854, allocations: 0.5156 MB / 337.6 MB, free: 5.895 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000713/0.1861, allocations: 190.4 kB / 337.8 MB, free: 5.715 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007137/0.1932, allocations: 6.097 MB / 343.9 MB, free: 15.47 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002084/0.1934, allocations: 294 kB / 344.2 MB, free: 15.15 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.000293/0.1937, allocations: 81.12 kB / 344.3 MB, free: 15.07 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002159/0.1939, allocations: 232.4 kB / 344.5 MB, free: 14.85 MB / 314.7 MB Notification: Performance of SimCode: time 1.352e-06/0.1939, allocations: 0 / 344.5 MB, free: 14.85 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04318/0.2371, allocations: 22.14 MB / 366.6 MB, free: 8.609 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.343/8.58, allocations: 3.938 kB / 366.6 MB, free: 8.605 MB / 330.7 MB " [Timeout remaining time 651] (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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Thermal/FluidHeatFlow/Examples/PumpAndValve/PumpAndValve.csv","/var/lib/jenkins/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: 10.42250878829509]