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.00125/0.00125, allocations: 113 kB / 21.18 MB, free: 0.5898 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.00154/0.00154, allocations: 209.7 kB / 24.47 MB, free: 3.996 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.39/1.39, allocations: 230.5 MB / 258.1 MB, free: 8.145 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.003013/0.003013, allocations: 63.89 kB / 378.7 MB, free: 2.891 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2367/0.2398, allocations: 53.3 MB / 432 MB, free: 7.387 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling): time 0.006683/0.2464, allocations: 5.668 MB / 437.7 MB, free: 1.699 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002543/0.249, allocations: 1.466 MB / 439.2 MB, free: 232 kB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003003/0.2493, allocations: 15.94 kB / 439.2 MB, free: 216 kB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004454/0.2497, allocations: 190.3 kB / 439.4 MB, free: 24 kB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007053/0.2504, allocations: 396.8 kB / 439.8 MB, free: 15.63 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000465/0.2509, allocations: 263.6 kB / 440 MB, free: 15.37 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001365/0.2523, allocations: 1.365 MB / 441.4 MB, free: 14 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004067/0.2527, allocations: 263.3 kB / 441.6 MB, free: 13.72 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005178/0.2532, allocations: 0.5138 MB / 442.1 MB, free: 13.2 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007349/0.2539, allocations: 0.5874 MB / 442.7 MB, free: 12.61 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001564/0.2541, allocations: 119.9 kB / 442.9 MB, free: 12.5 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001845/0.2543, allocations: 124 kB / 443 MB, free: 12.38 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002097/0.2545, allocations: 255.1 kB / 443.2 MB, free: 12.12 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005616/0.255, allocations: 0.6144 MB / 443.8 MB, free: 11.51 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001397/0.2564, allocations: 1.412 MB / 445.2 MB, free: 10.09 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.1e-06/0.2564, allocations: 0 / 445.2 MB, free: 10.09 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.372e-06/0.2564, allocations: 4 kB / 445.3 MB, free: 10.09 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.348e-05/0.2564, allocations: 0 / 445.3 MB, free: 10.09 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.002584/0.259, allocations: 1.512 MB / 446.8 MB, free: 8.504 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.433e-05/0.2591, allocations: 8.031 kB / 446.8 MB, free: 8.496 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002132/0.2593, allocations: 136.2 kB / 446.9 MB, free: 8.363 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009893/0.2603, allocations: 0.6389 MB / 447.5 MB, free: 7.684 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002116/0.2605, allocations: 151.7 kB / 447.7 MB, free: 7.516 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001097/0.2606, allocations: 68.38 kB / 447.8 MB, free: 7.449 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001519/0.2621, allocations: 0.9794 MB / 448.7 MB, free: 6.355 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.01e-05/0.2621, allocations: 0 / 448.7 MB, free: 6.355 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.177e-05/0.2622, allocations: 36 kB / 448.8 MB, free: 6.32 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.484e-05/0.2622, allocations: 16 kB / 448.8 MB, free: 6.305 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001296/0.2635, allocations: 0.6207 MB / 449.4 MB, free: 5.68 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.004028/0.2675, allocations: 2.625 MB / 452 MB, free: 2.902 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002549/0.2701, allocations: 0.8256 MB / 452.9 MB, free: 2.051 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006922/0.2708, allocations: 327.4 kB / 453.2 MB, free: 1.73 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.012e-05/0.2708, allocations: 12.64 kB / 453.2 MB, free: 1.719 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.873e-05/0.2709, allocations: 55.16 kB / 453.2 MB, free: 1.656 MB / 350.1 MB Notification: Performance of pre-optimization done (n=72): time 2.425e-06/0.2709, allocations: 0 / 453.2 MB, free: 1.656 MB / 350.1 MB Notification: Performance of matching and sorting (n=72): time 0.002664/0.2736, allocations: 1.405 MB / 454.7 MB, free: 144 kB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0005082/0.2741, allocations: 0.9565 MB / 455.6 MB, free: 14.96 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009779/0.275, allocations: 0.7864 MB / 456.4 MB, free: 14.16 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 7.279e-05/0.2751, allocations: 41.7 kB / 456.4 MB, free: 14.12 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003479/0.2755, allocations: 417 kB / 456.8 MB, free: 13.7 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002175/0.2757, allocations: 261.7 kB / 457.1 MB, free: 13.45 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002587/0.2759, allocations: 158.6 kB / 457.3 MB, free: 13.29 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001503/0.2761, allocations: 338 kB / 457.6 MB, free: 12.95 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005689/0.2767, allocations: 257.9 kB / 457.8 MB, free: 12.7 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008887/0.2775, allocations: 0.5889 MB / 458.4 MB, free: 11.98 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001201/0.2787, allocations: 0.6638 MB / 459.1 MB, free: 11.29 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.617e-06/0.2788, allocations: 0 / 459.1 MB, free: 11.29 MB / 366.1 MB Notification: Performance of matching and sorting (n=90) (initialization): time 0.001723/0.2805, allocations: 0.9474 MB / 460 MB, free: 10.3 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.051e-05/0.2805, allocations: 85.11 kB / 460.1 MB, free: 10.2 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.733e-06/0.2806, allocations: 0 / 460.1 MB, free: 10.2 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003391/0.2809, allocations: 136.2 kB / 460.3 MB, free: 10.05 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007142/0.2816, allocations: 155.8 kB / 460.4 MB, free: 9.895 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00624/0.2878, allocations: 7.329 MB / 467.7 MB, free: 1.863 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001028/0.2889, allocations: 111.4 kB / 467.8 MB, free: 1.754 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.187e-05/0.2889, allocations: 23.98 kB / 467.9 MB, free: 1.73 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.0004384/0.2894, allocations: 241.7 kB / 468.1 MB, free: 1.484 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001794/0.2896, allocations: 107.4 kB / 468.2 MB, free: 1.379 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001752/0.2897, allocations: 96.91 kB / 468.3 MB, free: 1.281 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.012e-05/0.2897, allocations: 8 kB / 468.3 MB, free: 1.273 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.003e-06/0.2897, allocations: 0 / 468.3 MB, free: 1.273 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00142/0.2912, allocations: 0.9777 MB / 469.3 MB, free: 192 kB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002811/0.294, allocations: 1.733 MB / 471 MB, free: 14.38 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.707e-06/0.294, allocations: 4 kB / 471 MB, free: 14.37 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007681/0.2947, allocations: 159.8 kB / 471.2 MB, free: 14.21 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.985e-05/0.2948, allocations: 32.78 kB / 471.2 MB, free: 14.18 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.284e-05/0.2949, allocations: 11.98 kB / 471.2 MB, free: 14.17 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001072/0.296, allocations: 1.403 MB / 472.6 MB, free: 12.62 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.322e-06/0.296, allocations: 0 / 472.6 MB, free: 12.62 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002048/0.298, allocations: 1.09 MB / 473.7 MB, free: 11.52 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000422/0.2984, allocations: 260.2 kB / 474 MB, free: 11.25 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001329/0.2986, allocations: 20 kB / 474 MB, free: 11.23 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006492/0.2992, allocations: 43.97 kB / 474 MB, free: 11.18 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.57e-05/0.2993, allocations: 40.59 kB / 474.1 MB, free: 11.14 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.098e-05/0.2994, allocations: 19.98 kB / 474.1 MB, free: 11.12 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0007268/0.3001, allocations: 0.5459 MB / 474.6 MB, free: 10.58 MB / 382.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3001, allocations: 0 / 474.6 MB, free: 10.58 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0007987/0.3009, allocations: 295.7 kB / 474.9 MB, free: 10.29 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.0001823/0.3011, allocations: 131 kB / 475.1 MB, free: 10.16 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002102/0.3032, allocations: 1.366 MB / 476.4 MB, free: 8.691 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.957e-06/0.3032, allocations: 0 / 476.4 MB, free: 8.691 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006754/0.3038, allocations: 406.3 kB / 476.8 MB, free: 8.281 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001073/0.3049, allocations: 283.2 kB / 477.1 MB, free: 8.004 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0029/0.3078, allocations: 1.733 MB / 478.8 MB, free: 6.234 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005923/0.3084, allocations: 0.9758 MB / 479.8 MB, free: 5.23 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002555/0.3087, allocations: 79.42 kB / 479.9 MB, free: 5.152 MB / 382.1 MB Notification: Performance of SimCode: time 4.81e-07/0.3087, allocations: 0 / 479.9 MB, free: 5.152 MB / 382.1 MB Notification: Performance of Templates: time 0.02986/0.3385, allocations: 24.44 MB / 0.4925 GB, free: 12.83 MB / 414.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: 8.992140037938952]