Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_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.0008682/0.0008682, allocations: 83.69 kB / 20.67 MB, free: 3.887 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.0008797/0.0008797, allocations: 170.3 kB / 23.95 MB, free: 0.6094 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9016/0.9016, allocations: 177.1 MB / 204.3 MB, free: 5.73 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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_4_1_0_Modelica_Thermal_FluidHeatFlow_Examples_PumpAndValve",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve,fileNamePrefix="Modelica_4_1_0_Modelica_Thermal_FluidHeatFlow_Examples_PumpAndValve",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 3.216e-06/3.216e-06, allocations: 0 / 324.5 MB, free: 15.95 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.939e-05/3.26e-05, allocations: 2.281 kB / 324.5 MB, free: 15.95 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve): time 0.004198/0.004231, allocations: 3.98 MB / 328.5 MB, free: 11.95 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.002183/0.006414, allocations: 1.203 MB / 329.7 MB, free: 10.74 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002885/0.006703, allocations: 11.88 kB / 329.7 MB, free: 10.73 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003181/0.007021, allocations: 134.8 kB / 329.9 MB, free: 10.59 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004709/0.007492, allocations: 277.6 kB / 330.1 MB, free: 10.32 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004325/0.007924, allocations: 203.6 kB / 330.3 MB, free: 10.12 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008359/0.00876, allocations: 0.9757 MB / 331.3 MB, free: 9.145 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002683/0.009028, allocations: 165 kB / 331.5 MB, free: 8.977 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008015/0.00983, allocations: 0.5496 MB / 332 MB, free: 8.426 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003929/0.01022, allocations: 295.2 kB / 332.3 MB, free: 8.137 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 8.543e-05/0.01031, allocations: 76 kB / 332.4 MB, free: 8.062 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001173/0.01043, allocations: 80 kB / 332.5 MB, free: 7.984 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001009/0.01053, allocations: 175.4 kB / 332.6 MB, free: 7.812 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002168/0.01074, allocations: 299.3 kB / 332.9 MB, free: 7.52 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000876/0.01162, allocations: 0.958 MB / 333.9 MB, free: 6.559 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.05e-06/0.01162, allocations: 0 / 333.9 MB, free: 6.559 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.933e-06/0.01163, allocations: 0 / 333.9 MB, free: 6.559 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.619e-05/0.01164, allocations: 0 / 333.9 MB, free: 6.559 MB / 298.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.001505/0.01315, allocations: 1.06 MB / 335 MB, free: 5.457 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.136e-05/0.0132, allocations: 8.031 kB / 335 MB, free: 5.449 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001271/0.01333, allocations: 95.7 kB / 335.1 MB, free: 5.344 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001994/0.01353, allocations: 96.41 kB / 335.1 MB, free: 5.25 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005812/0.01411, allocations: 438.4 kB / 335.6 MB, free: 4.793 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001412/0.01425, allocations: 144.4 kB / 335.7 MB, free: 4.629 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.174e-05/0.01431, allocations: 48.38 kB / 335.8 MB, free: 4.582 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009257/0.01523, allocations: 1.174 MB / 336.9 MB, free: 3.215 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.66e-05/0.01525, allocations: 0 / 336.9 MB, free: 3.215 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.658e-05/0.01529, allocations: 20 kB / 337 MB, free: 3.195 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.225e-06/0.0153, allocations: 12 kB / 337 MB, free: 3.184 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006466/0.01594, allocations: 451.6 kB / 337.4 MB, free: 2.742 MB / 298.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.002043/0.01799, allocations: 1.557 MB / 339 MB, free: 1.113 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001103/0.01909, allocations: 0.575 MB / 339.5 MB, free: 0.5273 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003299/0.01942, allocations: 238.2 kB / 339.8 MB, free: 300 kB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.558e-05/0.01945, allocations: 9.141 kB / 339.8 MB, free: 292 kB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.06e-05/0.01949, allocations: 55 kB / 339.8 MB, free: 228 kB / 298.7 MB Notification: Performance of pre-optimization done (n=54): time 2.385e-06/0.01949, allocations: 3.938 kB / 339.8 MB, free: 224 kB / 298.7 MB Notification: Performance of matching and sorting (n=54): time 0.002666/0.02215, allocations: 1.24 MB / 341.1 MB, free: 14.96 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002553/0.02241, allocations: 0.5683 MB / 341.6 MB, free: 14.26 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004603/0.02287, allocations: 0.5343 MB / 342.2 MB, free: 13.71 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 4.342e-05/0.02291, allocations: 37.7 kB / 342.2 MB, free: 13.67 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001676/0.02308, allocations: 293.1 kB / 342.5 MB, free: 13.38 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001245/0.0232, allocations: 198.3 kB / 342.7 MB, free: 13.18 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001283/0.02333, allocations: 114.3 kB / 342.8 MB, free: 13.07 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001094/0.02344, allocations: 370.7 kB / 343.2 MB, free: 12.7 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003205/0.02376, allocations: 222.9 kB / 343.4 MB, free: 12.47 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005896/0.02435, allocations: 0.9596 MB / 344.4 MB, free: 11.3 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006322/0.02498, allocations: 491.8 kB / 344.8 MB, free: 10.8 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.136e-06/0.02499, allocations: 0 / 344.8 MB, free: 10.8 MB / 314.7 MB Notification: Performance of matching and sorting (n=63) (initialization): time 0.00129/0.02628, allocations: 0.8385 MB / 345.7 MB, free: 9.926 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.648e-05/0.02631, allocations: 29.7 kB / 345.7 MB, free: 9.891 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.508e-06/0.02632, allocations: 4 kB / 345.7 MB, free: 9.887 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005588/0.02688, allocations: 222.3 kB / 345.9 MB, free: 9.66 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003586/0.02724, allocations: 127.8 kB / 346 MB, free: 9.535 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004751/0.03199, allocations: 5.253 MB / 351.3 MB, free: 3.941 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004477/0.03244, allocations: 79.64 kB / 351.4 MB, free: 3.863 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.763e-05/0.03247, allocations: 19.98 kB / 351.4 MB, free: 3.844 MB / 314.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.0002332/0.0327, allocations: 189.7 kB / 351.6 MB, free: 3.648 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.002e-05/0.03277, allocations: 75.52 kB / 351.7 MB, free: 3.574 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001278/0.03405, allocations: 0.7758 MB / 352.4 MB, free: 2.781 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.807e-06/0.03405, allocations: 4 kB / 352.4 MB, free: 2.777 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.585e-06/0.03405, allocations: 0 / 352.4 MB, free: 2.777 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001209/0.03526, allocations: 1.037 MB / 353.5 MB, free: 1.629 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002143/0.03741, allocations: 1.351 MB / 354.8 MB, free: 220 kB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.106e-06/0.03741, allocations: 0 / 354.8 MB, free: 220 kB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003862/0.03779, allocations: 135.8 kB / 355 MB, free: 84 kB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004624/0.03826, allocations: 181.5 kB / 355.1 MB, free: 15.9 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.361e-05/0.03829, allocations: 7.984 kB / 355.1 MB, free: 15.89 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003037/0.04133, allocations: 3.566 MB / 358.7 MB, free: 12.1 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.333e-06/0.04133, allocations: 0 / 358.7 MB, free: 12.1 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001668/0.043, allocations: 1.065 MB / 359.8 MB, free: 11.01 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002749/0.04327, allocations: 135.4 kB / 359.9 MB, free: 10.88 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.227e-05/0.04332, allocations: 12 kB / 359.9 MB, free: 10.87 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002654/0.04359, allocations: 39.95 kB / 360 MB, free: 10.83 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001052/0.0437, allocations: 44.42 kB / 360 MB, free: 10.78 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.091e-05/0.04372, allocations: 15.98 kB / 360 MB, free: 10.77 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0003395/0.04406, allocations: 390.8 kB / 360.4 MB, free: 10.39 MB / 330.7 MB Notification: Performance of sort global known variables: time 8e-08/0.04406, allocations: 0 / 360.4 MB, free: 10.39 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0005495/0.04461, allocations: 223.8 kB / 360.6 MB, free: 10.17 MB / 330.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.002098/0.0467, allocations: 1.617 MB / 362.2 MB, free: 8.516 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001515/0.04822, allocations: 1.038 MB / 363.3 MB, free: 7.418 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.406e-06/0.04822, allocations: 0 / 363.3 MB, free: 7.418 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006052/0.04883, allocations: 0.5155 MB / 363.8 MB, free: 6.879 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006251/0.04945, allocations: 192.9 kB / 364 MB, free: 6.695 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007695/0.05715, allocations: 6.095 MB / 370.1 MB, free: 444 kB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000231/0.05738, allocations: 294 kB / 370.4 MB, free: 124 kB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0002896/0.05767, allocations: 81.11 kB / 370.4 MB, free: 44 kB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002428/0.05791, allocations: 240.5 kB / 370.7 MB, free: 15.8 MB / 346.7 MB Notification: Performance of SimCode: time 1.433e-06/0.05791, allocations: 0 / 370.7 MB, free: 15.8 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04508/0.103, allocations: 22.16 MB / 392.8 MB, free: 10 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.498/8.601, allocations: 11.62 kB / 392.8 MB, free: 9.996 MB / 362.7 MB " [Timeout remaining time 651] (rm -f Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve.pipe ; mkfifo Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve.pipe >> ../files/Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve.sim & python3 -m fmpy simulate --output-file Modelica_4.1.0_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_4_1_0_Modelica_Thermal_FluidHeatFlow_Examples_PumpAndValve.fmu > Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Thermal/FluidHeatFlow/Examples/PumpAndValve/PumpAndValve.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_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_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve_res.csv. Warning: Get data of variable heatCapacitor.T from file Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve_res.csv failed! Error: Could not read variable pipe.T in file Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve_res.csv. Warning: Get data of variable pipe.T from file Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve_res.csv failed! Error: Could not read variable speed.phi in file Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve_res.csv. Warning: Get data of variable speed.phi from file Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 10.396428059786558]