Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.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.00176/0.00176, allocations: 119.1 kB / 20.45 MB, free: 1.176 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.002123/0.002123, allocations: 203.5 kB / 23.72 MB, free: 4.391 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.466/1.466, allocations: 230.5 MB / 257.4 MB, free: 7.73 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.IndirectCooling,fileNamePrefix="Modelica_trunk_Modelica_Thermal_FluidHeatFlow_Examples_IndirectCooling",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling,fileNamePrefix="Modelica_trunk_Modelica_Thermal_FluidHeatFlow_Examples_IndirectCooling",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001963/0.001963, allocations: 63.89 kB / 377.7 MB, free: 2.824 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2374/0.2393, allocations: 53.4 MB / 431.1 MB, free: 6.461 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling): time 0.006747/0.2461, allocations: 4.989 MB / 436.1 MB, free: 1.461 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002889/0.249, allocations: 1.402 MB / 437.5 MB, free: 52 kB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003801/0.2494, allocations: 19.88 kB / 437.5 MB, free: 32 kB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005109/0.2499, allocations: 194.4 kB / 437.7 MB, free: 15.84 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007962/0.2507, allocations: 400.6 kB / 438.1 MB, free: 15.45 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005251/0.2512, allocations: 255.6 kB / 438.4 MB, free: 15.2 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001493/0.2527, allocations: 1.362 MB / 439.7 MB, free: 13.83 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004484/0.2531, allocations: 267.8 kB / 440 MB, free: 13.54 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006374/0.2538, allocations: 0.5294 MB / 440.5 MB, free: 13.01 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006916/0.2545, allocations: 0.4937 MB / 441 MB, free: 12.52 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001742/0.2546, allocations: 120 kB / 441.1 MB, free: 12.4 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002198/0.2549, allocations: 120 kB / 441.3 MB, free: 12.28 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002213/0.2551, allocations: 263 kB / 441.5 MB, free: 12.02 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005225/0.2556, allocations: 0.5096 MB / 442 MB, free: 11.51 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001419/0.257, allocations: 1.42 MB / 443.4 MB, free: 10.09 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.222e-06/0.257, allocations: 0 / 443.4 MB, free: 10.09 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.643e-06/0.257, allocations: 0 / 443.4 MB, free: 10.09 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.861e-05/0.257, allocations: 0 / 443.4 MB, free: 10.09 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: 169 * Number of variables: 169 Notification: Performance of Generate backend data structure: time 0.002604/0.2597, allocations: 1.44 MB / 444.9 MB, free: 8.594 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.332e-05/0.2597, allocations: 15.98 kB / 444.9 MB, free: 8.578 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002138/0.2599, allocations: 132.6 kB / 445 MB, free: 8.438 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002387/0.2602, allocations: 132.2 kB / 445.2 MB, free: 8.309 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001119/0.2613, allocations: 0.5823 MB / 445.7 MB, free: 7.699 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003198/0.2616, allocations: 309.9 kB / 446 MB, free: 7.344 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000112/0.2617, allocations: 68.38 kB / 446.1 MB, free: 7.277 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00212/0.2638, allocations: 1.872 MB / 448 MB, free: 5.07 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.248e-05/0.2639, allocations: 0 / 448 MB, free: 5.07 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.368e-05/0.2639, allocations: 36 kB / 448 MB, free: 5.035 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.587e-05/0.2639, allocations: 20 kB / 448 MB, free: 5.016 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001384/0.2653, allocations: 0.6207 MB / 448.7 MB, free: 4.395 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.004096/0.2694, allocations: 1.984 MB / 450.6 MB, free: 2.352 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002518/0.2719, allocations: 0.749 MB / 451.4 MB, free: 1.598 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007432/0.2727, allocations: 319.4 kB / 451.7 MB, free: 1.285 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.638e-05/0.2727, allocations: 16.64 kB / 451.7 MB, free: 1.27 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.469e-05/0.2728, allocations: 51.22 kB / 451.8 MB, free: 1.207 MB / 350.1 MB Notification: Performance of pre-optimization done (n=72): time 2.344e-06/0.2728, allocations: 0 / 451.8 MB, free: 1.207 MB / 350.1 MB Notification: Performance of matching and sorting (n=72): time 0.002546/0.2753, allocations: 1.021 MB / 452.8 MB, free: 176 kB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0005463/0.2759, allocations: 0.9528 MB / 453.7 MB, free: 14.99 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001053/0.2769, allocations: 0.7942 MB / 454.5 MB, free: 14.19 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 8.522e-05/0.277, allocations: 45.7 kB / 454.6 MB, free: 14.14 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003428/0.2774, allocations: 424.8 kB / 455 MB, free: 13.72 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002263/0.2776, allocations: 265.7 kB / 455.3 MB, free: 13.46 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000289/0.2779, allocations: 158.6 kB / 455.4 MB, free: 13.3 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001667/0.2781, allocations: 337.9 kB / 455.7 MB, free: 12.96 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006383/0.2787, allocations: 331 kB / 456.1 MB, free: 12.62 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001439/0.2801, allocations: 1.555 MB / 457.6 MB, free: 10.71 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001218/0.2813, allocations: 0.6638 MB / 458.3 MB, free: 10.01 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.838e-06/0.2814, allocations: 4 kB / 458.3 MB, free: 10.01 MB / 366.1 MB Notification: Performance of matching and sorting (n=90) (initialization): time 0.001835/0.2832, allocations: 1.023 MB / 459.3 MB, free: 8.926 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.075e-05/0.2833, allocations: 93.05 kB / 459.4 MB, free: 8.816 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.113e-06/0.2833, allocations: 3.938 kB / 459.4 MB, free: 8.812 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003536/0.2836, allocations: 132.3 kB / 459.5 MB, free: 8.668 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006951/0.2843, allocations: 151.8 kB / 459.7 MB, free: 8.52 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005939/0.2903, allocations: 6.778 MB / 466.5 MB, free: 1.164 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009656/0.2912, allocations: 107.4 kB / 466.6 MB, free: 1.059 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.135e-05/0.2913, allocations: 20 kB / 466.6 MB, free: 1.039 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 (80): * Single equations (assignments): 72 * Array equations: 0 * Algorithm blocks: 3 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 4 systems {(3,1), (1,1), (3,1), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.00041/0.2917, allocations: 242.1 kB / 466.8 MB, free: 0.7969 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000174/0.2919, allocations: 107.3 kB / 466.9 MB, free: 0.6914 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001797/0.2921, allocations: 105 kB / 467 MB, free: 0.5859 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.023e-06/0.2921, allocations: 8 kB / 467 MB, free: 0.5781 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.588e-06/0.2921, allocations: 3.984 kB / 467 MB, free: 0.5742 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001453/0.2935, allocations: 0.9699 MB / 468 MB, free: 15.5 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002867/0.2964, allocations: 1.549 MB / 469.6 MB, free: 13.88 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.118e-06/0.2964, allocations: 0 / 469.6 MB, free: 13.88 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007522/0.2972, allocations: 151.8 kB / 469.7 MB, free: 13.73 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001006/0.2973, allocations: 32.83 kB / 469.7 MB, free: 13.7 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.118e-05/0.2973, allocations: 12 kB / 469.8 MB, free: 13.68 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001049/0.2983, allocations: 1.315 MB / 471.1 MB, free: 12.25 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.463e-06/0.2983, allocations: 0 / 471.1 MB, free: 12.25 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002069/0.3004, allocations: 1.082 MB / 472.1 MB, free: 11.16 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004349/0.3009, allocations: 183.2 kB / 472.3 MB, free: 10.98 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001278/0.301, allocations: 20 kB / 472.3 MB, free: 10.96 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006404/0.3016, allocations: 39.97 kB / 472.4 MB, free: 10.92 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.02e-05/0.3017, allocations: 44.56 kB / 472.4 MB, free: 10.87 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.997e-05/0.3017, allocations: 16 kB / 472.4 MB, free: 10.86 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0007468/0.3025, allocations: 0.5537 MB / 473 MB, free: 10.3 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3025, allocations: 4 kB / 473 MB, free: 10.3 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0007934/0.3033, allocations: 299.7 kB / 473.3 MB, free: 10.01 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (heatCapacitor.T,pipe1.T,outerPipe.T,innerPipe.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 (70): * Single equations (assignments): 69 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.00249/0.3058, allocations: 1.656 MB / 475 MB, free: 8.32 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002218/0.308, allocations: 1.438 MB / 476.4 MB, free: 6.766 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.927e-06/0.308, allocations: 0 / 476.4 MB, free: 6.766 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007005/0.3087, allocations: 402.2 kB / 476.8 MB, free: 6.359 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00114/0.3098, allocations: 287.3 kB / 477.1 MB, free: 6.082 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01268/0.3225, allocations: 8.155 MB / 485.2 MB, free: 13.66 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004262/0.323, allocations: 390.2 kB / 485.6 MB, free: 13.24 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0005871/0.3235, allocations: 127.5 kB / 485.7 MB, free: 13.11 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005213/0.3241, allocations: 359.3 kB / 486.1 MB, free: 12.76 MB / 398.1 MB Notification: Performance of SimCode: time 1.032e-06/0.3241, allocations: 0 / 486.1 MB, free: 12.76 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.113/0.4371, allocations: 29.39 MB / 0.5034 GB, free: 15.86 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 14.18/14.62, allocations: 7.594 kB / 0.5034 GB, free: 15.86 MB / 430.1 MB " [Timeout remaining time 645] (rm -f Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.pipe ; mkfifo Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.pipe >> ../files/Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.sim & python3 -m fmpy simulate --output-file Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling_res.csv --start-time 0 --stop-time 1.5 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.001 Modelica_trunk_Modelica_Thermal_FluidHeatFlow_Examples_IndirectCooling.fmu > Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Thermal/FluidHeatFlow/Examples/IndirectCooling/IndirectCooling.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.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.IndirectCooling_res.csv. Warning: Get data of variable heatCapacitor.T from file Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling_res.csv failed! Error: Could not read variable innerPipe.T in file Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling_res.csv. Warning: Get data of variable innerPipe.T from file Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling_res.csv failed! Error: Could not read variable outerPipe.T in file Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling_res.csv. Warning: Get data of variable outerPipe.T from file Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling_res.csv failed! Error: Could not read variable pipe1.T in file Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling_res.csv. Warning: Get data of variable pipe1.T from file Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 17.130064747761935]