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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) 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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00101/0.00101, allocations: 118.8 kB / 17.79 MB, free: 5.305 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001101/0.001101, allocations: 197.2 kB / 18.73 MB, free: 4.363 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.246/1.246, allocations: 227.4 MB / 246.9 MB, free: 10.49 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001141/0.001141, allocations: 63.89 kB / 358.2 MB, free: 13.43 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2829/0.2841, allocations: 50.55 MB / 408.8 MB, free: 1.527 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling): time 0.006519/0.2907, allocations: 5.616 MB / 414.4 MB, free: 11.89 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003321/0.294, allocations: 1.45 MB / 415.8 MB, free: 10.43 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009673/0.295, allocations: 15.94 kB / 415.8 MB, free: 10.42 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006983/0.2957, allocations: 198.3 kB / 416 MB, free: 10.22 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001191/0.297, allocations: 380.8 kB / 416.4 MB, free: 9.848 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000662/0.2976, allocations: 255.6 kB / 416.7 MB, free: 9.598 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001926/0.2996, allocations: 1.366 MB / 418 MB, free: 8.223 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006646/0.3003, allocations: 411.1 kB / 418.4 MB, free: 7.793 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007656/0.301, allocations: 0.5216 MB / 418.9 MB, free: 7.27 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008969/0.3019, allocations: 0.5757 MB / 419.5 MB, free: 6.691 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002747/0.3022, allocations: 120 kB / 419.6 MB, free: 6.574 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002637/0.3025, allocations: 120 kB / 419.8 MB, free: 6.457 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002074/0.3027, allocations: 255.1 kB / 420 MB, free: 6.207 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006093/0.3033, allocations: 0.6105 MB / 420.6 MB, free: 5.594 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001216/0.3046, allocations: 1.405 MB / 422 MB, free: 4.184 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.559e-06/0.3046, allocations: 0 / 422 MB, free: 4.184 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.212e-06/0.3046, allocations: 0 / 422 MB, free: 4.184 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.478e-05/0.3046, allocations: 0 / 422 MB, free: 4.184 MB / 334.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.002312/0.3069, allocations: 1.481 MB / 423.5 MB, free: 2.633 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.678e-05/0.307, allocations: 15.97 kB / 423.5 MB, free: 2.617 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001756/0.3071, allocations: 132.5 kB / 423.6 MB, free: 2.477 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001828/0.3073, allocations: 127.5 kB / 423.8 MB, free: 2.352 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009385/0.3083, allocations: 0.6343 MB / 424.4 MB, free: 1.676 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001811/0.3085, allocations: 155.6 kB / 424.6 MB, free: 1.508 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.845e-05/0.3086, allocations: 76.31 kB / 424.6 MB, free: 1.434 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001374/0.31, allocations: 0.9822 MB / 425.6 MB, free: 340 kB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.792e-05/0.31, allocations: 4 kB / 425.6 MB, free: 336 kB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.371e-05/0.3101, allocations: 32 kB / 425.6 MB, free: 304 kB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.783e-05/0.3101, allocations: 20 kB / 425.7 MB, free: 284 kB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001192/0.3113, allocations: 0.6208 MB / 426.3 MB, free: 15.65 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.003745/0.315, allocations: 2.648 MB / 428.9 MB, free: 12.85 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002368/0.3174, allocations: 0.8685 MB / 429.8 MB, free: 11.95 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006407/0.3181, allocations: 354.7 kB / 430.2 MB, free: 11.61 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.894e-05/0.3181, allocations: 20.62 kB / 430.2 MB, free: 11.59 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.021e-05/0.3182, allocations: 47.22 kB / 430.2 MB, free: 11.53 MB / 350.1 MB Notification: Performance of pre-optimization done (n=72): time 2.214e-06/0.3182, allocations: 0 / 430.2 MB, free: 11.53 MB / 350.1 MB Notification: Performance of matching and sorting (n=72): time 0.002488/0.3207, allocations: 1.401 MB / 431.6 MB, free: 10.02 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004214/0.3211, allocations: 0.9489 MB / 432.6 MB, free: 8.844 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009171/0.322, allocations: 0.7903 MB / 433.4 MB, free: 8.047 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 7.855e-05/0.3221, allocations: 45.7 kB / 433.4 MB, free: 7.996 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003017/0.3224, allocations: 424.6 kB / 433.8 MB, free: 7.578 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002006/0.3226, allocations: 252.4 kB / 434.1 MB, free: 7.328 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000218/0.3229, allocations: 158.6 kB / 434.2 MB, free: 7.168 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001205/0.323, allocations: 337.9 kB / 434.5 MB, free: 6.832 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005052/0.3235, allocations: 257.8 kB / 434.8 MB, free: 6.582 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007969/0.3243, allocations: 0.5927 MB / 435.4 MB, free: 5.863 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001099/0.3254, allocations: 0.6561 MB / 436 MB, free: 5.176 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.386e-06/0.3254, allocations: 0 / 436 MB, free: 5.176 MB / 350.1 MB Notification: Performance of matching and sorting (n=90) (initialization): time 0.001599/0.327, allocations: 0.9469 MB / 437 MB, free: 4.184 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.825e-05/0.3271, allocations: 93.03 kB / 437.1 MB, free: 4.074 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.425e-06/0.3271, allocations: 4.125 kB / 437.1 MB, free: 4.07 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003265/0.3275, allocations: 128.2 kB / 437.2 MB, free: 3.93 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000705/0.3282, allocations: 147.8 kB / 437.4 MB, free: 3.785 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005563/0.3337, allocations: 7.336 MB / 444.7 MB, free: 11.75 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008264/0.3346, allocations: 99.45 kB / 444.8 MB, free: 11.65 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.381e-05/0.3347, allocations: 24 kB / 444.8 MB, free: 11.63 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.00036/0.335, allocations: 237.8 kB / 445.1 MB, free: 11.39 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001523/0.3352, allocations: 106.8 kB / 445.2 MB, free: 11.28 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001825/0.3354, allocations: 104.9 kB / 445.3 MB, free: 11.17 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.542e-06/0.3354, allocations: 8 kB / 445.3 MB, free: 11.16 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.809e-06/0.3354, allocations: 0 / 445.3 MB, free: 11.16 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001351/0.3368, allocations: 0.9738 MB / 446.2 MB, free: 10.08 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002509/0.3393, allocations: 1.752 MB / 448 MB, free: 8.25 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.547e-06/0.3393, allocations: 0 / 448 MB, free: 8.25 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007586/0.3401, allocations: 159.8 kB / 448.1 MB, free: 8.094 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.414e-05/0.3402, allocations: 20.84 kB / 448.2 MB, free: 8.07 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.424e-05/0.3402, allocations: 19.98 kB / 448.2 MB, free: 8.051 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009373/0.3412, allocations: 1.399 MB / 449.6 MB, free: 6.512 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.3412, allocations: 4.062 kB / 449.6 MB, free: 6.508 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001815/0.343, allocations: 1.081 MB / 450.7 MB, free: 5.41 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003407/0.3433, allocations: 259.7 kB / 450.9 MB, free: 5.137 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001203/0.3435, allocations: 20 kB / 450.9 MB, free: 5.117 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005852/0.3441, allocations: 35.97 kB / 451 MB, free: 5.082 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.778e-05/0.3442, allocations: 44.59 kB / 451 MB, free: 5.035 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.076e-05/0.3442, allocations: 27.98 kB / 451 MB, free: 5.008 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0006207/0.3448, allocations: 0.5497 MB / 451.6 MB, free: 4.461 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.3448, allocations: 0 / 451.6 MB, free: 4.461 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0007175/0.3456, allocations: 291.6 kB / 451.9 MB, free: 4.176 MB / 366.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.002092/0.3477, allocations: 1.661 MB / 453.5 MB, free: 2.484 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001925/0.3496, allocations: 1.386 MB / 454.9 MB, free: 1 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.789e-06/0.3496, allocations: 4 kB / 454.9 MB, free: 0.9961 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000631/0.3503, allocations: 426.2 kB / 455.4 MB, free: 0.5664 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001054/0.3513, allocations: 287.2 kB / 455.6 MB, free: 292 kB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01057/0.3619, allocations: 7.795 MB / 463.4 MB, free: 8.301 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005531/0.3625, allocations: 0.9875 MB / 464.4 MB, free: 7.277 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0004867/0.363, allocations: 123.5 kB / 464.5 MB, free: 7.152 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004456/0.3634, allocations: 359.3 kB / 464.9 MB, free: 6.801 MB / 382.1 MB Notification: Performance of SimCode: time 8.52e-07/0.3634, allocations: 4 kB / 464.9 MB, free: 6.797 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05808/0.4215, allocations: 26.81 MB / 491.7 MB, free: 12.43 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.81/13.23, allocations: 3.984 kB / 491.7 MB, free: 12.43 MB / 414.1 MB (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 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Thermal_FluidHeatFlow_Examples_IndirectCooling.fmu > Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.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) Reference file matches