Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.ShiftSample.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.001593/0.001593, 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.001709/0.001709, 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.454/1.454, allocations: 230.6 MB / 258.3 MB, free: 7.801 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.Clocked.Examples.Elementary.IntegerSignals.ShiftSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5025,variableFilter="time|sample1.y|shiftSample1.y",fileNamePrefix="Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.ShiftSample") translateModel(Modelica.Clocked.Examples.Elementary.IntegerSignals.ShiftSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5025,variableFilter="time|sample1.y|shiftSample1.y",fileNamePrefix="Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.ShiftSample") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.506e-05/2.506e-05, allocations: 6.219 kB / 378.9 MB, free: 2.531 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.ShiftSample): time 0.003363/0.003388, allocations: 1.869 MB / 380.8 MB, free: 0.6523 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.1864/0.1898, allocations: 1.22 MB / 382 MB, free: 13.04 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001597/0.19, allocations: 6.562 kB / 382 MB, free: 13.04 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003211/0.1903, allocations: 65.08 kB / 382.1 MB, free: 13.03 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000351/0.1906, allocations: 134.8 kB / 382.2 MB, free: 13 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006041/0.1912, allocations: 227 kB / 382.4 MB, free: 12.96 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.000268/0.1915, allocations: 232.4 kB / 382.7 MB, free: 12.94 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001213/0.1916, allocations: 28.27 kB / 382.7 MB, free: 12.93 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001402/0.1918, allocations: 111.5 kB / 382.8 MB, free: 12.93 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001259/0.1919, allocations: 84.14 kB / 382.9 MB, free: 12.91 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.981e-05/0.1919, allocations: 9.188 kB / 382.9 MB, free: 12.91 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001616/0.1921, allocations: 69.11 kB / 383 MB, free: 12.91 MB / 302.1 MB Notification: Performance of combineBinaries: time 0.0001894/0.1923, allocations: 275.8 kB / 383.2 MB, free: 12.76 MB / 302.1 MB Notification: Performance of replaceArrayConstructors: time 9.649e-05/0.1924, allocations: 190.6 kB / 383.4 MB, free: 12.65 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 3.164e-05/0.1924, allocations: 7.062 kB / 383.4 MB, free: 12.65 MB / 302.1 MB Notification: Performance of FrontEnd: time 3.935e-05/0.1925, allocations: 4.438 kB / 383.4 MB, free: 12.65 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: 11 (11) * Number of variables: 11 (11) Notification: Performance of [SIM] Bindings: time 0.0007302/0.1932, allocations: 0.6946 MB / 384.1 MB, free: 12.2 MB / 302.1 MB Notification: Performance of [SIM] FunctionAlias: time 0.0001232/0.1933, allocations: 83.58 kB / 384.2 MB, free: 12.16 MB / 302.1 MB Notification: Performance of [SIM] Early Inline: time 0.0002006/0.1935, allocations: 221.5 kB / 384.4 MB, free: 12.1 MB / 302.1 MB Notification: Performance of [SIM] Simplify 1: time 9.456e-05/0.1936, allocations: 97.69 kB / 384.5 MB, free: 12.01 MB / 302.1 MB Notification: Performance of [SIM] Alias: time 0.0005809/0.1942, allocations: 418.9 kB / 384.9 MB, free: 11.8 MB / 302.1 MB Notification: Performance of [SIM] Simplify 2: time 8.216e-05/0.1943, allocations: 94.7 kB / 385 MB, free: 11.7 MB / 302.1 MB Notification: Performance of [SIM] Remove Stream: time 3.944e-05/0.1943, allocations: 53.47 kB / 385.1 MB, free: 11.65 MB / 302.1 MB Notification: Performance of [SIM] Detect States: time 0.0001575/0.1945, allocations: 137.6 kB / 385.2 MB, free: 11.53 MB / 302.1 MB Notification: Performance of [SIM] Events: time 7.737e-05/0.1945, allocations: 44.19 kB / 385.2 MB, free: 11.52 MB / 302.1 MB Notification: Performance of [SIM] Partitioning: time 0.0002099/0.1947, allocations: 139.8 kB / 385.4 MB, free: 11.45 MB / 302.1 MB Notification: Performance of [SIM] Causalize: time 0.0003706/0.1951, allocations: 251.4 kB / 385.6 MB, free: 11.36 MB / 302.1 MB Notification: Performance of [SIM] After Index Reduction Inline: time 0.0001541/0.1953, allocations: 171 kB / 385.8 MB, free: 11.36 MB / 302.1 MB Notification: Performance of [INI] Simplify: time 0.002024/0.1973, allocations: 353.6 kB / 386.1 MB, free: 11.16 MB / 302.1 MB Notification: Performance of [INI] Inline: time 0.0002647/0.1976, allocations: 274 kB / 386.4 MB, free: 11.02 MB / 302.1 MB Notification: Performance of [INI] Partitioning: time 1.997e-05/0.1976, allocations: 22.11 kB / 386.4 MB, free: 10.99 MB / 302.1 MB Notification: Performance of [INI] Cleanup: time 5.169e-05/0.1976, allocations: 55.38 kB / 386.5 MB, free: 10.96 MB / 302.1 MB Notification: Performance of [INI] Causalize: time 0.001106/0.1987, allocations: 0.7489 MB / 387.2 MB, free: 10.8 MB / 302.1 MB Notification: Performance of [INI] Tearing: time 1.403e-05/0.1988, allocations: 14.59 kB / 387.2 MB, free: 10.79 MB / 302.1 MB Notification: Performance of [SIM] Initialization: time 7.51e-07/0.1988, allocations: 3.938 kB / 387.2 MB, free: 10.79 MB / 302.1 MB Notification: Performance of [SIM] Remove Dummies: time 5.45e-06/0.1988, allocations: 5.438 kB / 387.3 MB, free: 10.79 MB / 302.1 MB Notification: Performance of [SIM] Tearing: time 6.522e-06/0.1988, allocations: 10.66 kB / 387.3 MB, free: 10.78 MB / 302.1 MB Notification: Performance of [SIM] Categorize: time 1.198e-05/0.1988, allocations: 1.094 kB / 387.3 MB, free: 10.78 MB / 302.1 MB Notification: Performance of [SIM] Solve: time 0.0001761/0.199, allocations: 120.1 kB / 387.4 MB, free: 10.73 MB / 302.1 MB Notification: Performance of [SIM] Jacobian: time 7.494e-06/0.199, allocations: 0 / 387.4 MB, free: 10.73 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: ......... 2 * 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: .................... 2 (2) {table.combiTimeTable.nextTimeEvent, table.combiTimeTable.nextTimeEventScaled} * Number of clocked states: ..................... 0 (0) {} * Number of discrete variables: ................. 7 (7) {sample1.u, sample1.y, shiftSample1.y, $SEV_2, $SEV_1, $SEV_0, $TEV_0} * Number of clocks: ............................. 1 (1) {periodicClock.c} * Number of top-level inputs: ................... 0 (0) {} Notification: [Simulation] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 10 (scalar:10, 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: ... 0 (linear: 0, nonlinear:0) Notification: [Initialization] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 21 (scalar:19, array:1, record:1) * Number of multi strong components: ............ 2 (algorithm:2, 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.092e-05/0.199, allocations: 44.95 kB / 387.4 MB, free: 10.7 MB / 302.1 MB Notification: Performance of SimCode: time 0.002602/0.2016, allocations: 1.074 MB / 388.5 MB, free: 10.25 MB / 302.1 MB Notification: Performance of Templates: time 0.005858/0.2075, allocations: 2.015 MB / 390.5 MB, free: 10.01 MB / 302.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.ShiftSample.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.ShiftSample.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.ShiftSample.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.ShiftSample.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.ShiftSample.sim & ./Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.ShiftSample -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.ShiftSample.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.ShiftSample_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/IntegerSignals/ShiftSample/ShiftSample.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.ShiftSample.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.485677441116422]