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.001309/0.001309, allocations: 110.5 kB / 21.23 MB, free: 0.6641 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.001451/0.001451, allocations: 213.2 kB / 24.54 MB, free: 4.02 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.442/1.442, allocations: 230.6 MB / 258.3 MB, free: 8.039 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.001937/0.001937, allocations: 60.77 kB / 379 MB, free: 2.664 MB / 302.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.2252/0.2271, allocations: 53.38 MB / 432.4 MB, free: 6.977 MB / 334.1 MB
Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling): time 0.007065/0.2342, allocations: 5.656 MB / 438.1 MB, free: 1.301 MB / 334.1 MB
Notification: Performance of NFInst.instExpressions: time 0.002474/0.2367, allocations: 1.468 MB / 439.5 MB, free: 15.82 MB / 350.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 0.0002773/0.2369, allocations: 19.88 kB / 439.6 MB, free: 15.8 MB / 350.1 MB
Notification: Performance of NFTyping.typeComponents: time 0.0004593/0.2374, allocations: 190.3 kB / 439.7 MB, free: 15.62 MB / 350.1 MB
Notification: Performance of NFTyping.typeBindings: time 0.0007099/0.2381, allocations: 396.7 kB / 440.1 MB, free: 15.23 MB / 350.1 MB
Notification: Performance of NFTyping.typeClassSections: time 0.0004814/0.2386, allocations: 271.5 kB / 440.4 MB, free: 14.96 MB / 350.1 MB
Notification: Performance of NFFlatten.flatten: time 0.001483/0.2401, allocations: 1.358 MB / 441.8 MB, free: 13.6 MB / 350.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 0.000464/0.2405, allocations: 275.8 kB / 442 MB, free: 13.31 MB / 350.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 0.0005902/0.2411, allocations: 0.5178 MB / 442.5 MB, free: 12.79 MB / 350.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 0.0007411/0.2419, allocations: 0.5913 MB / 443.1 MB, free: 12.2 MB / 350.1 MB
Notification: Performance of NFPackage.collectConstants: time 0.0001794/0.2421, allocations: 116 kB / 443.2 MB, free: 12.08 MB / 350.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 0.0002591/0.2423, allocations: 120 kB / 443.4 MB, free: 11.96 MB / 350.1 MB
Notification: Performance of NFScalarize.scalarize: time 0.000241/0.2426, allocations: 259.1 kB / 443.6 MB, free: 11.71 MB / 350.1 MB
Notification: Performance of NFVerifyModel.verify: time 0.0006073/0.2432, allocations: 0.6066 MB / 444.2 MB, free: 11.1 MB / 350.1 MB
Notification: Performance of NFConvertDAE.convert: time 0.001443/0.2446, allocations: 1.41 MB / 445.6 MB, free: 9.688 MB / 350.1 MB
Notification: Performance of FrontEnd - DAE generated: time 5.791e-06/0.2446, allocations: 8 kB / 445.6 MB, free: 9.68 MB / 350.1 MB
Notification: Performance of FrontEnd: time 1.743e-06/0.2446, allocations: 0 / 445.6 MB, free: 9.68 MB / 350.1 MB
Notification: Performance of Transformations before backend: time 1.548e-05/0.2446, allocations: 3.938 kB / 445.6 MB, free: 9.676 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.002751/0.2474, allocations: 1.436 MB / 447.1 MB, free: 8.188 MB / 350.1 MB
Notification: Performance of prepare preOptimizeDAE: time 3.491e-05/0.2474, allocations: 8.031 kB / 447.1 MB, free: 8.18 MB / 350.1 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000213/0.2476, allocations: 132.2 kB / 447.2 MB, free: 8.051 MB / 350.1 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.001023/0.2487, allocations: 0.5785 MB / 447.8 MB, free: 7.445 MB / 350.1 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002295/0.2489, allocations: 151.6 kB / 447.9 MB, free: 7.277 MB / 350.1 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001171/0.249, allocations: 64.38 kB / 448 MB, free: 7.215 MB / 350.1 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.001585/0.2506, allocations: 0.9746 MB / 449 MB, free: 6.125 MB / 350.1 MB
Notification: Performance of preOpt findStateOrder (simulation): time 3.196e-05/0.2506, allocations: 0 / 449 MB, free: 6.125 MB / 350.1 MB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.654e-05/0.2507, allocations: 36 kB / 449 MB, free: 6.09 MB / 350.1 MB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.039e-05/0.2507, allocations: 20 kB / 449 MB, free: 6.07 MB / 350.1 MB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001333/0.252, allocations: 0.6168 MB / 449.7 MB, free: 5.449 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.004266/0.2563, allocations: 2.579 MB / 452.2 MB, free: 2.723 MB / 350.1 MB
Notification: Performance of preOpt comSubExp (simulation): time 0.002545/0.2589, allocations: 0.7547 MB / 453 MB, free: 1.961 MB / 350.1 MB
Notification: Performance of preOpt resolveLoops (simulation): time 0.0007301/0.2596, allocations: 327.4 kB / 453.3 MB, free: 1.641 MB / 350.1 MB
Notification: Performance of preOpt evalFunc (simulation): time 6.151e-05/0.2596, allocations: 12.64 kB / 453.3 MB, free: 1.629 MB / 350.1 MB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.693e-05/0.2597, allocations: 51.22 kB / 453.4 MB, free: 1.57 MB / 350.1 MB
Notification: Performance of pre-optimization done (n=72): time 2.585e-06/0.2597, allocations: 336 / 453.4 MB, free: 1.57 MB / 350.1 MB
Notification: Performance of matching and sorting (n=72): time 0.002559/0.2623, allocations: 1.032 MB / 454.4 MB, free: 0.5195 MB / 350.1 MB
Notification: Performance of inlineWhenForInitialization (initialization): time 0.0005743/0.2628, allocations: 0.9527 MB / 455.4 MB, free: 15.34 MB / 366.1 MB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001148/0.264, allocations: 0.798 MB / 456.2 MB, free: 14.54 MB / 366.1 MB
Notification: Performance of collectPreVariables (initialization): time 7.663e-05/0.2641, allocations: 41.7 kB / 456.2 MB, free: 14.49 MB / 366.1 MB
Notification: Performance of collectInitialEqns (initialization): time 0.000389/0.2644, allocations: 413.1 kB / 456.6 MB, free: 14.08 MB / 366.1 MB
Notification: Performance of collectInitialBindings (initialization): time 0.0002387/0.2647, allocations: 265.7 kB / 456.9 MB, free: 13.82 MB / 366.1 MB
Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002771/0.265, allocations: 162.6 kB / 457 MB, free: 13.65 MB / 366.1 MB
Notification: Performance of setup shared object (initialization): time 0.0001758/0.2651, allocations: 333.9 kB / 457.3 MB, free: 13.32 MB / 366.1 MB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005959/0.2657, allocations: 257.8 kB / 457.6 MB, free: 13.07 MB / 366.1 MB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009501/0.2667, allocations: 0.585 MB / 458.2 MB, free: 12.36 MB / 366.1 MB
Notification: Performance of analyzeInitialSystem (initialization): time 0.00125/0.2679, allocations: 0.6638 MB / 458.8 MB, free: 11.66 MB / 366.1 MB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.737e-06/0.2679, allocations: 0 / 458.8 MB, free: 11.66 MB / 366.1 MB
Notification: Performance of matching and sorting (n=90) (initialization): time 0.001885/0.2698, allocations: 0.9551 MB / 459.8 MB, free: 10.66 MB / 366.1 MB
Notification: Performance of prepare postOptimizeDAE: time 8.46e-05/0.2699, allocations: 81.11 kB / 459.9 MB, free: 10.57 MB / 366.1 MB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.01e-05/0.2699, allocations: 4 kB / 459.9 MB, free: 10.56 MB / 366.1 MB
Notification: Performance of postOpt tearingSystem (initialization): time 0.0003803/0.2703, allocations: 124.4 kB / 460 MB, free: 10.43 MB / 366.1 MB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007771/0.2711, allocations: 155.8 kB / 460.2 MB, free: 10.27 MB / 366.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006289/0.2774, allocations: 6.805 MB / 467 MB, free: 2.891 MB / 366.1 MB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009621/0.2783, allocations: 99.41 kB / 467.1 MB, free: 2.793 MB / 366.1 MB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.777e-05/0.2784, allocations: 35.97 kB / 467.1 MB, free: 2.758 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.0004237/0.2788, allocations: 237.7 kB / 467.3 MB, free: 2.516 MB / 366.1 MB
Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001709/0.279, allocations: 107.3 kB / 467.4 MB, free: 2.41 MB / 366.1 MB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000208/0.2792, allocations: 104.9 kB / 467.5 MB, free: 2.305 MB / 366.1 MB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.512e-06/0.2792, allocations: 4 kB / 467.5 MB, free: 2.301 MB / 366.1 MB
Notification: Performance of postOpt constantLinearSystem (simulation): time 9.809e-06/0.2792, allocations: 4 kB / 467.5 MB, free: 2.297 MB / 366.1 MB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001572/0.2808, allocations: 0.9699 MB / 468.5 MB, free: 1.219 MB / 366.1 MB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002902/0.2837, allocations: 1.72 MB / 470.2 MB, free: 15.43 MB / 382.1 MB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.021e-06/0.2837, allocations: 3.984 kB / 470.2 MB, free: 15.43 MB / 382.1 MB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007888/0.2845, allocations: 147.8 kB / 470.4 MB, free: 15.28 MB / 382.1 MB
Notification: Performance of postOpt tearingSystem (simulation): time 9.562e-05/0.2846, allocations: 24.84 kB / 470.4 MB, free: 15.25 MB / 382.1 MB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.407e-05/0.2846, allocations: 15.98 kB / 470.4 MB, free: 15.24 MB / 382.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001053/0.2857, allocations: 1.304 MB / 471.7 MB, free: 13.82 MB / 382.1 MB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.316e-06/0.2857, allocations: 3.984 kB / 471.7 MB, free: 13.82 MB / 382.1 MB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002053/0.2877, allocations: 1.086 MB / 472.8 MB, free: 12.71 MB / 382.1 MB
Notification: Performance of postOpt removeConstants (simulation): time 0.0003927/0.2881, allocations: 191.1 kB / 473 MB, free: 12.53 MB / 382.1 MB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001208/0.2882, allocations: 16 kB / 473 MB, free: 12.51 MB / 382.1 MB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006227/0.2889, allocations: 39.97 kB / 473.1 MB, free: 12.47 MB / 382.1 MB
Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001031/0.289, allocations: 48.56 kB / 473.1 MB, free: 12.43 MB / 382.1 MB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.15e-05/0.289, allocations: 19.98 kB / 473.1 MB, free: 12.41 MB / 382.1 MB
Notification: Performance of sorting global known variables: time 0.0007342/0.2897, allocations: 0.5459 MB / 473.7 MB, free: 11.87 MB / 382.1 MB
Notification: Performance of sort global known variables: time 9.1e-08/0.2897, allocations: 4 kB / 473.7 MB, free: 11.86 MB / 382.1 MB
Notification: Performance of remove unused functions: time 0.0007566/0.2905, allocations: 291.7 kB / 474 MB, free: 11.58 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.0001716/0.2907, allocations: 127.1 kB / 474.1 MB, free: 11.45 MB / 382.1 MB
Notification: Performance of simCode: created initialization part: time 0.00211/0.2928, allocations: 1.362 MB / 475.4 MB, free: 9.98 MB / 382.1 MB
Notification: Performance of simCode: created event and clocks part: time 5.7e-06/0.2928, allocations: 4 kB / 475.4 MB, free: 9.977 MB / 382.1 MB
Notification: Performance of simCode: created simulation system equations: time 0.0006977/0.2935, allocations: 394.3 kB / 475.8 MB, free: 9.578 MB / 382.1 MB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001049/0.2945, allocations: 283.2 kB / 476.1 MB, free: 9.301 MB / 382.1 MB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002861/0.2974, allocations: 1.721 MB / 477.8 MB, free: 7.551 MB / 382.1 MB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005941/0.298, allocations: 0.9834 MB / 478.8 MB, free: 6.539 MB / 382.1 MB
Notification: Performance of simCode: alias equations: time 0.0004636/0.2985, allocations: 123.5 kB / 478.9 MB, free: 6.414 MB / 382.1 MB
Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002148/0.2987, allocations: 79.42 kB / 479 MB, free: 6.336 MB / 382.1 MB
Notification: Performance of SimCode: time 3.4e-07/0.2987, allocations: 0 / 479 MB, free: 6.336 MB / 382.1 MB
Notification: Performance of Templates: time 0.0312/0.3299, allocations: 18.39 MB / 497.4 MB, free: 4.281 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/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) [Timeout 660]
""
[Timeout remaining time 660]
Reference file matches
[Calling sys.exit(0), Time elapsed: 5.187743960879743]