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.001627/0.001627, allocations: 120.2 kB / 18.5 MB, free: 4.531 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.001672/0.001672, allocations: 222.2 kB / 21.46 MB, free: 1.578 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.4/1.4, allocations: 230.4 MB / 254.7 MB, free: 15.06 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling,fileNamePrefix="Modelica_trunk_Modelica_Thermal_FluidHeatFlow_Examples_IndirectCooling",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001889/0.001889, allocations: 63.91 kB / 373.7 MB, free: 10.12 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1051/0.107, allocations: 53.36 MB / 427.1 MB, free: 4.656 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling): time 0.1937/0.3006, allocations: 5.646 MB / 432.7 MB, free: 7.539 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002491/0.3031, allocations: 1.454 MB / 434.2 MB, free: 7.516 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000557/0.3037, allocations: 16.78 kB / 434.2 MB, free: 7.508 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000463/0.3041, allocations: 197.8 kB / 434.4 MB, free: 7.414 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007243/0.3049, allocations: 395.1 kB / 434.7 MB, free: 7.238 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004589/0.3053, allocations: 261.9 kB / 435 MB, free: 7.23 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001199/0.3065, allocations: 1.365 MB / 436.4 MB, free: 6.863 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003884/0.3069, allocations: 273.3 kB / 436.6 MB, free: 6.789 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006146/0.3075, allocations: 0.5256 MB / 437.2 MB, free: 6.688 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007113/0.3082, allocations: 0.5793 MB / 437.7 MB, free: 6.465 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001896/0.3084, allocations: 122.2 kB / 437.9 MB, free: 6.461 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000245/0.3087, allocations: 124.6 kB / 438 MB, free: 6.457 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001859/0.3088, allocations: 256.2 kB / 438.2 MB, free: 6.293 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005852/0.3094, allocations: 0.6143 MB / 438.8 MB, free: 5.938 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001548/0.311, allocations: 1.405 MB / 440.3 MB, free: 5.414 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.077e-06/0.311, allocations: 0 / 440.3 MB, free: 5.414 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.102e-06/0.311, allocations: 0 / 440.3 MB, free: 5.414 MB / 350.1 MB Notification: Performance of Transformations before backend: time 2.781e-05/0.311, allocations: 0 / 440.3 MB, free: 5.414 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.002614/0.3136, allocations: 1.517 MB / 441.8 MB, free: 4.371 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.252e-05/0.3137, allocations: 10.61 kB / 441.8 MB, free: 4.371 MB / 350.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 6.143e-05/0.3137, allocations: 25.8 kB / 441.8 MB, free: 4.363 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001747/0.3139, allocations: 136.4 kB / 441.9 MB, free: 4.273 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002346/0.3141, allocations: 135.7 kB / 442.1 MB, free: 4.211 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009794/0.3151, allocations: 0.6479 MB / 442.7 MB, free: 3.758 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001867/0.3153, allocations: 158.1 kB / 442.9 MB, free: 3.633 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001101/0.3154, allocations: 77.17 kB / 442.9 MB, free: 3.605 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001522/0.3169, allocations: 0.991 MB / 443.9 MB, free: 2.98 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.952e-05/0.317, allocations: 2.25 kB / 443.9 MB, free: 2.98 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.658e-05/0.317, allocations: 38.03 kB / 444 MB, free: 2.953 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.773e-05/0.3171, allocations: 17.19 kB / 444 MB, free: 2.953 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001304/0.3184, allocations: 0.6391 MB / 444.6 MB, free: 2.742 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.004033/0.3224, allocations: 2.693 MB / 447.3 MB, free: 1.117 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002437/0.3248, allocations: 0.8408 MB / 448.2 MB, free: 0.7539 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007515/0.3256, allocations: 347.7 kB / 448.5 MB, free: 0.6328 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.949e-05/0.3256, allocations: 27.67 kB / 448.5 MB, free: 0.6211 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.23e-05/0.3257, allocations: 55.56 kB / 448.6 MB, free: 0.5664 MB / 350.1 MB Notification: Performance of pre-optimization done (n=82): time 2.395e-06/0.3257, allocations: 0 / 448.6 MB, free: 0.5664 MB / 350.1 MB Notification: Performance of matching and sorting (n=118): time 0.01102/0.3367, allocations: 4.367 MB / 453 MB, free: 14.62 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.004554/0.3412, allocations: 3.798 MB / 456.8 MB, free: 11.31 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001111/0.3424, allocations: 0.7867 MB / 457.5 MB, free: 10.98 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002523/0.3426, allocations: 51.23 kB / 457.6 MB, free: 10.93 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003449/0.343, allocations: 412.7 kB / 458 MB, free: 10.61 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004638/0.3434, allocations: 432.6 kB / 458.4 MB, free: 10.28 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004452/0.3439, allocations: 231.6 kB / 458.6 MB, free: 10.18 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001622/0.344, allocations: 349.6 kB / 459 MB, free: 9.855 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001133/0.3452, allocations: 0.5775 MB / 459.6 MB, free: 9.664 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001443/0.3466, allocations: 0.9417 MB / 460.5 MB, free: 9.012 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00218/0.3488, allocations: 1.267 MB / 461.8 MB, free: 8.332 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.216e-06/0.3488, allocations: 0 / 461.8 MB, free: 8.332 MB / 366.1 MB Notification: Performance of matching and sorting (n=139) (initialization): time 0.003603/0.3524, allocations: 1.842 MB / 463.6 MB, free: 7.336 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.601e-05/0.3525, allocations: 92.59 kB / 463.7 MB, free: 7.234 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.322e-05/0.3525, allocations: 1.188 kB / 463.7 MB, free: 7.234 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000641/0.3531, allocations: 284.2 kB / 464 MB, free: 7.062 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009939/0.3541, allocations: 218.2 kB / 464.2 MB, free: 7 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01213/0.3662, allocations: 13.35 MB / 477.5 MB, free: 9.453 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002658/0.3689, allocations: 201.5 kB / 477.7 MB, free: 9.344 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001834/0.3691, allocations: 51.59 kB / 477.8 MB, free: 9.32 MB / 382.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 (117): * Single equations (assignments): 103 * Array equations: 2 * Algorithm blocks: 3 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 9 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 5 systems {(1,1,100.0%), (3,1,88.9%), (3,1,88.9%), (1,1,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 4 systems {(1,1), (3,1), (1,1), (3,1)} Notification: Performance of prepare postOptimizeDAE: time 0.000643/0.3697, allocations: 267.3 kB / 478.1 MB, free: 9.113 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002925/0.37, allocations: 123.6 kB / 478.2 MB, free: 9.051 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002853/0.3703, allocations: 126.3 kB / 478.3 MB, free: 8.945 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.003256/0.3736, allocations: 1.566 MB / 479.9 MB, free: 8.125 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.137e-06/0.3736, allocations: 3.344 kB / 479.9 MB, free: 8.125 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004605/0.3782, allocations: 2.236 MB / 482.1 MB, free: 6.625 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008808/0.387, allocations: 4.065 MB / 486.2 MB, free: 2.852 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.782e-06/0.387, allocations: 0 / 486.2 MB, free: 2.852 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009933/0.388, allocations: 195.7 kB / 486.4 MB, free: 2.66 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002508/0.3905, allocations: 0.8086 MB / 487.2 MB, free: 1.832 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001235/0.3906, allocations: 31.95 kB / 487.2 MB, free: 1.801 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0131/0.4037, allocations: 11.5 MB / 498.7 MB, free: 5.465 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.002645/0.4064, allocations: 2.23 MB / 0.4892 GB, free: 3.098 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006506/0.4129, allocations: 2.854 MB / 0.492 GB, free: 208 kB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009547/0.4138, allocations: 344.4 kB / 0.4923 GB, free: 15.84 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002853/0.4141, allocations: 28 kB / 0.4923 GB, free: 15.82 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001495/0.4156, allocations: 111.6 kB / 0.4924 GB, free: 15.71 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003008/0.4159, allocations: 104.8 kB / 0.4925 GB, free: 15.61 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.302e-05/0.416, allocations: 39.89 kB / 0.4926 GB, free: 15.57 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0007992/0.4168, allocations: 0.5537 MB / 0.4931 GB, free: 15.02 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4168, allocations: 0 / 0.4931 GB, free: 15.02 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.001799/0.4186, allocations: 0.5898 MB / 0.4937 GB, free: 14.43 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 ($STATESET1.x[3],$STATESET1.x[2],$STATESET1.x[1],heatCapacitor.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 (93): * Single equations (assignments): 87 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(3,1,88.9%), (1,1,100.0%), (3,1,88.9%), (1,1,100.0%), (1,2,100.0%), (5,11,80.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.006679/0.4253, allocations: 3.442 MB / 0.4971 GB, free: 10.95 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.004494/0.4298, allocations: 2.585 MB / 0.4996 GB, free: 8.207 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 9.177e-06/0.4298, allocations: 7.938 kB / 0.4996 GB, free: 8.199 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002947/0.4327, allocations: 1.543 MB / 0.5011 GB, free: 6.582 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001719/0.4344, allocations: 295.1 kB / 0.5014 GB, free: 6.297 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02005/0.4545, allocations: 11.22 MB / 0.5123 GB, free: 10.82 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007608/0.4552, allocations: 1.084 MB / 0.5134 GB, free: 9.707 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0008108/0.456, allocations: 169 kB / 0.5136 GB, free: 9.539 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007756/0.4568, allocations: 467.2 kB / 0.514 GB, free: 9.082 MB / 430.1 MB Notification: Performance of SimCode: time 1.513e-06/0.4568, allocations: 0 / 0.514 GB, free: 9.082 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1192/0.576, allocations: 37.48 MB / 0.5506 GB, free: 4.031 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.94/14.52, allocations: 19.92 kB / 0.5506 GB, free: 4.012 MB / 462.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 & /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/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] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 17.065527340047993]