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.00211/0.00211, allocations: 128.5 kB / 17.79 MB, free: 5.246 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.002625/0.002625, allocations: 207.2 kB / 20.75 MB, free: 2.297 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.417/1.417, allocations: 230.6 MB / 254.1 MB, free: 15.08 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.001528/0.001528, allocations: 47.94 kB / 373 MB, free: 10.28 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09243/0.09396, allocations: 53.32 MB / 426.3 MB, free: 4.863 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling): time 0.1755/0.2695, allocations: 5.636 MB / 431.9 MB, free: 7.477 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002372/0.2718, allocations: 1.461 MB / 433.4 MB, free: 7.465 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003345/0.2722, allocations: 15.47 kB / 433.4 MB, free: 7.465 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000392/0.2726, allocations: 195.5 kB / 433.6 MB, free: 7.375 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006063/0.2732, allocations: 398.4 kB / 434 MB, free: 7.199 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004254/0.2736, allocations: 259.2 kB / 434.3 MB, free: 7.191 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.00102/0.2746, allocations: 1.373 MB / 435.6 MB, free: 6.828 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003484/0.275, allocations: 276.8 kB / 435.9 MB, free: 6.75 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004623/0.2754, allocations: 0.5216 MB / 436.4 MB, free: 6.648 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005973/0.276, allocations: 0.5825 MB / 437 MB, free: 6.441 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001573/0.2762, allocations: 117.8 kB / 437.1 MB, free: 6.441 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001983/0.2764, allocations: 119.7 kB / 437.2 MB, free: 6.441 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001722/0.2765, allocations: 260 kB / 437.5 MB, free: 6.273 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004612/0.277, allocations: 0.6093 MB / 438.1 MB, free: 5.922 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001323/0.2783, allocations: 1.408 MB / 439.5 MB, free: 5.398 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.9e-06/0.2783, allocations: 1.031 kB / 439.5 MB, free: 5.398 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.703e-06/0.2783, allocations: 0 / 439.5 MB, free: 5.398 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.527e-05/0.2784, allocations: 1.062 kB / 439.5 MB, free: 5.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.002316/0.2807, allocations: 1.512 MB / 441 MB, free: 4.355 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.825e-05/0.2807, allocations: 12.27 kB / 441 MB, free: 4.355 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001788/0.2809, allocations: 129.8 kB / 441.2 MB, free: 4.262 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001975/0.2811, allocations: 141.3 kB / 441.3 MB, free: 4.191 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008618/0.2819, allocations: 0.6438 MB / 441.9 MB, free: 3.742 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001739/0.2821, allocations: 151.3 kB / 442.1 MB, free: 3.625 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.87e-05/0.2822, allocations: 75.28 kB / 442.2 MB, free: 3.602 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00142/0.2836, allocations: 0.9772 MB / 443.1 MB, free: 2.977 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.027e-05/0.2837, allocations: 0.5625 kB / 443.1 MB, free: 2.977 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.319e-05/0.2837, allocations: 34.38 kB / 443.2 MB, free: 2.953 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.839e-05/0.2838, allocations: 20.28 kB / 443.2 MB, free: 2.949 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001293/0.2851, allocations: 0.6287 MB / 443.8 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.003701/0.2888, allocations: 2.65 MB / 446.5 MB, free: 1.125 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002532/0.2913, allocations: 0.826 MB / 447.3 MB, free: 0.7695 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006725/0.292, allocations: 320.1 kB / 447.6 MB, free: 0.6562 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.867e-05/0.292, allocations: 20.38 kB / 447.6 MB, free: 0.6523 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.636e-05/0.2921, allocations: 48.95 kB / 447.7 MB, free: 0.6055 MB / 350.1 MB Notification: Performance of pre-optimization done (n=72): time 2.114e-06/0.2921, allocations: 0 / 447.7 MB, free: 0.6055 MB / 350.1 MB Notification: Performance of matching and sorting (n=72): time 0.002651/0.2947, allocations: 1.408 MB / 449.1 MB, free: 15.72 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0007244/0.2954, allocations: 0.9484 MB / 450 MB, free: 14.56 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001102/0.2965, allocations: 0.7863 MB / 450.8 MB, free: 14.23 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 9.381e-05/0.2966, allocations: 46.17 kB / 450.9 MB, free: 14.18 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003856/0.297, allocations: 422.4 kB / 451.3 MB, free: 13.86 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002625/0.2973, allocations: 268 kB / 451.5 MB, free: 13.65 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002759/0.2975, allocations: 159.7 kB / 451.7 MB, free: 13.57 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001607/0.2977, allocations: 338.5 kB / 452 MB, free: 13.25 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006033/0.2983, allocations: 254.6 kB / 452.3 MB, free: 13.16 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009537/0.2993, allocations: 0.5839 MB / 452.9 MB, free: 12.69 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001266/0.3005, allocations: 0.6636 MB / 453.5 MB, free: 12.31 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.236e-06/0.3005, allocations: 0 / 453.5 MB, free: 12.31 MB / 366.1 MB Notification: Performance of matching and sorting (n=90) (initialization): time 0.001953/0.3025, allocations: 0.9537 MB / 454.5 MB, free: 11.82 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 8e-05/0.3026, allocations: 92.7 kB / 454.6 MB, free: 11.71 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.376e-06/0.3026, allocations: 2.422 kB / 454.6 MB, free: 11.71 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003462/0.3029, allocations: 128.5 kB / 454.7 MB, free: 11.64 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007047/0.3036, allocations: 148.8 kB / 454.8 MB, free: 11.63 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007148/0.3108, allocations: 7.327 MB / 462.2 MB, free: 4.375 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001136/0.3119, allocations: 103.6 kB / 462.3 MB, free: 4.32 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.117e-05/0.312, allocations: 29.06 kB / 462.3 MB, free: 4.312 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.0004425/0.3124, allocations: 232.3 kB / 462.5 MB, free: 4.129 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001822/0.3126, allocations: 109.4 kB / 462.6 MB, free: 4.074 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002102/0.3128, allocations: 109.9 kB / 462.7 MB, free: 3.996 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.231e-06/0.3128, allocations: 6.094 kB / 462.7 MB, free: 3.996 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.139e-05/0.3128, allocations: 1.062 kB / 462.7 MB, free: 3.996 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001603/0.3144, allocations: 0.9706 MB / 463.7 MB, free: 3.266 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003046/0.3175, allocations: 1.75 MB / 465.5 MB, free: 2.273 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.649e-06/0.3175, allocations: 7.938 kB / 465.5 MB, free: 2.27 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007768/0.3183, allocations: 155.1 kB / 465.6 MB, free: 2.23 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001026/0.3184, allocations: 20.41 kB / 465.6 MB, free: 2.219 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.573e-05/0.3184, allocations: 16.53 kB / 465.7 MB, free: 2.207 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001297/0.3197, allocations: 1.402 MB / 467.1 MB, free: 0.7539 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.3197, allocations: 0 / 467.1 MB, free: 0.7539 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00214/0.3218, allocations: 1.083 MB / 468.1 MB, free: 148 kB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000471/0.3223, allocations: 265.4 kB / 468.4 MB, free: 15.9 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001296/0.3224, allocations: 20.03 kB / 468.4 MB, free: 15.89 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006731/0.3231, allocations: 42.81 kB / 468.5 MB, free: 15.86 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.627e-05/0.3232, allocations: 45.31 kB / 468.5 MB, free: 15.84 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.347e-05/0.3233, allocations: 20.83 kB / 468.5 MB, free: 15.83 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0007998/0.3241, allocations: 0.5462 MB / 469.1 MB, free: 15.52 MB / 382.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3241, allocations: 0 / 469.1 MB, free: 15.52 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0008804/0.3249, allocations: 298.4 kB / 469.4 MB, free: 15.47 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.002455/0.3274, allocations: 1.661 MB / 471 MB, free: 14.32 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002313/0.3297, allocations: 1.37 MB / 472.4 MB, free: 13.24 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 5.24e-06/0.3297, allocations: 3 kB / 472.4 MB, free: 13.24 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007041/0.3304, allocations: 398.8 kB / 472.8 MB, free: 13 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001173/0.3316, allocations: 276.3 kB / 473.1 MB, free: 12.86 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01235/0.3439, allocations: 7.85 MB / 480.9 MB, free: 7.605 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006699/0.3446, allocations: 0.9797 MB / 481.9 MB, free: 6.59 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0006138/0.3452, allocations: 127.5 kB / 482 MB, free: 6.461 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005402/0.3458, allocations: 359.3 kB / 482.4 MB, free: 6.105 MB / 382.1 MB Notification: Performance of SimCode: time 6.31e-07/0.3458, allocations: 4 kB / 482.4 MB, free: 6.102 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07021/0.416, allocations: 26.45 MB / 0.4969 GB, free: 12.12 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.43/13.85, allocations: 0 / 0.4969 GB, free: 12.12 MB / 414.1 MB " [Timeout remaining time 646] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling_res.mat --tempDir=temp_Modelica_4_1_0_Modelica_Thermal_FluidHeatFlow_Examples_IndirectCooling_fmu --startTime=0 --stopTime=1.5 --stepSize=0.001 --timeout=50 --tolerance=1e-06 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.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_4.1.0_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.25049930997193]