Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.ShiftSample.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.001457/0.001457, allocations: 107.6 kB / 21.2 MB, free: 0.6641 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.002204/0.002204, allocations: 210.8 kB / 24.49 MB, free: 3.961 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.492/1.492, allocations: 230.6 MB / 258.3 MB, free: 7.797 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.ShiftSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5021,variableFilter="time|sample1.y|shiftSample1.y",fileNamePrefix="Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.ShiftSample") translateModel(Modelica.Clocked.Examples.Elementary.BooleanSignals.ShiftSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5021,variableFilter="time|sample1.y|shiftSample1.y",fileNamePrefix="Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.ShiftSample") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.996e-05/2.996e-05, allocations: 2.281 kB / 378.9 MB, free: 2.535 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.ShiftSample): time 0.004677/0.004707, allocations: 1.88 MB / 380.8 MB, free: 0.6484 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.203/0.2077, allocations: 1.15 MB / 381.9 MB, free: 13.02 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001942/0.2079, allocations: 5.281 kB / 382 MB, free: 13.02 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007268/0.2086, allocations: 154.7 kB / 382.1 MB, free: 13.02 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005393/0.2091, allocations: 160.3 kB / 382.3 MB, free: 12.99 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006688/0.2098, allocations: 176 kB / 382.4 MB, free: 12.96 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004192/0.2102, allocations: 235.3 kB / 382.7 MB, free: 12.94 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001712/0.2104, allocations: 29.14 kB / 382.7 MB, free: 12.94 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001974/0.2106, allocations: 106.7 kB / 382.8 MB, free: 12.93 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001556/0.2107, allocations: 87.58 kB / 382.9 MB, free: 12.91 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 3.255e-05/0.2108, allocations: 10.09 kB / 382.9 MB, free: 12.91 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001923/0.211, allocations: 62.52 kB / 383 MB, free: 12.9 MB / 302.1 MB Notification: Performance of combineBinaries: time 0.0002741/0.2112, allocations: 305.6 kB / 383.3 MB, free: 12.75 MB / 302.1 MB Notification: Performance of replaceArrayConstructors: time 0.0001547/0.2114, allocations: 195.4 kB / 383.4 MB, free: 12.63 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 4.352e-05/0.2114, allocations: 7 kB / 383.4 MB, free: 12.63 MB / 302.1 MB Notification: Performance of FrontEnd: time 6.465e-05/0.2115, allocations: 7.391 kB / 383.5 MB, free: 12.63 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.001134/0.2126, allocations: 0.7009 MB / 384.2 MB, free: 12.2 MB / 302.1 MB Notification: Performance of [SIM] FunctionAlias: time 0.000116/0.2127, allocations: 58.08 kB / 384.2 MB, free: 12.16 MB / 302.1 MB Notification: Performance of [SIM] Early Inline: time 0.0002098/0.213, allocations: 205.9 kB / 384.4 MB, free: 12.1 MB / 302.1 MB Notification: Performance of [SIM] Simplify 1: time 0.0001097/0.2131, allocations: 86.62 kB / 384.5 MB, free: 12 MB / 302.1 MB Notification: Performance of [SIM] Alias: time 0.0007017/0.2138, allocations: 408.2 kB / 384.9 MB, free: 11.8 MB / 302.1 MB Notification: Performance of [SIM] Simplify 2: time 8.478e-05/0.2139, allocations: 89.84 kB / 385 MB, free: 11.7 MB / 302.1 MB Notification: Performance of [SIM] Remove Stream: time 4.373e-05/0.2139, allocations: 51.39 kB / 385 MB, free: 11.64 MB / 302.1 MB Notification: Performance of [SIM] Detect States: time 0.0001978/0.2141, allocations: 121.4 kB / 385.2 MB, free: 11.53 MB / 302.1 MB Notification: Performance of [SIM] Events: time 7.795e-05/0.2142, allocations: 33.73 kB / 385.2 MB, free: 11.53 MB / 302.1 MB Notification: Performance of [SIM] Partitioning: time 0.0002209/0.2144, allocations: 113.8 kB / 385.3 MB, free: 11.47 MB / 302.1 MB Notification: Performance of [SIM] Causalize: time 0.0003561/0.2147, allocations: 188 kB / 385.5 MB, free: 11.4 MB / 302.1 MB Notification: Performance of [SIM] After Index Reduction Inline: time 0.0001522/0.2149, allocations: 139.6 kB / 385.6 MB, free: 11.4 MB / 302.1 MB Notification: Performance of [INI] Simplify: time 0.002144/0.217, allocations: 385.9 kB / 386 MB, free: 11.22 MB / 302.1 MB Notification: Performance of [INI] Inline: time 0.0002907/0.2173, allocations: 243.6 kB / 386.2 MB, free: 11.13 MB / 302.1 MB Notification: Performance of [INI] Partitioning: time 2.298e-05/0.2174, allocations: 16.66 kB / 386.2 MB, free: 11.11 MB / 302.1 MB Notification: Performance of [INI] Cleanup: time 6.597e-05/0.2174, allocations: 45.09 kB / 386.3 MB, free: 11.09 MB / 302.1 MB Notification: Performance of [INI] Causalize: time 0.001033/0.2185, allocations: 0.6352 MB / 386.9 MB, free: 10.93 MB / 302.1 MB Notification: Performance of [INI] Tearing: time 1.55e-05/0.2185, allocations: 10.69 kB / 386.9 MB, free: 10.92 MB / 302.1 MB Notification: Performance of [SIM] Initialization: time 5.61e-07/0.2185, allocations: 0 / 386.9 MB, free: 10.92 MB / 302.1 MB Notification: Performance of [SIM] Remove Dummies: time 5.681e-06/0.2185, allocations: 1.344 kB / 386.9 MB, free: 10.92 MB / 302.1 MB Notification: Performance of [SIM] Tearing: time 5.761e-06/0.2185, allocations: 10.53 kB / 387 MB, free: 10.91 MB / 302.1 MB Notification: Performance of [SIM] Categorize: time 1.148e-05/0.2185, allocations: 1.828 kB / 387 MB, free: 10.91 MB / 302.1 MB Notification: Performance of [SIM] Solve: time 0.0002228/0.2187, allocations: 123.2 kB / 387.1 MB, free: 10.87 MB / 302.1 MB Notification: Performance of [SIM] Jacobian: time 1.193e-05/0.2187, allocations: 1.469 kB / 387.1 MB, free: 10.87 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, shiftSample1.u, shiftSample1.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 4.529e-05/0.2188, allocations: 30.64 kB / 387.1 MB, free: 10.85 MB / 302.1 MB Notification: Performance of SimCode: time 0.00274/0.2215, allocations: 0.9803 MB / 388.1 MB, free: 10.41 MB / 302.1 MB Notification: Performance of Templates: time 0.01655/0.2381, allocations: 1.854 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.ShiftSample.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.ShiftSample.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.ShiftSample.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.ShiftSample.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.ShiftSample.sim & ./Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.ShiftSample -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.ShiftSample.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.ShiftSample_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/ShiftSample/ShiftSample.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.ShiftSample.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.61928704706952]