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.001295/0.001295, allocations: 112.4 kB / 18.5 MB, free: 4.582 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.002239/0.002239, allocations: 204.9 kB / 21.46 MB, free: 1.629 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.401/1.401, allocations: 230.2 MB / 254.5 MB, free: 15.25 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.001791/0.001791, allocations: 63.89 kB / 373.3 MB, free: 10.48 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09079/0.09258, allocations: 53.32 MB / 426.7 MB, free: 5.066 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling): time 0.1765/0.269, allocations: 5.632 MB / 432.3 MB, free: 7.488 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002492/0.2715, allocations: 1.456 MB / 433.8 MB, free: 7.477 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003424/0.2719, allocations: 14.34 kB / 433.8 MB, free: 7.477 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003887/0.2723, allocations: 198.8 kB / 434 MB, free: 7.402 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005663/0.2728, allocations: 398.7 kB / 434.3 MB, free: 7.227 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004234/0.2733, allocations: 265 kB / 434.6 MB, free: 7.219 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001068/0.2743, allocations: 1.358 MB / 436 MB, free: 6.867 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003658/0.2747, allocations: 274.2 kB / 436.2 MB, free: 6.793 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005067/0.2752, allocations: 0.5115 MB / 436.7 MB, free: 6.691 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006065/0.2758, allocations: 0.589 MB / 437.3 MB, free: 6.512 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001581/0.276, allocations: 122 kB / 437.5 MB, free: 6.508 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001966/0.2762, allocations: 119.4 kB / 437.6 MB, free: 6.508 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001656/0.2763, allocations: 251.8 kB / 437.8 MB, free: 6.348 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004786/0.2768, allocations: 0.6139 MB / 438.4 MB, free: 5.992 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001372/0.2782, allocations: 1.403 MB / 439.8 MB, free: 5.473 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.807e-06/0.2782, allocations: 0 / 439.8 MB, free: 5.473 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.2782, allocations: 5.094 kB / 439.8 MB, free: 5.469 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.824e-05/0.2782, allocations: 0 / 439.8 MB, free: 5.469 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.002404/0.2806, allocations: 1.516 MB / 441.4 MB, free: 4.426 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.698e-05/0.2807, allocations: 10.16 kB / 441.4 MB, free: 4.426 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001817/0.2808, allocations: 131.8 kB / 441.5 MB, free: 4.332 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002078/0.281, allocations: 138 kB / 441.6 MB, free: 4.266 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000897/0.2819, allocations: 0.6487 MB / 442.3 MB, free: 3.812 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001713/0.2821, allocations: 153 kB / 442.4 MB, free: 3.695 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.693e-05/0.2822, allocations: 71 kB / 442.5 MB, free: 3.672 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001379/0.2836, allocations: 0.9766 MB / 443.5 MB, free: 3.047 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.327e-05/0.2836, allocations: 1.109 kB / 443.5 MB, free: 3.047 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.069e-05/0.2837, allocations: 34.31 kB / 443.5 MB, free: 3.023 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.916e-05/0.2837, allocations: 16.44 kB / 443.5 MB, free: 3.023 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00141/0.2851, allocations: 0.6321 MB / 444.2 MB, free: 2.812 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.004319/0.2894, allocations: 2.648 MB / 446.8 MB, free: 1.199 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002313/0.2918, allocations: 0.8294 MB / 447.6 MB, free: 0.8438 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006994/0.2925, allocations: 320.1 kB / 447.9 MB, free: 0.7305 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.106e-05/0.2925, allocations: 15.09 kB / 448 MB, free: 0.7305 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.371e-05/0.2926, allocations: 51.14 kB / 448 MB, free: 0.6797 MB / 350.1 MB Notification: Performance of pre-optimization done (n=72): time 2.965e-06/0.2926, allocations: 0 / 448 MB, free: 0.6797 MB / 350.1 MB Notification: Performance of matching and sorting (n=72): time 0.002484/0.295, allocations: 1.405 MB / 449.4 MB, free: 15.79 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0005147/0.2956, allocations: 0.9502 MB / 450.4 MB, free: 14.63 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001092/0.2966, allocations: 0.7904 MB / 451.2 MB, free: 14.29 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 9.53e-05/0.2967, allocations: 44.92 kB / 451.2 MB, free: 14.25 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003526/0.2971, allocations: 426 kB / 451.6 MB, free: 13.92 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002497/0.2973, allocations: 266.1 kB / 451.9 MB, free: 13.71 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002592/0.2976, allocations: 156.5 kB / 452 MB, free: 13.64 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001492/0.2978, allocations: 336 kB / 452.4 MB, free: 13.32 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005546/0.2983, allocations: 258.3 kB / 452.6 MB, free: 13.23 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008869/0.2992, allocations: 0.5858 MB / 453.2 MB, free: 12.76 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001188/0.3004, allocations: 0.6625 MB / 453.9 MB, free: 12.38 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.198e-06/0.3004, allocations: 1.875 kB / 453.9 MB, free: 12.38 MB / 366.1 MB Notification: Performance of matching and sorting (n=90) (initialization): time 0.001747/0.3021, allocations: 0.9516 MB / 454.8 MB, free: 11.89 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.369e-05/0.3022, allocations: 95.84 kB / 454.9 MB, free: 11.79 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.015e-06/0.3022, allocations: 1.875 kB / 454.9 MB, free: 11.79 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003249/0.3025, allocations: 124.9 kB / 455 MB, free: 11.72 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006759/0.3032, allocations: 155.6 kB / 455.2 MB, free: 11.7 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006198/0.3094, allocations: 7.333 MB / 462.5 MB, free: 4.445 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001059/0.3105, allocations: 104.3 kB / 462.6 MB, free: 4.391 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.871e-05/0.3105, allocations: 29.67 kB / 462.6 MB, free: 4.383 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.0004089/0.3109, allocations: 232.7 kB / 462.9 MB, free: 4.199 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001815/0.3111, allocations: 104.6 kB / 463 MB, free: 4.148 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000189/0.3113, allocations: 103.7 kB / 463.1 MB, free: 4.07 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.682e-06/0.3113, allocations: 9.328 kB / 463.1 MB, free: 4.07 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.021e-05/0.3113, allocations: 0 / 463.1 MB, free: 4.07 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00141/0.3127, allocations: 0.9674 MB / 464 MB, free: 3.344 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002969/0.3157, allocations: 1.753 MB / 465.8 MB, free: 2.355 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.778e-06/0.3157, allocations: 1.188 kB / 465.8 MB, free: 2.355 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007412/0.3165, allocations: 159.7 kB / 466 MB, free: 2.312 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.707e-05/0.3166, allocations: 25.91 kB / 466 MB, free: 2.297 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.054e-05/0.3166, allocations: 11.38 kB / 466 MB, free: 2.289 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001055/0.3176, allocations: 1.409 MB / 467.4 MB, free: 0.832 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.31e-07/0.3176, allocations: 0 / 467.4 MB, free: 0.832 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001937/0.3196, allocations: 1.087 MB / 468.5 MB, free: 228 kB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005143/0.3201, allocations: 264.6 kB / 468.7 MB, free: 15.98 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001314/0.3202, allocations: 19.72 kB / 468.8 MB, free: 15.97 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006379/0.3209, allocations: 40.44 kB / 468.8 MB, free: 15.95 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.123e-05/0.321, allocations: 41.03 kB / 468.8 MB, free: 15.93 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.052e-05/0.321, allocations: 31.89 kB / 468.9 MB, free: 15.91 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0006959/0.3217, allocations: 0.5413 MB / 469.4 MB, free: 15.61 MB / 382.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3217, allocations: 0 / 469.4 MB, free: 15.61 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0008137/0.3225, allocations: 301.9 kB / 469.7 MB, free: 15.56 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.002289/0.3248, allocations: 1.65 MB / 471.4 MB, free: 14.41 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002123/0.3269, allocations: 1.364 MB / 472.7 MB, free: 13.34 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.619e-06/0.3269, allocations: 2.688 kB / 472.7 MB, free: 13.34 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006678/0.3276, allocations: 402.9 kB / 473.1 MB, free: 13.09 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001163/0.3288, allocations: 284.6 kB / 473.4 MB, free: 12.95 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01204/0.3408, allocations: 7.845 MB / 481.2 MB, free: 7.742 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006518/0.3414, allocations: 0.9797 MB / 482.2 MB, free: 6.727 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.000645/0.3421, allocations: 131.5 kB / 482.4 MB, free: 6.594 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004829/0.3426, allocations: 359.2 kB / 482.7 MB, free: 6.238 MB / 382.1 MB Notification: Performance of SimCode: time 1.011e-06/0.3426, allocations: 0 / 482.7 MB, free: 6.238 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06872/0.4113, allocations: 26.43 MB / 0.4972 GB, free: 12.21 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.28/13.69, allocations: 0 / 0.4972 GB, free: 12.21 MB / 414.1 MB " [Timeout remaining time 646] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling_res.mat --tempDir=temp_Modelica_trunk_Modelica_Thermal_FluidHeatFlow_Examples_IndirectCooling_fmu --startTime=0 --stopTime=1.5 --stepSize=0.001 --timeout=50 --tolerance=1e-06 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.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Thermal/FluidHeatFlow/Examples/IndirectCooling/IndirectCooling.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 16.047304451931268]