Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.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.001828/0.001828, allocations: 107.2 kB / 20.44 MB, free: 1.207 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.00216/0.00216, allocations: 215.5 kB / 23.73 MB, free: 4.406 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.455/1.455, allocations: 230.5 MB / 257.4 MB, free: 7.75 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.ParallelCooling,fileNamePrefix="Modelica_trunk_Modelica_Thermal_FluidHeatFlow_Examples_ParallelCooling",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling,fileNamePrefix="Modelica_trunk_Modelica_Thermal_FluidHeatFlow_Examples_ParallelCooling",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00197/0.00197, allocations: 63.89 kB / 377.7 MB, free: 2.809 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2349/0.2369, allocations: 53.42 MB / 431.1 MB, free: 6.441 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling): time 0.006276/0.2432, allocations: 4.425 MB / 435.6 MB, free: 2.004 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002656/0.2459, allocations: 1.266 MB / 436.8 MB, free: 0.7305 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000332/0.2462, allocations: 11.94 kB / 436.8 MB, free: 0.7188 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004227/0.2466, allocations: 162.6 kB / 437 MB, free: 0.5586 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006497/0.2473, allocations: 329.2 kB / 437.3 MB, free: 240 kB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004488/0.2477, allocations: 227.7 kB / 437.5 MB, free: 12 kB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001239/0.2489, allocations: 1.156 MB / 438.7 MB, free: 14.85 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003687/0.2493, allocations: 222.5 kB / 438.9 MB, free: 14.62 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005121/0.2498, allocations: 454.4 kB / 439.4 MB, free: 14.18 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005769/0.2504, allocations: 441.9 kB / 439.8 MB, free: 13.74 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000156/0.2506, allocations: 104 kB / 439.9 MB, free: 13.64 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001884/0.2507, allocations: 104 kB / 440 MB, free: 13.54 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001887/0.2509, allocations: 211.3 kB / 440.2 MB, free: 13.33 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004401/0.2514, allocations: 450.2 kB / 440.6 MB, free: 12.89 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001196/0.2526, allocations: 1.202 MB / 441.8 MB, free: 11.68 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.948e-06/0.2526, allocations: 4 kB / 441.9 MB, free: 11.68 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.393e-06/0.2526, allocations: 0 / 441.9 MB, free: 11.68 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.209e-05/0.2526, allocations: 0 / 441.9 MB, free: 11.68 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: 144 * Number of variables: 144 Notification: Performance of Generate backend data structure: time 0.002302/0.2549, allocations: 1.261 MB / 443.1 MB, free: 10.37 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.013e-05/0.2549, allocations: 11.98 kB / 443.1 MB, free: 10.36 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001739/0.2551, allocations: 123.9 kB / 443.2 MB, free: 10.22 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001816/0.2553, allocations: 120.3 kB / 443.4 MB, free: 10.11 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009181/0.2562, allocations: 0.4915 MB / 443.9 MB, free: 9.586 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002897/0.2565, allocations: 297.2 kB / 444.1 MB, free: 9.242 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001025/0.2566, allocations: 64.38 kB / 444.2 MB, free: 9.18 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001764/0.2584, allocations: 1.616 MB / 445.8 MB, free: 7.277 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.154e-05/0.2584, allocations: 7.953 kB / 445.8 MB, free: 7.27 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.682e-05/0.2584, allocations: 28 kB / 445.9 MB, free: 7.242 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.538e-05/0.2585, allocations: 16 kB / 445.9 MB, free: 7.227 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001218/0.2597, allocations: 0.5556 MB / 446.4 MB, free: 6.672 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.003293/0.263, allocations: 1.682 MB / 448.1 MB, free: 4.941 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001715/0.2647, allocations: 0.696 MB / 448.8 MB, free: 4.238 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006951/0.2654, allocations: 338.4 kB / 449.1 MB, free: 3.906 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.844e-05/0.2654, allocations: 12.66 kB / 449.1 MB, free: 3.895 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.406e-05/0.2655, allocations: 59.09 kB / 449.2 MB, free: 3.824 MB / 350.1 MB Notification: Performance of pre-optimization done (n=73): time 2.445e-06/0.2655, allocations: 0 / 449.2 MB, free: 3.824 MB / 350.1 MB Notification: Performance of matching and sorting (n=73): time 0.004702/0.2702, allocations: 1.433 MB / 450.6 MB, free: 2.379 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004229/0.2706, allocations: 0.8234 MB / 451.5 MB, free: 1.359 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008074/0.2714, allocations: 0.641 MB / 452.1 MB, free: 0.707 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 7.48e-05/0.2715, allocations: 41.7 kB / 452.1 MB, free: 0.6602 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002795/0.2718, allocations: 341.4 kB / 452.5 MB, free: 328 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002308/0.272, allocations: 269.7 kB / 452.7 MB, free: 56 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002479/0.2722, allocations: 146.7 kB / 452.9 MB, free: 15.9 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.000197/0.2724, allocations: 382.8 kB / 453.3 MB, free: 15.52 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005941/0.273, allocations: 331 kB / 453.6 MB, free: 15.18 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001249/0.2743, allocations: 1.367 MB / 454.9 MB, free: 13.5 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001187/0.2755, allocations: 0.631 MB / 455.6 MB, free: 12.84 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.376e-06/0.2755, allocations: 8 kB / 455.6 MB, free: 12.84 MB / 366.1 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.002526/0.278, allocations: 1.123 MB / 456.7 MB, free: 11.66 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.443e-05/0.2781, allocations: 85.11 kB / 456.8 MB, free: 11.55 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.779e-06/0.2781, allocations: 3.984 kB / 456.8 MB, free: 11.55 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007147/0.2788, allocations: 239.2 kB / 457 MB, free: 11.3 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005888/0.2794, allocations: 123.9 kB / 457.2 MB, free: 11.18 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008246/0.2876, allocations: 6.475 MB / 463.6 MB, free: 4.258 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008701/0.2885, allocations: 95.52 kB / 463.7 MB, free: 4.164 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.708e-05/0.2886, allocations: 24 kB / 463.7 MB, free: 4.141 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (70): * Single equations (assignments): 63 * Array equations: 0 * Algorithm blocks: 3 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * 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): 4 systems {(3,3), (1,3), (1,7), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0003552/0.2889, allocations: 217.8 kB / 464 MB, free: 3.918 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001531/0.2891, allocations: 91.42 kB / 464 MB, free: 3.828 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000184/0.2893, allocations: 95.33 kB / 464.1 MB, free: 3.727 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.185e-06/0.2893, allocations: 8 kB / 464.1 MB, free: 3.719 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.13e-06/0.2893, allocations: 0 / 464.1 MB, free: 3.719 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00227/0.2915, allocations: 1.178 MB / 465.3 MB, free: 2.426 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003582/0.2951, allocations: 1.694 MB / 467 MB, free: 0.6641 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.268e-06/0.2951, allocations: 0 / 467 MB, free: 0.6641 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006073/0.2957, allocations: 128 kB / 467.1 MB, free: 0.5391 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005435/0.2963, allocations: 202.6 kB / 467.3 MB, free: 340 kB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.104e-05/0.2963, allocations: 12 kB / 467.4 MB, free: 328 kB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006262/0.3026, allocations: 4.966 MB / 472.3 MB, free: 11.01 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.827e-06/0.3026, allocations: 4.031 kB / 472.3 MB, free: 11.01 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002979/0.3056, allocations: 1.309 MB / 473.6 MB, free: 9.668 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004051/0.306, allocations: 159.3 kB / 473.8 MB, free: 9.512 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001166/0.3061, allocations: 23.98 kB / 473.8 MB, free: 9.488 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005985/0.3067, allocations: 43.91 kB / 473.9 MB, free: 9.445 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001531/0.3068, allocations: 60.48 kB / 473.9 MB, free: 9.387 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.47e-05/0.3069, allocations: 32.17 kB / 473.9 MB, free: 9.355 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.000574/0.3075, allocations: 455.1 kB / 474.4 MB, free: 8.918 MB / 382.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3075, allocations: 0 / 474.4 MB, free: 8.918 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0008261/0.3083, allocations: 283.8 kB / 474.7 MB, free: 8.641 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 5 (pipe1.T,pipe2.T,pipe3.T,heatCapacitor1.T,heatCapacitor2.T) * 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 (61): * Single equations (assignments): 58 * Array equations: 0 * Algorithm blocks: 0 * 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 {(1,3), (1,3), (1,6)} Notification: Performance of Backend phase and start with SimCode phase: time 0.003234/0.3115, allocations: 1.891 MB / 476.6 MB, free: 6.711 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002037/0.3136, allocations: 1.337 MB / 477.9 MB, free: 5.27 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.887e-06/0.3136, allocations: 7.938 kB / 477.9 MB, free: 5.262 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009902/0.3146, allocations: 0.6675 MB / 478.6 MB, free: 4.551 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009639/0.3155, allocations: 227.3 kB / 478.8 MB, free: 4.328 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01271/0.3282, allocations: 7.763 MB / 486.6 MB, free: 12.3 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003722/0.3286, allocations: 342 kB / 486.9 MB, free: 11.94 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0004476/0.3291, allocations: 114.3 kB / 487 MB, free: 11.82 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004114/0.3295, allocations: 295.3 kB / 487.3 MB, free: 11.53 MB / 398.1 MB Notification: Performance of SimCode: time 8.71e-07/0.3295, allocations: 0 / 487.3 MB, free: 11.53 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07348/0.4029, allocations: 27.56 MB / 0.5028 GB, free: 412 kB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.71/14.11, allocations: 4.062 kB / 0.5028 GB, free: 408 kB / 414.1 MB " [Timeout remaining time 646] (rm -f Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.pipe ; mkfifo Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.pipe >> ../files/Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.sim & python3 -m fmpy simulate --output-file Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.001 Modelica_trunk_Modelica_Thermal_FluidHeatFlow_Examples_ParallelCooling.fmu > Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Thermal/FluidHeatFlow/Examples/ParallelCooling/ParallelCooling.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable heatCapacitor1.T in file Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling_res.csv. Warning: Get data of variable heatCapacitor1.T from file Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling_res.csv failed! Error: Could not read variable heatCapacitor2.T in file Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling_res.csv. Warning: Get data of variable heatCapacitor2.T from file Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling_res.csv failed! Error: Could not read variable pipe1.T in file Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling_res.csv. Warning: Get data of variable pipe1.T from file Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling_res.csv failed! Error: Could not read variable pipe2.T in file Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling_res.csv. Warning: Get data of variable pipe2.T from file Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling_res.csv failed! Error: Could not read variable pipe3.T in file Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling_res.csv. Warning: Get data of variable pipe3.T from file Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 16.69610157608986]