Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock.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.001698/0.001698, 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.001935/0.001935, allocations: 218.9 kB / 24.5 MB, free: 3.926 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.485/1.485, allocations: 230.6 MB / 258.3 MB, free: 7.773 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.AssignClock,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5010,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock") translateModel(Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5010,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.461e-05/2.461e-05, allocations: 2.281 kB / 378.9 MB, free: 2.488 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock): time 0.002266/0.00229, allocations: 0.8481 MB / 379.8 MB, free: 1.648 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003728/0.002663, allocations: 123.5 kB / 379.9 MB, free: 1.527 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.822e-05/0.002741, allocations: 4 kB / 379.9 MB, free: 1.523 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001059/0.002847, allocations: 7.922 kB / 379.9 MB, free: 1.516 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001229/0.00297, allocations: 11.88 kB / 379.9 MB, free: 1.504 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002211/0.003191, allocations: 35.89 kB / 380 MB, free: 1.469 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.000141/0.003332, allocations: 63.83 kB / 380 MB, free: 1.406 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000142/0.003474, allocations: 23.92 kB / 380 MB, free: 1.383 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.355e-05/0.003518, allocations: 23.91 kB / 380.1 MB, free: 1.359 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.246e-05/0.00357, allocations: 19.86 kB / 380.1 MB, free: 1.34 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.88e-05/0.003589, allocations: 4 kB / 380.1 MB, free: 1.336 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.274e-05/0.003602, allocations: 4 kB / 380.1 MB, free: 1.332 MB / 302.1 MB Notification: Performance of combineBinaries: time 0.0001194/0.003721, allocations: 94.84 kB / 380.2 MB, free: 1.238 MB / 302.1 MB Notification: Performance of replaceArrayConstructors: time 5.498e-05/0.003776, allocations: 75.06 kB / 380.3 MB, free: 1.164 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 2.456e-05/0.003801, allocations: 4 kB / 380.3 MB, free: 1.16 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.937e-05/0.00382, allocations: 3.938 kB / 380.3 MB, free: 1.156 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: 8 (8) * Number of variables: 8 (7) Notification: Performance of [SIM] Bindings: time 0.0005889/0.004409, allocations: 348.7 kB / 380.6 MB, free: 0.6953 MB / 302.1 MB Notification: Performance of [SIM] FunctionAlias: time 8.621e-05/0.004495, allocations: 36.03 kB / 380.6 MB, free: 0.6484 MB / 302.1 MB Notification: Performance of [SIM] Early Inline: time 0.0001418/0.004637, allocations: 124.1 kB / 380.8 MB, free: 0.5 MB / 302.1 MB Notification: Performance of [SIM] Simplify 1: time 0.0001032/0.00474, allocations: 76.67 kB / 380.8 MB, free: 388 kB / 302.1 MB Notification: Performance of [SIM] Alias: time 0.0006806/0.005421, allocations: 296.9 kB / 381.1 MB, free: 0 / 302.1 MB Notification: Performance of [SIM] Simplify 2: time 0.0002146/0.005635, allocations: 74.69 kB / 381.2 MB, free: 13.35 MB / 302.1 MB Notification: Performance of [SIM] Remove Stream: time 4.687e-05/0.005682, allocations: 40.22 kB / 381.2 MB, free: 13.3 MB / 302.1 MB Notification: Performance of [SIM] Detect States: time 0.000276/0.005958, allocations: 90.8 kB / 381.3 MB, free: 13.19 MB / 302.1 MB Notification: Performance of [SIM] Events: time 6.576e-05/0.006024, allocations: 10.2 kB / 381.3 MB, free: 13.19 MB / 302.1 MB Notification: Performance of [SIM] Partitioning: time 0.0002382/0.006262, allocations: 45 kB / 381.4 MB, free: 13.17 MB / 302.1 MB Notification: Performance of [SIM] Causalize: time 0.0003362/0.006598, allocations: 77.86 kB / 381.5 MB, free: 13.15 MB / 302.1 MB Notification: Performance of [SIM] After Index Reduction Inline: time 9.989e-05/0.006698, allocations: 56.91 kB / 381.5 MB, free: 13.15 MB / 302.1 MB Notification: Performance of [INI] Simplify: time 0.0002437/0.006942, allocations: 113.3 kB / 381.6 MB, free: 13.01 MB / 302.1 MB Notification: Performance of [INI] Inline: time 0.0001056/0.007047, allocations: 55.03 kB / 381.7 MB, free: 13 MB / 302.1 MB Notification: Performance of [INI] Partitioning: time 1.449e-05/0.007062, allocations: 15.17 kB / 381.7 MB, free: 12.99 MB / 302.1 MB Notification: Performance of [INI] Cleanup: time 1.965e-05/0.007082, allocations: 9.703 kB / 381.7 MB, free: 12.99 MB / 302.1 MB Notification: Performance of [INI] Causalize: time 0.000178/0.00726, allocations: 71.77 kB / 381.8 MB, free: 12.97 MB / 302.1 MB Notification: Performance of [INI] Tearing: time 1.292e-05/0.007272, allocations: 1.094 kB / 381.8 MB, free: 12.97 MB / 302.1 MB Notification: Performance of [SIM] Initialization: time 1.513e-06/0.007274, allocations: 0.9375 kB / 381.8 MB, free: 12.97 MB / 302.1 MB Notification: Performance of [SIM] Remove Dummies: time 7.624e-06/0.007282, allocations: 0.625 kB / 381.8 MB, free: 12.97 MB / 302.1 MB Notification: Performance of [SIM] Tearing: time 5.821e-06/0.007287, allocations: 5.25 kB / 381.8 MB, free: 12.97 MB / 302.1 MB Notification: Performance of [SIM] Categorize: time 8.717e-06/0.007296, allocations: 0 / 381.8 MB, free: 12.97 MB / 302.1 MB Notification: Performance of [SIM] Solve: time 9.573e-05/0.007392, allocations: 32.84 kB / 381.8 MB, free: 12.96 MB / 302.1 MB Notification: Performance of [SIM] Jacobian: time 6.302e-06/0.007398, allocations: 0 / 381.8 MB, free: 12.96 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: ......... 0 * 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: ..................... 1 (1) {assignClock1.y} * Number of discrete variables: ................. 5 (4) {unitDelay1.y, sum.u, sum.y, $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: ........... 0 (scalar:0, 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 4.835e-05/0.007447, allocations: 24.75 kB / 381.8 MB, free: 12.95 MB / 302.1 MB Notification: Performance of SimCode: time 0.0006218/0.008068, allocations: 312.4 kB / 382.1 MB, free: 12.78 MB / 302.1 MB Notification: Performance of Templates: time 0.00291/0.01098, allocations: 426.4 kB / 382.6 MB, free: 12.74 MB / 302.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock.sim & ./Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/IntegerSignals/AssignClock/AssignClock.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock.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.68987943418324]