Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.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.001734/0.001734, allocations: 96.03 kB / 21.25 MB, free: 428 kB / 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.00237/0.00237, allocations: 188.4 kB / 24.53 MB, free: 3.75 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.647/1.647, allocations: 225.7 MB / 253.4 MB, free: 12.81 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.RealSignals.AssignClock,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5010,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock") translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5010,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 3.326e-05/3.326e-05, allocations: 6.219 kB / 371.7 MB, free: 9.176 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock): time 0.003124/0.003157, allocations: 0.9585 MB / 372.7 MB, free: 8.219 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005204/0.003678, allocations: 107.6 kB / 372.8 MB, free: 8.113 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001411/0.003819, allocations: 7.938 kB / 372.8 MB, free: 8.105 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 7.132e-05/0.00389, allocations: 3.938 kB / 372.8 MB, free: 8.102 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002005/0.004091, allocations: 11.92 kB / 372.8 MB, free: 8.09 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003385/0.004429, allocations: 35.91 kB / 372.8 MB, free: 8.055 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001984/0.004628, allocations: 59.83 kB / 372.9 MB, free: 7.996 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002035/0.004831, allocations: 16.12 kB / 372.9 MB, free: 7.977 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.969e-05/0.004901, allocations: 23.91 kB / 372.9 MB, free: 7.953 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.946e-05/0.00497, allocations: 23.8 kB / 373 MB, free: 7.93 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 3.043e-05/0.005001, allocations: 4 kB / 373 MB, free: 7.926 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.537e-05/0.005016, allocations: 4 kB / 373 MB, free: 7.922 MB / 302.1 MB Notification: Performance of combineBinaries: time 0.0001357/0.005152, allocations: 98.84 kB / 373.1 MB, free: 7.824 MB / 302.1 MB Notification: Performance of replaceArrayConstructors: time 6.8e-05/0.00522, allocations: 74.91 kB / 373.1 MB, free: 7.75 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 3.121e-05/0.005251, allocations: 4 kB / 373.1 MB, free: 7.746 MB / 302.1 MB Notification: Performance of FrontEnd: time 3.727e-05/0.005288, allocations: 0 / 373.1 MB, free: 7.746 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 (8) Notification: Performance of [SIM] Bindings: time 0.0007336/0.006022, allocations: 368.1 kB / 373.5 MB, free: 7.266 MB / 302.1 MB Notification: Performance of [SIM] FunctionAlias: time 0.0001405/0.006162, allocations: 47.89 kB / 373.6 MB, free: 7.207 MB / 302.1 MB Notification: Performance of [SIM] Early Inline: time 0.0001766/0.006339, allocations: 116.4 kB / 373.7 MB, free: 7.066 MB / 302.1 MB Notification: Performance of [SIM] Simplify 1: time 0.0001343/0.006473, allocations: 80.58 kB / 373.7 MB, free: 6.941 MB / 302.1 MB Notification: Performance of [SIM] Alias: time 0.0008034/0.007277, allocations: 336.9 kB / 374.1 MB, free: 6.523 MB / 302.1 MB Notification: Performance of [SIM] Simplify 2: time 9.97e-05/0.007376, allocations: 72.73 kB / 374.1 MB, free: 6.406 MB / 302.1 MB Notification: Performance of [SIM] Remove Stream: time 5.223e-05/0.007429, allocations: 44.36 kB / 374.2 MB, free: 6.336 MB / 302.1 MB Notification: Performance of [SIM] Detect States: time 0.0002217/0.00765, allocations: 88.77 kB / 374.3 MB, free: 6.195 MB / 302.1 MB Notification: Performance of [SIM] Events: time 3.881e-05/0.007689, allocations: 4.75 kB / 374.3 MB, free: 6.191 MB / 302.1 MB Notification: Performance of [SIM] Partitioning: time 0.0001465/0.007836, allocations: 42.14 kB / 374.3 MB, free: 6.141 MB / 302.1 MB Notification: Performance of [SIM] Causalize: time 0.0001399/0.007976, allocations: 48.09 kB / 374.4 MB, free: 6.086 MB / 302.1 MB Notification: Performance of [SIM] After Index Reduction Inline: time 6.272e-05/0.008038, allocations: 51.89 kB / 374.4 MB, free: 6.035 MB / 302.1 MB Notification: Performance of [INI] Simplify: time 0.0002315/0.00827, allocations: 120.9 kB / 374.5 MB, free: 5.848 MB / 302.1 MB Notification: Performance of [INI] Inline: time 8.031e-05/0.00835, allocations: 51.97 kB / 374.6 MB, free: 5.793 MB / 302.1 MB Notification: Performance of [INI] Partitioning: time 1.789e-05/0.008368, allocations: 12.12 kB / 374.6 MB, free: 5.773 MB / 302.1 MB Notification: Performance of [INI] Cleanup: time 1.884e-05/0.008387, allocations: 12.08 kB / 374.6 MB, free: 5.762 MB / 302.1 MB Notification: Performance of [INI] Causalize: time 0.0001987/0.008585, allocations: 83.02 kB / 374.7 MB, free: 5.672 MB / 302.1 MB Notification: Performance of [INI] Tearing: time 1.385e-05/0.008599, allocations: 0 / 374.7 MB, free: 5.672 MB / 302.1 MB Notification: Performance of [SIM] Initialization: time 5.92e-07/0.0086, allocations: 0 / 374.7 MB, free: 5.672 MB / 302.1 MB Notification: Performance of [SIM] DAE-Mode: time 4.058e-06/0.008604, allocations: 0 / 374.7 MB, free: 5.672 MB / 302.1 MB Notification: Performance of [SIM] Remove Dummies: time 6.071e-06/0.00861, allocations: 4 kB / 374.7 MB, free: 5.668 MB / 302.1 MB Notification: Performance of [SIM] Tearing: time 2.284e-06/0.008612, allocations: 0 / 374.7 MB, free: 5.668 MB / 302.1 MB Notification: Performance of [SIM] Categorize: time 1.018e-05/0.008622, allocations: 8 kB / 374.7 MB, free: 5.66 MB / 302.1 MB Notification: Performance of [SIM] Solve: time 7.527e-05/0.008698, allocations: 27.98 kB / 374.7 MB, free: 5.633 MB / 302.1 MB Notification: Performance of [SIM] Jacobian: time 1.096e-05/0.008709, allocations: 0 / 374.7 MB, free: 5.633 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: ................. 1 (1) {$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: ........... 3 (scalar:3, 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 6.629e-05/0.008775, allocations: 27.66 kB / 374.8 MB, free: 5.613 MB / 302.1 MB Notification: Performance of SimCode: time 0.0006674/0.009442, allocations: 268.5 kB / 375 MB, free: 5.324 MB / 302.1 MB Notification: Performance of Templates: time 0.002913/0.01236, allocations: 354.5 kB / 375.4 MB, free: 4.984 MB / 302.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/AssignClock/AssignClock.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.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:add.k1,add.k2,add.u2,assignClock1.y,const.k,const.y,periodicClock.factor,periodicClock.resolution,periodicClock.resolutionFactor,periodicClock.useSolver,time,unitDelay1.y_start [Calling sys.exit(0), Time elapsed: 4.96328360500047]