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.001869/0.001869, allocations: 103.6 kB / 21.18 MB, free: 0.6445 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.002383/0.002383, allocations: 211.4 kB / 24.48 MB, free: 3.934 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.572/1.572, allocations: 230.5 MB / 258.1 MB, free: 7.773 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: translateModel(Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1500,variableFilter="time|heatCapacitor.T|innerPipe.T|outerPipe.T|pipe1.T",fileNamePrefix="Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling") translateModel(Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1500,variableFilter="time|heatCapacitor.T|innerPipe.T|outerPipe.T|pipe1.T",fileNamePrefix="Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001953/0.001953, allocations: 67.84 kB / 379 MB, free: 2.297 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2494/0.2513, allocations: 53.41 MB / 432.4 MB, free: 6.512 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling): time 0.00675/0.2581, allocations: 4.986 MB / 437.4 MB, free: 1.516 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003183/0.2612, allocations: 1.406 MB / 438.8 MB, free: 104 kB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005493/0.2618, allocations: 19.88 kB / 438.8 MB, free: 84 kB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005819/0.2624, allocations: 186.3 kB / 439 MB, free: 15.9 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008762/0.2632, allocations: 396.7 kB / 439.4 MB, free: 15.51 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005598/0.2638, allocations: 267.6 kB / 439.6 MB, free: 15.25 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001664/0.2655, allocations: 1.362 MB / 441 MB, free: 13.88 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000465/0.2659, allocations: 259.8 kB / 441.2 MB, free: 13.6 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006964/0.2666, allocations: 0.5295 MB / 441.8 MB, free: 13.07 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007224/0.2674, allocations: 0.4937 MB / 442.3 MB, free: 12.57 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001894/0.2675, allocations: 123.9 kB / 442.4 MB, free: 12.45 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002332/0.2678, allocations: 120 kB / 442.5 MB, free: 12.34 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002425/0.268, allocations: 259 kB / 442.8 MB, free: 12.08 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005853/0.2686, allocations: 0.5135 MB / 443.3 MB, free: 11.57 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001604/0.2702, allocations: 1.419 MB / 444.7 MB, free: 10.14 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.749e-06/0.2702, allocations: 0 / 444.7 MB, free: 10.14 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.693e-06/0.2702, allocations: 0 / 444.7 MB, free: 10.14 MB / 350.1 MB Notification: Performance of Transformations before backend: time 2.207e-05/0.2702, allocations: 0 / 444.7 MB, free: 10.14 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.002795/0.273, allocations: 1.44 MB / 446.1 MB, free: 8.652 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.604e-05/0.2731, allocations: 15.98 kB / 446.1 MB, free: 8.637 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002514/0.2733, allocations: 136.2 kB / 446.3 MB, free: 8.504 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001192/0.2745, allocations: 0.5785 MB / 446.9 MB, free: 7.898 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003258/0.2749, allocations: 309.9 kB / 447.2 MB, free: 7.539 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001151/0.275, allocations: 68.38 kB / 447.2 MB, free: 7.473 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00216/0.2771, allocations: 1.857 MB / 449.1 MB, free: 5.285 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.5e-05/0.2772, allocations: 4 kB / 449.1 MB, free: 5.281 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.344e-05/0.2772, allocations: 28 kB / 449.1 MB, free: 5.254 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.747e-05/0.2772, allocations: 20 kB / 449.1 MB, free: 5.234 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001336/0.2786, allocations: 0.6129 MB / 449.8 MB, free: 4.617 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.004246/0.2828, allocations: 1.856 MB / 451.6 MB, free: 2.719 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00258/0.2854, allocations: 0.7491 MB / 452.4 MB, free: 1.965 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007454/0.2862, allocations: 319.4 kB / 452.7 MB, free: 1.652 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.907e-05/0.2862, allocations: 12.64 kB / 452.7 MB, free: 1.641 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.392e-05/0.2863, allocations: 51.22 kB / 452.7 MB, free: 1.578 MB / 350.1 MB Notification: Performance of pre-optimization done (n=72): time 2.645e-06/0.2863, allocations: 3.938 kB / 452.7 MB, free: 1.574 MB / 350.1 MB Notification: Performance of matching and sorting (n=72): time 0.002654/0.2889, allocations: 1.017 MB / 453.8 MB, free: 0.543 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0005856/0.2895, allocations: 0.9489 MB / 454.7 MB, free: 15.37 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001071/0.2906, allocations: 0.7155 MB / 455.4 MB, free: 14.64 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 9.778e-05/0.2907, allocations: 45.7 kB / 455.5 MB, free: 14.59 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000414/0.2911, allocations: 432.6 kB / 455.9 MB, free: 14.17 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002578/0.2913, allocations: 261.8 kB / 456.1 MB, free: 13.91 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000317/0.2917, allocations: 158.7 kB / 456.3 MB, free: 13.75 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002013/0.2919, allocations: 330 kB / 456.6 MB, free: 13.42 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006535/0.2925, allocations: 339 kB / 456.9 MB, free: 13.07 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001581/0.2941, allocations: 1.544 MB / 458.5 MB, free: 11.17 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001268/0.2954, allocations: 0.6639 MB / 459.2 MB, free: 10.47 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.789e-06/0.2954, allocations: 0 / 459.2 MB, free: 10.47 MB / 366.1 MB Notification: Performance of matching and sorting (n=90) (initialization): time 0.001987/0.2974, allocations: 1.03 MB / 460.2 MB, free: 9.383 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.223e-05/0.2974, allocations: 89.11 kB / 460.3 MB, free: 9.277 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.128e-05/0.2975, allocations: 3.984 kB / 460.3 MB, free: 9.273 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003635/0.2978, allocations: 124.4 kB / 460.4 MB, free: 9.137 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007589/0.2986, allocations: 151.8 kB / 460.5 MB, free: 8.988 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006622/0.3052, allocations: 6.67 MB / 467.2 MB, free: 1.801 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001021/0.3062, allocations: 99.75 kB / 467.3 MB, free: 1.703 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.182e-05/0.3063, allocations: 23.98 kB / 467.3 MB, free: 1.68 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.0004353/0.3067, allocations: 237.7 kB / 467.6 MB, free: 1.438 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001864/0.3069, allocations: 95.44 kB / 467.7 MB, free: 1.344 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002084/0.3071, allocations: 100 kB / 467.8 MB, free: 1.242 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.254e-06/0.3071, allocations: 4 kB / 467.8 MB, free: 1.238 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.203e-05/0.3071, allocations: 11.94 kB / 467.8 MB, free: 1.227 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001533/0.3087, allocations: 0.9624 MB / 468.7 MB, free: 160 kB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002895/0.3116, allocations: 1.475 MB / 470.2 MB, free: 14.62 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.142e-06/0.3116, allocations: 4 kB / 470.2 MB, free: 14.62 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007813/0.3124, allocations: 155.8 kB / 470.4 MB, free: 14.47 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001023/0.3125, allocations: 20.84 kB / 470.4 MB, free: 14.45 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.595e-05/0.3125, allocations: 19.94 kB / 470.4 MB, free: 14.43 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001133/0.3136, allocations: 1.288 MB / 471.7 MB, free: 13.04 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.382e-06/0.3136, allocations: 0 / 471.7 MB, free: 13.04 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002228/0.3159, allocations: 1.078 MB / 472.8 MB, free: 11.94 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004714/0.3163, allocations: 167.2 kB / 472.9 MB, free: 11.78 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001246/0.3165, allocations: 23.98 kB / 473 MB, free: 11.75 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006585/0.3171, allocations: 39.97 kB / 473 MB, free: 11.71 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.712e-05/0.3172, allocations: 44.56 kB / 473 MB, free: 11.67 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.047e-05/0.3173, allocations: 16 kB / 473.1 MB, free: 11.65 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0006952/0.318, allocations: 0.4951 MB / 473.6 MB, free: 11.16 MB / 382.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.318, allocations: 3.938 kB / 473.6 MB, free: 11.16 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0008444/0.3188, allocations: 303.6 kB / 473.9 MB, free: 10.86 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.0001975/0.319, allocations: 126.8 kB / 474 MB, free: 10.73 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002386/0.3214, allocations: 1.449 MB / 475.4 MB, free: 9.16 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 8.346e-06/0.3214, allocations: 7.859 kB / 475.4 MB, free: 9.152 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007477/0.3221, allocations: 394.3 kB / 475.8 MB, free: 8.758 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001192/0.3233, allocations: 273.5 kB / 476.1 MB, free: 8.496 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003225/0.3266, allocations: 1.728 MB / 477.8 MB, free: 6.73 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004411/0.327, allocations: 389.2 kB / 478.2 MB, free: 6.309 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003222/0.3273, allocations: 75.42 kB / 478.3 MB, free: 6.234 MB / 382.1 MB Notification: Performance of SimCode: time 1.233e-06/0.3273, allocations: 0 / 478.3 MB, free: 6.234 MB / 382.1 MB Notification: Performance of Templates: time 0.03318/0.3605, allocations: 24.51 MB / 0.491 GB, free: 13.8 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.makefile [Timeout 660] (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 & ./Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.pipe 2>&1) [Timeout 480] 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: 9.701327785849571]