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.001817/0.001817, allocations: 114 kB / 20.44 MB, free: 1.469 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.002224/0.002224, allocations: 214.8 kB / 23.74 MB, free: 4.695 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.453/1.453, allocations: 230.5 MB / 257.4 MB, free: 8.012 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.002025/0.002025, allocations: 67.89 kB / 377.8 MB, free: 3.008 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2502/0.2523, allocations: 53.41 MB / 431.2 MB, free: 6.699 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling): time 0.007323/0.2596, allocations: 5.667 MB / 436.9 MB, free: 1.016 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003076/0.2627, allocations: 1.46 MB / 438.3 MB, free: 15.55 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005245/0.2632, allocations: 15.94 kB / 438.3 MB, free: 15.54 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005992/0.2638, allocations: 198.2 kB / 438.5 MB, free: 15.34 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008433/0.2646, allocations: 404.7 kB / 438.9 MB, free: 14.94 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005706/0.2652, allocations: 259.6 kB / 439.2 MB, free: 14.69 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001573/0.2668, allocations: 1.366 MB / 440.5 MB, free: 13.32 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000462/0.2672, allocations: 275.8 kB / 440.8 MB, free: 13.02 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006311/0.2679, allocations: 0.5216 MB / 441.3 MB, free: 12.5 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007571/0.2686, allocations: 0.5874 MB / 441.9 MB, free: 11.91 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000166/0.2688, allocations: 120 kB / 442 MB, free: 11.79 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001926/0.269, allocations: 120 kB / 442.1 MB, free: 11.68 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002289/0.2692, allocations: 259.2 kB / 442.4 MB, free: 11.42 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006019/0.2698, allocations: 0.6066 MB / 443 MB, free: 10.81 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0015/0.2713, allocations: 1.406 MB / 444.4 MB, free: 9.402 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.428e-06/0.2713, allocations: 4 kB / 444.4 MB, free: 9.398 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.683e-06/0.2713, allocations: 0 / 444.4 MB, free: 9.398 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.663e-05/0.2713, allocations: 0 / 444.4 MB, free: 9.398 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.002855/0.2742, allocations: 1.444 MB / 445.9 MB, free: 7.902 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.493e-05/0.2742, allocations: 8.031 kB / 445.9 MB, free: 7.895 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002047/0.2745, allocations: 132.6 kB / 446 MB, free: 7.754 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000216/0.2747, allocations: 132.2 kB / 446.1 MB, free: 7.625 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001101/0.2758, allocations: 0.5862 MB / 446.7 MB, free: 7.012 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003065/0.2761, allocations: 309.9 kB / 447 MB, free: 6.656 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001091/0.2762, allocations: 72.38 kB / 447.1 MB, free: 6.586 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001532/0.2777, allocations: 0.9784 MB / 448.1 MB, free: 5.488 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.12e-05/0.2777, allocations: 3.938 kB / 448.1 MB, free: 5.484 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.403e-05/0.2778, allocations: 32 kB / 448.1 MB, free: 5.453 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.788e-05/0.2778, allocations: 16 kB / 448.1 MB, free: 5.438 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001317/0.2791, allocations: 0.6324 MB / 448.7 MB, free: 4.805 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.004572/0.2837, allocations: 2.602 MB / 451.4 MB, free: 2.051 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002506/0.2862, allocations: 0.7538 MB / 452.1 MB, free: 1.293 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007384/0.287, allocations: 319.4 kB / 452.4 MB, free: 0.9805 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.657e-05/0.287, allocations: 12.64 kB / 452.4 MB, free: 0.9688 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.137e-05/0.2871, allocations: 59.16 kB / 452.5 MB, free: 0.9023 MB / 350.1 MB Notification: Performance of pre-optimization done (n=72): time 2.685e-06/0.2871, allocations: 4.266 kB / 452.5 MB, free: 0.8984 MB / 350.1 MB Notification: Performance of matching and sorting (n=72): time 0.002601/0.2897, allocations: 1.021 MB / 453.5 MB, free: 15.86 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0005889/0.2903, allocations: 0.9566 MB / 454.5 MB, free: 14.68 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001096/0.2914, allocations: 0.7942 MB / 455.3 MB, free: 13.88 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001139/0.2915, allocations: 45.7 kB / 455.3 MB, free: 13.82 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003937/0.2919, allocations: 417 kB / 455.7 MB, free: 13.41 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000261/0.2921, allocations: 273.7 kB / 456 MB, free: 13.14 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002703/0.2924, allocations: 150.7 kB / 456.1 MB, free: 12.99 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001656/0.2926, allocations: 337.9 kB / 456.5 MB, free: 12.66 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005729/0.2931, allocations: 257.9 kB / 456.7 MB, free: 12.4 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009335/0.2941, allocations: 0.5802 MB / 457.3 MB, free: 11.7 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00123/0.2953, allocations: 0.66 MB / 458 MB, free: 11 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.614e-06/0.2953, allocations: 4 kB / 458 MB, free: 11 MB / 366.1 MB Notification: Performance of matching and sorting (n=90) (initialization): time 0.001838/0.2971, allocations: 0.9552 MB / 458.9 MB, free: 10 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.695e-05/0.2972, allocations: 89.05 kB / 459 MB, free: 9.898 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.793e-06/0.2972, allocations: 0 / 459 MB, free: 9.898 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003685/0.2976, allocations: 128.2 kB / 459.1 MB, free: 9.758 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007424/0.2983, allocations: 155.8 kB / 459.3 MB, free: 9.605 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006531/0.3049, allocations: 6.797 MB / 466.1 MB, free: 2.23 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009513/0.3058, allocations: 115.3 kB / 466.2 MB, free: 2.117 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.744e-05/0.3059, allocations: 23.98 kB / 466.2 MB, free: 2.094 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.0004235/0.3063, allocations: 233.7 kB / 466.4 MB, free: 1.855 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001748/0.3065, allocations: 103.4 kB / 466.5 MB, free: 1.754 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001903/0.3067, allocations: 105 kB / 466.6 MB, free: 1.648 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.404e-06/0.3067, allocations: 8 kB / 466.6 MB, free: 1.641 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.182e-05/0.3067, allocations: 0 / 466.6 MB, free: 1.641 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00158/0.3083, allocations: 0.9738 MB / 467.6 MB, free: 0.5586 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003014/0.3113, allocations: 1.725 MB / 469.3 MB, free: 14.77 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.607e-06/0.3113, allocations: 0 / 469.3 MB, free: 14.77 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007892/0.3121, allocations: 155.8 kB / 469.5 MB, free: 14.61 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001148/0.3122, allocations: 28.78 kB / 469.5 MB, free: 14.58 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.205e-05/0.3122, allocations: 12 kB / 469.5 MB, free: 14.57 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001128/0.3134, allocations: 1.307 MB / 470.8 MB, free: 13.15 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.343e-06/0.3134, allocations: 0 / 470.8 MB, free: 13.15 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002088/0.3154, allocations: 1.082 MB / 471.9 MB, free: 12.05 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004428/0.3159, allocations: 191.1 kB / 472.1 MB, free: 11.86 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001238/0.316, allocations: 19.98 kB / 472.1 MB, free: 11.84 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006371/0.3167, allocations: 39.97 kB / 472.2 MB, free: 11.8 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001067/0.3168, allocations: 48.56 kB / 472.2 MB, free: 11.76 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.783e-05/0.3168, allocations: 20 kB / 472.2 MB, free: 11.74 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0007766/0.3176, allocations: 0.5536 MB / 472.8 MB, free: 11.19 MB / 382.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3176, allocations: 0 / 472.8 MB, free: 11.19 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0008011/0.3184, allocations: 295.7 kB / 473.1 MB, free: 10.9 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.002465/0.3208, allocations: 1.652 MB / 474.7 MB, free: 9.215 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.00229/0.3231, allocations: 1.359 MB / 476.1 MB, free: 7.754 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 5.63e-06/0.3231, allocations: 4 kB / 476.1 MB, free: 7.75 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007226/0.3239, allocations: 402.5 kB / 476.5 MB, free: 7.344 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001152/0.325, allocations: 278.9 kB / 476.8 MB, free: 7.074 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01245/0.3375, allocations: 7.847 MB / 484.6 MB, free: 15.03 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000659/0.3381, allocations: 0.9874 MB / 485.6 MB, free: 14.02 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0005512/0.3387, allocations: 131.5 kB / 485.7 MB, free: 13.88 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005083/0.3392, allocations: 351.3 kB / 486.1 MB, free: 13.54 MB / 398.1 MB Notification: Performance of SimCode: time 1.462e-06/0.3392, allocations: 0 / 486.1 MB, free: 13.54 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07616/0.4153, allocations: 26.91 MB / 0.501 GB, free: 3.023 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 14.73/15.14, allocations: 15.16 kB / 0.501 GB, free: 3.012 MB / 414.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.678309064998757]