Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008023/0.0008023, allocations: 76.08 kB / 20.67 MB, free: 3.891 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008211/0.0008211, allocations: 149.4 kB / 23.93 MB, free: 0.6289 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.8532/0.8532, allocations: 173.3 MB / 200.4 MB, free: 9.43 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling,fileNamePrefix="Modelica_4_0_0_Modelica_Thermal_FluidHeatFlow_Examples_IndirectCooling",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling,fileNamePrefix="Modelica_4_0_0_Modelica_Thermal_FluidHeatFlow_Examples_IndirectCooling",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.432e-06/1.432e-06, allocations: 0 / 318.4 MB, free: 6.352 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 9.629e-06/1.106e-05, allocations: 2.281 kB / 318.4 MB, free: 6.348 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling): time 0.003964/0.003975, allocations: 4.964 MB / 323.4 MB, free: 1.355 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001394/0.005369, allocations: 1.378 MB / 324.8 MB, free: 15.97 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002175/0.005586, allocations: 15.88 kB / 324.8 MB, free: 15.95 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003181/0.005904, allocations: 198.2 kB / 325 MB, free: 15.76 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004541/0.006358, allocations: 420.4 kB / 325.4 MB, free: 15.34 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003707/0.006729, allocations: 255.5 kB / 325.6 MB, free: 15.09 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.001096/0.007825, allocations: 1.427 MB / 327.1 MB, free: 13.66 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002939/0.008119, allocations: 267.7 kB / 327.3 MB, free: 13.38 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005/0.008619, allocations: 0.7796 MB / 328.1 MB, free: 12.6 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003733/0.008992, allocations: 438.8 kB / 328.5 MB, free: 12.17 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 9.882e-05/0.009091, allocations: 116 kB / 328.7 MB, free: 12.06 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000106/0.009197, allocations: 127.9 kB / 328.8 MB, free: 11.93 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001237/0.009321, allocations: 255.1 kB / 329 MB, free: 11.68 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002673/0.009588, allocations: 459 kB / 329.5 MB, free: 11.23 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008347/0.01042, allocations: 1.452 MB / 330.9 MB, free: 9.777 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.296e-06/0.01043, allocations: 4 kB / 330.9 MB, free: 9.773 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.082e-06/0.01043, allocations: 0 / 330.9 MB, free: 9.773 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.004e-05/0.01044, allocations: 0 / 330.9 MB, free: 9.773 MB / 298.7 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.001469/0.01191, allocations: 1.428 MB / 332.4 MB, free: 8.289 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.797e-05/0.01194, allocations: 8.922 kB / 332.4 MB, free: 8.281 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001448/0.01209, allocations: 132.6 kB / 332.5 MB, free: 8.145 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000129/0.01222, allocations: 140.1 kB / 332.6 MB, free: 8.008 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006398/0.01286, allocations: 0.5738 MB / 333.2 MB, free: 7.406 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001675/0.01303, allocations: 313.9 kB / 333.5 MB, free: 7.043 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.026e-05/0.0131, allocations: 72.38 kB / 333.6 MB, free: 6.973 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001432/0.01453, allocations: 1.857 MB / 335.4 MB, free: 4.785 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.558e-05/0.01454, allocations: 192 / 335.4 MB, free: 4.785 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.02e-05/0.01459, allocations: 35.94 kB / 335.5 MB, free: 4.75 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.115e-05/0.0146, allocations: 16 kB / 335.5 MB, free: 4.734 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007936/0.0154, allocations: 0.6285 MB / 336.1 MB, free: 4.105 MB / 298.7 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.002351/0.01775, allocations: 1.992 MB / 338.1 MB, free: 2.055 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001379/0.01913, allocations: 0.7416 MB / 338.9 MB, free: 1.301 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004285/0.01956, allocations: 318.7 kB / 339.2 MB, free: 0.9883 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.932e-05/0.0196, allocations: 20.64 kB / 339.2 MB, free: 0.9688 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.672e-05/0.01962, allocations: 51.16 kB / 339.2 MB, free: 0.9062 MB / 298.7 MB Notification: Performance of pre-optimization done (n=72): time 1.713e-06/0.01962, allocations: 0 / 339.2 MB, free: 0.9062 MB / 298.7 MB Notification: Performance of matching and sorting (n=72): time 0.00144/0.02106, allocations: 1.021 MB / 340.3 MB, free: 15.86 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0005074/0.02157, allocations: 0.9489 MB / 341.2 MB, free: 14.69 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006144/0.02219, allocations: 0.7999 MB / 342 MB, free: 13.88 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 4.679e-05/0.02223, allocations: 45.7 kB / 342.1 MB, free: 13.83 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002079/0.02244, allocations: 420.9 kB / 342.5 MB, free: 13.41 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001293/0.02257, allocations: 261.7 kB / 342.7 MB, free: 13.16 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001542/0.02272, allocations: 162.5 kB / 342.9 MB, free: 12.99 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 7.937e-05/0.0228, allocations: 337.9 kB / 343.2 MB, free: 12.66 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003701/0.02317, allocations: 334.9 kB / 343.5 MB, free: 12.31 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007683/0.02394, allocations: 1.553 MB / 345.1 MB, free: 10.39 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007376/0.02468, allocations: 0.6639 MB / 345.8 MB, free: 9.695 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.805e-06/0.02468, allocations: 0 / 345.8 MB, free: 9.695 MB / 314.7 MB Notification: Performance of matching and sorting (n=90) (initialization): time 0.001042/0.02572, allocations: 1.03 MB / 346.8 MB, free: 8.609 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.874e-05/0.02576, allocations: 81.11 kB / 346.9 MB, free: 8.512 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.382e-06/0.02577, allocations: 4 kB / 346.9 MB, free: 8.508 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002188/0.02599, allocations: 124.2 kB / 347 MB, free: 8.371 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003489/0.02634, allocations: 163.8 kB / 347.1 MB, free: 8.211 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00343/0.02977, allocations: 6.781 MB / 353.9 MB, free: 0.8516 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003986/0.03017, allocations: 95.62 kB / 354 MB, free: 0.7578 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.706e-05/0.0302, allocations: 31.94 kB / 354.1 MB, free: 0.7266 MB / 314.7 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.000239/0.03044, allocations: 241.6 kB / 354.3 MB, free: 492 kB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001005/0.03054, allocations: 107.3 kB / 354.4 MB, free: 384 kB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003903/0.03093, allocations: 104.9 kB / 354.5 MB, free: 276 kB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.637e-06/0.03094, allocations: 8 kB / 354.5 MB, free: 268 kB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.506e-06/0.03094, allocations: 3.984 kB / 354.5 MB, free: 264 kB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008723/0.03182, allocations: 0.9699 MB / 355.5 MB, free: 15.18 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001653/0.03347, allocations: 1.546 MB / 357 MB, free: 13.57 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.404e-06/0.03347, allocations: 0 / 357 MB, free: 13.57 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000376/0.03385, allocations: 155.8 kB / 357.2 MB, free: 13.41 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.359e-05/0.03392, allocations: 28.83 kB / 357.2 MB, free: 13.38 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.038e-05/0.03395, allocations: 12 kB / 357.2 MB, free: 13.37 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006449/0.0346, allocations: 1.303 MB / 358.5 MB, free: 11.95 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.432e-06/0.0346, allocations: 0 / 358.5 MB, free: 11.95 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001252/0.03585, allocations: 1.078 MB / 359.6 MB, free: 10.86 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002518/0.0361, allocations: 187.2 kB / 359.8 MB, free: 10.68 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.846e-05/0.03617, allocations: 20 kB / 359.8 MB, free: 10.66 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000322/0.03649, allocations: 39.97 kB / 359.8 MB, free: 10.62 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.353e-05/0.03656, allocations: 48.56 kB / 359.9 MB, free: 10.57 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.452e-05/0.03658, allocations: 16 kB / 359.9 MB, free: 10.55 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0004356/0.03702, allocations: 0.5498 MB / 360.5 MB, free: 10.01 MB / 330.7 MB Notification: Performance of sort global known variables: time 4e-08/0.03702, allocations: 0 / 360.5 MB, free: 10.01 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0004744/0.03749, allocations: 299.7 kB / 360.7 MB, free: 9.715 MB / 330.7 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.001699/0.03919, allocations: 1.653 MB / 362.4 MB, free: 8.031 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001262/0.04045, allocations: 1.434 MB / 363.8 MB, free: 6.477 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.887e-06/0.04046, allocations: 7.859 kB / 363.8 MB, free: 6.469 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003935/0.04085, allocations: 406.4 kB / 364.2 MB, free: 6.059 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006876/0.04154, allocations: 278 kB / 364.5 MB, free: 5.789 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007973/0.04951, allocations: 8.145 MB / 372.7 MB, free: 13.38 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000235/0.04975, allocations: 394.2 kB / 373 MB, free: 12.96 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0003209/0.05007, allocations: 123.5 kB / 373.2 MB, free: 12.84 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003267/0.05039, allocations: 360.4 kB / 373.5 MB, free: 12.48 MB / 346.7 MB Notification: Performance of SimCode: time 6.81e-07/0.05039, allocations: 4 kB / 373.5 MB, free: 12.48 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04243/0.09282, allocations: 29.42 MB / 402.9 MB, free: 15.55 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.019/9.112, allocations: 7.125 kB / 402.9 MB, free: 15.55 MB / 378.7 MB " [Timeout remaining time 651] (rm -f Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.pipe ; mkfifo Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.pipe >> ../files/Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.sim & python3 -m fmpy simulate --output-file Modelica_4.0.0_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_4_0_0_Modelica_Thermal_FluidHeatFlow_Examples_IndirectCooling.fmu > Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Thermal/FluidHeatFlow/Examples/IndirectCooling/IndirectCooling.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_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_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling_res.csv. Warning: Get data of variable heatCapacitor.T from file Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling_res.csv failed! Error: Could not read variable innerPipe.T in file Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling_res.csv. Warning: Get data of variable innerPipe.T from file Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling_res.csv failed! Error: Could not read variable outerPipe.T in file Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling_res.csv. Warning: Get data of variable outerPipe.T from file Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling_res.csv failed! Error: Could not read variable pipe1.T in file Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling_res.csv. Warning: Get data of variable pipe1.T from file Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 10.79475033748895]