Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.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.001884/0.001884, 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.002152/0.002152, allocations: 221.1 kB / 24.5 MB, free: 3.922 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.56/1.56, allocations: 230.6 MB / 258.2 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.BooleanSignals.SubSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5013,variableFilter="time|sample1.y|subSample1.y",fileNamePrefix="Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample") translateModel(Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5013,variableFilter="time|sample1.y|subSample1.y",fileNamePrefix="Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.186e-05/2.186e-05, allocations: 2.281 kB / 378.9 MB, free: 2.582 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample): time 0.003587/0.003609, allocations: 1.88 MB / 380.8 MB, free: 0.6953 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.1871/0.1907, allocations: 1.131 MB / 381.9 MB, free: 13.01 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001819/0.1909, allocations: 5.781 kB / 381.9 MB, free: 13.01 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006386/0.1916, allocations: 154.1 kB / 382.1 MB, free: 13.01 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004334/0.192, allocations: 158.1 kB / 382.3 MB, free: 12.98 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00045/0.1924, allocations: 168.2 kB / 382.4 MB, free: 12.96 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002928/0.1927, allocations: 241.6 kB / 382.7 MB, free: 12.93 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001327/0.1929, allocations: 26.69 kB / 382.7 MB, free: 12.93 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001433/0.193, allocations: 111.2 kB / 382.8 MB, free: 12.92 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001347/0.1931, allocations: 85.39 kB / 382.9 MB, free: 12.9 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 3.163e-05/0.1932, allocations: 9.688 kB / 382.9 MB, free: 12.9 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001401/0.1933, allocations: 61.55 kB / 382.9 MB, free: 12.89 MB / 302.1 MB Notification: Performance of combineBinaries: time 0.0002037/0.1935, allocations: 293.7 kB / 383.2 MB, free: 12.75 MB / 302.1 MB Notification: Performance of replaceArrayConstructors: time 9.661e-05/0.1936, allocations: 205 kB / 383.4 MB, free: 12.62 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 3.195e-05/0.1937, allocations: 6.844 kB / 383.4 MB, free: 12.62 MB / 302.1 MB Notification: Performance of FrontEnd: time 3.098e-05/0.1937, allocations: 3.797 kB / 383.4 MB, free: 12.62 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.0007968/0.1945, allocations: 0.7055 MB / 384.1 MB, free: 12.19 MB / 302.1 MB Notification: Performance of [SIM] FunctionAlias: time 0.0001021/0.1946, allocations: 61.42 kB / 384.2 MB, free: 12.16 MB / 302.1 MB Notification: Performance of [SIM] Early Inline: time 0.0001673/0.1947, allocations: 194.6 kB / 384.4 MB, free: 12.1 MB / 302.1 MB Notification: Performance of [SIM] Simplify 1: time 8.621e-05/0.1948, allocations: 90.48 kB / 384.5 MB, free: 12 MB / 302.1 MB Notification: Performance of [SIM] Alias: time 0.0005654/0.1954, allocations: 411.2 kB / 384.9 MB, free: 11.79 MB / 302.1 MB Notification: Performance of [SIM] Simplify 2: time 7.345e-05/0.1955, allocations: 83.23 kB / 385 MB, free: 11.7 MB / 302.1 MB Notification: Performance of [SIM] Remove Stream: time 3.74e-05/0.1955, allocations: 55.36 kB / 385 MB, free: 11.64 MB / 302.1 MB Notification: Performance of [SIM] Detect States: time 0.0001565/0.1957, allocations: 122 kB / 385.1 MB, free: 11.53 MB / 302.1 MB Notification: Performance of [SIM] Events: time 6.361e-05/0.1957, allocations: 34.98 kB / 385.2 MB, free: 11.52 MB / 302.1 MB Notification: Performance of [SIM] Partitioning: time 0.0002089/0.1959, allocations: 123.7 kB / 385.3 MB, free: 11.46 MB / 302.1 MB Notification: Performance of [SIM] Causalize: time 0.0002856/0.1962, allocations: 173.8 kB / 385.5 MB, free: 11.4 MB / 302.1 MB Notification: Performance of [SIM] After Index Reduction Inline: time 0.0001342/0.1964, allocations: 143.6 kB / 385.6 MB, free: 11.39 MB / 302.1 MB Notification: Performance of [INI] Simplify: time 0.001888/0.1982, allocations: 398.2 kB / 386 MB, free: 11.2 MB / 302.1 MB Notification: Performance of [INI] Inline: time 0.0002144/0.1985, allocations: 241 kB / 386.2 MB, free: 11.12 MB / 302.1 MB Notification: Performance of [INI] Partitioning: time 1.908e-05/0.1985, allocations: 13.16 kB / 386.2 MB, free: 11.1 MB / 302.1 MB Notification: Performance of [INI] Cleanup: time 4.989e-05/0.1985, allocations: 54.2 kB / 386.3 MB, free: 11.07 MB / 302.1 MB Notification: Performance of [INI] Causalize: time 0.000869/0.1994, allocations: 0.6284 MB / 386.9 MB, free: 10.92 MB / 302.1 MB Notification: Performance of [INI] Tearing: time 1.332e-05/0.1994, allocations: 11.41 kB / 386.9 MB, free: 10.91 MB / 302.1 MB Notification: Performance of [SIM] Initialization: time 4.81e-07/0.1994, allocations: 0 / 386.9 MB, free: 10.91 MB / 302.1 MB Notification: Performance of [SIM] Remove Dummies: time 5.3e-06/0.1994, allocations: 1 kB / 386.9 MB, free: 10.91 MB / 302.1 MB Notification: Performance of [SIM] Tearing: time 5.42e-06/0.1994, allocations: 10.19 kB / 386.9 MB, free: 10.91 MB / 302.1 MB Notification: Performance of [SIM] Categorize: time 8.977e-06/0.1994, allocations: 5.188 kB / 386.9 MB, free: 10.9 MB / 302.1 MB Notification: Performance of [SIM] Solve: time 0.000182/0.1996, allocations: 123.8 kB / 387.1 MB, free: 10.86 MB / 302.1 MB Notification: Performance of [SIM] Jacobian: time 7.184e-06/0.1996, allocations: 9.125 kB / 387.1 MB, free: 10.85 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: .................... 2 (2) {table.combiTimeTable.nextTimeEvent, table.combiTimeTable.nextTimeEventScaled} * Number of clocked states: ..................... 0 (0) {} * Number of discrete variables: ................. 6 (6) {sample1.u, subSample1.u, subSample1.y, $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: ........... 7 (scalar:7, 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: ........... 18 (scalar:16, 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.828e-05/0.1997, allocations: 31.53 kB / 387.1 MB, free: 10.83 MB / 302.1 MB Notification: Performance of SimCode: time 0.002364/0.202, allocations: 0.9659 MB / 388.1 MB, free: 10.41 MB / 302.1 MB Notification: Performance of Templates: time 0.1454/0.3474, allocations: 1.855 MB / 389.9 MB, free: 10.18 MB / 302.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample.sim & ./Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/SubSample/SubSample.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.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.974346047732979]