Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.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.001439/0.001439, 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.001622/0.001622, allocations: 190.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.536/1.536, 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.BooleanSignals.AssignClock,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5010,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock") translateModel(Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5010,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.82e-05/2.82e-05, allocations: 9.453 kB / 371.7 MB, free: 9.16 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock): time 0.002318/0.002346, allocations: 0.8767 MB / 372.6 MB, free: 8.277 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003941/0.002741, allocations: 107.6 kB / 372.7 MB, free: 8.172 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.074e-05/0.002821, allocations: 3.938 kB / 372.7 MB, free: 8.168 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 6.349e-05/0.002885, allocations: 7.922 kB / 372.7 MB, free: 8.16 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001379/0.003023, allocations: 11.92 kB / 372.7 MB, free: 8.148 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002802/0.003303, allocations: 37.28 kB / 372.8 MB, free: 8.113 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001389/0.003442, allocations: 55.83 kB / 372.8 MB, free: 8.059 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001581/0.0036, allocations: 19.92 kB / 372.8 MB, free: 8.039 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.265e-05/0.003652, allocations: 23.92 kB / 372.8 MB, free: 8.016 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.085e-05/0.003703, allocations: 15.92 kB / 372.9 MB, free: 8 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.427e-05/0.003728, allocations: 4 kB / 372.9 MB, free: 7.996 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.429e-05/0.003742, allocations: 7.938 kB / 372.9 MB, free: 7.988 MB / 302.1 MB Notification: Performance of combineBinaries: time 0.0001283/0.00387, allocations: 94.84 kB / 373 MB, free: 7.895 MB / 302.1 MB Notification: Performance of replaceArrayConstructors: time 5.285e-05/0.003923, allocations: 63.09 kB / 373 MB, free: 7.832 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 2.62e-05/0.003949, allocations: 4 kB / 373 MB, free: 7.828 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.968e-05/0.003969, allocations: 0 / 373 MB, free: 7.828 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.0006053/0.004574, allocations: 321 kB / 373.3 MB, free: 7.395 MB / 302.1 MB Notification: Performance of [SIM] FunctionAlias: time 0.0001007/0.004675, allocations: 43.89 kB / 373.4 MB, free: 7.34 MB / 302.1 MB Notification: Performance of [SIM] Early Inline: time 0.0001588/0.004834, allocations: 120.3 kB / 373.5 MB, free: 7.195 MB / 302.1 MB Notification: Performance of [SIM] Simplify 1: time 0.0001138/0.004948, allocations: 80.64 kB / 373.6 MB, free: 7.07 MB / 302.1 MB Notification: Performance of [SIM] Alias: time 0.0007644/0.005712, allocations: 337.7 kB / 373.9 MB, free: 6.652 MB / 302.1 MB Notification: Performance of [SIM] Simplify 2: time 9.311e-05/0.005805, allocations: 60.73 kB / 374 MB, free: 6.547 MB / 302.1 MB Notification: Performance of [SIM] Remove Stream: time 8.21e-05/0.005887, allocations: 44.36 kB / 374 MB, free: 6.477 MB / 302.1 MB Notification: Performance of [SIM] Detect States: time 0.0002402/0.006127, allocations: 106.5 kB / 374.1 MB, free: 6.32 MB / 302.1 MB Notification: Performance of [SIM] Events: time 7.47e-05/0.006202, allocations: 4 kB / 374.1 MB, free: 6.316 MB / 302.1 MB Notification: Performance of [SIM] Partitioning: time 0.0001817/0.006384, allocations: 46.12 kB / 374.2 MB, free: 6.262 MB / 302.1 MB Notification: Performance of [SIM] Causalize: time 0.0001415/0.006525, allocations: 64.08 kB / 374.2 MB, free: 6.191 MB / 302.1 MB Notification: Performance of [SIM] After Index Reduction Inline: time 6.831e-05/0.006594, allocations: 59.89 kB / 374.3 MB, free: 6.133 MB / 302.1 MB Notification: Performance of [INI] Simplify: time 0.000234/0.006828, allocations: 125.9 kB / 374.4 MB, free: 5.941 MB / 302.1 MB Notification: Performance of [INI] Inline: time 6.708e-05/0.006895, allocations: 55.95 kB / 374.5 MB, free: 5.883 MB / 302.1 MB Notification: Performance of [INI] Partitioning: time 2.384e-05/0.006919, allocations: 16.11 kB / 374.5 MB, free: 5.859 MB / 302.1 MB Notification: Performance of [INI] Cleanup: time 1.763e-05/0.006936, allocations: 12.09 kB / 374.5 MB, free: 5.848 MB / 302.1 MB Notification: Performance of [INI] Causalize: time 0.0001559/0.007092, allocations: 82.05 kB / 374.6 MB, free: 5.758 MB / 302.1 MB Notification: Performance of [INI] Tearing: time 9.768e-06/0.007102, allocations: 0 / 374.6 MB, free: 5.758 MB / 302.1 MB Notification: Performance of [SIM] Initialization: time 3.4e-07/0.007102, allocations: 0 / 374.6 MB, free: 5.758 MB / 302.1 MB Notification: Performance of [SIM] DAE-Mode: time 1.923e-06/0.007104, allocations: 0 / 374.6 MB, free: 5.758 MB / 302.1 MB Notification: Performance of [SIM] Remove Dummies: time 4.608e-06/0.007109, allocations: 4 kB / 374.6 MB, free: 5.754 MB / 302.1 MB Notification: Performance of [SIM] Tearing: time 3.126e-06/0.007112, allocations: 4 kB / 374.6 MB, free: 5.75 MB / 302.1 MB Notification: Performance of [SIM] Categorize: time 5.731e-06/0.007118, allocations: 4 kB / 374.6 MB, free: 5.746 MB / 302.1 MB Notification: Performance of [SIM] Solve: time 6.426e-05/0.007182, allocations: 39.89 kB / 374.6 MB, free: 5.707 MB / 302.1 MB Notification: Performance of [SIM] Jacobian: time 8.486e-06/0.00719, allocations: 0 / 374.6 MB, free: 5.707 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: ................. 4 (4) {assignClock1.u, unitDelay1.y, $SEV_0, $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 4.491e-05/0.007235, allocations: 25.55 kB / 374.7 MB, free: 5.688 MB / 302.1 MB Notification: Performance of SimCode: time 0.0004938/0.007729, allocations: 268.4 kB / 374.9 MB, free: 5.398 MB / 302.1 MB Notification: Performance of Templates: time 0.002718/0.01045, allocations: 414.7 kB / 375.3 MB, free: 5 MB / 302.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/AssignClock/AssignClock.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.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,integerConstant.k,integerConstant.y,periodicClock.factor,periodicClock.resolution,periodicClock.resolutionFactor,periodicClock.useSolver,time,unitDelay1.y_start,xor.u2 [Calling sys.exit(0), Time elapsed: 4.816488814016338]