Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.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.001769/0.001769, allocations: 99.59 kB / 21.2 MB, free: 0.6406 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.002255/0.002255, allocations: 217.1 kB / 24.5 MB, free: 3.926 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.471/1.471, allocations: 230.6 MB / 258.2 MB, free: 7.785 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.BackSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5025,variableFilter="time|sample1.y|shiftSample1.y|backSample1.y",fileNamePrefix="Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.BackSample") translateModel(Modelica.Clocked.Examples.Elementary.IntegerSignals.BackSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5025,variableFilter="time|sample1.y|shiftSample1.y|backSample1.y",fileNamePrefix="Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.BackSample") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 3.428e-05/3.428e-05, allocations: 9.172 kB / 378.9 MB, free: 2.484 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.BackSample): time 0.003875/0.003909, allocations: 1.889 MB / 380.8 MB, free: 0.5859 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.1681/0.172, allocations: 1.249 MB / 382.1 MB, free: 13.02 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000178/0.1722, allocations: 9.656 kB / 382.1 MB, free: 13.02 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003472/0.1725, allocations: 66.06 kB / 382.1 MB, free: 13 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003936/0.1729, allocations: 136.5 kB / 382.3 MB, free: 12.97 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000666/0.1736, allocations: 233.8 kB / 382.5 MB, free: 12.93 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003031/0.1739, allocations: 244.1 kB / 382.7 MB, free: 12.91 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001358/0.174, allocations: 30.11 kB / 382.8 MB, free: 12.9 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001591/0.1742, allocations: 114.5 kB / 382.9 MB, free: 12.89 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001384/0.1743, allocations: 84.8 kB / 383 MB, free: 12.87 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 3.018e-05/0.1743, allocations: 9.531 kB / 383 MB, free: 12.87 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001579/0.1745, allocations: 74.8 kB / 383 MB, free: 12.87 MB / 302.1 MB Notification: Performance of combineBinaries: time 0.0001892/0.1747, allocations: 303.7 kB / 383.3 MB, free: 12.71 MB / 302.1 MB Notification: Performance of replaceArrayConstructors: time 8.94e-05/0.1748, allocations: 207.4 kB / 383.5 MB, free: 12.58 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 3.331e-05/0.1748, allocations: 9.312 kB / 383.6 MB, free: 12.58 MB / 302.1 MB Notification: Performance of FrontEnd: time 3.725e-05/0.1748, allocations: 7.844 kB / 383.6 MB, free: 12.58 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: 13 (13) * Number of variables: 13 (13) Notification: Performance of [SIM] Bindings: time 0.0007383/0.1756, allocations: 0.7347 MB / 384.3 MB, free: 12.12 MB / 302.1 MB Notification: Performance of [SIM] FunctionAlias: time 0.0001285/0.1757, allocations: 91.42 kB / 384.4 MB, free: 12.09 MB / 302.1 MB Notification: Performance of [SIM] Early Inline: time 0.0002058/0.1759, allocations: 238.5 kB / 384.6 MB, free: 12.02 MB / 302.1 MB Notification: Performance of [SIM] Simplify 1: time 0.0001045/0.176, allocations: 100.5 kB / 384.7 MB, free: 11.92 MB / 302.1 MB Notification: Performance of [SIM] Alias: time 0.0005942/0.1766, allocations: 465.7 kB / 385.2 MB, free: 11.69 MB / 302.1 MB Notification: Performance of [SIM] Simplify 2: time 8.522e-05/0.1767, allocations: 90.95 kB / 385.3 MB, free: 11.6 MB / 302.1 MB Notification: Performance of [SIM] Remove Stream: time 4.326e-05/0.1767, allocations: 53.59 kB / 385.3 MB, free: 11.54 MB / 302.1 MB Notification: Performance of [SIM] Detect States: time 0.0001804/0.1769, allocations: 141 kB / 385.5 MB, free: 11.43 MB / 302.1 MB Notification: Performance of [SIM] Events: time 7.436e-05/0.177, allocations: 28.94 kB / 385.5 MB, free: 11.42 MB / 302.1 MB Notification: Performance of [SIM] Partitioning: time 0.0003309/0.1773, allocations: 251.4 kB / 385.7 MB, free: 11.27 MB / 302.1 MB Notification: Performance of [SIM] Causalize: time 0.0003418/0.1777, allocations: 266.8 kB / 386 MB, free: 11.17 MB / 302.1 MB Notification: Performance of [SIM] After Index Reduction Inline: time 0.0001354/0.1778, allocations: 180.2 kB / 386.2 MB, free: 11.12 MB / 302.1 MB Notification: Performance of [INI] Simplify: time 0.001842/0.1797, allocations: 358.5 kB / 386.5 MB, free: 10.89 MB / 302.1 MB Notification: Performance of [INI] Inline: time 0.0002343/0.1799, allocations: 279.9 kB / 386.8 MB, free: 10.74 MB / 302.1 MB Notification: Performance of [INI] Partitioning: time 1.891e-05/0.1799, allocations: 18.16 kB / 386.8 MB, free: 10.72 MB / 302.1 MB Notification: Performance of [INI] Cleanup: time 5.292e-05/0.18, allocations: 56.69 kB / 386.9 MB, free: 10.69 MB / 302.1 MB Notification: Performance of [INI] Causalize: time 0.00105/0.181, allocations: 0.7574 MB / 387.6 MB, free: 10.53 MB / 302.1 MB Notification: Performance of [INI] Tearing: time 1.49e-05/0.181, allocations: 14.62 kB / 387.6 MB, free: 10.52 MB / 302.1 MB Notification: Performance of [SIM] Initialization: time 8.62e-07/0.181, allocations: 1.156 kB / 387.6 MB, free: 10.52 MB / 302.1 MB Notification: Performance of [SIM] Remove Dummies: time 6.452e-06/0.181, allocations: 4.938 kB / 387.6 MB, free: 10.52 MB / 302.1 MB Notification: Performance of [SIM] Tearing: time 5.3e-06/0.181, allocations: 10.81 kB / 387.6 MB, free: 10.51 MB / 302.1 MB Notification: Performance of [SIM] Categorize: time 1.068e-05/0.181, allocations: 1.719 kB / 387.6 MB, free: 10.51 MB / 302.1 MB Notification: Performance of [SIM] Solve: time 0.0001709/0.1812, allocations: 122.8 kB / 387.8 MB, free: 10.46 MB / 302.1 MB Notification: Performance of [SIM] Jacobian: time 8.546e-06/0.1812, allocations: 1.469 kB / 387.8 MB, free: 10.46 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: ................. 8 (8) {sample1.u, sample1.y, shiftSample1.y, backSample1.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 3.727e-05/0.1813, allocations: 49.22 kB / 387.8 MB, free: 10.43 MB / 302.1 MB Notification: Performance of SimCode: time 0.002452/0.1837, allocations: 1.107 MB / 388.9 MB, free: 9.953 MB / 302.1 MB Notification: Performance of Templates: time 0.00571/0.1894, allocations: 2.056 MB / 391 MB, free: 9.703 MB / 302.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.BackSample.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.BackSample.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.BackSample.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.BackSample.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.BackSample.sim & ./Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.BackSample -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.BackSample.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.BackSample_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/IntegerSignals/BackSample/BackSample.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.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,table.combiTimeTable.columns[1],table.combiTimeTable.extrapolation,table.combiTimeTable.isCsvExt,table.combiTimeTable.nHeaderLines,table.combiTimeTable.nout,table.combiTimeTable.offset[1],table.combiTimeTable.p_offset[1],table.combiTimeTable.shiftTime,table.combiTimeTable.smoothness,table.combiTimeTable.startTime,table.combiTimeTable.t_max,table.combiTimeTable.t_maxScaled,table.combiTimeTable.t_min,table.combiTimeTable.t_minScaled,table.combiTimeTable.tableOnFile,table.combiTimeTable.table[1,1],table.combiTimeTable.table[1,2],table.combiTimeTable.table[2,1],table.combiTimeTable.table[2,2],table.combiTimeTable.table[3,1],table.combiTimeTable.table[3,2],table.combiTimeTable.table[4,1],table.combiTimeTable.table[4,2],table.combiTimeTable.table[5,1],table.combiTimeTable.table[5,2],table.combiTimeTable.timeEvents,table.combiTimeTable.timeScale,table.combiTimeTable.timeScaled,table.combiTimeTable.verboseExtrapolation,table.combiTimeTable.verboseRead,table.extrapolation,table.n,table.shiftTime,table.startTime,table.table[1,1],table.table[1,2],table.table[2,1],table.table[2,2],table.table[3,1],table.table[3,2],table.table[4,1],table.table[4,2],table.table[5,1],table.table[5,2],time [Calling sys.exit(0), Time elapsed: 4.705750422086567]