Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SubSample.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.00164/0.00164, allocations: 107.6 kB / 21.2 MB, free: 0.6562 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.001969/0.001969, allocations: 206.1 kB / 24.49 MB, free: 3.953 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.48/1.48, allocations: 230.6 MB / 258.3 MB, free: 7.781 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.SubSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5013,variableFilter="time|sample1.y|subSample1.y",fileNamePrefix="Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SubSample") translateModel(Modelica.Clocked.Examples.Elementary.IntegerSignals.SubSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5013,variableFilter="time|sample1.y|subSample1.y",fileNamePrefix="Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SubSample") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.394e-05/2.394e-05, allocations: 2.281 kB / 378.9 MB, free: 2.609 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.SubSample): time 0.003441/0.003465, allocations: 1.862 MB / 380.8 MB, free: 0.7383 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.1775/0.1809, allocations: 1.209 MB / 382 MB, free: 13.02 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001669/0.1811, allocations: 6.312 kB / 382 MB, free: 13.02 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003326/0.1814, allocations: 67.55 kB / 382.1 MB, free: 13.02 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003995/0.1818, allocations: 131.9 kB / 382.2 MB, free: 13.01 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007386/0.1826, allocations: 231.1 kB / 382.4 MB, free: 12.97 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003322/0.1829, allocations: 232.6 kB / 382.7 MB, free: 12.95 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001366/0.183, allocations: 24.91 kB / 382.7 MB, free: 12.95 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001619/0.1832, allocations: 106.4 kB / 382.8 MB, free: 12.93 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001357/0.1833, allocations: 82.7 kB / 382.9 MB, free: 12.91 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 3.171e-05/0.1834, allocations: 9.625 kB / 382.9 MB, free: 12.91 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001726/0.1835, allocations: 74.17 kB / 382.9 MB, free: 12.91 MB / 302.1 MB Notification: Performance of combineBinaries: time 0.0001904/0.1837, allocations: 278.4 kB / 383.2 MB, free: 12.77 MB / 302.1 MB Notification: Performance of replaceArrayConstructors: time 8.415e-05/0.1838, allocations: 188 kB / 383.4 MB, free: 12.65 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 3.232e-05/0.1838, allocations: 7.031 kB / 383.4 MB, free: 12.65 MB / 302.1 MB Notification: Performance of FrontEnd: time 4.774e-05/0.1839, allocations: 4.594 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.0007829/0.1847, allocations: 0.6949 MB / 384.1 MB, free: 12.21 MB / 302.1 MB Notification: Performance of [SIM] FunctionAlias: time 0.0001395/0.1848, allocations: 74.3 kB / 384.2 MB, free: 12.18 MB / 302.1 MB Notification: Performance of [SIM] Early Inline: time 0.000214/0.185, allocations: 221.5 kB / 384.4 MB, free: 12.11 MB / 302.1 MB Notification: Performance of [SIM] Simplify 1: time 0.000107/0.1851, allocations: 104.7 kB / 384.5 MB, free: 12.01 MB / 302.1 MB Notification: Performance of [SIM] Alias: time 0.0006325/0.1858, allocations: 411.6 kB / 384.9 MB, free: 11.81 MB / 302.1 MB Notification: Performance of [SIM] Simplify 2: time 8.027e-05/0.1858, allocations: 97.11 kB / 385 MB, free: 11.71 MB / 302.1 MB Notification: Performance of [SIM] Remove Stream: time 4.345e-05/0.1859, allocations: 57.69 kB / 385 MB, free: 11.66 MB / 302.1 MB Notification: Performance of [SIM] Detect States: time 0.0001769/0.1861, allocations: 137.6 kB / 385.2 MB, free: 11.54 MB / 302.1 MB Notification: Performance of [SIM] Events: time 8.104e-05/0.1861, allocations: 40.66 kB / 385.2 MB, free: 11.53 MB / 302.1 MB Notification: Performance of [SIM] Partitioning: time 0.0002242/0.1864, allocations: 147.7 kB / 385.4 MB, free: 11.45 MB / 302.1 MB Notification: Performance of [SIM] Causalize: time 0.0004055/0.1868, allocations: 242.4 kB / 385.6 MB, free: 11.37 MB / 302.1 MB Notification: Performance of [SIM] After Index Reduction Inline: time 0.0001605/0.1869, allocations: 172.1 kB / 385.8 MB, free: 11.36 MB / 302.1 MB Notification: Performance of [INI] Simplify: time 0.001963/0.1889, allocations: 348.9 kB / 386.1 MB, free: 11.19 MB / 302.1 MB Notification: Performance of [INI] Inline: time 0.0002638/0.1892, allocations: 275.7 kB / 386.4 MB, free: 11.06 MB / 302.1 MB Notification: Performance of [INI] Partitioning: time 2.183e-05/0.1892, allocations: 18.03 kB / 386.4 MB, free: 11.04 MB / 302.1 MB Notification: Performance of [INI] Cleanup: time 5.758e-05/0.1892, allocations: 55.69 kB / 386.5 MB, free: 11.01 MB / 302.1 MB Notification: Performance of [INI] Causalize: time 0.001074/0.1903, allocations: 0.7647 MB / 387.2 MB, free: 10.84 MB / 302.1 MB Notification: Performance of [INI] Tearing: time 1.427e-05/0.1903, allocations: 10.47 kB / 387.2 MB, free: 10.83 MB / 302.1 MB Notification: Performance of [SIM] Initialization: time 5.61e-07/0.1903, allocations: 1.219 kB / 387.2 MB, free: 10.83 MB / 302.1 MB Notification: Performance of [SIM] Remove Dummies: time 6.652e-06/0.1903, allocations: 5.562 kB / 387.2 MB, free: 10.83 MB / 302.1 MB Notification: Performance of [SIM] Tearing: time 4.949e-06/0.1903, allocations: 6.531 kB / 387.2 MB, free: 10.82 MB / 302.1 MB Notification: Performance of [SIM] Categorize: time 1.253e-05/0.1904, allocations: 9.75 kB / 387.3 MB, free: 10.82 MB / 302.1 MB Notification: Performance of [SIM] Solve: time 0.0001935/0.1905, allocations: 118.3 kB / 387.4 MB, free: 10.77 MB / 302.1 MB Notification: Performance of [SIM] Jacobian: time 6.913e-06/0.1906, allocations: 0 / 387.4 MB, free: 10.77 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, subSample1.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.273e-05/0.1906, allocations: 48.75 kB / 387.4 MB, free: 10.73 MB / 302.1 MB Notification: Performance of SimCode: time 0.002756/0.1934, allocations: 1.062 MB / 388.5 MB, free: 10.29 MB / 302.1 MB Notification: Performance of Templates: time 0.006195/0.1995, allocations: 2.011 MB / 390.5 MB, free: 10.04 MB / 302.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SubSample.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SubSample.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SubSample.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SubSample.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SubSample.sim & ./Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SubSample -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SubSample.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SubSample_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/IntegerSignals/SubSample/SubSample.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SubSample.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.468045396730304]