Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.ClockSignals.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.001544/0.001544, 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.001633/0.001633, allocations: 204.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.511/1.511, allocations: 230.6 MB / 258.3 MB, free: 7.785 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.ClockSignals.ShiftSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5019,variableFilter="time|sample1.y",fileNamePrefix="Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.ClockSignals.ShiftSample") translateModel(Modelica.Clocked.Examples.Elementary.ClockSignals.ShiftSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5019,variableFilter="time|sample1.y",fileNamePrefix="Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.ClockSignals.ShiftSample") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.845e-05/2.845e-05, allocations: 2.281 kB / 378.9 MB, free: 2.523 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.ClockSignals.ShiftSample): time 0.003071/0.0031, allocations: 1.572 MB / 380.5 MB, free: 0.9453 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001158/0.004258, allocations: 0.5298 MB / 381 MB, free: 420 kB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.733e-05/0.004335, allocations: 4 kB / 381 MB, free: 416 kB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 5.408e-05/0.004389, allocations: 7.875 kB / 381 MB, free: 408 kB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001501/0.004539, allocations: 7.938 kB / 381 MB, free: 400 kB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000352/0.004891, allocations: 63.75 kB / 381.1 MB, free: 336 kB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001439/0.005035, allocations: 71.77 kB / 381.2 MB, free: 264 kB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001207/0.005156, allocations: 20.16 kB / 381.2 MB, free: 244 kB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001345/0.00529, allocations: 35.91 kB / 381.2 MB, free: 208 kB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.249e-05/0.005353, allocations: 19.86 kB / 381.2 MB, free: 188 kB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.721e-05/0.00537, allocations: 8 kB / 381.2 MB, free: 180 kB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.353e-05/0.005414, allocations: 15.92 kB / 381.3 MB, free: 164 kB / 302.1 MB Notification: Performance of combineBinaries: time 0.0001246/0.005538, allocations: 102.7 kB / 381.4 MB, free: 60 kB / 302.1 MB Notification: Performance of replaceArrayConstructors: time 0.1885/0.1941, allocations: 76.16 kB / 381.4 MB, free: 13.16 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 3.601e-05/0.1941, allocations: 4.219 kB / 381.4 MB, free: 13.16 MB / 302.1 MB Notification: Performance of FrontEnd: time 4.374e-05/0.1942, allocations: 4.281 kB / 381.4 MB, free: 13.16 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: 3 (3) * Number of variables: 3 (3) Notification: Performance of [SIM] Bindings: time 0.0004501/0.1946, allocations: 354.6 kB / 381.8 MB, free: 12.91 MB / 302.1 MB Notification: Performance of [SIM] FunctionAlias: time 4.864e-05/0.1947, allocations: 33.45 kB / 381.8 MB, free: 12.89 MB / 302.1 MB Notification: Performance of [SIM] Early Inline: time 0.0001589/0.1948, allocations: 125.2 kB / 381.9 MB, free: 12.83 MB / 302.1 MB Notification: Performance of [SIM] Simplify 1: time 5.076e-05/0.1949, allocations: 69.53 kB / 382 MB, free: 12.73 MB / 302.1 MB Notification: Performance of [SIM] Alias: time 0.000438/0.1953, allocations: 258.1 kB / 382.3 MB, free: 12.57 MB / 302.1 MB Notification: Performance of [SIM] Simplify 2: time 4.13e-05/0.1953, allocations: 72.61 kB / 382.3 MB, free: 12.48 MB / 302.1 MB Notification: Performance of [SIM] Remove Stream: time 2.056e-05/0.1954, allocations: 37.7 kB / 382.4 MB, free: 12.43 MB / 302.1 MB Notification: Performance of [SIM] Detect States: time 5.886e-05/0.1954, allocations: 81.73 kB / 382.5 MB, free: 12.32 MB / 302.1 MB Notification: Performance of [SIM] Events: time 6.03e-05/0.1955, allocations: 10.98 kB / 382.5 MB, free: 12.32 MB / 302.1 MB Notification: Performance of [SIM] Partitioning: time 0.0001174/0.1956, allocations: 59.75 kB / 382.5 MB, free: 12.28 MB / 302.1 MB Notification: Performance of [SIM] Causalize: time 0.0001039/0.1957, allocations: 60.02 kB / 382.6 MB, free: 12.25 MB / 302.1 MB Notification: Performance of [SIM] After Index Reduction Inline: time 5.354e-05/0.1958, allocations: 57.05 kB / 382.6 MB, free: 12.25 MB / 302.1 MB Notification: Performance of [INI] Simplify: time 0.0001032/0.1959, allocations: 116 kB / 382.8 MB, free: 12.1 MB / 302.1 MB Notification: Performance of [INI] Inline: time 7.76e-05/0.1959, allocations: 84.89 kB / 382.8 MB, free: 12.09 MB / 302.1 MB Notification: Performance of [INI] Partitioning: time 7.634e-06/0.1959, allocations: 11.25 kB / 382.8 MB, free: 12.08 MB / 302.1 MB Notification: Performance of [INI] Cleanup: time 1.784e-05/0.196, allocations: 17.34 kB / 382.9 MB, free: 12.07 MB / 302.1 MB Notification: Performance of [INI] Causalize: time 9.003e-05/0.1961, allocations: 50.7 kB / 382.9 MB, free: 12.06 MB / 302.1 MB Notification: Performance of [INI] Tearing: time 1.062e-05/0.1961, allocations: 1.406 kB / 382.9 MB, free: 12.06 MB / 302.1 MB Notification: Performance of [SIM] Initialization: time 8.02e-07/0.1961, allocations: 0.75 kB / 382.9 MB, free: 12.06 MB / 302.1 MB Notification: Performance of [SIM] Remove Dummies: time 3.046e-06/0.1961, allocations: 0 / 382.9 MB, free: 12.06 MB / 302.1 MB Notification: Performance of [SIM] Tearing: time 1.713e-06/0.1961, allocations: 8.312 kB / 382.9 MB, free: 12.05 MB / 302.1 MB Notification: Performance of [SIM] Categorize: time 5.731e-06/0.1961, allocations: 1.25 kB / 382.9 MB, free: 12.05 MB / 302.1 MB Notification: Performance of [SIM] Solve: time 7.001e-05/0.1961, allocations: 33.08 kB / 383 MB, free: 12.05 MB / 302.1 MB Notification: Performance of [SIM] Jacobian: time 8.706e-06/0.1962, allocations: 0 / 383 MB, free: 12.05 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: .................... 0 (0) {} * Number of clocked states: ..................... 0 (0) {} * Number of discrete variables: ................. 1 (1) {$TEV_0} * Number of clocks: ............................. 2 (2) {periodicClock.c, shiftSample1.y} * Number of top-level inputs: ................... 0 (0) {} Notification: [Simulation] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 2 (scalar:2, array:0, record:0) * Number of multi strong components: ............ 0 (algorithm:0, 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: [Initialization] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 2 (scalar:2, array:0, record:0) * Number of multi strong components: ............ 0 (algorithm:0, 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.582e-05/0.1962, allocations: 21.67 kB / 383 MB, free: 12.05 MB / 302.1 MB Notification: Performance of SimCode: time 0.0005229/0.1967, allocations: 263.7 kB / 383.2 MB, free: 11.9 MB / 302.1 MB Notification: Performance of Templates: time 0.002904/0.1996, allocations: 418.6 kB / 383.6 MB, free: 11.86 MB / 302.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.ClockSignals.ShiftSample.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.ClockSignals.ShiftSample.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.ClockSignals.ShiftSample.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.ClockSignals.ShiftSample.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.ClockSignals.ShiftSample.sim & ./Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.ClockSignals.ShiftSample -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.ClockSignals.ShiftSample.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.ClockSignals.ShiftSample_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/ClockSignals/ShiftSample/ShiftSample.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.ClockSignals.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.465118952095509]