Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Blocks.IntegerTable.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.001983/0.001983, 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.002416/0.002416, allocations: 206.8 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.581/1.581, allocations: 230.6 MB / 258.2 MB, free: 7.805 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.321/0.321, allocations: 46.97 MB / 361.6 MB, free: 4.062 MB / 286.1 MB " [Timeout remaining time 179] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) 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(ModelicaTest.Blocks.IntegerTable,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5007,variableFilter="time|integerTable.y|integerTable2.y|integerTable3.y|integerTable4.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Blocks.IntegerTable") translateModel(ModelicaTest.Blocks.IntegerTable,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5007,variableFilter="time|integerTable.y|integerTable2.y|integerTable3.y|integerTable4.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Blocks.IntegerTable") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 3.698e-05/3.698e-05, allocations: 6.219 kB / 0.4973 GB, free: 7.312 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.IntegerTable): time 0.004297/0.004334, allocations: 2.201 MB / 0.4994 GB, free: 5.098 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.003341/0.007676, allocations: 1.629 MB / 0.501 GB, free: 3.465 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001986/0.007874, allocations: 4 kB / 0.501 GB, free: 3.461 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005415/0.008416, allocations: 143.2 kB / 0.5011 GB, free: 3.32 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007583/0.009174, allocations: 298.8 kB / 0.5014 GB, free: 3.027 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001685/0.01086, allocations: 0.5331 MB / 0.502 GB, free: 2.5 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.001047/0.01191, allocations: 0.7288 MB / 0.5027 GB, free: 1.77 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002499/0.01216, allocations: 61.14 kB / 0.5027 GB, free: 1.707 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004856/0.01264, allocations: 330.9 kB / 0.503 GB, free: 1.383 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003537/0.013, allocations: 227 kB / 0.5033 GB, free: 1.16 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 7.137e-05/0.01307, allocations: 31.94 kB / 0.5033 GB, free: 1.129 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004042/0.01347, allocations: 199.7 kB / 0.5035 GB, free: 0.9336 MB / 366.1 MB Notification: Performance of combineBinaries: time 0.0007281/0.0142, allocations: 0.7886 MB / 0.5042 GB, free: 140 kB / 366.1 MB Notification: Performance of replaceArrayConstructors: time 0.0003864/0.01459, allocations: 0.5323 MB / 0.5048 GB, free: 15.59 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 6.438e-05/0.01465, allocations: 20 kB / 0.5048 GB, free: 15.57 MB / 382.1 MB Notification: Performance of FrontEnd: time 5.636e-05/0.01471, allocations: 15.94 kB / 0.5048 GB, free: 15.56 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 28 (28) * Number of variables: 28 (28) Notification: Performance of [SIM] Bindings: time 0.00211/0.01682, allocations: 1.812 MB / 0.5066 GB, free: 13.61 MB / 382.1 MB Notification: Performance of [SIM] FunctionAlias: time 0.000359/0.01718, allocations: 217.7 kB / 0.5068 GB, free: 13.38 MB / 382.1 MB Notification: Performance of [SIM] Early Inline: time 0.0006551/0.01783, allocations: 0.5884 MB / 0.5073 GB, free: 12.76 MB / 382.1 MB Notification: Performance of [SIM] Simplify 1: time 0.0002719/0.0181, allocations: 172.5 kB / 0.5075 GB, free: 12.54 MB / 382.1 MB Notification: Performance of [SIM] Alias: time 0.001259/0.01936, allocations: 0.7187 MB / 0.5082 GB, free: 11.71 MB / 382.1 MB Notification: Performance of [SIM] Simplify 2: time 0.0002492/0.01961, allocations: 174.2 kB / 0.5084 GB, free: 11.48 MB / 382.1 MB Notification: Performance of [SIM] Remove Stream: time 0.0001233/0.01973, allocations: 105.7 kB / 0.5085 GB, free: 11.36 MB / 382.1 MB Notification: Performance of [SIM] Detect States: time 0.0004145/0.02015, allocations: 292.1 kB / 0.5088 GB, free: 11.02 MB / 382.1 MB Notification: Performance of [SIM] Events: time 0.0002013/0.02035, allocations: 114.2 kB / 0.5089 GB, free: 10.91 MB / 382.1 MB Notification: Performance of [SIM] Partitioning: time 0.000526/0.02088, allocations: 410.3 kB / 0.5093 GB, free: 10.45 MB / 382.1 MB Notification: Performance of [SIM] Causalize: time 0.001147/0.02202, allocations: 0.7796 MB / 0.51 GB, free: 9.605 MB / 382.1 MB Notification: Performance of [SIM] After Index Reduction Inline: time 0.0005758/0.0226, allocations: 0.5815 MB / 0.5106 GB, free: 9.023 MB / 382.1 MB Notification: Performance of [INI] Simplify: time 0.005848/0.02845, allocations: 1.077 MB / 0.5116 GB, free: 7.992 MB / 382.1 MB Notification: Performance of [INI] Inline: time 0.001027/0.02947, allocations: 0.9563 MB / 0.5126 GB, free: 7.035 MB / 382.1 MB Notification: Performance of [INI] Partitioning: time 7.544e-05/0.02955, allocations: 39.98 kB / 0.5126 GB, free: 6.984 MB / 382.1 MB Notification: Performance of [INI] Cleanup: time 0.0002074/0.02976, allocations: 203.8 kB / 0.5128 GB, free: 6.785 MB / 382.1 MB Notification: Performance of [INI] Causalize: time 0.003944/0.0337, allocations: 2.705 MB / 0.5155 GB, free: 4.07 MB / 382.1 MB Notification: Performance of [INI] Tearing: time 4.862e-05/0.03375, allocations: 48 kB / 0.5155 GB, free: 4.023 MB / 382.1 MB Notification: Performance of [SIM] Initialization: time 1.232e-06/0.03375, allocations: 0 / 0.5155 GB, free: 4.023 MB / 382.1 MB Notification: Performance of [SIM] Remove Dummies: time 1.571e-05/0.03377, allocations: 0 / 0.5155 GB, free: 4.023 MB / 382.1 MB Notification: Performance of [SIM] Tearing: time 1.951e-05/0.03378, allocations: 28 kB / 0.5155 GB, free: 3.996 MB / 382.1 MB Notification: Performance of [SIM] Categorize: time 3.157e-05/0.03382, allocations: 12.12 kB / 0.5155 GB, free: 3.984 MB / 382.1 MB Notification: Performance of [SIM] Solve: time 0.0006838/0.0345, allocations: 446.6 kB / 0.516 GB, free: 3.551 MB / 382.1 MB Notification: Performance of [SIM] Jacobian: time 9.298e-06/0.03451, allocations: 0 / 0.516 GB, free: 3.551 MB / 382.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: ......... 8 * 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: .................... 8 (8) {integerTable4.combiTimeTable.nextTimeEvent, integerTable4.combiTimeTable.nextTimeEventScaled, integerTable3.combiTimeTable.nextTimeEvent, integerTable3.combiTimeTable.nextTimeEventScaled, integerTable2.combiTimeTable.nextTimeEvent, integerTable2.combiTimeTable.nextTimeEventScaled, integerTable.combiTimeTable.nextTimeEvent, integerTable.combiTimeTable.nextTimeEventScaled} * Number of clocked states: ..................... 0 (0) {} * Number of discrete variables: ................. 20 (20) {integerTable.y, integerTable2.y, integerTable3.y, integerTable4.y, $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_3, $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: ........... 40 (scalar:40, array:0, record:0) * Number of multi strong components: ............ 8 (algorithm:0, when:8, 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: ........... 84 (scalar:76, array:4, record:4) * Number of multi strong components: ............ 8 (algorithm:8, 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 0.0001091/0.03462, allocations: 57.75 kB / 0.516 GB, free: 3.5 MB / 382.1 MB Notification: Performance of SimCode: time 0.004437/0.03906, allocations: 2.11 MB / 0.5181 GB, free: 1.527 MB / 382.1 MB Notification: Performance of Templates: time 0.2919/0.331, allocations: 5.5 MB / 0.5234 GB, free: 26.27 MB / 382.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Blocks.IntegerTable.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Blocks.IntegerTable.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Blocks.IntegerTable.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Blocks.IntegerTable.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Blocks.IntegerTable.sim & ./ModelicaTest_4.1.0_ModelicaTest.Blocks.IntegerTable -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Blocks.IntegerTable.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Blocks.IntegerTable_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Blocks/IntegerTable/IntegerTable.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Blocks.IntegerTable.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.692871289793402]