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.002089/0.002089, allocations: 111.1 kB / 20.44 MB, free: 1.062 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.002289/0.002289, allocations: 212.3 kB / 23.73 MB, free: 4.16 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.496/1.496, allocations: 230.6 MB / 257.5 MB, free: 7.812 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.001603/0.001603, allocations: 51.92 kB / 377.7 MB, free: 2.938 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2226/0.2242, allocations: 53.38 MB / 431.1 MB, free: 6.594 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling): time 0.006597/0.2308, allocations: 4.985 MB / 436.1 MB, free: 1.594 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002634/0.2334, allocations: 1.402 MB / 437.5 MB, free: 188 kB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003482/0.2338, allocations: 23.81 kB / 437.5 MB, free: 164 kB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004838/0.2343, allocations: 190.3 kB / 437.7 MB, free: 15.97 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007615/0.235, allocations: 400.7 kB / 438.1 MB, free: 15.58 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005593/0.2356, allocations: 259.6 kB / 438.3 MB, free: 15.32 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001514/0.2371, allocations: 1.362 MB / 439.7 MB, free: 13.96 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004413/0.2375, allocations: 263.8 kB / 439.9 MB, free: 13.68 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006075/0.2381, allocations: 0.5255 MB / 440.5 MB, free: 13.15 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006697/0.2388, allocations: 0.5015 MB / 441 MB, free: 12.64 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001804/0.239, allocations: 120 kB / 441.1 MB, free: 12.53 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002158/0.2392, allocations: 124 kB / 441.2 MB, free: 12.41 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002231/0.2394, allocations: 251.1 kB / 441.5 MB, free: 12.16 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005218/0.2399, allocations: 0.5135 MB / 442 MB, free: 11.64 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001435/0.2414, allocations: 1.42 MB / 443.4 MB, free: 10.22 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.907e-06/0.2414, allocations: 0 / 443.4 MB, free: 10.22 MB / 350.1 MB Notification: Performance of FrontEnd: time 9.92e-07/0.2414, allocations: 0 / 443.4 MB, free: 10.22 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.705e-05/0.2414, allocations: 0 / 443.4 MB, free: 10.22 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.002603/0.244, allocations: 1.44 MB / 444.8 MB, free: 8.727 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.49e-05/0.2441, allocations: 12.03 kB / 444.8 MB, free: 8.715 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002056/0.2443, allocations: 128.6 kB / 445 MB, free: 8.578 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002142/0.2445, allocations: 136.2 kB / 445.1 MB, free: 8.445 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001063/0.2455, allocations: 0.5862 MB / 445.7 MB, free: 7.832 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003048/0.2458, allocations: 309.9 kB / 446 MB, free: 7.477 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000111/0.246, allocations: 68.38 kB / 446.1 MB, free: 7.41 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002142/0.2481, allocations: 1.865 MB / 447.9 MB, free: 5.211 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.193e-05/0.2481, allocations: 0 / 447.9 MB, free: 5.211 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.676e-05/0.2482, allocations: 35.98 kB / 448 MB, free: 5.176 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.133e-05/0.2482, allocations: 20 kB / 448 MB, free: 5.156 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001373/0.2496, allocations: 0.6285 MB / 448.6 MB, free: 4.527 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.004088/0.2537, allocations: 1.98 MB / 450.6 MB, free: 2.488 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002545/0.2562, allocations: 0.7505 MB / 451.3 MB, free: 1.73 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007335/0.257, allocations: 326 kB / 451.7 MB, free: 1.414 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.203e-05/0.257, allocations: 16.64 kB / 451.7 MB, free: 1.398 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.494e-05/0.2571, allocations: 51.22 kB / 451.7 MB, free: 1.336 MB / 350.1 MB Notification: Performance of pre-optimization done (n=72): time 2.495e-06/0.2571, allocations: 0 / 451.7 MB, free: 1.336 MB / 350.1 MB Notification: Performance of matching and sorting (n=72): time 0.002588/0.2596, allocations: 1.025 MB / 452.7 MB, free: 304 kB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0005732/0.2602, allocations: 0.9489 MB / 453.7 MB, free: 15.12 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001105/0.2613, allocations: 0.7942 MB / 454.5 MB, free: 14.32 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 8.238e-05/0.2614, allocations: 45.7 kB / 454.5 MB, free: 14.27 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003639/0.2618, allocations: 424.8 kB / 454.9 MB, free: 13.85 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000235/0.262, allocations: 269.7 kB / 455.2 MB, free: 13.58 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002617/0.2623, allocations: 158.6 kB / 455.4 MB, free: 13.42 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001572/0.2624, allocations: 337.9 kB / 455.7 MB, free: 13.09 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006212/0.263, allocations: 336.8 kB / 456 MB, free: 12.74 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001418/0.2645, allocations: 1.55 MB / 457.6 MB, free: 10.83 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001247/0.2657, allocations: 0.6639 MB / 458.2 MB, free: 10.13 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.757e-06/0.2657, allocations: 0 / 458.2 MB, free: 10.13 MB / 366.1 MB Notification: Performance of matching and sorting (n=90) (initialization): time 0.001847/0.2676, allocations: 1.03 MB / 459.3 MB, free: 9.043 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.273e-05/0.2676, allocations: 89.05 kB / 459.4 MB, free: 8.938 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.674e-06/0.2677, allocations: 0 / 459.4 MB, free: 8.938 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003434/0.268, allocations: 124.2 kB / 459.5 MB, free: 8.801 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007181/0.2687, allocations: 155.9 kB / 459.6 MB, free: 8.648 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006195/0.2749, allocations: 6.778 MB / 466.4 MB, free: 1.293 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009535/0.2759, allocations: 99.56 kB / 466.5 MB, free: 1.195 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.953e-05/0.2759, allocations: 28 kB / 466.5 MB, free: 1.168 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.0004065/0.2763, allocations: 237.7 kB / 466.8 MB, free: 0.9258 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000178/0.2765, allocations: 107.3 kB / 466.9 MB, free: 0.8203 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001959/0.2767, allocations: 104.9 kB / 467 MB, free: 0.7148 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.113e-06/0.2767, allocations: 8 kB / 467 MB, free: 0.707 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.014e-05/0.2767, allocations: 3.984 kB / 467 MB, free: 0.7031 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001496/0.2782, allocations: 0.9738 MB / 468 MB, free: 15.62 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002964/0.2812, allocations: 1.549 MB / 469.5 MB, free: 14 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.867e-06/0.2812, allocations: 0 / 469.5 MB, free: 14 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007638/0.2819, allocations: 151.8 kB / 469.7 MB, free: 13.86 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001081/0.2821, allocations: 28.83 kB / 469.7 MB, free: 13.82 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.509e-05/0.2821, allocations: 12 kB / 469.7 MB, free: 13.81 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00116/0.2833, allocations: 1.319 MB / 471 MB, free: 12.38 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.303e-06/0.2833, allocations: 0 / 471 MB, free: 12.38 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002066/0.2853, allocations: 1.074 MB / 472.1 MB, free: 11.29 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000456/0.2858, allocations: 183.2 kB / 472.3 MB, free: 11.11 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001291/0.2859, allocations: 24.06 kB / 472.3 MB, free: 11.09 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006382/0.2866, allocations: 39.97 kB / 472.3 MB, free: 11.05 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.601e-05/0.2866, allocations: 44.56 kB / 472.4 MB, free: 11 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.28e-05/0.2867, allocations: 20 kB / 472.4 MB, free: 10.98 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0007326/0.2874, allocations: 0.5498 MB / 472.9 MB, free: 10.43 MB / 382.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2874, allocations: 0 / 472.9 MB, free: 10.43 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0007706/0.2882, allocations: 299.7 kB / 473.2 MB, free: 10.14 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.002387/0.2906, allocations: 1.656 MB / 474.9 MB, free: 8.453 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002218/0.2928, allocations: 1.438 MB / 476.3 MB, free: 6.895 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.248e-06/0.2928, allocations: 0 / 476.3 MB, free: 6.895 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007088/0.2935, allocations: 406.6 kB / 476.7 MB, free: 6.484 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001183/0.2947, allocations: 277.6 kB / 477 MB, free: 6.219 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01213/0.3068, allocations: 8.162 MB / 485.2 MB, free: 13.79 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003993/0.3072, allocations: 390.2 kB / 485.5 MB, free: 13.38 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0005825/0.3078, allocations: 131.5 kB / 485.7 MB, free: 13.24 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005012/0.3083, allocations: 363.3 kB / 486 MB, free: 12.89 MB / 398.1 MB Notification: Performance of SimCode: time 7.82e-07/0.3083, allocations: 0 / 486 MB, free: 12.89 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07428/0.3826, allocations: 29.4 MB / 0.5033 GB, free: 40 kB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 14.19/14.57, allocations: 3.938 kB / 0.5033 GB, free: 36 kB / 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.174697432201356]