Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.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.001302/0.001302, 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.001432/0.001432, allocations: 204.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.476/1.476, allocations: 230.6 MB / 258.2 MB, free: 7.809 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.RealSignals.ShiftSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5019,variableFilter="time|sample1.y|shiftSample1.y",fileNamePrefix="Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample") translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5019,variableFilter="time|sample1.y|shiftSample1.y",fileNamePrefix="Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.269e-05/2.269e-05, allocations: 2.281 kB / 378.9 MB, free: 2.609 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample): time 0.002917/0.002939, allocations: 1.591 MB / 380.5 MB, free: 1.012 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001018/0.003957, allocations: 0.5182 MB / 381 MB, free: 500 kB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.889e-05/0.004026, allocations: 3.938 kB / 381.1 MB, free: 496 kB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 5.561e-05/0.004082, allocations: 7.922 kB / 381.1 MB, free: 488 kB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001305/0.004212, allocations: 15.88 kB / 381.1 MB, free: 472 kB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003113/0.004523, allocations: 59.81 kB / 381.1 MB, free: 412 kB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001422/0.004666, allocations: 79.75 kB / 381.2 MB, free: 332 kB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000108/0.004774, allocations: 16.17 kB / 381.2 MB, free: 316 kB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001333/0.004907, allocations: 43.83 kB / 381.3 MB, free: 272 kB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.473e-05/0.004962, allocations: 19.86 kB / 381.3 MB, free: 252 kB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.559e-05/0.004977, allocations: 4 kB / 381.3 MB, free: 248 kB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.726e-05/0.005015, allocations: 4 kB / 381.3 MB, free: 244 kB / 302.1 MB Notification: Performance of combineBinaries: time 0.0001173/0.005132, allocations: 110.7 kB / 381.4 MB, free: 132 kB / 302.1 MB Notification: Performance of replaceArrayConstructors: time 5.502e-05/0.005187, allocations: 78.91 kB / 381.5 MB, free: 52 kB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 1.44e-05/0.005201, allocations: 4 kB / 381.5 MB, free: 48 kB / 302.1 MB Notification: Performance of FrontEnd: time 1.631e-05/0.005218, allocations: 0 / 381.5 MB, free: 48 kB / 302.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 (5) * Number of variables: 5 (5) Notification: Performance of [SIM] Bindings: time 0.1873/0.1926, allocations: 360.5 kB / 381.8 MB, free: 12.95 MB / 302.1 MB Notification: Performance of [SIM] FunctionAlias: time 6.231e-05/0.1926, allocations: 43.27 kB / 381.9 MB, free: 12.92 MB / 302.1 MB Notification: Performance of [SIM] Early Inline: time 0.0001678/0.1928, allocations: 133.5 kB / 382 MB, free: 12.86 MB / 302.1 MB Notification: Performance of [SIM] Simplify 1: time 6.227e-05/0.1929, allocations: 75.16 kB / 382.1 MB, free: 12.77 MB / 302.1 MB Notification: Performance of [SIM] Alias: time 0.0004448/0.1933, allocations: 257.4 kB / 382.3 MB, free: 12.62 MB / 302.1 MB Notification: Performance of [SIM] Simplify 2: time 5.109e-05/0.1933, allocations: 67.73 kB / 382.4 MB, free: 12.52 MB / 302.1 MB Notification: Performance of [SIM] Remove Stream: time 2.813e-05/0.1934, allocations: 39.81 kB / 382.4 MB, free: 12.47 MB / 302.1 MB Notification: Performance of [SIM] Detect States: time 6.916e-05/0.1934, allocations: 83.25 kB / 382.5 MB, free: 12.36 MB / 302.1 MB Notification: Performance of [SIM] Events: time 6.408e-05/0.1935, allocations: 18.19 kB / 382.5 MB, free: 12.36 MB / 302.1 MB Notification: Performance of [SIM] Partitioning: time 0.0001454/0.1937, allocations: 78.7 kB / 382.6 MB, free: 12.3 MB / 302.1 MB Notification: Performance of [SIM] Causalize: time 0.000136/0.1938, allocations: 81.92 kB / 382.7 MB, free: 12.26 MB / 302.1 MB Notification: Performance of [SIM] After Index Reduction Inline: time 6.053e-05/0.1939, allocations: 66.61 kB / 382.8 MB, free: 12.25 MB / 302.1 MB Notification: Performance of [INI] Simplify: time 0.0001161/0.194, allocations: 114.4 kB / 382.9 MB, free: 12.11 MB / 302.1 MB Notification: Performance of [INI] Inline: time 8.606e-05/0.1941, allocations: 89.78 kB / 383 MB, free: 12.1 MB / 302.1 MB Notification: Performance of [INI] Partitioning: time 9.468e-06/0.1941, allocations: 15.34 kB / 383 MB, free: 12.09 MB / 302.1 MB Notification: Performance of [INI] Cleanup: time 1.944e-05/0.1941, allocations: 14.34 kB / 383 MB, free: 12.09 MB / 302.1 MB Notification: Performance of [INI] Causalize: time 9.429e-05/0.1942, allocations: 41.83 kB / 383 MB, free: 12.07 MB / 302.1 MB Notification: Performance of [INI] Tearing: time 9.968e-06/0.1942, allocations: 2.125 kB / 383 MB, free: 12.07 MB / 302.1 MB Notification: Performance of [SIM] Initialization: time 4.01e-07/0.1942, allocations: 0 / 383 MB, free: 12.07 MB / 302.1 MB Notification: Performance of [SIM] Remove Dummies: time 5.36e-06/0.1942, allocations: 9.344 kB / 383 MB, free: 12.07 MB / 302.1 MB Notification: Performance of [SIM] Tearing: time 2.615e-06/0.1942, allocations: 7.438 kB / 383.1 MB, free: 12.07 MB / 302.1 MB Notification: Performance of [SIM] Categorize: time 7.735e-06/0.1942, allocations: 1.219 kB / 383.1 MB, free: 12.07 MB / 302.1 MB Notification: Performance of [SIM] Solve: time 7.798e-05/0.1943, allocations: 35.09 kB / 383.1 MB, free: 12.07 MB / 302.1 MB Notification: Performance of [SIM] Jacobian: time 9.308e-06/0.1943, allocations: 4 kB / 383.1 MB, free: 12.06 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: .................... 0 (0) {} * Number of clocked states: ..................... 0 (0) {} * Number of discrete variables: ................. 1 (1) {$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: ........... 2 (scalar:2, 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: ... 0 (linear: 0, nonlinear:0) Notification: [Initialization] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 2 (scalar:2, 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: ... 0 (linear: 0, nonlinear:0) Notification: Performance of backend: time 3.427e-05/0.1943, allocations: 21.33 kB / 383.1 MB, free: 12.05 MB / 302.1 MB Notification: Performance of SimCode: time 0.0005844/0.1949, allocations: 272 kB / 383.4 MB, free: 11.9 MB / 302.1 MB Notification: Performance of Templates: time 0.00305/0.198, allocations: 453 kB / 383.8 MB, free: 11.86 MB / 302.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample.sim & ./Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/RealSignals/ShiftSample/ShiftSample.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.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.320207798853517]