Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_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 4.1.0-beta.om/package.mo", uses=false) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/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: translateModel(Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling,tolerance=1e-06,outputFormat="mat",numberOfIntervals=3000,variableFilter="time|heatCapacitor.T|innerPipe.T|outerPipe.T|pipe1.T",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling") translateModel(Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling,tolerance=1e-06,outputFormat="mat",numberOfIntervals=3000,variableFilter="time|heatCapacitor.T|innerPipe.T|outerPipe.T|pipe1.T",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001311/0.001311, allocations: 114.6 kB / 18.45 MB, free: 4.617 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001341/0.001341, allocations: 211.7 kB / 19.41 MB, free: 3.668 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.435/1.435, allocations: 227.7 MB / 247.9 MB, free: 10.21 MB / 206.1 MB Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001918/0.001918, allocations: 63.89 kB / 359.7 MB, free: 12.77 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2279/0.2298, allocations: 50.54 MB / 410.2 MB, free: 1.457 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling): time 0.006905/0.2367, allocations: 5.643 MB / 415.8 MB, free: 11.8 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002672/0.2394, allocations: 1.456 MB / 417.3 MB, free: 10.33 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002748/0.2397, allocations: 8 kB / 417.3 MB, free: 10.32 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004406/0.2401, allocations: 198.2 kB / 417.5 MB, free: 10.13 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006896/0.2408, allocations: 396.7 kB / 417.9 MB, free: 9.738 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005101/0.2413, allocations: 263.6 kB / 418.1 MB, free: 9.48 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001481/0.2428, allocations: 1.353 MB / 419.5 MB, free: 8.121 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004165/0.2432, allocations: 275.3 kB / 419.8 MB, free: 7.824 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000513/0.2437, allocations: 0.5099 MB / 420.3 MB, free: 7.312 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007055/0.2444, allocations: 0.5913 MB / 420.9 MB, free: 6.719 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001587/0.2446, allocations: 116 kB / 421 MB, free: 6.605 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001825/0.2448, allocations: 124 kB / 421.1 MB, free: 6.484 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002181/0.245, allocations: 255.1 kB / 421.3 MB, free: 6.234 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006514/0.2457, allocations: 0.6144 MB / 422 MB, free: 5.617 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001446/0.2471, allocations: 1.412 MB / 423.4 MB, free: 4.203 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.068e-06/0.2471, allocations: 0 / 423.4 MB, free: 4.203 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.222e-06/0.2471, allocations: 0 / 423.4 MB, free: 4.203 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.25e-05/0.2471, allocations: 3.938 kB / 423.4 MB, free: 4.199 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.002561/0.2497, allocations: 1.512 MB / 424.9 MB, free: 2.617 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.421e-05/0.2497, allocations: 8.031 kB / 424.9 MB, free: 2.609 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002107/0.2499, allocations: 132.2 kB / 425 MB, free: 2.48 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009877/0.2509, allocations: 0.6506 MB / 425.7 MB, free: 1.789 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002094/0.2511, allocations: 151.6 kB / 425.8 MB, free: 1.621 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001096/0.2512, allocations: 68.38 kB / 425.9 MB, free: 1.555 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001499/0.2527, allocations: 0.9716 MB / 426.9 MB, free: 480 kB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.784e-05/0.2527, allocations: 0 / 426.9 MB, free: 480 kB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.801e-05/0.2528, allocations: 32 kB / 426.9 MB, free: 448 kB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.586e-05/0.2528, allocations: 16 kB / 426.9 MB, free: 432 kB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001317/0.2542, allocations: 0.6208 MB / 427.5 MB, free: 15.79 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.00409/0.2582, allocations: 2.633 MB / 430.2 MB, free: 13.01 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002518/0.2608, allocations: 0.8219 MB / 431 MB, free: 12.16 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000707/0.2615, allocations: 322.7 kB / 431.3 MB, free: 11.84 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.296e-05/0.2615, allocations: 16.64 kB / 431.3 MB, free: 11.83 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.564e-05/0.2616, allocations: 51.22 kB / 431.4 MB, free: 11.77 MB / 350.1 MB Notification: Performance of pre-optimization done (n=72): time 2.084e-06/0.2616, allocations: 336 / 431.4 MB, free: 11.77 MB / 350.1 MB Notification: Performance of matching and sorting (n=72): time 0.00267/0.2642, allocations: 1.405 MB / 432.8 MB, free: 10.25 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0005528/0.2648, allocations: 0.9566 MB / 433.7 MB, free: 9.07 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001032/0.2658, allocations: 0.7864 MB / 434.5 MB, free: 8.277 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 7.768e-05/0.2659, allocations: 45.7 kB / 434.6 MB, free: 8.227 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003781/0.2663, allocations: 413 kB / 435 MB, free: 7.816 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002345/0.2665, allocations: 261.7 kB / 435.2 MB, free: 7.559 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002573/0.2668, allocations: 158.6 kB / 435.4 MB, free: 7.398 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001792/0.267, allocations: 334 kB / 435.7 MB, free: 7.066 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005781/0.2675, allocations: 257.9 kB / 436 MB, free: 6.816 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009328/0.2685, allocations: 0.5918 MB / 436.5 MB, free: 6.098 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001251/0.2697, allocations: 0.6677 MB / 437.2 MB, free: 5.398 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.63e-06/0.2697, allocations: 4 kB / 437.2 MB, free: 5.395 MB / 350.1 MB Notification: Performance of matching and sorting (n=90) (initialization): time 0.001777/0.2715, allocations: 0.9436 MB / 438.2 MB, free: 4.406 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.003e-05/0.2716, allocations: 89.09 kB / 438.2 MB, free: 4.301 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.484e-06/0.2716, allocations: 0 / 438.2 MB, free: 4.301 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003458/0.2719, allocations: 128.2 kB / 438.4 MB, free: 4.16 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007031/0.2726, allocations: 155.8 kB / 438.5 MB, free: 4.008 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006365/0.279, allocations: 7.338 MB / 445.9 MB, free: 11.97 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009531/0.2799, allocations: 107.4 kB / 446 MB, free: 11.87 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.319e-05/0.28, allocations: 27.92 kB / 446 MB, free: 11.84 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.0004138/0.2804, allocations: 237.7 kB / 446.2 MB, free: 11.6 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001665/0.2806, allocations: 103.4 kB / 446.3 MB, free: 11.5 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001899/0.2808, allocations: 109 kB / 446.4 MB, free: 11.38 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.603e-06/0.2808, allocations: 8 kB / 446.4 MB, free: 11.37 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.543e-06/0.2808, allocations: 0 / 446.4 MB, free: 11.37 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001481/0.2823, allocations: 0.9661 MB / 447.4 MB, free: 10.3 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002878/0.2851, allocations: 1.745 MB / 449.2 MB, free: 8.477 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.647e-06/0.2851, allocations: 0 / 449.2 MB, free: 8.477 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007567/0.2859, allocations: 159.8 kB / 449.3 MB, free: 8.32 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.382e-05/0.286, allocations: 24.84 kB / 449.3 MB, free: 8.293 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.906e-05/0.286, allocations: 12 kB / 449.3 MB, free: 8.281 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001117/0.2872, allocations: 1.411 MB / 450.8 MB, free: 6.73 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.292e-06/0.2872, allocations: 0 / 450.8 MB, free: 6.73 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002055/0.2892, allocations: 1.086 MB / 451.8 MB, free: 5.629 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004016/0.2896, allocations: 264.3 kB / 452.1 MB, free: 5.352 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00012/0.2897, allocations: 20 kB / 452.1 MB, free: 5.332 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006481/0.2904, allocations: 35.97 kB / 452.2 MB, free: 5.297 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.451e-05/0.2905, allocations: 44.59 kB / 452.2 MB, free: 5.25 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.861e-05/0.2905, allocations: 23.98 kB / 452.2 MB, free: 5.227 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0007247/0.2912, allocations: 0.5459 MB / 452.8 MB, free: 4.688 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2912, allocations: 0 / 452.8 MB, free: 4.688 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0008091/0.292, allocations: 299.7 kB / 453.1 MB, free: 4.395 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.000174/0.2922, allocations: 123.1 kB / 453.2 MB, free: 4.266 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.002169/0.2944, allocations: 1.362 MB / 454.5 MB, free: 2.801 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.978e-06/0.2944, allocations: 0 / 454.5 MB, free: 2.801 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007216/0.2951, allocations: 414.5 kB / 454.9 MB, free: 2.387 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00111/0.2962, allocations: 275 kB / 455.2 MB, free: 2.113 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002965/0.2992, allocations: 1.693 MB / 456.9 MB, free: 400 kB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006434/0.2998, allocations: 0.9758 MB / 457.9 MB, free: 15.39 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.000474/0.3003, allocations: 139.3 kB / 458 MB, free: 15.25 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002047/0.3005, allocations: 71.44 kB / 458.1 MB, free: 15.18 MB / 382.1 MB Notification: Performance of SimCode: time 6.31e-07/0.3005, allocations: 0 / 458.1 MB, free: 15.18 MB / 382.1 MB Notification: Performance of Templates: time 0.03141/0.3319, allocations: 17.96 MB / 476 MB, free: 13.55 MB / 398.1 MB make -j1 -f Modelica_4.1.0-beta.om_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.makefile (rm -f Modelica_4.1.0-beta.om_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.sim & ./Modelica_4.1.0-beta.om_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.pipe 2>&1) diffSimulationResults("Modelica_4.1.0-beta.om_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-beta.om_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches