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.001969/0.001969, allocations: 117.9 kB / 18.45 MB, free: 4.609 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.002035/0.002035, allocations: 215.3 kB / 21.41 MB, free: 1.648 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.428/1.428, allocations: 207.6 MB / 231.8 MB, free: 4.086 MB / 174.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.001738/0.001738, allocations: 52.56 kB / 342.3 MB, free: 10 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09222/0.09396, allocations: 49.13 MB / 391.4 MB, free: 8.707 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve): time 0.006103/0.1001, allocations: 4.376 MB / 395.8 MB, free: 4.312 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002375/0.1024, allocations: 1.278 MB / 397.1 MB, free: 3.023 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003052/0.1027, allocations: 7.938 kB / 397.1 MB, free: 3.016 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000431/0.1032, allocations: 134.8 kB / 397.2 MB, free: 2.883 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000591/0.1038, allocations: 269.8 kB / 397.5 MB, free: 2.617 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004392/0.1042, allocations: 199.7 kB / 397.7 MB, free: 2.422 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009989/0.1052, allocations: 0.9259 MB / 398.6 MB, free: 1.492 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002948/0.1055, allocations: 172.6 kB / 398.8 MB, free: 1.316 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004499/0.1059, allocations: 378.6 kB / 399.1 MB, free: 0.9453 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004706/0.1064, allocations: 402.4 kB / 399.5 MB, free: 0.5508 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001107/0.1065, allocations: 76 kB / 399.6 MB, free: 488 kB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001261/0.1067, allocations: 83.94 kB / 399.7 MB, free: 404 kB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001695/0.1068, allocations: 167.4 kB / 399.8 MB, free: 236 kB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004026/0.1072, allocations: 418.2 kB / 400.2 MB, free: 15.82 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001077/0.1083, allocations: 0.9258 MB / 401.2 MB, free: 14.89 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.274e-06/0.1083, allocations: 4 kB / 401.2 MB, free: 14.89 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.1083, allocations: 0 / 401.2 MB, free: 14.89 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.577e-05/0.1083, allocations: 0 / 401.2 MB, free: 14.89 MB / 334.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.002132/0.1105, allocations: 1.132 MB / 402.3 MB, free: 13.69 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.885e-05/0.1105, allocations: 8.031 kB / 402.3 MB, free: 13.68 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001532/0.1107, allocations: 95.66 kB / 402.4 MB, free: 13.58 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001681/0.1108, allocations: 92.42 kB / 402.5 MB, free: 13.49 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000762/0.1116, allocations: 493 kB / 403 MB, free: 12.97 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001567/0.1117, allocations: 101 kB / 403.1 MB, free: 12.86 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.331e-05/0.1118, allocations: 48.38 kB / 403.1 MB, free: 12.81 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001173/0.113, allocations: 0.6553 MB / 403.8 MB, free: 12.09 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.732e-05/0.113, allocations: 0 / 403.8 MB, free: 12.09 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.644e-05/0.1131, allocations: 24 kB / 403.8 MB, free: 12.06 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.238e-05/0.1131, allocations: 12 kB / 403.8 MB, free: 12.05 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001093/0.1142, allocations: 455.6 kB / 404.3 MB, free: 11.6 MB / 334.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.003213/0.1174, allocations: 1.975 MB / 406.2 MB, free: 9.504 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001984/0.1194, allocations: 0.6487 MB / 406.9 MB, free: 8.828 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000585/0.12, allocations: 238.1 kB / 407.1 MB, free: 8.594 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.519e-05/0.12, allocations: 16.42 kB / 407.1 MB, free: 8.578 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.211e-05/0.12, allocations: 39 kB / 407.2 MB, free: 8.531 MB / 334.1 MB Notification: Performance of pre-optimization done (n=54): time 2.124e-06/0.12, allocations: 0 / 407.2 MB, free: 8.531 MB / 334.1 MB Notification: Performance of matching and sorting (n=54): time 0.005108/0.1252, allocations: 1.48 MB / 408.7 MB, free: 6.98 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003224/0.1255, allocations: 0.5644 MB / 409.2 MB, free: 6.277 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007083/0.1262, allocations: 0.5304 MB / 409.7 MB, free: 5.734 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 7.707e-05/0.1263, allocations: 41.7 kB / 409.8 MB, free: 5.688 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002657/0.1265, allocations: 293.1 kB / 410.1 MB, free: 5.391 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001796/0.1267, allocations: 202.3 kB / 410.3 MB, free: 5.191 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002071/0.1269, allocations: 110.2 kB / 410.4 MB, free: 5.078 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001843/0.1271, allocations: 374.7 kB / 410.7 MB, free: 4.703 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005263/0.1276, allocations: 193 kB / 410.9 MB, free: 4.516 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007278/0.1284, allocations: 412.3 kB / 411.3 MB, free: 4.031 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001091/0.1294, allocations: 492.5 kB / 411.8 MB, free: 3.531 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.524e-06/0.1294, allocations: 0 / 411.8 MB, free: 3.531 MB / 334.1 MB Notification: Performance of matching and sorting (n=63) (initialization): time 0.00238/0.1318, allocations: 0.8071 MB / 412.6 MB, free: 2.703 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.814e-05/0.1319, allocations: 37.61 kB / 412.7 MB, free: 2.66 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.964e-06/0.1319, allocations: 3.938 kB / 412.7 MB, free: 2.656 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00103/0.1329, allocations: 222.4 kB / 412.9 MB, free: 2.43 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007377/0.1337, allocations: 131.8 kB / 413 MB, free: 2.301 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00821/0.1419, allocations: 5.619 MB / 418.6 MB, free: 12.26 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007579/0.1426, allocations: 83.58 kB / 418.7 MB, free: 12.18 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.06e-05/0.1427, allocations: 16 kB / 418.7 MB, free: 12.16 MB / 350.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.00038/0.1431, allocations: 189.8 kB / 418.9 MB, free: 11.97 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001344/0.1432, allocations: 75.58 kB / 419 MB, free: 11.89 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002384/0.1456, allocations: 0.7734 MB / 419.8 MB, free: 11.11 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.714e-06/0.1456, allocations: 7.938 kB / 419.8 MB, free: 11.1 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.254e-06/0.1456, allocations: 0 / 419.8 MB, free: 11.1 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00229/0.1479, allocations: 1.035 MB / 420.8 MB, free: 9.953 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003391/0.1513, allocations: 1.506 MB / 422.3 MB, free: 8.379 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.597e-06/0.1513, allocations: 3.938 kB / 422.3 MB, free: 8.375 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007594/0.152, allocations: 131.8 kB / 422.4 MB, free: 8.246 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008347/0.1529, allocations: 169.6 kB / 422.6 MB, free: 8.074 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.39e-05/0.1529, allocations: 15.98 kB / 422.6 MB, free: 8.059 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00564/0.1585, allocations: 3.799 MB / 426.4 MB, free: 3.977 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.248e-06/0.1585, allocations: 3.938 kB / 426.4 MB, free: 3.973 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002977/0.1615, allocations: 1.067 MB / 427.5 MB, free: 2.883 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003391/0.1619, allocations: 208.5 kB / 427.7 MB, free: 2.66 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.606e-05/0.1619, allocations: 16 kB / 427.7 MB, free: 2.645 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005086/0.1625, allocations: 39.89 kB / 427.7 MB, free: 2.605 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001261/0.1626, allocations: 44.5 kB / 427.8 MB, free: 2.562 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.36e-05/0.1626, allocations: 15.94 kB / 427.8 MB, free: 2.547 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0005221/0.1631, allocations: 386.8 kB / 428.2 MB, free: 2.172 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1631, allocations: 0 / 428.2 MB, free: 2.172 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000758/0.1639, allocations: 223.8 kB / 428.4 MB, free: 1.953 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.003216/0.1671, allocations: 1.623 MB / 430 MB, free: 300 kB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.002469/0.1696, allocations: 1.006 MB / 431 MB, free: 15.23 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.439e-06/0.1696, allocations: 0 / 431 MB, free: 15.23 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001064/0.1707, allocations: 0.5162 MB / 431.5 MB, free: 14.69 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009277/0.1716, allocations: 198.6 kB / 431.7 MB, free: 14.5 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01119/0.1828, allocations: 6.051 MB / 437.8 MB, free: 8.32 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005371/0.1833, allocations: 0.8917 MB / 438.7 MB, free: 7.402 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.000368/0.1837, allocations: 77.14 kB / 438.8 MB, free: 7.324 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003287/0.184, allocations: 231.4 kB / 439 MB, free: 7.098 MB / 366.1 MB Notification: Performance of SimCode: time 1.162e-06/0.184, allocations: 0 / 439 MB, free: 7.098 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06216/0.2462, allocations: 20.31 MB / 459.3 MB, free: 2.703 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.27/13.52, allocations: 11.78 kB / 459.3 MB, free: 2.691 MB / 382.1 MB " [Timeout remaining time 646] (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: 16.21173580699542]