Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009428/0.0009428, allocations: 76.36 kB / 20.67 MB, free: 3.895 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0008446/0.0008446, allocations: 160.9 kB / 23.95 MB, free: 0.6133 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.8544/0.8544, allocations: 177 MB / 204.1 MB, free: 5.754 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve,fileNamePrefix="Modelica_trunk_Modelica_Thermal_FluidHeatFlow_Examples_PumpAndValve",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve,fileNamePrefix="Modelica_trunk_Modelica_Thermal_FluidHeatFlow_Examples_PumpAndValve",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.004e-06/2.004e-06, allocations: 0 / 324.5 MB, free: 15.92 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.425e-05/1.625e-05, allocations: 3.125 kB / 324.5 MB, free: 15.91 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve): time 0.004797/0.004813, allocations: 3.973 MB / 328.5 MB, free: 11.92 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.00225/0.007064, allocations: 1.203 MB / 329.7 MB, free: 10.71 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002876/0.007351, allocations: 11.94 kB / 329.7 MB, free: 10.7 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003636/0.007715, allocations: 126.8 kB / 329.8 MB, free: 10.57 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004117/0.008126, allocations: 285.6 kB / 330.1 MB, free: 10.29 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003144/0.008441, allocations: 203.5 kB / 330.3 MB, free: 10.09 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006249/0.009066, allocations: 0.9681 MB / 331.3 MB, free: 9.117 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002104/0.009276, allocations: 165 kB / 331.4 MB, free: 8.949 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004383/0.009714, allocations: 0.5418 MB / 332 MB, free: 8.406 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002628/0.009977, allocations: 299.1 kB / 332.3 MB, free: 8.113 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 6.79e-05/0.01005, allocations: 76 kB / 332.3 MB, free: 8.039 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.243e-05/0.01014, allocations: 80 kB / 332.4 MB, free: 7.961 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 8.654e-05/0.01022, allocations: 175.4 kB / 332.6 MB, free: 7.789 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001743/0.0104, allocations: 295.3 kB / 332.9 MB, free: 7.5 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005848/0.01098, allocations: 0.9657 MB / 333.8 MB, free: 6.531 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.384e-06/0.01099, allocations: 4 kB / 333.8 MB, free: 6.527 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.002e-06/0.01099, allocations: 0 / 333.8 MB, free: 6.527 MB / 298.7 MB Notification: Performance of Transformations before backend: time 8.305e-06/0.01099, allocations: 0 / 333.8 MB, free: 6.527 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.001157/0.01215, allocations: 1.045 MB / 334.9 MB, free: 5.438 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.22e-05/0.01218, allocations: 15.98 kB / 334.9 MB, free: 5.422 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001034/0.01229, allocations: 91.7 kB / 335 MB, free: 5.32 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001498/0.01244, allocations: 100.4 kB / 335.1 MB, free: 5.223 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004675/0.0129, allocations: 438.4 kB / 335.5 MB, free: 4.77 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001051/0.01301, allocations: 152.4 kB / 335.7 MB, free: 4.598 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.205e-05/0.01306, allocations: 44.38 kB / 335.7 MB, free: 4.555 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008103/0.01387, allocations: 1.158 MB / 336.9 MB, free: 3.199 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.607e-05/0.01389, allocations: 7.969 kB / 336.9 MB, free: 3.191 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.601e-05/0.01392, allocations: 27.94 kB / 336.9 MB, free: 3.164 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.215e-06/0.01393, allocations: 12 kB / 336.9 MB, free: 3.152 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006257/0.01456, allocations: 451.7 kB / 337.4 MB, free: 2.711 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.001915/0.01647, allocations: 1.553 MB / 338.9 MB, free: 1.086 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001032/0.01751, allocations: 0.5731 MB / 339.5 MB, free: 0.5 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003221/0.01783, allocations: 238.2 kB / 339.7 MB, free: 272 kB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.051e-05/0.01786, allocations: 12.5 kB / 339.7 MB, free: 260 kB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.235e-05/0.01788, allocations: 47.02 kB / 339.8 MB, free: 204 kB / 298.7 MB Notification: Performance of pre-optimization done (n=54): time 2.505e-06/0.01788, allocations: 3.984 kB / 339.8 MB, free: 200 kB / 298.7 MB Notification: Performance of matching and sorting (n=54): time 0.002623/0.02051, allocations: 1.252 MB / 341 MB, free: 14.93 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001489/0.02066, allocations: 0.5683 MB / 341.6 MB, free: 14.22 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003962/0.02105, allocations: 0.5343 MB / 342.1 MB, free: 13.68 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 3.677e-05/0.02109, allocations: 41.7 kB / 342.2 MB, free: 13.63 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001448/0.02123, allocations: 293.1 kB / 342.5 MB, free: 13.34 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001012/0.02133, allocations: 194.3 kB / 342.6 MB, free: 13.15 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001121/0.02145, allocations: 106.3 kB / 342.8 MB, free: 13.04 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 9.877e-05/0.02155, allocations: 374.8 kB / 343.1 MB, free: 12.66 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003025/0.02185, allocations: 218.9 kB / 343.3 MB, free: 12.45 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007725/0.02262, allocations: 0.9713 MB / 344.3 MB, free: 11.26 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006114/0.02323, allocations: 487.8 kB / 344.8 MB, free: 10.76 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.418e-06/0.02324, allocations: 7.984 kB / 344.8 MB, free: 10.75 MB / 314.7 MB Notification: Performance of matching and sorting (n=63) (initialization): time 0.001221/0.02446, allocations: 0.8229 MB / 345.6 MB, free: 9.898 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.715e-05/0.02448, allocations: 41.72 kB / 345.7 MB, free: 9.852 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.33e-06/0.02449, allocations: 0 / 345.7 MB, free: 9.852 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005277/0.02502, allocations: 218.3 kB / 345.9 MB, free: 9.629 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003492/0.02537, allocations: 127.8 kB / 346 MB, free: 9.504 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0044/0.02977, allocations: 5.254 MB / 351.2 MB, free: 3.91 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002978/0.03006, allocations: 79.64 kB / 351.3 MB, free: 3.832 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.863e-05/0.03009, allocations: 24.11 kB / 351.3 MB, free: 3.809 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.0001706/0.03026, allocations: 201.7 kB / 351.5 MB, free: 3.602 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.792e-05/0.03033, allocations: 71.58 kB / 351.6 MB, free: 3.531 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001226/0.03156, allocations: 0.764 MB / 352.4 MB, free: 2.75 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.111e-06/0.03156, allocations: 8 kB / 352.4 MB, free: 2.742 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.242e-06/0.03156, allocations: 0 / 352.4 MB, free: 2.742 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00116/0.03272, allocations: 1.033 MB / 353.4 MB, free: 1.598 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001784/0.03451, allocations: 1.355 MB / 354.8 MB, free: 188 kB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.685e-06/0.03451, allocations: 0 / 354.8 MB, free: 188 kB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003742/0.03488, allocations: 135.8 kB / 354.9 MB, free: 52 kB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004227/0.03531, allocations: 173.5 kB / 355.1 MB, free: 15.88 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.747e-05/0.03533, allocations: 15.98 kB / 355.1 MB, free: 15.86 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003027/0.03836, allocations: 3.554 MB / 358.6 MB, free: 12.08 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.03836, allocations: 0 / 358.6 MB, free: 12.08 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001519/0.03988, allocations: 1.069 MB / 359.7 MB, free: 10.99 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001787/0.04006, allocations: 135.4 kB / 359.8 MB, free: 10.86 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.717e-05/0.04011, allocations: 16 kB / 359.9 MB, free: 10.84 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002435/0.04035, allocations: 39.91 kB / 359.9 MB, free: 10.8 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.984e-05/0.04045, allocations: 44.41 kB / 359.9 MB, free: 10.75 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.109e-05/0.04047, allocations: 19.98 kB / 360 MB, free: 10.73 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.00032/0.04079, allocations: 386.8 kB / 360.3 MB, free: 10.36 MB / 330.7 MB Notification: Performance of sort global known variables: time 9.1e-08/0.04079, allocations: 4 kB / 360.3 MB, free: 10.36 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0005181/0.04131, allocations: 219.8 kB / 360.6 MB, free: 10.14 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.001803/0.04311, allocations: 1.621 MB / 362.2 MB, free: 8.48 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001352/0.04446, allocations: 1.034 MB / 363.2 MB, free: 7.391 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 5.941e-06/0.04447, allocations: 4 kB / 363.2 MB, free: 7.387 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005778/0.04505, allocations: 0.5158 MB / 363.7 MB, free: 6.848 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005367/0.04559, allocations: 185.3 kB / 363.9 MB, free: 6.672 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006854/0.05244, allocations: 6.102 MB / 370 MB, free: 412 kB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001886/0.05263, allocations: 290 kB / 370.3 MB, free: 96 kB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0002088/0.05284, allocations: 85.12 kB / 370.4 MB, free: 12 kB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002279/0.05306, allocations: 232.5 kB / 370.6 MB, free: 15.78 MB / 346.7 MB Notification: Performance of SimCode: time 5.51e-07/0.05307, allocations: 0 / 370.6 MB, free: 15.78 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03459/0.08765, allocations: 22.16 MB / 392.8 MB, free: 9.945 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.451/8.539, allocations: 14.8 kB / 392.8 MB, free: 9.934 MB / 362.7 MB " [Timeout remaining time 651] (rm -f Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve.pipe ; mkfifo Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve.pipe >> ../files/Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve.sim & python3 -m fmpy simulate --output-file Modelica_trunk_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_trunk_Modelica_Thermal_FluidHeatFlow_Examples_PumpAndValve.fmu > Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_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_trunk_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_trunk_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve_res.csv. Warning: Get data of variable heatCapacitor.T from file Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve_res.csv failed! Error: Could not read variable pipe.T in file Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve_res.csv. Warning: Get data of variable pipe.T from file Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve_res.csv failed! Error: Could not read variable speed.phi in file Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve_res.csv. Warning: Get data of variable speed.phi from file Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 10.266876500099897]