Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.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.00143/0.00143, 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.001485/0.001485, allocations: 218.1 kB / 24.49 MB, free: 3.93 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.537/1.537, allocations: 230.6 MB / 258.3 MB, free: 7.789 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.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.BooleanSignals.Hold") translateModel(Modelica.Clocked.Examples.Elementary.BooleanSignals.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.BooleanSignals.Hold") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.702e-05/2.702e-05, allocations: 5.375 kB / 378.9 MB, free: 2.504 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold): time 0.003633/0.00366, allocations: 1.889 MB / 380.8 MB, free: 0.6055 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.1867/0.1903, allocations: 1.158 MB / 382 MB, free: 13.04 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001855/0.1905, allocations: 5.562 kB / 382 MB, free: 13.04 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007181/0.1912, allocations: 159.5 kB / 382.1 MB, free: 13.02 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005152/0.1917, allocations: 156.9 kB / 382.3 MB, free: 12.98 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005827/0.1923, allocations: 176.2 kB / 382.5 MB, free: 12.95 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003402/0.1927, allocations: 252.1 kB / 382.7 MB, free: 12.93 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001512/0.1928, allocations: 31.38 kB / 382.7 MB, free: 12.93 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001609/0.193, allocations: 116 kB / 382.8 MB, free: 12.91 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000146/0.1931, allocations: 78.59 kB / 382.9 MB, free: 12.89 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 3.144e-05/0.1932, allocations: 12.22 kB / 382.9 MB, free: 12.89 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000169/0.1933, allocations: 61.88 kB / 383 MB, free: 12.89 MB / 302.1 MB Notification: Performance of combineBinaries: time 0.0002268/0.1936, allocations: 314.6 kB / 383.3 MB, free: 12.73 MB / 302.1 MB Notification: Performance of replaceArrayConstructors: time 0.0001021/0.1937, allocations: 212.8 kB / 383.5 MB, free: 12.61 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 3.562e-05/0.1937, allocations: 7.719 kB / 383.5 MB, free: 12.61 MB / 302.1 MB Notification: Performance of FrontEnd: time 4.106e-05/0.1937, allocations: 7.719 kB / 383.5 MB, free: 12.61 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.0007681/0.1945, allocations: 0.737 MB / 384.3 MB, free: 12.16 MB / 302.1 MB Notification: Performance of [SIM] FunctionAlias: time 0.0001108/0.1946, allocations: 62.3 kB / 384.3 MB, free: 12.13 MB / 302.1 MB Notification: Performance of [SIM] Early Inline: time 0.0001908/0.1948, allocations: 219 kB / 384.5 MB, free: 12.07 MB / 302.1 MB Notification: Performance of [SIM] Simplify 1: time 9.587e-05/0.1949, allocations: 96.22 kB / 384.6 MB, free: 11.96 MB / 302.1 MB Notification: Performance of [SIM] Alias: time 0.0006323/0.1955, allocations: 480.5 kB / 385.1 MB, free: 11.72 MB / 302.1 MB Notification: Performance of [SIM] Simplify 2: time 7.095e-05/0.1956, allocations: 81.61 kB / 385.2 MB, free: 11.63 MB / 302.1 MB Notification: Performance of [SIM] Remove Stream: time 3.802e-05/0.1956, allocations: 57.45 kB / 385.2 MB, free: 11.57 MB / 302.1 MB Notification: Performance of [SIM] Detect States: time 0.0001715/0.1958, allocations: 136.4 kB / 385.4 MB, free: 11.45 MB / 302.1 MB Notification: Performance of [SIM] Events: time 6.807e-05/0.1959, allocations: 33.11 kB / 385.4 MB, free: 11.44 MB / 302.1 MB Notification: Performance of [SIM] Partitioning: time 0.000228/0.1961, allocations: 138.3 kB / 385.5 MB, free: 11.36 MB / 302.1 MB Notification: Performance of [SIM] Causalize: time 0.000334/0.1964, allocations: 196.8 kB / 385.7 MB, free: 11.3 MB / 302.1 MB Notification: Performance of [SIM] After Index Reduction Inline: time 0.0001383/0.1966, allocations: 142.2 kB / 385.9 MB, free: 11.3 MB / 302.1 MB Notification: Performance of [INI] Simplify: time 0.002009/0.1986, allocations: 395.9 kB / 386.3 MB, free: 11.08 MB / 302.1 MB Notification: Performance of [INI] Inline: time 0.0002277/0.1988, allocations: 252.5 kB / 386.5 MB, free: 10.94 MB / 302.1 MB Notification: Performance of [INI] Partitioning: time 1.736e-05/0.1988, allocations: 12.69 kB / 386.5 MB, free: 10.93 MB / 302.1 MB Notification: Performance of [INI] Cleanup: time 5.174e-05/0.1989, allocations: 50.84 kB / 386.6 MB, free: 10.9 MB / 302.1 MB Notification: Performance of [INI] Causalize: time 0.0008802/0.1998, allocations: 0.6299 MB / 387.2 MB, free: 10.75 MB / 302.1 MB Notification: Performance of [INI] Tearing: time 1.455e-05/0.1998, allocations: 10.69 kB / 387.2 MB, free: 10.75 MB / 302.1 MB Notification: Performance of [SIM] Initialization: time 3.61e-07/0.1998, allocations: 1.562 kB / 387.2 MB, free: 10.75 MB / 302.1 MB Notification: Performance of [SIM] Remove Dummies: time 5.32e-06/0.1998, allocations: 3.938 kB / 387.2 MB, free: 10.74 MB / 302.1 MB Notification: Performance of [SIM] Tearing: time 4.057e-06/0.1998, allocations: 6.75 kB / 387.2 MB, free: 10.74 MB / 302.1 MB Notification: Performance of [SIM] Categorize: time 9.047e-06/0.1998, allocations: 1.375 kB / 387.2 MB, free: 10.74 MB / 302.1 MB Notification: Performance of [SIM] Solve: time 0.0001816/0.2, allocations: 130.7 kB / 387.3 MB, free: 10.69 MB / 302.1 MB Notification: Performance of [SIM] Jacobian: time 7.234e-06/0.2, allocations: 3.938 kB / 387.4 MB, free: 10.69 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: ................. 7 (7) {sample1.u, hold1.u, hold1.y, shiftSample1.u, $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.28e-05/0.2, allocations: 30.91 kB / 387.4 MB, free: 10.66 MB / 302.1 MB Notification: Performance of SimCode: time 0.002459/0.2025, allocations: 1 MB / 388.4 MB, free: 10.23 MB / 302.1 MB Notification: Performance of Templates: time 0.04458/0.2471, allocations: 1.908 MB / 390.3 MB, free: 9.973 MB / 302.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold.sim & ./Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/Hold/Hold.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold.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.888995957095176]