Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.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.001308/0.001308, allocations: 112.1 kB / 21.18 MB, free: 0.7148 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.001446/0.001446, allocations: 216.7 kB / 24.49 MB, free: 4.086 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.423/1.423, allocations: 207.6 MB / 235.3 MB, free: 9.973 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.IndirectCooling,fileNamePrefix="Modelica_3_2_3_Modelica_Thermal_FluidHeatFlow_Examples_IndirectCooling",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling,fileNamePrefix="Modelica_3_2_3_Modelica_Thermal_FluidHeatFlow_Examples_IndirectCooling",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001731/0.001731, allocations: 47.94 kB / 347.2 MB, free: 10.04 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2627/0.2645, allocations: 49.17 MB / 396.4 MB, free: 8.969 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling): time 0.005552/0.27, allocations: 5.639 MB / 402 MB, free: 4.953 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.003397/0.2734, allocations: 1.475 MB / 403.5 MB, free: 3.867 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009356/0.2744, allocations: 13.25 kB / 403.5 MB, free: 3.863 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006889/0.275, allocations: 199.9 kB / 403.7 MB, free: 3.75 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001124/0.2762, allocations: 393.6 kB / 404.1 MB, free: 3.469 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006955/0.2769, allocations: 268.5 kB / 404.3 MB, free: 3.32 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001284/0.2781, allocations: 1.36 MB / 405.7 MB, free: 2.625 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004046/0.2786, allocations: 271.9 kB / 405.9 MB, free: 2.461 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009412/0.2795, allocations: 0.5228 MB / 406.5 MB, free: 2.219 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009705/0.2805, allocations: 0.5924 MB / 407.1 MB, free: 1.91 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002145/0.2807, allocations: 119.5 kB / 407.2 MB, free: 1.91 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002463/0.2809, allocations: 119 kB / 407.3 MB, free: 1.91 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001985/0.2811, allocations: 255.7 kB / 407.5 MB, free: 1.738 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004915/0.2816, allocations: 0.6106 MB / 408.2 MB, free: 1.379 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001494/0.2831, allocations: 1.411 MB / 409.6 MB, free: 0.8086 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.87e-06/0.2831, allocations: 1.094 kB / 409.6 MB, free: 0.8086 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.954e-06/0.2831, allocations: 0.75 kB / 409.6 MB, free: 0.8086 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.943e-05/0.2831, allocations: 0 / 409.6 MB, free: 0.8086 MB / 318.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.002549/0.2857, allocations: 1.439 MB / 411 MB, free: 15.8 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.079e-05/0.2857, allocations: 13.05 kB / 411 MB, free: 15.79 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002137/0.286, allocations: 131.6 kB / 411.1 MB, free: 15.68 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000245/0.2862, allocations: 134.4 kB / 411.3 MB, free: 15.62 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001122/0.2873, allocations: 0.5885 MB / 411.9 MB, free: 15.15 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003263/0.2877, allocations: 307.8 kB / 412.2 MB, free: 14.83 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001102/0.2878, allocations: 71.16 kB / 412.2 MB, free: 14.81 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001667/0.2894, allocations: 0.9787 MB / 413.2 MB, free: 14.05 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.408e-05/0.2895, allocations: 1.188 kB / 413.2 MB, free: 14.05 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.983e-05/0.2895, allocations: 33.28 kB / 413.2 MB, free: 14.03 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.941e-05/0.2896, allocations: 17.28 kB / 413.3 MB, free: 14.03 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001329/0.2909, allocations: 0.6307 MB / 413.9 MB, free: 13.73 MB / 334.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.004507/0.2954, allocations: 2.612 MB / 416.5 MB, free: 11.61 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002474/0.2979, allocations: 0.7468 MB / 417.3 MB, free: 11.25 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007109/0.2986, allocations: 327.2 kB / 417.6 MB, free: 11.09 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.227e-05/0.2986, allocations: 17.39 kB / 417.6 MB, free: 11.08 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.209e-05/0.2987, allocations: 46.78 kB / 417.6 MB, free: 11.03 MB / 334.1 MB Notification: Performance of pre-optimization done (n=72): time 2.355e-06/0.2987, allocations: 1.188 kB / 417.6 MB, free: 11.03 MB / 334.1 MB Notification: Performance of matching and sorting (n=72): time 0.002562/0.3012, allocations: 1.031 MB / 418.7 MB, free: 10.5 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0005214/0.3018, allocations: 0.9537 MB / 419.6 MB, free: 9.332 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001093/0.3029, allocations: 0.7845 MB / 420.4 MB, free: 8.891 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001008/0.303, allocations: 45.45 kB / 420.5 MB, free: 8.848 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003719/0.3033, allocations: 426.8 kB / 420.9 MB, free: 8.48 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002545/0.3036, allocations: 271.2 kB / 421.1 MB, free: 8.242 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002469/0.3038, allocations: 156.7 kB / 421.3 MB, free: 8.152 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001636/0.304, allocations: 332.8 kB / 421.6 MB, free: 7.828 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005543/0.3045, allocations: 257.7 kB / 421.9 MB, free: 7.707 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008961/0.3054, allocations: 0.5872 MB / 422.4 MB, free: 7.184 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001183/0.3066, allocations: 0.6634 MB / 423.1 MB, free: 6.777 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.557e-06/0.3066, allocations: 0 / 423.1 MB, free: 6.777 MB / 334.1 MB Notification: Performance of matching and sorting (n=90) (initialization): time 0.001904/0.3085, allocations: 0.9604 MB / 424.1 MB, free: 6.211 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.228e-05/0.3086, allocations: 82.98 kB / 424.2 MB, free: 6.117 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.756e-06/0.3086, allocations: 5.344 kB / 424.2 MB, free: 6.113 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003464/0.309, allocations: 128.5 kB / 424.3 MB, free: 6.027 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000708/0.3097, allocations: 149.2 kB / 424.4 MB, free: 5.992 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006251/0.3159, allocations: 6.805 MB / 431.2 MB, free: 14.88 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001254/0.3172, allocations: 107.2 kB / 431.3 MB, free: 14.77 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.823e-05/0.3172, allocations: 27.98 kB / 431.4 MB, free: 14.74 MB / 350.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.0004822/0.3177, allocations: 233.7 kB / 431.6 MB, free: 14.5 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002003/0.3179, allocations: 103.5 kB / 431.7 MB, free: 14.4 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001997/0.3181, allocations: 108.9 kB / 431.8 MB, free: 14.29 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.343e-06/0.3181, allocations: 7.938 kB / 431.8 MB, free: 14.28 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.55e-05/0.3181, allocations: 4 kB / 431.8 MB, free: 14.28 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001466/0.3196, allocations: 0.9622 MB / 432.8 MB, free: 13.21 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003052/0.3227, allocations: 1.728 MB / 434.5 MB, free: 11.41 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.526e-06/0.3227, allocations: 0 / 434.5 MB, free: 11.41 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007698/0.3234, allocations: 159.8 kB / 434.7 MB, free: 11.25 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000103/0.3235, allocations: 24.84 kB / 434.7 MB, free: 11.22 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.774e-05/0.3236, allocations: 19.94 kB / 434.7 MB, free: 11.2 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001061/0.3247, allocations: 1.299 MB / 436 MB, free: 9.793 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.373e-06/0.3247, allocations: 0 / 436 MB, free: 9.793 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002009/0.3267, allocations: 1.086 MB / 437.1 MB, free: 8.688 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004547/0.3271, allocations: 187.1 kB / 437.3 MB, free: 8.504 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001229/0.3272, allocations: 20 kB / 437.3 MB, free: 8.484 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006492/0.3279, allocations: 43.95 kB / 437.3 MB, free: 8.441 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001144/0.328, allocations: 52.5 kB / 437.4 MB, free: 8.391 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.918e-05/0.328, allocations: 16 kB / 437.4 MB, free: 8.375 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000742/0.3288, allocations: 0.5498 MB / 438 MB, free: 7.828 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3288, allocations: 0 / 438 MB, free: 7.828 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0008222/0.3296, allocations: 295.8 kB / 438.2 MB, free: 7.539 MB / 350.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.002365/0.332, allocations: 1.649 MB / 439.9 MB, free: 5.859 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.002206/0.3342, allocations: 1.355 MB / 441.2 MB, free: 4.406 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 6.021e-06/0.3342, allocations: 8.188 kB / 441.3 MB, free: 4.398 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006988/0.3349, allocations: 410.2 kB / 441.7 MB, free: 3.98 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001196/0.3361, allocations: 274.9 kB / 441.9 MB, free: 3.715 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01198/0.3481, allocations: 7.847 MB / 449.8 MB, free: 11.67 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006267/0.3487, allocations: 0.9835 MB / 450.8 MB, free: 10.66 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0005266/0.3492, allocations: 131.5 kB / 450.9 MB, free: 10.53 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004886/0.3497, allocations: 351.3 kB / 451.2 MB, free: 10.18 MB / 366.1 MB Notification: Performance of SimCode: time 7.31e-07/0.3497, allocations: 0 / 451.2 MB, free: 10.18 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07393/0.4236, allocations: 26.92 MB / 478.1 MB, free: 15.16 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 14.87/15.3, allocations: 3.938 kB / 478.1 MB, free: 15.16 MB / 398.1 MB " [Timeout remaining time 645] (rm -f Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.pipe ; mkfifo Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.pipe >> ../files/Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.sim & python3 -m fmpy simulate --output-file Modelica_3.2.3_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_3_2_3_Modelica_Thermal_FluidHeatFlow_Examples_IndirectCooling.fmu > Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Thermal/FluidHeatFlow/Examples/IndirectCooling/IndirectCooling.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_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_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling_res.csv. Warning: Get data of variable heatCapacitor.T from file Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling_res.csv failed! Error: Could not read variable innerPipe.T in file Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling_res.csv. Warning: Get data of variable innerPipe.T from file Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling_res.csv failed! Error: Could not read variable outerPipe.T in file Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling_res.csv. Warning: Get data of variable outerPipe.T from file Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling_res.csv failed! Error: Could not read variable pipe1.T in file Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling_res.csv. Warning: Get data of variable pipe1.T from file Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 17.794782648001274]