Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.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.001786/0.001786, allocations: 111.1 kB / 20.44 MB, free: 1.176 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.002037/0.002037, allocations: 203.6 kB / 23.73 MB, free: 4.379 MB / 14.72 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 1.48/1.48, allocations: 230.6 MB / 257.5 MB, free: 7.785 MB / 206.1 MB " [Timeout remaining time 178] 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.ParallelCooling,fileNamePrefix="Modelica_4_1_0_Modelica_Thermal_FluidHeatFlow_Examples_ParallelCooling",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling,fileNamePrefix="Modelica_4_1_0_Modelica_Thermal_FluidHeatFlow_Examples_ParallelCooling",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001574/0.001574, allocations: 47.94 kB / 377.7 MB, free: 2.965 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2492/0.2508, allocations: 53.37 MB / 431.1 MB, free: 6.637 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling): time 0.006311/0.2571, allocations: 4.436 MB / 435.5 MB, free: 2.188 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002824/0.2599, allocations: 1.262 MB / 436.8 MB, free: 0.918 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004263/0.2603, allocations: 11.94 kB / 436.8 MB, free: 0.9062 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004951/0.2608, allocations: 158.6 kB / 436.9 MB, free: 0.75 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007554/0.2616, allocations: 329.2 kB / 437.3 MB, free: 436 kB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005326/0.2621, allocations: 231.6 kB / 437.5 MB, free: 204 kB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001406/0.2635, allocations: 1.157 MB / 438.7 MB, free: 15.04 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004037/0.2639, allocations: 230.5 kB / 438.9 MB, free: 14.8 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005449/0.2645, allocations: 454.5 kB / 439.3 MB, free: 14.35 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006981/0.2652, allocations: 0.5018 MB / 439.8 MB, free: 13.85 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001563/0.2653, allocations: 104 kB / 439.9 MB, free: 13.75 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001823/0.2655, allocations: 104 kB / 440 MB, free: 13.64 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001944/0.2657, allocations: 219.3 kB / 440.2 MB, free: 13.43 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006058/0.2663, allocations: 450.1 kB / 440.7 MB, free: 12.99 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001308/0.2676, allocations: 1.191 MB / 441.9 MB, free: 11.79 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.519e-06/0.2676, allocations: 0 / 441.9 MB, free: 11.79 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.392e-06/0.2676, allocations: 0 / 441.9 MB, free: 11.79 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.791e-05/0.2676, allocations: 0 / 441.9 MB, free: 11.79 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.002555/0.2702, allocations: 1.265 MB / 443.1 MB, free: 10.48 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.686e-05/0.2702, allocations: 8.031 kB / 443.1 MB, free: 10.47 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002008/0.2704, allocations: 127.9 kB / 443.3 MB, free: 10.33 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000189/0.2706, allocations: 112.3 kB / 443.4 MB, free: 10.22 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009493/0.2716, allocations: 0.4914 MB / 443.9 MB, free: 9.707 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003068/0.2719, allocations: 309.2 kB / 444.2 MB, free: 9.352 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.986e-05/0.272, allocations: 60.38 kB / 444.2 MB, free: 9.293 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002032/0.274, allocations: 1.612 MB / 445.8 MB, free: 7.395 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.248e-05/0.2741, allocations: 11.95 kB / 445.9 MB, free: 7.383 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.587e-05/0.2741, allocations: 28 kB / 445.9 MB, free: 7.355 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.567e-05/0.2741, allocations: 12 kB / 445.9 MB, free: 7.344 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001267/0.2754, allocations: 0.5672 MB / 446.5 MB, free: 6.773 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.004146/0.2796, allocations: 1.682 MB / 448.1 MB, free: 5.043 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001785/0.2813, allocations: 0.6877 MB / 448.8 MB, free: 4.348 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007476/0.2821, allocations: 338.4 kB / 449.2 MB, free: 4.016 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.567e-05/0.2822, allocations: 12.66 kB / 449.2 MB, free: 4.004 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.007e-05/0.2822, allocations: 51.16 kB / 449.2 MB, free: 3.941 MB / 350.1 MB Notification: Performance of pre-optimization done (n=73): time 4.008e-06/0.2822, allocations: 3.938 kB / 449.2 MB, free: 3.938 MB / 350.1 MB Notification: Performance of matching and sorting (n=73): time 0.004741/0.287, allocations: 1.433 MB / 450.7 MB, free: 2.492 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0005875/0.2875, allocations: 0.8234 MB / 451.5 MB, free: 1.473 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009925/0.2885, allocations: 0.6449 MB / 452.1 MB, free: 0.8164 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001359/0.2887, allocations: 45.7 kB / 452.2 MB, free: 0.7656 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000318/0.289, allocations: 341.3 kB / 452.5 MB, free: 436 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002715/0.2893, allocations: 273.6 kB / 452.8 MB, free: 160 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002653/0.2895, allocations: 142.7 kB / 452.9 MB, free: 12 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002233/0.2898, allocations: 386.8 kB / 453.3 MB, free: 15.62 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006211/0.2904, allocations: 323 kB / 453.6 MB, free: 15.29 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001284/0.2917, allocations: 1.367 MB / 455 MB, free: 13.62 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001184/0.2928, allocations: 0.6349 MB / 455.6 MB, free: 12.95 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.459e-06/0.2928, allocations: 1.641 kB / 455.6 MB, free: 12.95 MB / 366.1 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.002568/0.2954, allocations: 1.131 MB / 456.7 MB, free: 11.77 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.272e-05/0.2955, allocations: 85.09 kB / 456.8 MB, free: 11.66 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.694e-06/0.2955, allocations: 0 / 456.8 MB, free: 11.66 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007085/0.2962, allocations: 243.2 kB / 457.1 MB, free: 11.41 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005725/0.2968, allocations: 123.9 kB / 457.2 MB, free: 11.29 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008339/0.3051, allocations: 6.467 MB / 463.6 MB, free: 4.371 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008917/0.306, allocations: 95.64 kB / 463.7 MB, free: 4.277 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.251e-05/0.3061, allocations: 24 kB / 463.8 MB, free: 4.254 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.0003905/0.3065, allocations: 213.7 kB / 464 MB, free: 4.035 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001741/0.3066, allocations: 95.42 kB / 464.1 MB, free: 3.941 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002152/0.3068, allocations: 95.33 kB / 464.2 MB, free: 3.84 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.198e-06/0.3069, allocations: 4 kB / 464.2 MB, free: 3.836 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.455e-06/0.3069, allocations: 0 / 464.2 MB, free: 3.836 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002382/0.3092, allocations: 1.19 MB / 465.4 MB, free: 2.531 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003805/0.3131, allocations: 1.695 MB / 467 MB, free: 0.7695 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.05e-06/0.3131, allocations: 0 / 467 MB, free: 0.7695 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006145/0.3137, allocations: 127.8 kB / 467.2 MB, free: 0.6445 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005705/0.3142, allocations: 198.7 kB / 467.4 MB, free: 452 kB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.588e-05/0.3143, allocations: 19.98 kB / 467.4 MB, free: 432 kB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006561/0.3209, allocations: 4.966 MB / 472.4 MB, free: 11.11 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.713e-06/0.3209, allocations: 0 / 472.4 MB, free: 11.11 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003169/0.324, allocations: 1.309 MB / 473.7 MB, free: 9.773 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004877/0.3245, allocations: 167.3 kB / 473.8 MB, free: 9.609 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001242/0.3246, allocations: 27.94 kB / 473.9 MB, free: 9.582 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005967/0.3252, allocations: 39.91 kB / 473.9 MB, free: 9.543 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001771/0.3254, allocations: 60.73 kB / 474 MB, free: 9.484 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.371e-05/0.3255, allocations: 19.98 kB / 474 MB, free: 9.465 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0005977/0.3261, allocations: 459.1 kB / 474.4 MB, free: 9.023 MB / 382.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3261, allocations: 0 / 474.4 MB, free: 9.023 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0008993/0.327, allocations: 283.8 kB / 474.7 MB, free: 8.746 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.003327/0.3303, allocations: 1.891 MB / 476.6 MB, free: 6.812 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.00228/0.3326, allocations: 1.329 MB / 477.9 MB, free: 5.379 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 9.488e-06/0.3326, allocations: 4.109 kB / 477.9 MB, free: 5.375 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00115/0.3337, allocations: 0.6794 MB / 478.6 MB, free: 4.652 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001225/0.3349, allocations: 230.9 kB / 478.8 MB, free: 4.426 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01407/0.349, allocations: 7.761 MB / 486.6 MB, free: 12.4 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003901/0.3494, allocations: 354 kB / 486.9 MB, free: 12.03 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0004816/0.3499, allocations: 98.44 kB / 487 MB, free: 11.93 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004257/0.3503, allocations: 295.3 kB / 487.3 MB, free: 11.64 MB / 398.1 MB Notification: Performance of SimCode: time 1.072e-06/0.3503, allocations: 0 / 487.3 MB, free: 11.64 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1085/0.4588, allocations: 27.76 MB / 0.503 GB, free: 380 kB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.78/14.23, allocations: 8.062 kB / 0.503 GB, free: 372 kB / 414.1 MB " [Timeout remaining time 646] (rm -f Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.pipe ; mkfifo Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.pipe >> ../files/Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.sim & python3 -m fmpy simulate --output-file Modelica_4.1.0_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_4_1_0_Modelica_Thermal_FluidHeatFlow_Examples_ParallelCooling.fmu > Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_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_4.1.0_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_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling_res.csv. Warning: Get data of variable heatCapacitor1.T from file Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling_res.csv failed! Error: Could not read variable heatCapacitor2.T in file Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling_res.csv. Warning: Get data of variable heatCapacitor2.T from file Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling_res.csv failed! Error: Could not read variable pipe1.T in file Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling_res.csv. Warning: Get data of variable pipe1.T from file Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling_res.csv failed! Error: Could not read variable pipe2.T in file Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling_res.csv. Warning: Get data of variable pipe2.T from file Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling_res.csv failed! Error: Could not read variable pipe3.T in file Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling_res.csv. Warning: Get data of variable pipe3.T from file Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 16.824466304009547]