Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.TwoTanks.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.001267/0.001267, 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.00143/0.00143, allocations: 211.5 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.432/1.432, allocations: 230.6 MB / 258.3 MB, free: 7.805 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.TwoTanks,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|openTank1.H|openTank1.m|openTank2.H|openTank2.m",fileNamePrefix="Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.TwoTanks") translateModel(Modelica.Thermal.FluidHeatFlow.Examples.TwoTanks,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|openTank1.H|openTank1.m|openTank2.H|openTank2.m",fileNamePrefix="Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.TwoTanks") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.399e-05/2.399e-05, allocations: 2.281 kB / 378.9 MB, free: 2.555 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.TwoTanks): time 0.167/0.167, allocations: 2.573 MB / 381.5 MB, free: 13.02 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001603/0.1686, allocations: 0.8095 MB / 382.3 MB, free: 12.98 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001324/0.1687, allocations: 7.188 kB / 382.3 MB, free: 12.98 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000253/0.169, allocations: 69.73 kB / 382.4 MB, free: 12.95 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002628/0.1692, allocations: 137 kB / 382.5 MB, free: 12.89 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001933/0.1694, allocations: 91.47 kB / 382.6 MB, free: 12.89 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005158/0.1699, allocations: 0.4986 MB / 383.1 MB, free: 12.78 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001657/0.1701, allocations: 63 kB / 383.1 MB, free: 12.77 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001882/0.1703, allocations: 182.4 kB / 383.3 MB, free: 12.74 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002232/0.1705, allocations: 188.1 kB / 383.5 MB, free: 12.7 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 5.564e-05/0.1706, allocations: 31.5 kB / 383.5 MB, free: 12.7 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000106/0.1707, allocations: 41.44 kB / 383.6 MB, free: 12.7 MB / 302.1 MB Notification: Performance of combineBinaries: time 0.000588/0.1713, allocations: 0.7207 MB / 384.3 MB, free: 12.36 MB / 302.1 MB Notification: Performance of replaceArrayConstructors: time 0.0002094/0.1715, allocations: 450.2 kB / 384.7 MB, free: 12.09 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 6.526e-05/0.1715, allocations: 40.06 kB / 384.8 MB, free: 12.09 MB / 302.1 MB Notification: Performance of FrontEnd: time 4.05e-05/0.1716, allocations: 12.33 kB / 384.8 MB, free: 12.09 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: 50 (50) * Number of variables: 50 (50) Notification: Performance of [SIM] Bindings: time 0.001566/0.1732, allocations: 2.102 MB / 386.9 MB, free: 10.91 MB / 302.1 MB Notification: Performance of [SIM] FunctionAlias: time 0.0002228/0.1734, allocations: 197.9 kB / 387.1 MB, free: 10.8 MB / 302.1 MB Notification: Performance of [SIM] Early Inline: time 0.0006562/0.174, allocations: 0.7837 MB / 387.9 MB, free: 10.34 MB / 302.1 MB Notification: Performance of [SIM] Simplify 1: time 0.0004034/0.1744, allocations: 320.7 kB / 388.2 MB, free: 10.16 MB / 302.1 MB Notification: Performance of [SIM] Alias: time 0.001494/0.1759, allocations: 1.162 MB / 389.3 MB, free: 9.41 MB / 302.1 MB Notification: Performance of [SIM] Simplify 2: time 0.0002774/0.1762, allocations: 260.7 kB / 389.6 MB, free: 9.266 MB / 302.1 MB Notification: Performance of [SIM] Remove Stream: time 0.0001192/0.1763, allocations: 137.7 kB / 389.7 MB, free: 9.156 MB / 302.1 MB Notification: Performance of [SIM] Detect States: time 0.0002706/0.1766, allocations: 274.4 kB / 390 MB, free: 8.938 MB / 302.1 MB Notification: Performance of [SIM] Events: time 0.0002072/0.1768, allocations: 172.2 kB / 390.2 MB, free: 8.859 MB / 302.1 MB Notification: Performance of [SIM] Partitioning: time 0.0004633/0.1773, allocations: 464.3 kB / 390.6 MB, free: 8.531 MB / 302.1 MB Notification: Performance of [SIM] Causalize: time 0.001031/0.1783, allocations: 0.8074 MB / 391.4 MB, free: 8.199 MB / 302.1 MB Notification: Performance of [SIM] After Index Reduction Inline: time 0.000705/0.179, allocations: 0.7725 MB / 392.2 MB, free: 7.789 MB / 302.1 MB Notification: Performance of [INI] Simplify: time 0.0008078/0.1798, allocations: 0.5231 MB / 392.7 MB, free: 7.465 MB / 302.1 MB Notification: Performance of [INI] Inline: time 0.0009059/0.1807, allocations: 1.013 MB / 393.7 MB, free: 6.926 MB / 302.1 MB Notification: Performance of [INI] Partitioning: time 4.496e-05/0.1808, allocations: 30.34 kB / 393.8 MB, free: 6.898 MB / 302.1 MB Notification: Performance of [INI] Cleanup: time 0.000149/0.1809, allocations: 180.9 kB / 393.9 MB, free: 6.793 MB / 302.1 MB Notification: Performance of [INI] Causalize: time 0.001701/0.1826, allocations: 1.158 MB / 395.1 MB, free: 6.512 MB / 302.1 MB Notification: Performance of [INI] Tearing: time 0.0002838/0.1829, allocations: 188.4 kB / 395.3 MB, free: 6.445 MB / 302.1 MB Notification: Performance of [SIM] Initialization: time 9.61e-07/0.1829, allocations: 4 kB / 395.3 MB, free: 6.441 MB / 302.1 MB Notification: Performance of [SIM] Remove Dummies: time 1.298e-05/0.1829, allocations: 2.656 kB / 395.3 MB, free: 6.441 MB / 302.1 MB Notification: Performance of [SIM] Tearing: time 0.0002054/0.1831, allocations: 144.6 kB / 395.4 MB, free: 6.391 MB / 302.1 MB Notification: Performance of [SIM] Categorize: time 2.055e-05/0.1831, allocations: 7.484 kB / 395.4 MB, free: 6.387 MB / 302.1 MB Notification: Performance of [SIM] Solve: time 0.0009044/0.184, allocations: 0.6148 MB / 396.1 MB, free: 6.164 MB / 302.1 MB Notification: Performance of [SIM] Jacobian: time 0.0003518/0.1844, allocations: 356 kB / 396.4 MB, free: 5.898 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: ............................. 4 (4) {openTank1.m, openTank1.H, openTank2.m, openTank2.H} * Number of discrete states: .................... 0 (0) {} * Number of clocked states: ..................... 0 (0) {} * Number of discrete variables: ................. 17 (17) {$FUN_3, $SEV_15, $SEV_14, $SEV_13, $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} * 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: ........... 39 (scalar:39, array:0, record:0) * Number of multi strong components: ............ 0 (algorithm:0, when:0, if:0, tuple:0) * Number of for-loop strong components: ......... 0 (resizable: 0, generic: 0, entwined:0) * Number of algebraic-loop strong components: ... 2 (linear: 2, nonlinear:0) Notification: [Initialization] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 44 (scalar:44, array:0, record:0) * Number of multi strong components: ............ 1 (algorithm:1, 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: ... 2 (linear: 2, nonlinear:0) Notification: Performance of backend: time 0.0001259/0.1845, allocations: 44.36 kB / 396.4 MB, free: 5.867 MB / 302.1 MB Notification: Performance of SimCode: time 0.001961/0.1865, allocations: 1.409 MB / 397.9 MB, free: 5.207 MB / 302.1 MB Notification: Performance of Templates: time 0.01047/0.197, allocations: 5.34 MB / 403.2 MB, free: 2.738 MB / 302.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.TwoTanks.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.TwoTanks.pipe ; mkfifo Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.TwoTanks.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.TwoTanks.pipe >> ../files/Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.TwoTanks.sim & ./Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.TwoTanks -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.TwoTanks.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.TwoTanks_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Thermal/FluidHeatFlow/Examples/TwoTanks/TwoTanks.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.TwoTanks.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.461464920081198]