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.001806/0.001806, allocations: 111.1 kB / 20.44 MB, free: 1.062 MB / 14.72 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.002434/0.002434, allocations: 213.6 kB / 23.73 MB, free: 4.164 MB / 14.72 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 1.393/1.393, allocations: 230.5 MB / 257.4 MB, free: 7.793 MB / 206.1 MB " [Timeout remaining time 178] 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 0.002988/0.002988, allocations: 59.89 kB / 377.7 MB, free: 2.934 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2631/0.2661, allocations: 53.42 MB / 431.1 MB, free: 6.449 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve): time 0.00589/0.272, allocations: 3.963 MB / 435.1 MB, free: 2.477 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002748/0.2747, allocations: 1.188 MB / 436.3 MB, free: 1.281 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003968/0.2751, allocations: 11.94 kB / 436.3 MB, free: 1.27 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004738/0.2756, allocations: 134.8 kB / 436.4 MB, free: 1.137 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007233/0.2763, allocations: 269.8 kB / 436.7 MB, free: 0.8711 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005338/0.2768, allocations: 195.7 kB / 436.9 MB, free: 0.6797 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009995/0.2778, allocations: 0.9297 MB / 437.8 MB, free: 15.75 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002943/0.2781, allocations: 168.5 kB / 438 MB, free: 15.58 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005067/0.2786, allocations: 390.5 kB / 438.4 MB, free: 15.2 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004799/0.2791, allocations: 346.4 kB / 438.7 MB, free: 14.86 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001193/0.2792, allocations: 76 kB / 438.8 MB, free: 14.78 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001782/0.2794, allocations: 83.94 kB / 438.9 MB, free: 14.7 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000161/0.2796, allocations: 171.4 kB / 439 MB, free: 14.53 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003681/0.2799, allocations: 342.5 kB / 439.4 MB, free: 14.2 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001069/0.281, allocations: 0.9387 MB / 440.3 MB, free: 13.25 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.324e-06/0.281, allocations: 4 kB / 440.3 MB, free: 13.25 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.423e-06/0.281, allocations: 0 / 440.3 MB, free: 13.25 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.514e-05/0.281, allocations: 0 / 440.3 MB, free: 13.25 MB / 350.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.002053/0.2831, allocations: 1.061 MB / 441.4 MB, free: 12.14 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.386e-05/0.2831, allocations: 15.98 kB / 441.4 MB, free: 12.13 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001495/0.2833, allocations: 87.7 kB / 441.5 MB, free: 12.03 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002603/0.2835, allocations: 92.42 kB / 441.6 MB, free: 11.94 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000845/0.2844, allocations: 439.2 kB / 442 MB, free: 11.48 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001909/0.2846, allocations: 152.3 kB / 442.1 MB, free: 11.31 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.011e-05/0.2847, allocations: 52.33 kB / 442.2 MB, free: 11.26 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001446/0.2861, allocations: 1.165 MB / 443.3 MB, free: 9.902 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.103e-05/0.2861, allocations: 0 / 443.3 MB, free: 9.902 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.196e-05/0.2862, allocations: 24 kB / 443.4 MB, free: 9.879 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.635e-05/0.2862, allocations: 8 kB / 443.4 MB, free: 9.871 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001073/0.2873, allocations: 459.6 kB / 443.8 MB, free: 9.422 MB / 350.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.003182/0.2905, allocations: 1.561 MB / 445.4 MB, free: 7.793 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001929/0.2924, allocations: 0.5796 MB / 446 MB, free: 7.203 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005761/0.293, allocations: 242.1 kB / 446.2 MB, free: 6.965 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.032e-05/0.293, allocations: 12.42 kB / 446.2 MB, free: 6.953 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.028e-05/0.2931, allocations: 43 kB / 446.3 MB, free: 6.902 MB / 350.1 MB Notification: Performance of pre-optimization done (n=54): time 2.695e-06/0.2931, allocations: 0 / 446.3 MB, free: 6.902 MB / 350.1 MB Notification: Performance of matching and sorting (n=54): time 0.005041/0.2981, allocations: 1.246 MB / 447.5 MB, free: 5.641 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003343/0.2984, allocations: 0.5722 MB / 448.1 MB, free: 4.934 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007512/0.2992, allocations: 0.5343 MB / 448.6 MB, free: 4.387 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 7.051e-05/0.2993, allocations: 37.7 kB / 448.6 MB, free: 4.344 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002526/0.2995, allocations: 297.1 kB / 448.9 MB, free: 4.043 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001963/0.2997, allocations: 194.3 kB / 449.1 MB, free: 3.852 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001942/0.2999, allocations: 114.3 kB / 449.2 MB, free: 3.734 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000196/0.3001, allocations: 374.7 kB / 449.6 MB, free: 3.359 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005484/0.3006, allocations: 222.9 kB / 449.8 MB, free: 3.137 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001064/0.3017, allocations: 0.9675 MB / 450.8 MB, free: 1.961 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001135/0.3028, allocations: 487.5 kB / 451.3 MB, free: 1.465 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.567e-06/0.3028, allocations: 7.875 kB / 451.3 MB, free: 1.457 MB / 350.1 MB Notification: Performance of matching and sorting (n=63) (initialization): time 0.002447/0.3053, allocations: 0.8307 MB / 452.1 MB, free: 0.5977 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.453e-05/0.3053, allocations: 37.7 kB / 452.1 MB, free: 0.5547 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.163e-06/0.3053, allocations: 0 / 452.1 MB, free: 0.5547 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001014/0.3064, allocations: 218.4 kB / 452.4 MB, free: 340 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007618/0.3071, allocations: 127.8 kB / 452.5 MB, free: 212 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008215/0.3153, allocations: 5.246 MB / 457.7 MB, free: 10.62 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007125/0.316, allocations: 79.62 kB / 457.8 MB, free: 10.54 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.542e-05/0.3161, allocations: 19.98 kB / 457.8 MB, free: 10.52 MB / 366.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.0003112/0.3164, allocations: 197.8 kB / 458 MB, free: 10.32 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001298/0.3165, allocations: 75.53 kB / 458.1 MB, free: 10.24 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002362/0.3189, allocations: 0.7642 MB / 458.9 MB, free: 9.469 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.666e-06/0.3189, allocations: 7.938 kB / 458.9 MB, free: 9.461 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.194e-06/0.3189, allocations: 11.94 kB / 458.9 MB, free: 9.449 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002275/0.3212, allocations: 1.025 MB / 459.9 MB, free: 8.309 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003302/0.3245, allocations: 1.355 MB / 461.3 MB, free: 6.891 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.848e-06/0.3245, allocations: 4 kB / 461.3 MB, free: 6.887 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000765/0.3253, allocations: 131.8 kB / 461.4 MB, free: 6.758 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008319/0.3261, allocations: 173.5 kB / 461.6 MB, free: 6.582 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.086e-05/0.3261, allocations: 15.98 kB / 461.6 MB, free: 6.566 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005434/0.3316, allocations: 3.578 MB / 465.1 MB, free: 2.762 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.687e-06/0.3316, allocations: 3.938 kB / 465.2 MB, free: 2.758 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002866/0.3344, allocations: 1.057 MB / 466.2 MB, free: 1.676 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003312/0.3348, allocations: 135.3 kB / 466.3 MB, free: 1.543 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.982e-05/0.3349, allocations: 12 kB / 466.4 MB, free: 1.531 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005062/0.3354, allocations: 35.91 kB / 466.4 MB, free: 1.496 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001268/0.3355, allocations: 48.41 kB / 466.4 MB, free: 1.449 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.545e-05/0.3355, allocations: 19.98 kB / 466.5 MB, free: 1.43 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0004962/0.336, allocations: 382.8 kB / 466.8 MB, free: 1.059 MB / 366.1 MB Notification: Performance of sort global known variables: time 6e-08/0.336, allocations: 0 / 466.8 MB, free: 1.059 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0007784/0.3368, allocations: 223.8 kB / 467 MB, free: 0.8398 MB / 366.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.003237/0.34, allocations: 1.629 MB / 468.7 MB, free: 15.18 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002474/0.3425, allocations: 1.03 MB / 469.7 MB, free: 14.09 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 8.075e-06/0.3425, allocations: 11.89 kB / 469.7 MB, free: 14.08 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001077/0.3436, allocations: 0.5119 MB / 470.2 MB, free: 13.54 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009332/0.3445, allocations: 180.8 kB / 470.4 MB, free: 13.37 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01103/0.3556, allocations: 6.155 MB / 476.6 MB, free: 7.055 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003059/0.3559, allocations: 289.9 kB / 476.8 MB, free: 6.746 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0003563/0.3562, allocations: 81.12 kB / 476.9 MB, free: 6.664 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003312/0.3566, allocations: 231.4 kB / 477.2 MB, free: 6.438 MB / 382.1 MB Notification: Performance of SimCode: time 8.01e-07/0.3566, allocations: 4 kB / 477.2 MB, free: 6.434 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06402/0.4206, allocations: 22.08 MB / 499.2 MB, free: 0.6992 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.67/14.09, allocations: 3.938 kB / 499.2 MB, free: 0.6953 MB / 398.1 MB " [Timeout remaining time 646] (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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Thermal/FluidHeatFlow/Examples/PumpAndValve/PumpAndValve.csv","/var/lib/jenkins1/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: 16.50733441999182]