Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_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.001557/0.001557, allocations: 113.1 kB / 20.43 MB, free: 1.457 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.001986/0.001986, allocations: 216.5 kB / 23.75 MB, free: 4.668 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.47/1.47, allocations: 230.6 MB / 257.5 MB, free: 8.012 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.IndirectCooling,fileNamePrefix="Modelica_4_1_0_Modelica_Thermal_FluidHeatFlow_Examples_IndirectCooling",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling,fileNamePrefix="Modelica_4_1_0_Modelica_Thermal_FluidHeatFlow_Examples_IndirectCooling",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002562/0.002562, allocations: 52.02 kB / 377.8 MB, free: 3.125 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2677/0.2702, allocations: 53.36 MB / 431.1 MB, free: 6.969 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling): time 0.009881/0.2801, allocations: 5.67 MB / 436.8 MB, free: 1.281 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003966/0.2841, allocations: 1.461 MB / 438.3 MB, free: 15.81 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000887/0.285, allocations: 19.88 kB / 438.3 MB, free: 15.79 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007015/0.2857, allocations: 194.3 kB / 438.5 MB, free: 15.6 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00125/0.2869, allocations: 396.7 kB / 438.9 MB, free: 15.21 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006846/0.2876, allocations: 267.6 kB / 439.1 MB, free: 14.95 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001955/0.2896, allocations: 1.358 MB / 440.5 MB, free: 13.59 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004975/0.2901, allocations: 271.8 kB / 440.8 MB, free: 13.3 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007035/0.2908, allocations: 0.5217 MB / 441.3 MB, free: 12.77 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008063/0.2916, allocations: 0.5835 MB / 441.9 MB, free: 12.19 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001831/0.2918, allocations: 120 kB / 442 MB, free: 12.07 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002166/0.292, allocations: 120 kB / 442.1 MB, free: 11.95 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002301/0.2922, allocations: 263.1 kB / 442.3 MB, free: 11.7 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006587/0.2929, allocations: 0.6105 MB / 443 MB, free: 11.08 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001618/0.2945, allocations: 1.408 MB / 444.4 MB, free: 9.672 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.438e-06/0.2945, allocations: 0 / 444.4 MB, free: 9.672 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.2945, allocations: 7.938 kB / 444.4 MB, free: 9.664 MB / 350.1 MB Notification: Performance of Transformations before backend: time 2.872e-05/0.2945, allocations: 0 / 444.4 MB, free: 9.664 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.0029/0.2974, allocations: 1.44 MB / 445.8 MB, free: 8.172 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.754e-05/0.2975, allocations: 8.031 kB / 445.8 MB, free: 8.164 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002163/0.2977, allocations: 128.6 kB / 445.9 MB, free: 8.027 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002505/0.2979, allocations: 136.2 kB / 446.1 MB, free: 7.895 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001137/0.2991, allocations: 0.5823 MB / 446.7 MB, free: 7.285 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003163/0.2994, allocations: 305.9 kB / 447 MB, free: 6.934 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001187/0.2995, allocations: 68.38 kB / 447 MB, free: 6.867 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001625/0.3011, allocations: 0.99 MB / 448 MB, free: 5.758 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.145e-05/0.3012, allocations: 0 / 448 MB, free: 5.758 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.697e-05/0.3012, allocations: 32 kB / 448 MB, free: 5.727 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.731e-05/0.3013, allocations: 16 kB / 448.1 MB, free: 5.711 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001355/0.3026, allocations: 0.6324 MB / 448.7 MB, free: 5.078 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.004866/0.3075, allocations: 2.61 MB / 451.3 MB, free: 2.316 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002502/0.31, allocations: 0.7515 MB / 452.1 MB, free: 1.559 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000743/0.3107, allocations: 323.4 kB / 452.4 MB, free: 1.242 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.492e-05/0.3108, allocations: 16.64 kB / 452.4 MB, free: 1.227 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.437e-05/0.3108, allocations: 51.44 kB / 452.4 MB, free: 1.168 MB / 350.1 MB Notification: Performance of pre-optimization done (n=72): time 2.745e-06/0.3108, allocations: 0 / 452.4 MB, free: 1.168 MB / 350.1 MB Notification: Performance of matching and sorting (n=72): time 0.00255/0.3134, allocations: 1.029 MB / 453.5 MB, free: 124 kB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0005229/0.3139, allocations: 0.9527 MB / 454.4 MB, free: 14.94 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001127/0.315, allocations: 0.7903 MB / 455.2 MB, free: 14.14 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001419/0.3152, allocations: 45.7 kB / 455.3 MB, free: 14.09 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003653/0.3155, allocations: 417 kB / 455.7 MB, free: 13.68 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002756/0.3158, allocations: 269.7 kB / 455.9 MB, free: 13.42 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002626/0.3161, allocations: 154.7 kB / 456.1 MB, free: 13.26 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001486/0.3162, allocations: 337.9 kB / 456.4 MB, free: 12.93 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005856/0.3168, allocations: 261.8 kB / 456.7 MB, free: 12.67 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009479/0.3178, allocations: 0.5802 MB / 457.2 MB, free: 11.96 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001246/0.319, allocations: 0.6639 MB / 457.9 MB, free: 11.27 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.897e-06/0.319, allocations: 0 / 457.9 MB, free: 11.27 MB / 366.1 MB Notification: Performance of matching and sorting (n=90) (initialization): time 0.001907/0.3209, allocations: 0.9514 MB / 458.9 MB, free: 10.27 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.483e-05/0.321, allocations: 93.05 kB / 459 MB, free: 10.16 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.275e-06/0.321, allocations: 0 / 459 MB, free: 10.16 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000347/0.3213, allocations: 124.2 kB / 459.1 MB, free: 10.03 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000746/0.3221, allocations: 155.8 kB / 459.2 MB, free: 9.875 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006248/0.3283, allocations: 6.809 MB / 466 MB, free: 2.488 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001089/0.3294, allocations: 115.3 kB / 466.1 MB, free: 2.375 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.715e-05/0.3295, allocations: 23.98 kB / 466.2 MB, free: 2.352 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.0004523/0.33, allocations: 233.7 kB / 466.4 MB, free: 2.113 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002042/0.3302, allocations: 103.4 kB / 466.5 MB, free: 2.012 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001991/0.3304, allocations: 105 kB / 466.6 MB, free: 1.906 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.386e-06/0.3304, allocations: 8 kB / 466.6 MB, free: 1.898 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.067e-06/0.3304, allocations: 0 / 466.6 MB, free: 1.898 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001476/0.3319, allocations: 0.9738 MB / 467.6 MB, free: 0.8164 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00328/0.3351, allocations: 1.72 MB / 469.3 MB, free: 15.03 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.06e-06/0.3352, allocations: 0 / 469.3 MB, free: 15.03 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007957/0.3359, allocations: 159.8 kB / 469.5 MB, free: 14.87 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001158/0.3361, allocations: 24.84 kB / 469.5 MB, free: 14.84 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.027e-05/0.3361, allocations: 12 kB / 469.5 MB, free: 14.83 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001165/0.3373, allocations: 1.311 MB / 470.8 MB, free: 13.41 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/0.3373, allocations: 0 / 470.8 MB, free: 13.41 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002246/0.3395, allocations: 1.078 MB / 471.9 MB, free: 12.31 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005644/0.3401, allocations: 191.1 kB / 472.1 MB, free: 12.12 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001361/0.3402, allocations: 19.94 kB / 472.1 MB, free: 12.11 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006408/0.3409, allocations: 47.95 kB / 472.1 MB, free: 12.06 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001032/0.341, allocations: 44.58 kB / 472.2 MB, free: 12.02 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.205e-05/0.341, allocations: 23.98 kB / 472.2 MB, free: 11.99 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0007863/0.3418, allocations: 0.5498 MB / 472.8 MB, free: 11.45 MB / 382.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3418, allocations: 0 / 472.8 MB, free: 11.45 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0008201/0.3426, allocations: 287.8 kB / 473 MB, free: 11.16 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.002466/0.3451, allocations: 1.664 MB / 474.7 MB, free: 9.465 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002276/0.3474, allocations: 1.347 MB / 476 MB, free: 8.02 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 7.915e-06/0.3474, allocations: 4 kB / 476 MB, free: 8.016 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007123/0.3481, allocations: 410.5 kB / 476.4 MB, free: 7.602 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001215/0.3493, allocations: 275 kB / 476.7 MB, free: 7.336 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01272/0.362, allocations: 7.854 MB / 484.6 MB, free: 15.28 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006454/0.3627, allocations: 0.9874 MB / 485.6 MB, free: 14.27 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.000592/0.3633, allocations: 127.5 kB / 485.7 MB, free: 14.14 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005224/0.3638, allocations: 359.3 kB / 486 MB, free: 13.79 MB / 398.1 MB Notification: Performance of SimCode: time 1.212e-06/0.3638, allocations: 0 / 486 MB, free: 13.79 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07785/0.4416, allocations: 26.92 MB / 0.5009 GB, free: 3.324 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 14.78/15.22, allocations: 7.609 kB / 0.5009 GB, free: 3.32 MB / 414.1 MB " [Timeout remaining time 645] (rm -f Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.pipe ; mkfifo Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.pipe >> ../files/Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.sim & python3 -m fmpy simulate --output-file Modelica_4.1.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_1_0_Modelica_Thermal_FluidHeatFlow_Examples_IndirectCooling.fmu > Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_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_4.1.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.1.0_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling_res.csv. Warning: Get data of variable heatCapacitor.T from file Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling_res.csv failed! Error: Could not read variable innerPipe.T in file Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling_res.csv. Warning: Get data of variable innerPipe.T from file Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling_res.csv failed! Error: Could not read variable outerPipe.T in file Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling_res.csv. Warning: Get data of variable outerPipe.T from file Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling_res.csv failed! Error: Could not read variable pipe1.T in file Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling_res.csv. Warning: Get data of variable pipe1.T from file Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 17.753884318997734]