Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.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.00165/0.00165, 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.001741/0.001741, allocations: 211 kB / 24.55 MB, free: 3.828 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.575/1.575, allocations: 230.7 MB / 258.4 MB, free: 7.73 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.BooleanSignals.AssignClock,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5010,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_4.1.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.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.292e-05/2.292e-05, allocations: 5.516 kB / 379.1 MB, free: 2.438 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock): time 0.002358/0.002381, allocations: 0.8689 MB / 379.9 MB, free: 1.57 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003641/0.002745, allocations: 115.6 kB / 380 MB, free: 1.457 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.996e-05/0.002825, allocations: 7.938 kB / 380 MB, free: 1.449 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 4.905e-05/0.002874, allocations: 7.875 kB / 380 MB, free: 1.441 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001295/0.003004, allocations: 3.938 kB / 380.1 MB, free: 1.438 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000245/0.003249, allocations: 39.89 kB / 380.1 MB, free: 1.398 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001349/0.003383, allocations: 47.91 kB / 380.1 MB, free: 1.352 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001369/0.00352, allocations: 23.91 kB / 380.2 MB, free: 1.328 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.553e-05/0.003566, allocations: 27.91 kB / 380.2 MB, free: 1.301 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.204e-05/0.003608, allocations: 19.86 kB / 380.2 MB, free: 1.281 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.227e-05/0.00363, allocations: 0 / 380.2 MB, free: 1.281 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.035e-05/0.003641, allocations: 4 kB / 380.2 MB, free: 1.277 MB / 302.1 MB Notification: Performance of combineBinaries: time 9.944e-05/0.00374, allocations: 94.86 kB / 380.3 MB, free: 1.184 MB / 302.1 MB Notification: Performance of replaceArrayConstructors: time 4.709e-05/0.003787, allocations: 67.14 kB / 380.4 MB, free: 1.117 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 1.637e-05/0.003803, allocations: 0 / 380.4 MB, free: 1.117 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.24e-05/0.003826, allocations: 4 kB / 380.4 MB, free: 1.113 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.0005568/0.004383, allocations: 320.9 kB / 380.7 MB, free: 0.6797 MB / 302.1 MB Notification: Performance of [SIM] FunctionAlias: time 8.626e-05/0.004469, allocations: 40.02 kB / 380.7 MB, free: 0.6289 MB / 302.1 MB Notification: Performance of [SIM] Early Inline: time 0.0001366/0.004605, allocations: 128.1 kB / 380.9 MB, free: 488 kB / 302.1 MB Notification: Performance of [SIM] Simplify 1: time 8.877e-05/0.004694, allocations: 68.67 kB / 380.9 MB, free: 372 kB / 302.1 MB Notification: Performance of [SIM] Alias: time 0.2554/0.2601, allocations: 329.7 kB / 381.2 MB, free: 13.48 MB / 302.1 MB Notification: Performance of [SIM] Simplify 2: time 6.732e-05/0.2602, allocations: 66.36 kB / 381.3 MB, free: 13.39 MB / 302.1 MB Notification: Performance of [SIM] Remove Stream: time 2.542e-05/0.2602, allocations: 39.23 kB / 381.3 MB, free: 13.33 MB / 302.1 MB Notification: Performance of [SIM] Detect States: time 0.000189/0.2604, allocations: 96.2 kB / 381.4 MB, free: 13.22 MB / 302.1 MB Notification: Performance of [SIM] Events: time 7.235e-05/0.2605, allocations: 18.14 kB / 381.5 MB, free: 13.22 MB / 302.1 MB Notification: Performance of [SIM] Partitioning: time 0.0001309/0.2606, allocations: 44.25 kB / 381.5 MB, free: 13.2 MB / 302.1 MB Notification: Performance of [SIM] Causalize: time 0.000176/0.2608, allocations: 66.28 kB / 381.6 MB, free: 13.19 MB / 302.1 MB Notification: Performance of [SIM] After Index Reduction Inline: time 6.924e-05/0.2608, allocations: 56.17 kB / 381.6 MB, free: 13.19 MB / 302.1 MB Notification: Performance of [INI] Simplify: time 0.0001584/0.261, allocations: 131.5 kB / 381.7 MB, free: 13.04 MB / 302.1 MB Notification: Performance of [INI] Inline: time 6.89e-05/0.2611, allocations: 57.06 kB / 381.8 MB, free: 13.04 MB / 302.1 MB Notification: Performance of [INI] Partitioning: time 7.845e-06/0.2611, allocations: 9.453 kB / 381.8 MB, free: 13.02 MB / 302.1 MB Notification: Performance of [INI] Cleanup: time 1.457e-05/0.2611, allocations: 10.38 kB / 381.8 MB, free: 13.02 MB / 302.1 MB Notification: Performance of [INI] Causalize: time 0.0001615/0.2612, allocations: 78.77 kB / 381.9 MB, free: 13 MB / 302.1 MB Notification: Performance of [INI] Tearing: time 1.376e-05/0.2613, allocations: 5.875 kB / 381.9 MB, free: 13 MB / 302.1 MB Notification: Performance of [SIM] Initialization: time 1.122e-06/0.2613, allocations: 1 kB / 381.9 MB, free: 13 MB / 302.1 MB Notification: Performance of [SIM] DAE-Mode: time 1.834e-06/0.2613, allocations: 4.094 kB / 381.9 MB, free: 13 MB / 302.1 MB Notification: Performance of [SIM] Remove Dummies: time 4.138e-06/0.2613, allocations: 0 / 381.9 MB, free: 13 MB / 302.1 MB Notification: Performance of [SIM] Tearing: time 2.114e-06/0.2613, allocations: 5.656 kB / 381.9 MB, free: 13 MB / 302.1 MB Notification: Performance of [SIM] Categorize: time 7.814e-06/0.2613, allocations: 1.688 kB / 381.9 MB, free: 13 MB / 302.1 MB Notification: Performance of [SIM] Solve: time 6.456e-05/0.2613, allocations: 30.81 kB / 381.9 MB, free: 12.99 MB / 302.1 MB Notification: Performance of [SIM] Jacobian: time 7.334e-06/0.2613, allocations: 6.25 kB / 382 MB, free: 12.99 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 3.559e-05/0.2614, allocations: 18.25 kB / 382 MB, free: 12.98 MB / 302.1 MB Notification: Performance of SimCode: time 0.000532/0.2619, allocations: 267.7 kB / 382.2 MB, free: 12.84 MB / 302.1 MB Notification: Performance of Templates: time 0.003137/0.2651, allocations: 412.5 kB / 382.6 MB, free: 12.81 MB / 302.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock.sim & ./Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/AssignClock/AssignClock.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.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.757281772966962]