Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.BackSample.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.001259/0.001259, allocations: 107.6 kB / 21.2 MB, free: 0.668 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.001417/0.001417, allocations: 211.5 kB / 24.49 MB, free: 3.973 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.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.Clocked.Examples.Elementary.RealSignals.BackSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5019,variableFilter="time|sample1.y|shiftSample1.y|backSample1.y",fileNamePrefix="Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.BackSample") translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.BackSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5019,variableFilter="time|sample1.y|shiftSample1.y|backSample1.y",fileNamePrefix="Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.BackSample") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 3.002e-05/3.002e-05, allocations: 5.516 kB / 378.9 MB, free: 2.508 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.BackSample): time 0.002751/0.002781, allocations: 1.634 MB / 380.6 MB, free: 0.8672 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001045/0.003827, allocations: 0.5415 MB / 381.1 MB, free: 328 kB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.029e-05/0.003907, allocations: 7.938 kB / 381.1 MB, free: 320 kB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 4.971e-05/0.003957, allocations: 7.875 kB / 381.1 MB, free: 312 kB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001334/0.00409, allocations: 15.86 kB / 381.1 MB, free: 296 kB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000312/0.004402, allocations: 69.05 kB / 381.2 MB, free: 228 kB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001387/0.004541, allocations: 83.7 kB / 381.3 MB, free: 144 kB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001156/0.004656, allocations: 24.2 kB / 381.3 MB, free: 116 kB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001275/0.004784, allocations: 43.84 kB / 381.3 MB, free: 72 kB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.614e-05/0.00484, allocations: 27.8 kB / 381.4 MB, free: 44 kB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.727e-05/0.004857, allocations: 4 kB / 381.4 MB, free: 40 kB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.876e-05/0.004896, allocations: 8 kB / 381.4 MB, free: 32 kB / 302.1 MB Notification: Performance of combineBinaries: time 0.1808/0.1857, allocations: 132.4 kB / 381.5 MB, free: 13.04 MB / 302.1 MB Notification: Performance of replaceArrayConstructors: time 5.571e-05/0.1858, allocations: 96.97 kB / 381.6 MB, free: 13 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 2.758e-05/0.1858, allocations: 4.25 kB / 381.6 MB, free: 13 MB / 302.1 MB Notification: Performance of FrontEnd: time 6.023e-05/0.1859, allocations: 5.406 kB / 381.6 MB, free: 13 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: 7 (7) * Number of variables: 7 (7) Notification: Performance of [SIM] Bindings: time 0.0004955/0.1863, allocations: 406.8 kB / 382 MB, free: 12.66 MB / 302.1 MB Notification: Performance of [SIM] FunctionAlias: time 6.14e-05/0.1864, allocations: 46.34 kB / 382.1 MB, free: 12.63 MB / 302.1 MB Notification: Performance of [SIM] Early Inline: time 0.0001733/0.1866, allocations: 148.7 kB / 382.2 MB, free: 12.57 MB / 302.1 MB Notification: Performance of [SIM] Simplify 1: time 5.849e-05/0.1866, allocations: 73.08 kB / 382.3 MB, free: 12.48 MB / 302.1 MB Notification: Performance of [SIM] Alias: time 0.0005035/0.1871, allocations: 304.4 kB / 382.6 MB, free: 12.3 MB / 302.1 MB Notification: Performance of [SIM] Simplify 2: time 4.973e-05/0.1872, allocations: 69.44 kB / 382.6 MB, free: 12.2 MB / 302.1 MB Notification: Performance of [SIM] Remove Stream: time 2.462e-05/0.1872, allocations: 40.73 kB / 382.7 MB, free: 12.15 MB / 302.1 MB Notification: Performance of [SIM] Detect States: time 6.218e-05/0.1873, allocations: 90.06 kB / 382.8 MB, free: 12.04 MB / 302.1 MB Notification: Performance of [SIM] Events: time 6.987e-05/0.1873, allocations: 16.61 kB / 382.8 MB, free: 12.04 MB / 302.1 MB Notification: Performance of [SIM] Partitioning: time 0.0002483/0.1876, allocations: 175.7 kB / 383 MB, free: 11.91 MB / 302.1 MB Notification: Performance of [SIM] Causalize: time 0.0001277/0.1877, allocations: 110.5 kB / 383.1 MB, free: 11.85 MB / 302.1 MB Notification: Performance of [SIM] After Index Reduction Inline: time 6.121e-05/0.1878, allocations: 71.36 kB / 383.1 MB, free: 11.84 MB / 302.1 MB Notification: Performance of [INI] Simplify: time 0.0001126/0.1879, allocations: 110.6 kB / 383.2 MB, free: 11.7 MB / 302.1 MB Notification: Performance of [INI] Inline: time 9.159e-05/0.188, allocations: 106.5 kB / 383.4 MB, free: 11.69 MB / 302.1 MB Notification: Performance of [INI] Partitioning: time 7.574e-06/0.188, allocations: 10.62 kB / 383.4 MB, free: 11.68 MB / 302.1 MB Notification: Performance of [INI] Cleanup: time 2.176e-05/0.188, allocations: 17.92 kB / 383.4 MB, free: 11.68 MB / 302.1 MB Notification: Performance of [INI] Causalize: time 8.781e-05/0.1881, allocations: 41.11 kB / 383.4 MB, free: 11.66 MB / 302.1 MB Notification: Performance of [INI] Tearing: time 1.169e-05/0.1881, allocations: 4.062 kB / 383.4 MB, free: 11.66 MB / 302.1 MB Notification: Performance of [SIM] Initialization: time 3.81e-07/0.1881, allocations: 0.6875 kB / 383.4 MB, free: 11.66 MB / 302.1 MB Notification: Performance of [SIM] Remove Dummies: time 6.662e-06/0.1881, allocations: 8.531 kB / 383.4 MB, free: 11.66 MB / 302.1 MB Notification: Performance of [SIM] Tearing: time 2.204e-06/0.1881, allocations: 1.875 kB / 383.4 MB, free: 11.66 MB / 302.1 MB Notification: Performance of [SIM] Categorize: time 1.035e-05/0.1881, allocations: 4.375 kB / 383.4 MB, free: 11.66 MB / 302.1 MB Notification: Performance of [SIM] Solve: time 8.177e-05/0.1882, allocations: 42.66 kB / 383.5 MB, free: 11.66 MB / 302.1 MB Notification: Performance of [SIM] Jacobian: time 1.008e-05/0.1882, allocations: 8.469 kB / 383.5 MB, free: 11.65 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.472e-05/0.1883, allocations: 20.44 kB / 383.5 MB, free: 11.64 MB / 302.1 MB Notification: Performance of SimCode: time 0.0006268/0.1889, allocations: 299.1 kB / 383.8 MB, free: 11.47 MB / 302.1 MB Notification: Performance of Templates: time 0.003076/0.192, allocations: 487.9 kB / 384.3 MB, free: 11.43 MB / 302.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.BackSample.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.BackSample.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.BackSample.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.BackSample.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.BackSample.sim & ./Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.BackSample -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.BackSample.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.BackSample_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/RealSignals/BackSample/BackSample.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.BackSample.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] "" Variables in the reference:time,sample1.y,shiftSample1.y,backSample1.y Variables in the result:backSample1.backCounter,backSample1.resolution,backSample1.y,backSample1.y_start,periodicClock.factor,periodicClock.resolution,periodicClock.resolutionFactor,periodicClock.useSolver,sample1.y,shiftSample1.resolution,shiftSample1.shiftCounter,shiftSample1.y,sine.amplitude,sine.continuous,sine.f,sine.offset,sine.phase,sine.startTime,time [Calling sys.exit(0), Time elapsed: 4.342240509111434]