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.001551/0.001551, allocations: 118.8 kB / 17.83 MB, free: 5.258 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001385/0.001385, allocations: 205.2 kB / 18.79 MB, free: 4.309 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.427/1.427, allocations: 230.4 MB / 250 MB, free: 9.078 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.002496/0.002496, allocations: 67.84 kB / 367.3 MB, free: 7.027 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2491/0.2516, allocations: 53.32 MB / 420.7 MB, free: 8.316 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling): time 0.006432/0.258, allocations: 5.643 MB / 426.3 MB, free: 2.66 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002237/0.2603, allocations: 1.448 MB / 427.8 MB, free: 1.203 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002408/0.2605, allocations: 8 kB / 427.8 MB, free: 1.195 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004224/0.2609, allocations: 198.3 kB / 428 MB, free: 1 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006827/0.2616, allocations: 404.7 kB / 428.4 MB, free: 0.6016 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004518/0.2621, allocations: 259.6 kB / 428.6 MB, free: 356 kB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001385/0.2635, allocations: 1.355 MB / 430 MB, free: 14.98 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004173/0.2639, allocations: 279.2 kB / 430.2 MB, free: 14.68 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005202/0.2644, allocations: 0.506 MB / 430.7 MB, free: 14.18 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006766/0.2651, allocations: 0.5874 MB / 431.3 MB, free: 13.59 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001604/0.2652, allocations: 120 kB / 431.4 MB, free: 13.47 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001883/0.2654, allocations: 124 kB / 431.6 MB, free: 13.35 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002165/0.2656, allocations: 255.1 kB / 431.8 MB, free: 13.1 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005674/0.2662, allocations: 0.6105 MB / 432.4 MB, free: 12.48 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001378/0.2676, allocations: 1.408 MB / 433.8 MB, free: 11.07 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.236e-06/0.2676, allocations: 0 / 433.8 MB, free: 11.07 MB / 350.1 MB Notification: Performance of FrontEnd: time 9.62e-07/0.2676, allocations: 0 / 433.8 MB, free: 11.07 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.246e-05/0.2676, allocations: 0 / 433.8 MB, free: 11.07 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.002497/0.2701, allocations: 1.518 MB / 435.3 MB, free: 9.488 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.387e-05/0.2701, allocations: 8.031 kB / 435.4 MB, free: 9.48 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002077/0.2703, allocations: 136.2 kB / 435.5 MB, free: 9.348 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009553/0.2713, allocations: 0.6389 MB / 436.1 MB, free: 8.668 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002119/0.2715, allocations: 159.6 kB / 436.3 MB, free: 8.492 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001079/0.2716, allocations: 64.38 kB / 436.3 MB, free: 8.43 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001519/0.2731, allocations: 0.9716 MB / 437.3 MB, free: 7.344 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.937e-05/0.2732, allocations: 0 / 437.3 MB, free: 7.344 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.657e-05/0.2732, allocations: 39.94 kB / 437.4 MB, free: 7.305 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.685e-05/0.2732, allocations: 16 kB / 437.4 MB, free: 7.289 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001329/0.2746, allocations: 0.6207 MB / 438 MB, free: 6.664 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.004064/0.2786, allocations: 2.633 MB / 440.6 MB, free: 3.875 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002538/0.2812, allocations: 0.822 MB / 441.5 MB, free: 3.027 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007049/0.2819, allocations: 322.7 kB / 441.8 MB, free: 2.711 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.029e-05/0.2819, allocations: 16.62 kB / 441.8 MB, free: 2.695 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.467e-05/0.282, allocations: 55.2 kB / 441.8 MB, free: 2.633 MB / 350.1 MB Notification: Performance of pre-optimization done (n=72): time 3.767e-06/0.282, allocations: 4 kB / 441.8 MB, free: 2.629 MB / 350.1 MB Notification: Performance of matching and sorting (n=72): time 0.002601/0.2846, allocations: 1.401 MB / 443.2 MB, free: 1.117 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000501/0.2851, allocations: 0.9527 MB / 444.2 MB, free: 15.94 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009718/0.2861, allocations: 0.7787 MB / 445 MB, free: 15.15 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 7.382e-05/0.2861, allocations: 45.7 kB / 445 MB, free: 15.1 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003703/0.2865, allocations: 425 kB / 445.4 MB, free: 14.68 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002168/0.2867, allocations: 265.7 kB / 445.7 MB, free: 14.42 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002687/0.287, allocations: 154.6 kB / 445.8 MB, free: 14.26 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001592/0.2872, allocations: 337.9 kB / 446.2 MB, free: 13.93 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005809/0.2877, allocations: 253.9 kB / 446.4 MB, free: 13.68 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009039/0.2886, allocations: 0.5841 MB / 447 MB, free: 12.97 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001218/0.2899, allocations: 0.6717 MB / 447.7 MB, free: 12.27 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.705e-06/0.2899, allocations: 7.938 kB / 447.7 MB, free: 12.26 MB / 366.1 MB Notification: Performance of matching and sorting (n=90) (initialization): time 0.001724/0.2916, allocations: 0.9475 MB / 448.6 MB, free: 11.27 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.874e-05/0.2917, allocations: 85.11 kB / 448.7 MB, free: 11.16 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.855e-06/0.2917, allocations: 4 kB / 448.7 MB, free: 11.16 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003321/0.292, allocations: 124.2 kB / 448.8 MB, free: 11.02 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000707/0.2927, allocations: 147.8 kB / 449 MB, free: 10.88 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006516/0.2992, allocations: 7.334 MB / 456.3 MB, free: 2.848 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007797/0.3, allocations: 107.4 kB / 456.4 MB, free: 2.742 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.52e-05/0.3001, allocations: 31.98 kB / 456.5 MB, free: 2.711 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.0003541/0.3004, allocations: 233.7 kB / 456.7 MB, free: 2.473 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001662/0.3006, allocations: 107.4 kB / 456.8 MB, free: 2.367 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001888/0.3008, allocations: 96.91 kB / 456.9 MB, free: 2.262 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.562e-06/0.3008, allocations: 8 kB / 456.9 MB, free: 2.254 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.201e-06/0.3008, allocations: 0 / 456.9 MB, free: 2.254 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001463/0.3023, allocations: 0.9738 MB / 457.9 MB, free: 1.172 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002814/0.3051, allocations: 1.749 MB / 459.6 MB, free: 15.35 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.456e-06/0.3051, allocations: 0 / 459.6 MB, free: 15.35 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007921/0.3059, allocations: 151.8 kB / 459.8 MB, free: 15.2 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.712e-05/0.306, allocations: 36.83 kB / 459.8 MB, free: 15.16 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.01e-05/0.306, allocations: 15.98 kB / 459.8 MB, free: 15.14 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001133/0.3072, allocations: 1.403 MB / 461.2 MB, free: 13.6 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.3072, allocations: 0 / 461.2 MB, free: 13.6 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001999/0.3092, allocations: 1.086 MB / 462.3 MB, free: 12.5 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003621/0.3095, allocations: 260.3 kB / 462.6 MB, free: 12.23 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000125/0.3096, allocations: 16 kB / 462.6 MB, free: 12.21 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006331/0.3103, allocations: 43.95 kB / 462.6 MB, free: 12.17 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001053/0.3104, allocations: 48.53 kB / 462.7 MB, free: 12.12 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.092e-05/0.3104, allocations: 16 kB / 462.7 MB, free: 12.1 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0007194/0.3111, allocations: 0.5498 MB / 463.2 MB, free: 11.56 MB / 382.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3111, allocations: 4 kB / 463.2 MB, free: 11.55 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0007661/0.3119, allocations: 295.7 kB / 463.5 MB, free: 11.27 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.0001851/0.3121, allocations: 127.1 kB / 463.6 MB, free: 11.13 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.00212/0.3142, allocations: 1.358 MB / 465 MB, free: 9.672 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 6.131e-06/0.3142, allocations: 4 kB / 465 MB, free: 9.668 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000691/0.3149, allocations: 406.4 kB / 465.4 MB, free: 9.262 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001033/0.3159, allocations: 285.1 kB / 465.7 MB, free: 8.984 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002853/0.3188, allocations: 1.69 MB / 467.4 MB, free: 7.262 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005923/0.3194, allocations: 0.9796 MB / 468.3 MB, free: 6.254 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0004872/0.3199, allocations: 131.5 kB / 468.5 MB, free: 6.121 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002094/0.3201, allocations: 79.42 kB / 468.6 MB, free: 6.043 MB / 382.1 MB Notification: Performance of SimCode: time 7.11e-07/0.3201, allocations: 4 kB / 468.6 MB, free: 6.039 MB / 382.1 MB Notification: Performance of Templates: time 0.04603/0.3661, allocations: 18.01 MB / 486.6 MB, free: 4.352 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 -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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Thermal/FluidHeatFlow/Examples/IndirectCooling/IndirectCooling.csv","/var/lib/jenkins/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