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.001672/0.001672, allocations: 114 kB / 20.43 MB, free: 1.457 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.002014/0.002014, allocations: 215.3 kB / 23.74 MB, free: 4.672 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.421/1.421, allocations: 230.5 MB / 257.4 MB, free: 8.02 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.00187/0.00187, allocations: 64.12 kB / 377.8 MB, free: 3.117 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.218/0.2199, allocations: 53.41 MB / 431.2 MB, free: 7.004 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling): time 0.00644/0.2263, allocations: 4.995 MB / 436.2 MB, free: 1.992 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002406/0.2287, allocations: 1.324 MB / 437.5 MB, free: 0.6602 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002605/0.229, allocations: 11.94 kB / 437.5 MB, free: 0.6484 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004318/0.2294, allocations: 166.5 kB / 437.7 MB, free: 496 kB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006073/0.23, allocations: 329.2 kB / 438 MB, free: 164 kB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004651/0.2305, allocations: 231.6 kB / 438.2 MB, free: 15.93 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001356/0.2318, allocations: 1.156 MB / 439.4 MB, free: 14.77 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003986/0.2322, allocations: 235.5 kB / 439.6 MB, free: 14.53 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004918/0.2327, allocations: 454.5 kB / 440.1 MB, free: 14.09 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006426/0.2334, allocations: 0.498 MB / 440.6 MB, free: 13.59 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001519/0.2335, allocations: 104 kB / 440.7 MB, free: 13.48 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001595/0.2337, allocations: 104 kB / 440.8 MB, free: 13.38 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001937/0.2339, allocations: 215.3 kB / 441 MB, free: 13.17 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004916/0.2344, allocations: 0.5094 MB / 441.5 MB, free: 12.66 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001343/0.2357, allocations: 1.186 MB / 442.7 MB, free: 11.47 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.2357, allocations: 4 kB / 442.7 MB, free: 11.47 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.2357, allocations: 4 kB / 442.7 MB, free: 11.46 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.499e-05/0.2357, allocations: 0 / 442.7 MB, free: 11.46 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.002344/0.2381, allocations: 1.265 MB / 443.9 MB, free: 10.15 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.87e-05/0.2381, allocations: 12.03 kB / 443.9 MB, free: 10.14 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001872/0.2383, allocations: 120 kB / 444.1 MB, free: 10.01 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001819/0.2385, allocations: 112.3 kB / 444.2 MB, free: 9.898 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009779/0.2395, allocations: 0.4953 MB / 444.7 MB, free: 9.375 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003347/0.2398, allocations: 305.2 kB / 445 MB, free: 9.023 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.804e-05/0.2399, allocations: 60.38 kB / 445 MB, free: 8.965 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001417/0.2413, allocations: 0.8587 MB / 445.9 MB, free: 8.004 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.427e-05/0.2413, allocations: 11.88 kB / 445.9 MB, free: 7.992 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.76e-05/0.2414, allocations: 28 kB / 445.9 MB, free: 7.965 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.816e-05/0.2414, allocations: 16 kB / 445.9 MB, free: 7.949 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00126/0.2427, allocations: 0.5712 MB / 446.5 MB, free: 7.379 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.003687/0.2464, allocations: 2.085 MB / 448.6 MB, free: 5.195 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001728/0.2481, allocations: 0.687 MB / 449.3 MB, free: 4.5 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006632/0.2488, allocations: 338.4 kB / 449.6 MB, free: 4.168 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.838e-05/0.2488, allocations: 20.7 kB / 449.6 MB, free: 4.148 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.339e-05/0.2489, allocations: 51.7 kB / 449.7 MB, free: 4.09 MB / 350.1 MB Notification: Performance of pre-optimization done (n=73): time 2.044e-06/0.2489, allocations: 4 kB / 449.7 MB, free: 4.086 MB / 350.1 MB Notification: Performance of matching and sorting (n=73): time 0.004731/0.2536, allocations: 1.426 MB / 451.1 MB, free: 2.645 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004463/0.254, allocations: 0.8272 MB / 451.9 MB, free: 1.621 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008163/0.2549, allocations: 0.6488 MB / 452.6 MB, free: 0.9609 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 6.981e-05/0.2549, allocations: 49.64 kB / 452.6 MB, free: 0.9062 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002965/0.2552, allocations: 345.3 kB / 453 MB, free: 0.5625 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002241/0.2554, allocations: 261.7 kB / 453.2 MB, free: 312 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002422/0.2557, allocations: 146.7 kB / 453.4 MB, free: 160 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002071/0.2559, allocations: 382.8 kB / 453.7 MB, free: 15.77 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005428/0.2564, allocations: 245.9 kB / 454 MB, free: 15.53 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008277/0.2573, allocations: 0.5312 MB / 454.5 MB, free: 14.89 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001168/0.2584, allocations: 0.6349 MB / 455.2 MB, free: 14.23 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.476e-06/0.2584, allocations: 0 / 455.2 MB, free: 14.23 MB / 366.1 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.002444/0.2609, allocations: 1.04 MB / 456.2 MB, free: 13.16 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.969e-05/0.2609, allocations: 89.09 kB / 456.3 MB, free: 13.05 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.763e-06/0.261, allocations: 0 / 456.3 MB, free: 13.05 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006869/0.2616, allocations: 239.2 kB / 456.5 MB, free: 12.8 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005724/0.2622, allocations: 127.9 kB / 456.6 MB, free: 12.68 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008068/0.2703, allocations: 6.526 MB / 463.2 MB, free: 5.699 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007337/0.271, allocations: 99.52 kB / 463.3 MB, free: 5.602 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.411e-05/0.2711, allocations: 24 kB / 463.3 MB, free: 5.578 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.0003319/0.2714, allocations: 213.7 kB / 463.5 MB, free: 5.359 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001428/0.2715, allocations: 91.42 kB / 463.6 MB, free: 5.27 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001887/0.2717, allocations: 95.33 kB / 463.7 MB, free: 5.168 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.621e-06/0.2717, allocations: 8 kB / 463.7 MB, free: 5.16 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.408e-06/0.2717, allocations: 4 kB / 463.7 MB, free: 5.156 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002284/0.274, allocations: 1.178 MB / 464.9 MB, free: 3.863 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003657/0.2777, allocations: 1.843 MB / 466.7 MB, free: 1.953 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.456e-06/0.2777, allocations: 192 / 466.7 MB, free: 1.953 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006232/0.2783, allocations: 135.9 kB / 466.8 MB, free: 1.82 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005503/0.2789, allocations: 194.6 kB / 467 MB, free: 1.621 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.083e-05/0.2789, allocations: 16 kB / 467 MB, free: 1.605 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006323/0.2852, allocations: 5.001 MB / 472 MB, free: 12.27 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/0.2852, allocations: 4.125 kB / 472.1 MB, free: 12.26 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00296/0.2882, allocations: 1.316 MB / 473.4 MB, free: 10.91 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003629/0.2885, allocations: 171.2 kB / 473.5 MB, free: 10.74 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001106/0.2887, allocations: 16 kB / 473.6 MB, free: 10.73 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005747/0.2892, allocations: 39.91 kB / 473.6 MB, free: 10.69 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00014/0.2894, allocations: 60.55 kB / 473.6 MB, free: 10.63 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.727e-05/0.2894, allocations: 27.98 kB / 473.7 MB, free: 10.6 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0005881/0.29, allocations: 455.1 kB / 474.1 MB, free: 10.16 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.29, allocations: 0 / 474.1 MB, free: 10.16 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0008474/0.2909, allocations: 283.8 kB / 474.4 MB, free: 9.887 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.003275/0.2941, allocations: 1.888 MB / 476.3 MB, free: 7.957 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002044/0.2962, allocations: 1.254 MB / 477.5 MB, free: 6.613 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.247e-06/0.2962, allocations: 8.125 kB / 477.5 MB, free: 6.605 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001003/0.2972, allocations: 0.6637 MB / 478.2 MB, free: 5.898 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009739/0.2982, allocations: 231.2 kB / 478.4 MB, free: 5.672 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01249/0.3106, allocations: 7.452 MB / 485.9 MB, free: 14.04 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006205/0.3113, allocations: 0.9439 MB / 486.8 MB, free: 13.07 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0003947/0.3117, allocations: 106.4 kB / 486.9 MB, free: 12.96 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004131/0.3121, allocations: 291.3 kB / 487.2 MB, free: 12.67 MB / 398.1 MB Notification: Performance of SimCode: time 9.92e-07/0.3121, allocations: 4 kB / 487.2 MB, free: 12.67 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07519/0.3873, allocations: 26.12 MB / 0.5013 GB, free: 2.898 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 14.42/14.81, allocations: 7.078 kB / 0.5013 GB, free: 2.895 MB / 414.1 MB " [Timeout remaining time 645] (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: 17.33849697400001]