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.001653/0.001653, allocations: 106.1 kB / 19.8 MB, free: 2.5 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.001989/0.001989, allocations: 216.7 kB / 22.99 MB, free: 5.574 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.45/1.45, allocations: 230.2 MB / 256.2 MB, free: 8.555 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.00198/0.00198, allocations: 67.89 kB / 376.5 MB, free: 3.609 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2305/0.2325, allocations: 53.33 MB / 429.8 MB, free: 7.539 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling): time 0.006873/0.2393, allocations: 5.66 MB / 435.5 MB, free: 1.855 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002869/0.2422, allocations: 1.464 MB / 436.9 MB, free: 396 kB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003683/0.2426, allocations: 11.94 kB / 436.9 MB, free: 384 kB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004722/0.2431, allocations: 190.3 kB / 437.1 MB, free: 192 kB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007705/0.2438, allocations: 404.7 kB / 437.5 MB, free: 15.79 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005073/0.2443, allocations: 259.6 kB / 437.8 MB, free: 15.54 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001463/0.2458, allocations: 1.362 MB / 439.1 MB, free: 14.17 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004283/0.2462, allocations: 271.3 kB / 439.4 MB, free: 13.88 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005833/0.2468, allocations: 0.5138 MB / 439.9 MB, free: 13.36 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007015/0.2475, allocations: 0.5757 MB / 440.5 MB, free: 12.79 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001642/0.2477, allocations: 123.9 kB / 440.6 MB, free: 12.66 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001866/0.2479, allocations: 120 kB / 440.7 MB, free: 12.55 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002215/0.2481, allocations: 259.1 kB / 441 MB, free: 12.29 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005857/0.2487, allocations: 0.6105 MB / 441.6 MB, free: 11.68 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00149/0.2502, allocations: 1.414 MB / 443 MB, free: 10.26 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.519e-06/0.2502, allocations: 0 / 443 MB, free: 10.26 MB / 350.1 MB Notification: Performance of FrontEnd: time 9.21e-07/0.2502, allocations: 0 / 443 MB, free: 10.26 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.679e-05/0.2502, allocations: 0 / 443 MB, free: 10.26 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.002621/0.2528, allocations: 1.512 MB / 444.5 MB, free: 8.68 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.73e-05/0.2529, allocations: 8.031 kB / 444.5 MB, free: 8.672 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002102/0.2531, allocations: 136.2 kB / 444.7 MB, free: 8.539 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009968/0.2541, allocations: 0.6428 MB / 445.3 MB, free: 7.855 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002114/0.2543, allocations: 147.7 kB / 445.4 MB, free: 7.691 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001102/0.2544, allocations: 72.38 kB / 445.5 MB, free: 7.621 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001676/0.2561, allocations: 0.9677 MB / 446.5 MB, free: 6.539 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.177e-05/0.2561, allocations: 3.938 kB / 446.5 MB, free: 6.535 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.867e-05/0.2562, allocations: 40 kB / 446.5 MB, free: 6.496 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.721e-05/0.2562, allocations: 16 kB / 446.5 MB, free: 6.48 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001306/0.2575, allocations: 0.6168 MB / 447.2 MB, free: 5.859 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.004556/0.262, allocations: 2.629 MB / 449.8 MB, free: 3.074 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002489/0.2645, allocations: 0.8259 MB / 450.6 MB, free: 2.223 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007255/0.2652, allocations: 326.7 kB / 450.9 MB, free: 1.902 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.259e-05/0.2653, allocations: 12.64 kB / 450.9 MB, free: 1.891 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.665e-05/0.2654, allocations: 51.16 kB / 451 MB, free: 1.832 MB / 350.1 MB Notification: Performance of pre-optimization done (n=72): time 3.135e-06/0.2654, allocations: 0 / 451 MB, free: 1.832 MB / 350.1 MB Notification: Performance of matching and sorting (n=72): time 0.00271/0.2681, allocations: 1.413 MB / 452.4 MB, free: 316 kB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0005083/0.2686, allocations: 0.9527 MB / 453.4 MB, free: 15.13 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00103/0.2696, allocations: 0.7826 MB / 454.1 MB, free: 14.34 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 8.004e-05/0.2697, allocations: 45.7 kB / 454.2 MB, free: 14.29 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003558/0.27, allocations: 413 kB / 454.6 MB, free: 13.88 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002414/0.2703, allocations: 265.7 kB / 454.8 MB, free: 13.62 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002741/0.2706, allocations: 166.6 kB / 455 MB, free: 13.45 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001516/0.2707, allocations: 330 kB / 455.3 MB, free: 13.12 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005615/0.2713, allocations: 250.1 kB / 455.6 MB, free: 12.88 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009111/0.2722, allocations: 0.5919 MB / 456.2 MB, free: 12.16 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001241/0.2734, allocations: 0.6716 MB / 456.8 MB, free: 11.46 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.516e-06/0.2734, allocations: 0 / 456.8 MB, free: 11.46 MB / 366.1 MB Notification: Performance of matching and sorting (n=90) (initialization): time 0.001807/0.2752, allocations: 0.9512 MB / 457.8 MB, free: 10.46 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.937e-05/0.2753, allocations: 89.09 kB / 457.9 MB, free: 10.36 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.466e-06/0.2753, allocations: 4 kB / 457.9 MB, free: 10.35 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003453/0.2757, allocations: 124.4 kB / 458 MB, free: 10.21 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007233/0.2764, allocations: 147.8 kB / 458.1 MB, free: 10.07 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006406/0.2828, allocations: 7.337 MB / 465.5 MB, free: 2.035 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009707/0.2838, allocations: 103.4 kB / 465.6 MB, free: 1.934 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.359e-05/0.2838, allocations: 28 kB / 465.6 MB, free: 1.906 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.0004477/0.2843, allocations: 237.7 kB / 465.8 MB, free: 1.664 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001703/0.2844, allocations: 107.4 kB / 465.9 MB, free: 1.559 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002033/0.2846, allocations: 104.9 kB / 466 MB, free: 1.445 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.29e-06/0.2847, allocations: 4 kB / 466.1 MB, free: 1.441 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.037e-05/0.2847, allocations: 4 kB / 466.1 MB, free: 1.438 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001475/0.2861, allocations: 0.9699 MB / 467 MB, free: 368 kB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002884/0.289, allocations: 1.748 MB / 468.8 MB, free: 14.54 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.366e-06/0.289, allocations: 0 / 468.8 MB, free: 14.54 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000788/0.2898, allocations: 155.8 kB / 468.9 MB, free: 14.38 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001037/0.2899, allocations: 28.78 kB / 469 MB, free: 14.35 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.85e-05/0.29, allocations: 12 kB / 469 MB, free: 14.34 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001112/0.2911, allocations: 1.403 MB / 470.4 MB, free: 12.8 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.14e-06/0.2911, allocations: 7.984 kB / 470.4 MB, free: 12.79 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002046/0.2931, allocations: 1.078 MB / 471.5 MB, free: 11.7 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004178/0.2935, allocations: 268.2 kB / 471.7 MB, free: 11.41 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001234/0.2937, allocations: 20 kB / 471.7 MB, free: 11.39 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006351/0.2943, allocations: 39.97 kB / 471.8 MB, free: 11.36 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001027/0.2944, allocations: 44.59 kB / 471.8 MB, free: 11.31 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.281e-05/0.2944, allocations: 19.98 kB / 471.8 MB, free: 11.29 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0007311/0.2952, allocations: 0.5458 MB / 472.4 MB, free: 10.75 MB / 382.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2952, allocations: 0 / 472.4 MB, free: 10.75 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0007908/0.296, allocations: 299.7 kB / 472.7 MB, free: 10.46 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.0001829/0.2962, allocations: 123.2 kB / 472.8 MB, free: 10.33 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002155/0.2983, allocations: 1.366 MB / 474.2 MB, free: 8.863 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.927e-06/0.2983, allocations: 0 / 474.2 MB, free: 8.863 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007073/0.299, allocations: 402.3 kB / 474.6 MB, free: 8.457 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001078/0.3001, allocations: 283.2 kB / 474.8 MB, free: 8.176 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002943/0.303, allocations: 1.692 MB / 476.5 MB, free: 6.453 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006071/0.3036, allocations: 0.9797 MB / 477.5 MB, free: 5.445 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0004811/0.3041, allocations: 127.5 kB / 477.6 MB, free: 5.316 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002189/0.3043, allocations: 79.44 kB / 477.7 MB, free: 5.238 MB / 382.1 MB Notification: Performance of SimCode: time 8.81e-07/0.3043, allocations: 0 / 477.7 MB, free: 5.238 MB / 382.1 MB Notification: Performance of Templates: time 0.03106/0.3354, allocations: 18.23 MB / 495.9 MB, free: 3.32 MB / 398.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/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_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: 5.1598178101703525]