Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001245/0.001245, allocations: 107.6 kB / 21.2 MB, free: 0.6641 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.00142/0.00142, allocations: 209.2 kB / 24.49 MB, free: 3.961 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.395/1.395, allocations: 230.6 MB / 258.3 MB, free: 7.812 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+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5007,variableFilter="time|openTank.H|openTank.m",fileNamePrefix="Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank") translateModel(Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5007,variableFilter="time|openTank.H|openTank.m",fileNamePrefix="Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.406e-05/2.406e-05, allocations: 2.281 kB / 378.9 MB, free: 2.551 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank): time 0.1674/0.1674, allocations: 2.676 MB / 381.6 MB, free: 13.04 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002323/0.1698, allocations: 1.346 MB / 382.9 MB, free: 12.9 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000157/0.1699, allocations: 6.969 kB / 382.9 MB, free: 12.89 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005218/0.1704, allocations: 176.1 kB / 383.1 MB, free: 12.85 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005382/0.171, allocations: 252.2 kB / 383.4 MB, free: 12.78 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002933/0.1713, allocations: 140.9 kB / 383.5 MB, free: 12.76 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005743/0.1718, allocations: 0.5467 MB / 384 MB, free: 12.64 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001843/0.172, allocations: 68.81 kB / 384.1 MB, free: 12.64 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002437/0.1723, allocations: 230 kB / 384.3 MB, free: 12.59 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002681/0.1725, allocations: 213 kB / 384.5 MB, free: 12.55 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 6.254e-05/0.1726, allocations: 27.03 kB / 384.6 MB, free: 12.55 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002098/0.1728, allocations: 83.36 kB / 384.7 MB, free: 12.54 MB / 302.1 MB Notification: Performance of combineBinaries: time 0.0005133/0.1733, allocations: 0.7524 MB / 385.4 MB, free: 12.18 MB / 302.1 MB Notification: Performance of replaceArrayConstructors: time 0.00024/0.1736, allocations: 494.2 kB / 385.9 MB, free: 11.88 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 6.657e-05/0.1736, allocations: 39.38 kB / 385.9 MB, free: 11.88 MB / 302.1 MB Notification: Performance of FrontEnd: time 4.292e-05/0.1737, allocations: 11.59 kB / 385.9 MB, free: 11.87 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: 47 (47) * Number of variables: 47 (47) Notification: Performance of [SIM] Bindings: time 0.001717/0.1754, allocations: 2.148 MB / 388.1 MB, free: 10.45 MB / 302.1 MB Notification: Performance of [SIM] FunctionAlias: time 0.0002195/0.1756, allocations: 197.4 kB / 388.3 MB, free: 10.33 MB / 302.1 MB Notification: Performance of [SIM] Early Inline: time 0.0005368/0.1762, allocations: 0.6653 MB / 388.9 MB, free: 9.926 MB / 302.1 MB Notification: Performance of [SIM] Simplify 1: time 0.000309/0.1765, allocations: 263.2 kB / 389.2 MB, free: 9.75 MB / 302.1 MB Notification: Performance of [SIM] Alias: time 0.001435/0.1779, allocations: 1.089 MB / 390.3 MB, free: 9.035 MB / 302.1 MB Notification: Performance of [SIM] Simplify 2: time 0.0002498/0.1781, allocations: 224.1 kB / 390.5 MB, free: 8.891 MB / 302.1 MB Notification: Performance of [SIM] Remove Stream: time 0.0001517/0.1783, allocations: 113.1 kB / 390.6 MB, free: 8.789 MB / 302.1 MB Notification: Performance of [SIM] Detect States: time 0.0002929/0.1786, allocations: 245 kB / 390.9 MB, free: 8.582 MB / 302.1 MB Notification: Performance of [SIM] Events: time 0.0002084/0.1788, allocations: 153.9 kB / 391 MB, free: 8.492 MB / 302.1 MB Notification: Performance of [SIM] Partitioning: time 0.0004243/0.1792, allocations: 407.1 kB / 391.4 MB, free: 8.188 MB / 302.1 MB Notification: Performance of [SIM] Causalize: time 0.0009034/0.1801, allocations: 0.7174 MB / 392.1 MB, free: 7.875 MB / 302.1 MB Notification: Performance of [SIM] After Index Reduction Inline: time 0.0005114/0.1806, allocations: 0.639 MB / 392.8 MB, free: 7.52 MB / 302.1 MB Notification: Performance of [INI] Simplify: time 0.002319/0.183, allocations: 0.6215 MB / 393.4 MB, free: 7.145 MB / 302.1 MB Notification: Performance of [INI] Inline: time 0.0007855/0.1837, allocations: 0.8805 MB / 394.3 MB, free: 6.648 MB / 302.1 MB Notification: Performance of [INI] Partitioning: time 4.799e-05/0.1838, allocations: 29.25 kB / 394.3 MB, free: 6.625 MB / 302.1 MB Notification: Performance of [INI] Cleanup: time 0.0001346/0.1839, allocations: 153.8 kB / 394.4 MB, free: 6.531 MB / 302.1 MB Notification: Performance of [INI] Causalize: time 0.002615/0.1865, allocations: 1.834 MB / 396.3 MB, free: 6.062 MB / 302.1 MB Notification: Performance of [INI] Tearing: time 7.241e-05/0.1866, allocations: 53.02 kB / 396.3 MB, free: 6.031 MB / 302.1 MB Notification: Performance of [SIM] Initialization: time 5.51e-07/0.1866, allocations: 0 / 396.3 MB, free: 6.031 MB / 302.1 MB Notification: Performance of [SIM] Remove Dummies: time 1.093e-05/0.1866, allocations: 2.453 kB / 396.3 MB, free: 6.031 MB / 302.1 MB Notification: Performance of [SIM] Tearing: time 4.238e-05/0.1867, allocations: 52.12 kB / 396.4 MB, free: 6 MB / 302.1 MB Notification: Performance of [SIM] Categorize: time 2.122e-05/0.1867, allocations: 6.219 kB / 396.4 MB, free: 5.996 MB / 302.1 MB Notification: Performance of [SIM] Solve: time 0.0008038/0.1875, allocations: 0.59 MB / 397 MB, free: 5.77 MB / 302.1 MB Notification: Performance of [SIM] Jacobian: time 0.0004698/0.188, allocations: 0.5838 MB / 397.6 MB, free: 5.25 MB / 302.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: ......... 10 * 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: ............................. 2 (2) {openTank.m, openTank.H} * Number of discrete states: .................... 2 (2) {combiTimeTable.nextTimeEvent, combiTimeTable.nextTimeEventScaled} * Number of clocked states: ..................... 0 (0) {} * Number of discrete variables: ................. 15 (15) {$FUN_3, $SEV_12, $SEV_11, $SEV_10, $SEV_9, $SEV_8, $SEV_7, $SEV_6, $SEV_5, $SEV_4, $SEV_3, $SEV_2, $SEV_1, $SEV_0, $TEV_0} * Number of clocks: ............................. 0 (0) {} * Number of top-level inputs: ................... 0 (0) {} Notification: [Simulation] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 34 (scalar:34, array:0, record:0) * Number of multi strong components: ............ 2 (algorithm:0, when:2, if:0, tuple:0) * Number of for-loop strong components: ......... 0 (resizable: 0, generic: 0, entwined:0) * Number of algebraic-loop strong components: ... 1 (linear: 1, nonlinear:0) Notification: [Initialization] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 50 (scalar:49, array:0, record:1) * Number of multi strong components: ............ 2 (algorithm:2, when:0, if:0, tuple:4) * Number of for-loop strong components: ......... 0 (resizable: 0, generic: 0, entwined:0) * Number of algebraic-loop strong components: ... 1 (linear: 1, nonlinear:0) Notification: Performance of backend: time 4.585e-05/0.188, allocations: 39.41 kB / 397.6 MB, free: 5.219 MB / 302.1 MB Notification: Performance of SimCode: time 0.003723/0.1917, allocations: 2.046 MB / 399.6 MB, free: 4.316 MB / 302.1 MB Notification: Performance of Templates: time 0.009746/0.2015, allocations: 5.799 MB / 405.4 MB, free: 1.535 MB / 302.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank.pipe ; mkfifo Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank.pipe >> ../files/Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank.sim & ./Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Thermal/FluidHeatFlow/Examples/TestOpenTank/TestOpenTank.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank.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: 4.495240921154618]