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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001618/0.001618, allocations: 116.8 kB / 19.18 MB, free: 3.762 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.001973/0.001973, allocations: 210.6 kB / 22.13 MB, free: 0.8125 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.41/1.41, allocations: 230.4 MB / 255.4 MB, free: 15.02 MB / 206.1 MB " [Timeout remaining time 178] 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=1500,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=1500,variableFilter="time|heatCapacitor.T|innerPipe.T|outerPipe.T|pipe1.T",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling") [Timeout 660] "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.001801/0.001801, allocations: 63.89 kB / 374.7 MB, free: 9.758 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09698/0.09878, allocations: 53.31 MB / 428.1 MB, free: 4.355 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling): time 0.1821/0.2809, allocations: 5.638 MB / 433.7 MB, free: 8.074 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002128/0.283, allocations: 1.458 MB / 435.1 MB, free: 8.008 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002821/0.2833, allocations: 16.97 kB / 435.2 MB, free: 8.004 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003768/0.2837, allocations: 199.5 kB / 435.4 MB, free: 7.906 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005583/0.2842, allocations: 394.2 kB / 435.7 MB, free: 7.738 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003749/0.2846, allocations: 262.2 kB / 436 MB, free: 7.73 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001001/0.2856, allocations: 1.355 MB / 437.4 MB, free: 7.359 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003535/0.286, allocations: 278.6 kB / 437.6 MB, free: 7.281 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004369/0.2864, allocations: 0.5136 MB / 438.1 MB, free: 7.176 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006013/0.287, allocations: 0.578 MB / 438.7 MB, free: 6.906 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001635/0.2872, allocations: 117.7 kB / 438.8 MB, free: 6.906 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002079/0.2874, allocations: 124.8 kB / 439 MB, free: 6.902 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001814/0.2875, allocations: 258.8 kB / 439.2 MB, free: 6.734 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004983/0.288, allocations: 0.6108 MB / 439.8 MB, free: 6.383 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001363/0.2894, allocations: 1.408 MB / 441.2 MB, free: 5.859 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.196e-06/0.2894, allocations: 0 / 441.2 MB, free: 5.859 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.643e-06/0.2894, allocations: 1.188 kB / 441.2 MB, free: 5.859 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.925e-05/0.2894, allocations: 0 / 441.2 MB, free: 5.859 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.002312/0.2917, allocations: 1.516 MB / 442.7 MB, free: 4.816 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.772e-05/0.2918, allocations: 11.36 kB / 442.8 MB, free: 4.816 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002057/0.292, allocations: 131.8 kB / 442.9 MB, free: 4.754 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008091/0.2928, allocations: 0.644 MB / 443.5 MB, free: 4.305 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001829/0.293, allocations: 152.8 kB / 443.7 MB, free: 4.184 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.808e-05/0.2931, allocations: 66.5 kB / 443.7 MB, free: 4.164 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001432/0.2945, allocations: 0.9718 MB / 444.7 MB, free: 3.539 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.039e-05/0.2945, allocations: 0.5312 kB / 444.7 MB, free: 3.539 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.806e-05/0.2946, allocations: 30.41 kB / 444.7 MB, free: 3.52 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.592e-05/0.2946, allocations: 16.19 kB / 444.8 MB, free: 3.52 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001226/0.2958, allocations: 0.6238 MB / 445.4 MB, free: 3.309 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.003617/0.2995, allocations: 2.633 MB / 448 MB, free: 1.695 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002436/0.3019, allocations: 0.8162 MB / 448.8 MB, free: 1.352 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000653/0.3026, allocations: 321.4 kB / 449.1 MB, free: 1.238 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.692e-05/0.3026, allocations: 19.83 kB / 449.2 MB, free: 1.234 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.488e-05/0.3026, allocations: 60.39 kB / 449.2 MB, free: 1.176 MB / 350.1 MB Notification: Performance of pre-optimization done (n=72): time 2.164e-06/0.3026, allocations: 0 / 449.2 MB, free: 1.176 MB / 350.1 MB Notification: Performance of matching and sorting (n=72): time 0.002367/0.305, allocations: 1.398 MB / 450.6 MB, free: 304 kB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004499/0.3055, allocations: 0.9525 MB / 451.6 MB, free: 15.13 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001101/0.3066, allocations: 0.7858 MB / 452.4 MB, free: 14.8 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 8.655e-05/0.3066, allocations: 45.11 kB / 452.4 MB, free: 14.76 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003716/0.307, allocations: 423.6 kB / 452.8 MB, free: 14.43 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002462/0.3073, allocations: 264.4 kB / 453.1 MB, free: 14.22 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002825/0.3075, allocations: 159.3 kB / 453.2 MB, free: 14.14 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001682/0.3077, allocations: 334 kB / 453.6 MB, free: 13.82 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005959/0.3083, allocations: 257.6 kB / 453.8 MB, free: 13.73 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009179/0.3092, allocations: 0.5815 MB / 454.4 MB, free: 13.27 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001387/0.3106, allocations: 0.6666 MB / 455.1 MB, free: 12.88 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.948e-06/0.3106, allocations: 1.625 kB / 455.1 MB, free: 12.88 MB / 366.1 MB Notification: Performance of matching and sorting (n=90) (initialization): time 0.0018/0.3124, allocations: 0.9561 MB / 456 MB, free: 12.38 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.428e-05/0.3125, allocations: 85.39 kB / 456.1 MB, free: 12.29 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.286e-06/0.3125, allocations: 5.922 kB / 456.1 MB, free: 12.29 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003473/0.3128, allocations: 125.9 kB / 456.2 MB, free: 12.22 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006912/0.3135, allocations: 151.1 kB / 456.4 MB, free: 12.21 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006678/0.3202, allocations: 7.331 MB / 463.7 MB, free: 4.945 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001112/0.3213, allocations: 110 kB / 463.8 MB, free: 4.887 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.037e-05/0.3214, allocations: 24.41 kB / 463.8 MB, free: 4.883 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.000458/0.3218, allocations: 237.3 kB / 464.1 MB, free: 4.695 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001793/0.322, allocations: 106.2 kB / 464.2 MB, free: 4.645 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002051/0.3222, allocations: 103.4 kB / 464.3 MB, free: 4.566 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.083e-06/0.3222, allocations: 7.312 kB / 464.3 MB, free: 4.566 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.276e-05/0.3222, allocations: 1.5 kB / 464.3 MB, free: 4.566 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001502/0.3237, allocations: 0.9729 MB / 465.3 MB, free: 3.836 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003011/0.3268, allocations: 1.744 MB / 467 MB, free: 2.805 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.557e-06/0.3268, allocations: 0 / 467 MB, free: 2.805 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007535/0.3275, allocations: 156.7 kB / 467.2 MB, free: 2.766 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001011/0.3276, allocations: 29.81 kB / 467.2 MB, free: 2.746 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.806e-05/0.3277, allocations: 19.86 kB / 467.2 MB, free: 2.73 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0011/0.3288, allocations: 1.397 MB / 468.6 MB, free: 1.285 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.322e-06/0.3288, allocations: 0 / 468.6 MB, free: 1.285 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002067/0.3308, allocations: 1.081 MB / 469.7 MB, free: 0.6758 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004372/0.3313, allocations: 261.8 kB / 469.9 MB, free: 448 kB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001238/0.3314, allocations: 19.09 kB / 470 MB, free: 436 kB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006549/0.3321, allocations: 39.69 kB / 470 MB, free: 420 kB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001082/0.3322, allocations: 49.38 kB / 470 MB, free: 388 kB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.213e-05/0.3322, allocations: 24.83 kB / 470.1 MB, free: 376 kB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0007506/0.333, allocations: 0.5463 MB / 470.6 MB, free: 64 kB / 366.1 MB Notification: Performance of sort global known variables: time 9e-08/0.333, allocations: 3.938 kB / 470.6 MB, free: 60 kB / 366.1 MB Notification: Performance of remove unused functions: time 0.0008617/0.3338, allocations: 295.5 kB / 470.9 MB, free: 12 kB / 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.0001884/0.334, allocations: 125.7 kB / 471 MB, free: 15.91 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.00214/0.3361, allocations: 1.359 MB / 472.4 MB, free: 14.84 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 8.636e-06/0.3361, allocations: 7.641 kB / 472.4 MB, free: 14.83 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006682/0.3368, allocations: 406.5 kB / 472.8 MB, free: 14.59 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001079/0.3379, allocations: 284.3 kB / 473.1 MB, free: 14.44 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002841/0.3407, allocations: 1.728 MB / 474.8 MB, free: 13.35 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005865/0.3413, allocations: 0.9774 MB / 475.8 MB, free: 12.53 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002711/0.3416, allocations: 79.92 kB / 475.9 MB, free: 12.52 MB / 382.1 MB Notification: Performance of SimCode: time 4.8e-07/0.3416, allocations: 5.312 kB / 475.9 MB, free: 12.51 MB / 382.1 MB Notification: Performance of Templates: time 0.03108/0.3727, allocations: 24.44 MB / 0.4886 GB, free: 6.43 MB / 398.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.makefile [Timeout 660] (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) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Thermal/FluidHeatFlow/Examples/IndirectCooling/IndirectCooling.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_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.207058581989259]