Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Blocks.Examples.LogicalNetwork1.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.001953/0.001953, 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.002112/0.002112, allocations: 205.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.465/1.465, allocations: 230.6 MB / 258.3 MB, free: 7.793 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.Blocks.Examples.LogicalNetwork1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5010,variableFilter="time|Pre1.u|table1.y|table2.y",fileNamePrefix="Modelica_4.1.0_Modelica.Blocks.Examples.LogicalNetwork1") translateModel(Modelica.Blocks.Examples.LogicalNetwork1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5010,variableFilter="time|Pre1.u|table1.y|table2.y",fileNamePrefix="Modelica_4.1.0_Modelica.Blocks.Examples.LogicalNetwork1") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.576e-05/2.576e-05, allocations: 2.281 kB / 378.9 MB, free: 2.539 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.LogicalNetwork1): time 0.003529/0.003555, allocations: 1.982 MB / 380.9 MB, free: 0.5469 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.1775/0.1811, allocations: 1.214 MB / 382.1 MB, free: 13.01 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001663/0.1813, allocations: 5.531 kB / 382.1 MB, free: 13.01 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009627/0.1822, allocations: 311.8 kB / 382.4 MB, free: 12.97 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006169/0.1828, allocations: 269.5 kB / 382.7 MB, free: 12.93 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000473/0.1833, allocations: 223.1 kB / 382.9 MB, free: 12.91 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.00047/0.1838, allocations: 444.9 kB / 383.3 MB, free: 12.87 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001699/0.1839, allocations: 56.59 kB / 383.4 MB, free: 12.86 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000228/0.1842, allocations: 199.1 kB / 383.6 MB, free: 12.83 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002048/0.1844, allocations: 160.3 kB / 383.7 MB, free: 12.8 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 4.506e-05/0.1844, allocations: 24.2 kB / 383.8 MB, free: 12.8 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001883/0.1846, allocations: 97.09 kB / 383.9 MB, free: 12.79 MB / 302.1 MB Notification: Performance of combineBinaries: time 0.000458/0.1851, allocations: 0.529 MB / 384.4 MB, free: 12.55 MB / 302.1 MB Notification: Performance of replaceArrayConstructors: time 0.0001562/0.1852, allocations: 335.9 kB / 384.7 MB, free: 12.36 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 4.486e-05/0.1853, allocations: 15.06 kB / 384.7 MB, free: 12.35 MB / 302.1 MB Notification: Performance of FrontEnd: time 3.28e-05/0.1853, allocations: 6.594 kB / 384.7 MB, free: 12.35 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: 24 (24) * Number of variables: 24 (24) Notification: Performance of [SIM] Bindings: time 0.001475/0.1868, allocations: 1.145 MB / 385.9 MB, free: 11.77 MB / 302.1 MB Notification: Performance of [SIM] FunctionAlias: time 0.000163/0.1869, allocations: 102.5 kB / 386 MB, free: 11.73 MB / 302.1 MB Notification: Performance of [SIM] Early Inline: time 0.0003409/0.1873, allocations: 345.4 kB / 386.3 MB, free: 11.54 MB / 302.1 MB Notification: Performance of [SIM] Simplify 1: time 0.0001478/0.1874, allocations: 125.8 kB / 386.4 MB, free: 11.42 MB / 302.1 MB Notification: Performance of [SIM] Alias: time 0.0008009/0.1882, allocations: 0.5691 MB / 387 MB, free: 11.01 MB / 302.1 MB Notification: Performance of [SIM] Simplify 2: time 0.0001085/0.1883, allocations: 107.8 kB / 387.1 MB, free: 10.9 MB / 302.1 MB Notification: Performance of [SIM] Remove Stream: time 5.431e-05/0.1884, allocations: 68.55 kB / 387.2 MB, free: 10.83 MB / 302.1 MB Notification: Performance of [SIM] Detect States: time 0.00022/0.1886, allocations: 182.6 kB / 387.4 MB, free: 10.68 MB / 302.1 MB Notification: Performance of [SIM] Events: time 0.0001178/0.1887, allocations: 67.75 kB / 387.4 MB, free: 10.64 MB / 302.1 MB Notification: Performance of [SIM] Partitioning: time 0.0002464/0.189, allocations: 158.9 kB / 387.6 MB, free: 10.57 MB / 302.1 MB Notification: Performance of [SIM] Causalize: time 0.000464/0.1894, allocations: 335.6 kB / 387.9 MB, free: 10.48 MB / 302.1 MB Notification: Performance of [SIM] After Index Reduction Inline: time 0.0002343/0.1897, allocations: 296.7 kB / 388.2 MB, free: 10.33 MB / 302.1 MB Notification: Performance of [INI] Simplify: time 0.006395/0.1961, allocations: 0.7307 MB / 388.9 MB, free: 9.961 MB / 302.1 MB Notification: Performance of [INI] Inline: time 0.0004666/0.1965, allocations: 0.5199 MB / 389.4 MB, free: 9.684 MB / 302.1 MB Notification: Performance of [INI] Partitioning: time 4.927e-05/0.1966, allocations: 21.19 kB / 389.5 MB, free: 9.664 MB / 302.1 MB Notification: Performance of [INI] Cleanup: time 9.946e-05/0.1967, allocations: 108.9 kB / 389.6 MB, free: 9.602 MB / 302.1 MB Notification: Performance of [INI] Causalize: time 0.002244/0.1989, allocations: 1.521 MB / 391.1 MB, free: 9.246 MB / 302.1 MB Notification: Performance of [INI] Tearing: time 3.489e-05/0.199, allocations: 22.88 kB / 391.1 MB, free: 9.23 MB / 302.1 MB Notification: Performance of [SIM] Initialization: time 8.11e-07/0.199, allocations: 1.375 kB / 391.1 MB, free: 9.23 MB / 302.1 MB Notification: Performance of [SIM] Remove Dummies: time 1.054e-05/0.199, allocations: 4 kB / 391.1 MB, free: 9.227 MB / 302.1 MB Notification: Performance of [SIM] Tearing: time 1.331e-05/0.199, allocations: 16.12 kB / 391.1 MB, free: 9.215 MB / 302.1 MB Notification: Performance of [SIM] Categorize: time 1.359e-05/0.199, allocations: 1.375 kB / 391.1 MB, free: 9.215 MB / 302.1 MB Notification: Performance of [SIM] Solve: time 0.0004795/0.1995, allocations: 291.4 kB / 391.4 MB, free: 9.109 MB / 302.1 MB Notification: Performance of [SIM] Jacobian: time 8.136e-06/0.1995, allocations: 0 / 391.4 MB, free: 9.109 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: ............... 0 * Number of algebraic event partitions: ......... 1 * 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: ............................. 0 (0) {} * Number of discrete states: .................... 4 (4) {table1.combiTimeTable.nextTimeEvent, table1.combiTimeTable.nextTimeEventScaled, table2.combiTimeTable.nextTimeEvent, table2.combiTimeTable.nextTimeEventScaled} * Number of clocked states: ..................... 0 (0) {} * Number of discrete variables: ................. 15 (15) {Not1.u, And1.y, Or1.u1, Or1.y, Pre1.u, Pre1.y, $SEV_5, $SEV_4, $SEV_3, $SEV_2, $SEV_1, $SEV_0, $TEV_2, $TEV_1, $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: ........... 21 (scalar:21, array:0, record:0) * Number of multi strong components: ............ 4 (algorithm:0, when:4, if:0, tuple:0) * Number of for-loop strong components: ......... 0 (resizable: 0, generic: 0, entwined:0) * Number of algebraic-loop strong components: ... 0 (linear: 0, nonlinear:0) Notification: [Initialization] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 44 (scalar:40, array:2, record:2) * Number of multi strong components: ............ 4 (algorithm:4, 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: ... 0 (linear: 0, nonlinear:0) Notification: Performance of backend: time 4.608e-05/0.1995, allocations: 38.39 kB / 391.5 MB, free: 9.086 MB / 302.1 MB Notification: Performance of SimCode: time 0.002926/0.2025, allocations: 1.38 MB / 392.8 MB, free: 8.48 MB / 302.1 MB Notification: Performance of Templates: time 0.00749/0.21, allocations: 3.212 MB / 396.1 MB, free: 7.855 MB / 302.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Blocks.Examples.LogicalNetwork1.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Blocks.Examples.LogicalNetwork1.pipe ; mkfifo Modelica_4.1.0_Modelica.Blocks.Examples.LogicalNetwork1.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Blocks.Examples.LogicalNetwork1.pipe >> ../files/Modelica_4.1.0_Modelica.Blocks.Examples.LogicalNetwork1.sim & ./Modelica_4.1.0_Modelica.Blocks.Examples.LogicalNetwork1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Blocks.Examples.LogicalNetwork1.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Blocks.Examples.LogicalNetwork1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Blocks/Examples/LogicalNetwork1/LogicalNetwork1.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Blocks.Examples.LogicalNetwork1.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.691541532985866]