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.001465/0.001465, allocations: 103.6 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.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.001452/0.001452, allocations: 211 kB / 24.55 MB, free: 3.824 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.604/1.604, allocations: 230.6 MB / 258.3 MB, free: 7.742 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.542e-05/2.542e-05, allocations: 2.281 kB / 379 MB, free: 2.453 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock): time 0.002965/0.00299, allocations: 0.8454 MB / 379.9 MB, free: 1.609 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005017/0.003492, allocations: 119.6 kB / 380 MB, free: 1.492 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001084/0.003601, allocations: 3.938 kB / 380 MB, free: 1.488 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000111/0.003712, allocations: 7.938 kB / 380 MB, free: 1.48 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001556/0.003867, allocations: 11.92 kB / 380 MB, free: 1.469 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003586/0.004226, allocations: 39.91 kB / 380.1 MB, free: 1.43 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002086/0.004434, allocations: 51.89 kB / 380.1 MB, free: 1.379 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001925/0.004627, allocations: 27.84 kB / 380.1 MB, free: 1.352 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.064e-05/0.004698, allocations: 27.88 kB / 380.2 MB, free: 1.324 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.63e-05/0.004764, allocations: 15.91 kB / 380.2 MB, free: 1.309 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 3.313e-05/0.004797, allocations: 4 kB / 380.2 MB, free: 1.305 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.751e-05/0.004815, allocations: 7.938 kB / 380.2 MB, free: 1.297 MB / 302.1 MB Notification: Performance of combineBinaries: time 0.0001467/0.004961, allocations: 90.86 kB / 380.3 MB, free: 1.207 MB / 302.1 MB Notification: Performance of replaceArrayConstructors: time 8.801e-05/0.005049, allocations: 78.98 kB / 380.4 MB, free: 1.129 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 3.126e-05/0.00508, allocations: 0 / 380.4 MB, free: 1.129 MB / 302.1 MB Notification: Performance of FrontEnd: time 4.402e-05/0.005124, allocations: 7.984 kB / 380.4 MB, free: 1.121 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.0008137/0.005938, allocations: 352.6 kB / 380.7 MB, free: 0.6562 MB / 302.1 MB Notification: Performance of [SIM] FunctionAlias: time 0.0001216/0.00606, allocations: 39.97 kB / 380.8 MB, free: 0.6055 MB / 302.1 MB Notification: Performance of [SIM] Early Inline: time 0.000159/0.006219, allocations: 108.2 kB / 380.9 MB, free: 484 kB / 302.1 MB Notification: Performance of [SIM] Simplify 1: time 0.0001037/0.006322, allocations: 76.61 kB / 380.9 MB, free: 360 kB / 302.1 MB Notification: Performance of [SIM] Alias: time 0.2624/0.2687, allocations: 318.3 kB / 381.2 MB, free: 13.41 MB / 302.1 MB Notification: Performance of [SIM] Simplify 2: time 6.941e-05/0.2688, allocations: 69.66 kB / 381.3 MB, free: 13.32 MB / 302.1 MB Notification: Performance of [SIM] Remove Stream: time 2.547e-05/0.2688, allocations: 35.44 kB / 381.4 MB, free: 13.26 MB / 302.1 MB Notification: Performance of [SIM] Detect States: time 0.0001714/0.269, allocations: 96.8 kB / 381.4 MB, free: 13.15 MB / 302.1 MB Notification: Performance of [SIM] Events: time 3.391e-05/0.269, allocations: 8.016 kB / 381.5 MB, free: 13.15 MB / 302.1 MB Notification: Performance of [SIM] Partitioning: time 0.0001298/0.2691, allocations: 39.98 kB / 381.5 MB, free: 13.13 MB / 302.1 MB Notification: Performance of [SIM] Causalize: time 0.0002096/0.2693, allocations: 84.25 kB / 381.6 MB, free: 13.12 MB / 302.1 MB Notification: Performance of [SIM] After Index Reduction Inline: time 6.024e-05/0.2694, allocations: 50.16 kB / 381.6 MB, free: 13.12 MB / 302.1 MB Notification: Performance of [INI] Simplify: time 0.0001487/0.2696, allocations: 118.2 kB / 381.7 MB, free: 12.97 MB / 302.1 MB Notification: Performance of [INI] Inline: time 6.666e-05/0.2696, allocations: 59.31 kB / 381.8 MB, free: 12.96 MB / 302.1 MB Notification: Performance of [INI] Partitioning: time 8.847e-06/0.2696, allocations: 9.531 kB / 381.8 MB, free: 12.95 MB / 302.1 MB Notification: Performance of [INI] Cleanup: time 1.476e-05/0.2696, allocations: 9.156 kB / 381.8 MB, free: 12.95 MB / 302.1 MB Notification: Performance of [INI] Causalize: time 0.0001358/0.2698, allocations: 66.72 kB / 381.9 MB, free: 12.93 MB / 302.1 MB Notification: Performance of [INI] Tearing: time 9.247e-06/0.2698, allocations: 3.219 kB / 381.9 MB, free: 12.93 MB / 302.1 MB Notification: Performance of [SIM] Initialization: time 9.22e-07/0.2698, allocations: 2.406 kB / 381.9 MB, free: 12.93 MB / 302.1 MB Notification: Performance of [SIM] DAE-Mode: time 1.733e-06/0.2698, allocations: 0 / 381.9 MB, free: 12.93 MB / 302.1 MB Notification: Performance of [SIM] Remove Dummies: time 4.799e-06/0.2698, allocations: 1.094 kB / 381.9 MB, free: 12.93 MB / 302.1 MB Notification: Performance of [SIM] Tearing: time 2.174e-06/0.2698, allocations: 5.328 kB / 381.9 MB, free: 12.93 MB / 302.1 MB Notification: Performance of [SIM] Categorize: time 9.788e-06/0.2698, allocations: 8.984 kB / 381.9 MB, free: 12.93 MB / 302.1 MB Notification: Performance of [SIM] Solve: time 6.61e-05/0.2699, allocations: 28.5 kB / 381.9 MB, free: 12.93 MB / 302.1 MB Notification: Performance of [SIM] Jacobian: time 8.827e-06/0.2699, allocations: 0.625 kB / 381.9 MB, free: 12.93 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 3.941e-05/0.2699, allocations: 26.38 kB / 382 MB, free: 12.91 MB / 302.1 MB Notification: Performance of SimCode: time 0.0005967/0.2705, allocations: 308.8 kB / 382.3 MB, free: 12.74 MB / 302.1 MB Notification: Performance of Templates: time 0.002993/0.2735, allocations: 410.1 kB / 382.7 MB, free: 12.71 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/IntegerSignals/AssignClock/AssignClock.csv","/var/lib/jenkins1/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] "" 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.767911934002768]