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.001742/0.001742, allocations: 111.1 kB / 20.44 MB, free: 1.176 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.002161/0.002161, allocations: 205.4 kB / 23.73 MB, free: 4.379 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.434/1.434, allocations: 230.6 MB / 257.5 MB, free: 7.793 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.001491/0.001491, allocations: 55.91 kB / 377.7 MB, free: 2.973 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2432/0.2447, allocations: 53.36 MB / 431.1 MB, free: 6.664 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling): time 0.006524/0.2512, allocations: 4.989 MB / 436.1 MB, free: 1.66 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002414/0.2536, allocations: 1.402 MB / 437.5 MB, free: 256 kB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000337/0.254, allocations: 15.88 kB / 437.5 MB, free: 240 kB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004536/0.2544, allocations: 198.2 kB / 437.7 MB, free: 40 kB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007683/0.2552, allocations: 400.8 kB / 438.1 MB, free: 15.64 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000477/0.2557, allocations: 255.6 kB / 438.3 MB, free: 15.39 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001427/0.2571, allocations: 1.366 MB / 439.7 MB, free: 14.02 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004429/0.2575, allocations: 275.8 kB / 440 MB, free: 13.73 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006035/0.2581, allocations: 0.5255 MB / 440.5 MB, free: 13.2 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006907/0.2588, allocations: 0.5874 MB / 441.1 MB, free: 12.61 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001805/0.259, allocations: 120 kB / 441.2 MB, free: 12.5 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002152/0.2592, allocations: 120 kB / 441.3 MB, free: 12.38 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002192/0.2594, allocations: 251.2 kB / 441.5 MB, free: 12.13 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005307/0.26, allocations: 0.5096 MB / 442.1 MB, free: 11.62 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001378/0.2613, allocations: 1.424 MB / 443.5 MB, free: 10.19 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.038e-06/0.2614, allocations: 0 / 443.5 MB, free: 10.19 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.292e-06/0.2614, allocations: 0 / 443.5 MB, free: 10.19 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.537e-05/0.2614, allocations: 0 / 443.5 MB, free: 10.19 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.002599/0.264, allocations: 1.436 MB / 444.9 MB, free: 8.703 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.808e-05/0.264, allocations: 8.031 kB / 444.9 MB, free: 8.695 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000206/0.2642, allocations: 132.6 kB / 445.1 MB, free: 8.555 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002047/0.2644, allocations: 136.2 kB / 445.2 MB, free: 8.422 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001041/0.2655, allocations: 0.5862 MB / 445.8 MB, free: 7.809 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003246/0.2658, allocations: 309.9 kB / 446.1 MB, free: 7.453 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001175/0.2659, allocations: 72.36 kB / 446.1 MB, free: 7.383 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002038/0.2679, allocations: 1.865 MB / 448 MB, free: 5.184 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.491e-05/0.268, allocations: 0 / 448 MB, free: 5.184 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.51e-05/0.268, allocations: 36 kB / 448 MB, free: 5.148 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.673e-05/0.2681, allocations: 16 kB / 448.1 MB, free: 5.133 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001319/0.2694, allocations: 0.6285 MB / 448.7 MB, free: 4.504 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.004066/0.2734, allocations: 1.984 MB / 450.7 MB, free: 2.461 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002519/0.276, allocations: 0.7466 MB / 451.4 MB, free: 1.707 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007117/0.2767, allocations: 327.4 kB / 451.7 MB, free: 1.387 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.324e-05/0.2767, allocations: 16.64 kB / 451.8 MB, free: 1.371 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.118e-05/0.2768, allocations: 49.08 kB / 451.8 MB, free: 1.312 MB / 350.1 MB Notification: Performance of pre-optimization done (n=72): time 2.324e-06/0.2768, allocations: 0 / 451.8 MB, free: 1.312 MB / 350.1 MB Notification: Performance of matching and sorting (n=72): time 0.002599/0.2794, allocations: 1.029 MB / 452.8 MB, free: 276 kB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0005501/0.2799, allocations: 0.9489 MB / 453.8 MB, free: 15.09 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001076/0.281, allocations: 0.8019 MB / 454.6 MB, free: 14.29 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 7.888e-05/0.2811, allocations: 45.7 kB / 454.6 MB, free: 14.23 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004047/0.2815, allocations: 424.8 kB / 455 MB, free: 13.82 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002593/0.2818, allocations: 261.7 kB / 455.3 MB, free: 13.56 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002673/0.282, allocations: 158.6 kB / 455.5 MB, free: 13.4 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001747/0.2822, allocations: 337.9 kB / 455.8 MB, free: 13.06 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006399/0.2828, allocations: 335 kB / 456.1 MB, free: 12.71 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001441/0.2843, allocations: 1.55 MB / 457.7 MB, free: 10.81 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00125/0.2855, allocations: 0.6561 MB / 458.3 MB, free: 10.12 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.648e-06/0.2855, allocations: 4 kB / 458.3 MB, free: 10.11 MB / 366.1 MB Notification: Performance of matching and sorting (n=90) (initialization): time 0.001941/0.2875, allocations: 1.034 MB / 459.4 MB, free: 9.02 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.648e-05/0.2876, allocations: 85.05 kB / 459.4 MB, free: 8.918 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.715e-06/0.2876, allocations: 4 kB / 459.4 MB, free: 8.914 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003814/0.2879, allocations: 132.3 kB / 459.6 MB, free: 8.77 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007185/0.2887, allocations: 155.8 kB / 459.7 MB, free: 8.617 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006096/0.2948, allocations: 6.781 MB / 466.5 MB, free: 1.258 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009059/0.2957, allocations: 99.41 kB / 466.6 MB, free: 1.16 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.902e-05/0.2957, allocations: 24 kB / 466.6 MB, free: 1.137 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.0004032/0.2961, allocations: 237.7 kB / 466.9 MB, free: 0.8945 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001694/0.2963, allocations: 107.3 kB / 467 MB, free: 0.7891 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000193/0.2965, allocations: 104.9 kB / 467.1 MB, free: 0.6836 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.993e-06/0.2965, allocations: 12.06 kB / 467.1 MB, free: 0.6719 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.342e-05/0.2965, allocations: 3.984 kB / 467.1 MB, free: 0.668 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001496/0.298, allocations: 0.9661 MB / 468 MB, free: 15.59 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002798/0.3008, allocations: 1.545 MB / 469.6 MB, free: 13.98 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.387e-06/0.3008, allocations: 4 kB / 469.6 MB, free: 13.98 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00078/0.3016, allocations: 147.8 kB / 469.7 MB, free: 13.83 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.41e-05/0.3017, allocations: 28.83 kB / 469.8 MB, free: 13.8 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.339e-05/0.3017, allocations: 16 kB / 469.8 MB, free: 13.79 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001067/0.3028, allocations: 1.311 MB / 471.1 MB, free: 12.36 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.3028, allocations: 4.031 kB / 471.1 MB, free: 12.36 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002057/0.3049, allocations: 1.078 MB / 472.2 MB, free: 11.26 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004369/0.3053, allocations: 187.2 kB / 472.4 MB, free: 11.08 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001275/0.3054, allocations: 20 kB / 472.4 MB, free: 11.06 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006458/0.3061, allocations: 39.97 kB / 472.4 MB, free: 11.02 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.9e-05/0.3062, allocations: 44.56 kB / 472.5 MB, free: 10.97 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.99e-05/0.3062, allocations: 20 kB / 472.5 MB, free: 10.95 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0007336/0.3069, allocations: 0.5459 MB / 473 MB, free: 10.41 MB / 382.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3069, allocations: 4 kB / 473 MB, free: 10.41 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0007704/0.3077, allocations: 303.7 kB / 473.3 MB, free: 10.11 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.002464/0.3102, allocations: 1.66 MB / 475 MB, free: 8.418 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002194/0.3124, allocations: 1.446 MB / 476.4 MB, free: 6.855 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.807e-06/0.3124, allocations: 0 / 476.4 MB, free: 6.855 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007268/0.3131, allocations: 394.3 kB / 476.8 MB, free: 6.457 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001138/0.3142, allocations: 277.6 kB / 477.1 MB, free: 6.191 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01237/0.3266, allocations: 8.163 MB / 485.3 MB, free: 13.75 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004146/0.327, allocations: 390.2 kB / 485.6 MB, free: 13.34 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0005372/0.3276, allocations: 127.5 kB / 485.8 MB, free: 13.21 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000501/0.3281, allocations: 355.3 kB / 486.1 MB, free: 12.86 MB / 398.1 MB Notification: Performance of SimCode: time 8.61e-07/0.3281, allocations: 4 kB / 486.1 MB, free: 12.86 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0763/0.4043, allocations: 29.62 MB / 0.5036 GB, free: 15.79 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 14.1/14.51, allocations: 0 / 0.5036 GB, free: 15.79 MB / 430.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: 16.970198568014894]