Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling,tolerance=1e-06,outputFormat="mat",numberOfIntervals=3000,variableFilter="time|heatCapacitor.T|innerPipe.T|outerPipe.T|pipe1.T",fileNamePrefix="Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling") translateModel(Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling,tolerance=1e-06,outputFormat="mat",numberOfIntervals=3000,variableFilter="time|heatCapacitor.T|innerPipe.T|outerPipe.T|pipe1.T",fileNamePrefix="Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001063/0.001063, allocations: 111.3 kB / 17.75 MB, free: 5.328 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001068/0.001068, allocations: 198.3 kB / 18.68 MB, free: 4.406 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.149/1.149, allocations: 222.9 MB / 242.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.694e-05/1.694e-05, allocations: 2.281 kB / 351.9 MB, free: 3.27 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling): time 0.005163/0.005188, allocations: 5.602 MB / 357.5 MB, free: 13.64 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.00178/0.006979, allocations: 1.425 MB / 359 MB, free: 12.21 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000231/0.007221, allocations: 11.94 kB / 359 MB, free: 12.2 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00038/0.007607, allocations: 194.3 kB / 359.2 MB, free: 12 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005719/0.008196, allocations: 384.7 kB / 359.5 MB, free: 11.62 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000383/0.008586, allocations: 263.6 kB / 359.8 MB, free: 11.37 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001298/0.009893, allocations: 1.571 MB / 361.4 MB, free: 9.797 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004661/0.01037, allocations: 415 kB / 361.8 MB, free: 9.363 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004383/0.01081, allocations: 0.5215 MB / 362.3 MB, free: 8.84 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005916/0.01141, allocations: 0.6029 MB / 362.9 MB, free: 8.234 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001326/0.01155, allocations: 100 kB / 363 MB, free: 8.137 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002311/0.01179, allocations: 132 kB / 363.1 MB, free: 8.008 MB / 302.1 MB Notification: Performance of combineBinaries: time 0.001302/0.0131, allocations: 1.913 MB / 365 MB, free: 6.074 MB / 302.1 MB Notification: Performance of replaceArrayConstructors: time 0.0005478/0.01365, allocations: 1.163 MB / 366.2 MB, free: 4.895 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001762/0.01384, allocations: 195.5 kB / 366.4 MB, free: 4.703 MB / 302.1 MB Notification: Performance of FrontEnd: time 0.0001146/0.01396, allocations: 27.88 kB / 366.4 MB, free: 4.676 MB / 302.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 169 (169) * Number of variables: 169 (169) Notification: Performance of Bindings: time 0.1549/0.1689, allocations: 6.421 MB / 372.8 MB, free: 16.29 MB / 302.1 MB Notification: Performance of FunctionAlias: time 0.0004461/0.1694, allocations: 0.5165 MB / 373.4 MB, free: 16.24 MB / 302.1 MB Notification: Performance of Early Inline: time 0.001727/0.1711, allocations: 2.094 MB / 375.4 MB, free: 15.82 MB / 302.1 MB Notification: Performance of simplify1: time 0.000231/0.1713, allocations: 217.4 kB / 375.7 MB, free: 15.73 MB / 302.1 MB Notification: Performance of Alias: time 0.003616/0.175, allocations: 3.922 MB / 379.6 MB, free: 13.47 MB / 302.1 MB Notification: Performance of simplify2: time 0.0001692/0.1751, allocations: 161.7 kB / 379.7 MB, free: 13.41 MB / 302.1 MB Notification: Performance of Events: time 0.0006739/0.1758, allocations: 0.7668 MB / 380.5 MB, free: 12.99 MB / 302.1 MB Notification: Performance of Detect States: time 0.000675/0.1765, allocations: 0.7769 MB / 381.3 MB, free: 12.53 MB / 302.1 MB Notification: Performance of Partitioning: time 0.0007644/0.1773, allocations: 1.063 MB / 382.3 MB, free: 11.61 MB / 302.1 MB Notification: Performance of Causalize: time 0.003197/0.1805, allocations: 3.429 MB / 385.8 MB, free: 9.984 MB / 302.1 MB Notification: Performance of After Index Reduction Inline: time 0.001751/0.1822, allocations: 2.163 MB / 387.9 MB, free: 8.676 MB / 302.1 MB Notification: Performance of Inline: time 0.003055/0.1853, allocations: 3.749 MB / 391.7 MB, free: 6.52 MB / 302.1 MB Notification: Performance of Partitioning: time 0.0002394/0.1856, allocations: 258.3 kB / 391.9 MB, free: 6.348 MB / 302.1 MB Notification: Performance of Cleanup: time 0.0001398/0.1857, allocations: 169.8 kB / 392.1 MB, free: 6.258 MB / 302.1 MB Notification: Performance of Causalize: time 0.01088/0.1966, allocations: 11.72 MB / 403.8 MB, free: 14.02 MB / 318.1 MB Notification: Performance of Tearing: time 0.0009693/0.1976, allocations: 1.413 MB / 405.2 MB, free: 12.39 MB / 318.1 MB Notification: Performance of Initialization: time 3.737e-06/0.1976, allocations: 4 kB / 405.2 MB, free: 12.39 MB / 318.1 MB Notification: Performance of Tearing: time 0.0009185/0.1985, allocations: 1.429 MB / 406.7 MB, free: 10.75 MB / 318.1 MB Notification: Performance of Categorize: time 4.907e-05/0.1986, allocations: 8.266 kB / 406.7 MB, free: 10.75 MB / 318.1 MB Notification: Performance of Solve: time 0.001671/0.2003, allocations: 1.862 MB / 408.5 MB, free: 8.66 MB / 318.1 MB Notification: Performance of Jacobian: time 0.0008838/0.2012, allocations: 0.9872 MB / 409.5 MB, free: 7.641 MB / 318.1 MB Notification: Partition statistics after passing the back-end: * Number of ODE partitions: ..................... 0 * Number of algebraic partitions: ............... 0 * Number of ODE event partitions: ............... 1 * Number of algebraic event partitions: ......... 35 * Number of clocked partitions: ................. 0 * Number of initial partitions: ................. 1 * Number of initial(lambda=0) partitions: ....... 0 Notification: Variable statistics after passing the back-end: * Number of states: ............................. 4 (4) {heatCapacitor.T, pipe1.T, outerPipe.T, innerPipe.T} * Number of discrete states: .................... 0 (0) {} * Number of clocked states: ..................... 0 (0) {NOT YET AVAILABLE} * Number of discrete variables: ................. 51 (51) {$FUN_2, $FUN_6, $FUN_9, $FUN_12, $FUN_15, $SEV_51, $SEV_50, $SEV_49, $SEV_48, $SEV_47, $SEV_46, $SEV_45, $SEV_44, $SEV_43, $SEV_42, $SEV_41, $SEV_40, $SEV_39, $SEV_38, $SEV_37, $SEV_36, $SEV_35, $SEV_34, $SEV_33, $SEV_32, $SEV_31, $SEV_30, $SEV_29, $SEV_28, $SEV_27, $SEV_26, $SEV_25, $SEV_24, $SEV_23, $SEV_22, $SEV_21, $SEV_20, $SEV_19, $SEV_18, $SEV_17, $SEV_16, $SEV_15, $SEV_14, $SEV_13, $SEV_12, $SEV_11, $SEV_10, $SEV_9, $SEV_8, $SEV_7, $SEV_6} * Number of top-level inputs: ................... 0 (0) {} Notification: [Simulation] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 109 (scalar:109, array:0, record:0) * Number of multi strong components: ............ 3 (algorithm:0, when:0, if:3, tuple:0) * Number of for-loop strong components: ......... 0 (generic: 0, entwined:0) * Number of algebraic-loop strong components: ... 9 (linear: 0, nonlinear:9) Notification: [Initialization] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 150 (scalar:150, array:0, record:0) * Number of multi strong components: ............ 6 (algorithm:3, when:0, if:3, tuple:21) * Number of for-loop strong components: ......... 0 (generic: 0, entwined:0) * Number of algebraic-loop strong components: ... 9 (linear: 0, nonlinear:9) Notification: Performance of backend: time 7.192e-05/0.2012, allocations: 74 kB / 409.6 MB, free: 7.578 MB / 318.1 MB Notification: Performance of SimCode: time 0.003765/0.205, allocations: 4.827 MB / 414.4 MB, free: 2.711 MB / 318.1 MB Notification: Performance of Templates: time 0.01984/0.2249, allocations: 14.64 MB / 429.1 MB, free: 4.125 MB / 334.1 MB make -j1 -f Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.makefile (rm -f Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.pipe ; mkfifo Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.pipe >> ../files/Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.sim & ./Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Thermal/FluidHeatFlow/Examples/IndirectCooling/IndirectCooling.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches