Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001504/0.001504, allocations: 104 kB / 21.25 MB, free: 0.5664 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001663/0.001663, allocations: 191.7 kB / 24.53 MB, free: 3.852 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.588/1.588, allocations: 225.7 MB / 253.4 MB, free: 12.79 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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.0.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.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.893e-05/2.893e-05, allocations: 2.281 kB / 371.7 MB, free: 9.25 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock): time 0.002405/0.002434, allocations: 0.8448 MB / 372.6 MB, free: 8.402 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004029/0.002837, allocations: 119.5 kB / 372.7 MB, free: 8.285 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.518e-05/0.002922, allocations: 0 / 372.7 MB, free: 8.285 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001113/0.003033, allocations: 7.938 kB / 372.7 MB, free: 8.277 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001508/0.003184, allocations: 23.86 kB / 372.7 MB, free: 8.254 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002416/0.003426, allocations: 43.77 kB / 372.8 MB, free: 8.215 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001337/0.003559, allocations: 51.91 kB / 372.8 MB, free: 8.164 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001427/0.003702, allocations: 15.97 kB / 372.8 MB, free: 8.148 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.611e-05/0.003758, allocations: 27.86 kB / 372.8 MB, free: 8.121 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.012e-05/0.003808, allocations: 15.92 kB / 372.9 MB, free: 8.105 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.866e-05/0.003827, allocations: 0 / 372.9 MB, free: 8.105 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.454e-05/0.003841, allocations: 4 kB / 372.9 MB, free: 8.102 MB / 302.1 MB Notification: Performance of combineBinaries: time 0.0001358/0.003977, allocations: 106.8 kB / 373 MB, free: 7.996 MB / 302.1 MB Notification: Performance of replaceArrayConstructors: time 5.941e-05/0.004037, allocations: 67.06 kB / 373 MB, free: 7.93 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 2.587e-05/0.004063, allocations: 4 kB / 373 MB, free: 7.926 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.877e-05/0.004091, allocations: 7.984 kB / 373 MB, free: 7.918 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.0007121/0.004803, allocations: 355.9 kB / 373.4 MB, free: 7.453 MB / 302.1 MB Notification: Performance of [SIM] FunctionAlias: time 0.0001131/0.004917, allocations: 36.03 kB / 373.4 MB, free: 7.406 MB / 302.1 MB Notification: Performance of [SIM] Early Inline: time 0.0001671/0.005084, allocations: 112.3 kB / 373.5 MB, free: 7.27 MB / 302.1 MB Notification: Performance of [SIM] Simplify 1: time 0.0001046/0.005188, allocations: 80.69 kB / 373.6 MB, free: 7.145 MB / 302.1 MB Notification: Performance of [SIM] Alias: time 0.0006466/0.005835, allocations: 316.7 kB / 373.9 MB, free: 6.746 MB / 302.1 MB Notification: Performance of [SIM] Simplify 2: time 8.918e-05/0.005924, allocations: 73.55 kB / 374 MB, free: 6.629 MB / 302.1 MB Notification: Performance of [SIM] Remove Stream: time 4.8e-05/0.005972, allocations: 36.44 kB / 374 MB, free: 6.566 MB / 302.1 MB Notification: Performance of [SIM] Detect States: time 0.0001932/0.006165, allocations: 90.09 kB / 374.1 MB, free: 6.426 MB / 302.1 MB Notification: Performance of [SIM] Events: time 3.14e-05/0.006197, allocations: 11.98 kB / 374.1 MB, free: 6.414 MB / 302.1 MB Notification: Performance of [SIM] Partitioning: time 0.0001318/0.006328, allocations: 46.11 kB / 374.2 MB, free: 6.359 MB / 302.1 MB Notification: Performance of [SIM] Causalize: time 0.0001597/0.006488, allocations: 79.97 kB / 374.3 MB, free: 6.273 MB / 302.1 MB Notification: Performance of [SIM] After Index Reduction Inline: time 5.894e-05/0.006547, allocations: 55.95 kB / 374.3 MB, free: 6.219 MB / 302.1 MB Notification: Performance of [INI] Simplify: time 0.0001919/0.006739, allocations: 121 kB / 374.4 MB, free: 6.031 MB / 302.1 MB Notification: Performance of [INI] Inline: time 6.32e-05/0.006802, allocations: 55.95 kB / 374.5 MB, free: 5.973 MB / 302.1 MB Notification: Performance of [INI] Partitioning: time 2.25e-05/0.006825, allocations: 8.125 kB / 374.5 MB, free: 5.957 MB / 302.1 MB Notification: Performance of [INI] Cleanup: time 1.81e-05/0.006843, allocations: 16 kB / 374.5 MB, free: 5.941 MB / 302.1 MB Notification: Performance of [INI] Causalize: time 0.0001431/0.006986, allocations: 58.77 kB / 374.6 MB, free: 5.875 MB / 302.1 MB Notification: Performance of [INI] Tearing: time 9.989e-06/0.006996, allocations: 0 / 374.6 MB, free: 5.875 MB / 302.1 MB Notification: Performance of [SIM] Initialization: time 5.149e-06/0.007001, allocations: 4.188 kB / 374.6 MB, free: 5.871 MB / 302.1 MB Notification: Performance of [SIM] DAE-Mode: time 3.997e-06/0.007005, allocations: 4 kB / 374.6 MB, free: 5.867 MB / 302.1 MB Notification: Performance of [SIM] Remove Dummies: time 4.198e-06/0.007009, allocations: 0 / 374.6 MB, free: 5.867 MB / 302.1 MB Notification: Performance of [SIM] Tearing: time 8.636e-06/0.007018, allocations: 4 kB / 374.6 MB, free: 5.863 MB / 302.1 MB Notification: Performance of [SIM] Categorize: time 5.48e-06/0.007023, allocations: 0 / 374.6 MB, free: 5.863 MB / 302.1 MB Notification: Performance of [SIM] Solve: time 6.573e-05/0.007089, allocations: 31.91 kB / 374.6 MB, free: 5.832 MB / 302.1 MB Notification: Performance of [SIM] Jacobian: time 1.153e-05/0.007101, allocations: 4 kB / 374.6 MB, free: 5.828 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.824e-05/0.007149, allocations: 33.45 kB / 374.6 MB, free: 5.801 MB / 302.1 MB Notification: Performance of SimCode: time 0.0005665/0.007715, allocations: 297 kB / 374.9 MB, free: 5.473 MB / 302.1 MB Notification: Performance of Templates: time 0.002863/0.01058, allocations: 410.1 kB / 375.3 MB, free: 5.074 MB / 302.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/IntegerSignals/AssignClock/AssignClock.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] "" Variables in the reference:time,assignClock1.y Variables in the result:assignClock1.y,const.k,const.y,periodicClock.factor,periodicClock.resolution,periodicClock.resolutionFactor,periodicClock.useSolver,sum.k[1],sum.k[2],time,unitDelay1.y_start [Calling sys.exit(0), Time elapsed: 4.844537616998423]