Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Hold.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.001581/0.001581, 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.001458/0.001458, allocations: 219.4 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.486/1.486, 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.IntegerSignals.Hold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5013,variableFilter="time|sample1.y|shiftSample1.y|hold1.y",fileNamePrefix="Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Hold") translateModel(Modelica.Clocked.Examples.Elementary.IntegerSignals.Hold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5013,variableFilter="time|sample1.y|shiftSample1.y|hold1.y",fileNamePrefix="Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Hold") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.763e-05/2.763e-05, allocations: 2.281 kB / 378.9 MB, free: 2.512 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.Hold): time 0.003824/0.003851, allocations: 1.896 MB / 380.8 MB, free: 0.6094 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.1887/0.1926, allocations: 1.233 MB / 382.1 MB, free: 13.02 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001607/0.1928, allocations: 6.812 kB / 382.1 MB, free: 13.02 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003314/0.1931, allocations: 66.16 kB / 382.1 MB, free: 13 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003967/0.1935, allocations: 137.2 kB / 382.3 MB, free: 12.97 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005923/0.1941, allocations: 230.7 kB / 382.5 MB, free: 12.93 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003157/0.1944, allocations: 232.2 kB / 382.7 MB, free: 12.91 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001532/0.1945, allocations: 34.98 kB / 382.7 MB, free: 12.91 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001476/0.1947, allocations: 113 kB / 382.9 MB, free: 12.89 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001224/0.1948, allocations: 80.22 kB / 382.9 MB, free: 12.87 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.813e-05/0.1948, allocations: 9.719 kB / 382.9 MB, free: 12.87 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001644/0.195, allocations: 80.62 kB / 383 MB, free: 12.86 MB / 302.1 MB Notification: Performance of combineBinaries: time 0.000201/0.1952, allocations: 291.8 kB / 383.3 MB, free: 12.71 MB / 302.1 MB Notification: Performance of replaceArrayConstructors: time 8.872e-05/0.1953, allocations: 199.3 kB / 383.5 MB, free: 12.59 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 3.39e-05/0.1953, allocations: 7.781 kB / 383.5 MB, free: 12.59 MB / 302.1 MB Notification: Performance of FrontEnd: time 4.011e-05/0.1954, allocations: 7.094 kB / 383.5 MB, free: 12.59 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.0007315/0.1961, allocations: 0.7173 MB / 384.2 MB, free: 12.14 MB / 302.1 MB Notification: Performance of [SIM] FunctionAlias: time 0.0001309/0.1962, allocations: 96.36 kB / 384.3 MB, free: 12.1 MB / 302.1 MB Notification: Performance of [SIM] Early Inline: time 0.0002021/0.1964, allocations: 239.7 kB / 384.6 MB, free: 12.04 MB / 302.1 MB Notification: Performance of [SIM] Simplify 1: time 0.0001009/0.1965, allocations: 94.84 kB / 384.7 MB, free: 11.94 MB / 302.1 MB Notification: Performance of [SIM] Alias: time 0.000661/0.1972, allocations: 0.4994 MB / 385.2 MB, free: 11.68 MB / 302.1 MB Notification: Performance of [SIM] Simplify 2: time 7.74e-05/0.1973, allocations: 87.23 kB / 385.2 MB, free: 11.59 MB / 302.1 MB Notification: Performance of [SIM] Remove Stream: time 4.181e-05/0.1973, allocations: 53.72 kB / 385.3 MB, free: 11.54 MB / 302.1 MB Notification: Performance of [SIM] Detect States: time 0.0001764/0.1975, allocations: 145.1 kB / 385.4 MB, free: 11.41 MB / 302.1 MB Notification: Performance of [SIM] Events: time 7.994e-05/0.1976, allocations: 37.55 kB / 385.5 MB, free: 11.41 MB / 302.1 MB Notification: Performance of [SIM] Partitioning: time 0.0002369/0.1978, allocations: 165.3 kB / 385.6 MB, free: 11.3 MB / 302.1 MB Notification: Performance of [SIM] Causalize: time 0.0003884/0.1982, allocations: 266.2 kB / 385.9 MB, free: 11.22 MB / 302.1 MB Notification: Performance of [SIM] After Index Reduction Inline: time 0.0001489/0.1984, allocations: 177.5 kB / 386.1 MB, free: 11.2 MB / 302.1 MB Notification: Performance of [INI] Simplify: time 0.001908/0.2003, allocations: 354.9 kB / 386.4 MB, free: 10.99 MB / 302.1 MB Notification: Performance of [INI] Inline: time 0.0002683/0.2005, allocations: 274 kB / 386.7 MB, free: 10.84 MB / 302.1 MB Notification: Performance of [INI] Partitioning: time 2.223e-05/0.2005, allocations: 28.05 kB / 386.7 MB, free: 10.82 MB / 302.1 MB Notification: Performance of [INI] Cleanup: time 5.701e-05/0.2006, allocations: 61.72 kB / 386.8 MB, free: 10.78 MB / 302.1 MB Notification: Performance of [INI] Causalize: time 0.001051/0.2017, allocations: 0.754 MB / 387.5 MB, free: 10.62 MB / 302.1 MB Notification: Performance of [INI] Tearing: time 1.631e-05/0.2017, allocations: 11.88 kB / 387.5 MB, free: 10.61 MB / 302.1 MB Notification: Performance of [SIM] Initialization: time 4.51e-07/0.2017, allocations: 0 / 387.5 MB, free: 10.61 MB / 302.1 MB Notification: Performance of [SIM] Remove Dummies: time 6.602e-06/0.2017, allocations: 5.344 kB / 387.5 MB, free: 10.61 MB / 302.1 MB Notification: Performance of [SIM] Tearing: time 5.009e-06/0.2017, allocations: 14.69 kB / 387.6 MB, free: 10.6 MB / 302.1 MB Notification: Performance of [SIM] Categorize: time 9.468e-06/0.2017, allocations: 5.062 kB / 387.6 MB, free: 10.59 MB / 302.1 MB Notification: Performance of [SIM] Solve: time 0.0001852/0.2019, allocations: 117.7 kB / 387.7 MB, free: 10.55 MB / 302.1 MB Notification: Performance of [SIM] Jacobian: time 8.045e-06/0.2019, allocations: 0 / 387.7 MB, free: 10.55 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, hold1.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 3.998e-05/0.2019, allocations: 54.42 kB / 387.7 MB, free: 10.52 MB / 302.1 MB Notification: Performance of SimCode: time 0.002726/0.2047, allocations: 1.094 MB / 388.8 MB, free: 10.04 MB / 302.1 MB Notification: Performance of Templates: time 0.00593/0.2106, allocations: 2.049 MB / 390.9 MB, free: 9.793 MB / 302.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Hold.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Hold.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Hold.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Hold.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Hold.sim & ./Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Hold -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Hold.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Hold_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/IntegerSignals/Hold/Hold.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Hold.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,hold1.y Variables in the result:hold1.y,hold1.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.533796356990933]