Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep.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.001876/0.001876, 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.002161/0.002161, allocations: 186.9 kB / 24.53 MB, free: 3.746 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.644/1.644, 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.BooleanSignals.TickBasedStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep") translateModel(Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 3.435e-05/3.435e-05, allocations: 2.281 kB / 371.7 MB, free: 9.195 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep): time 0.003277/0.003311, allocations: 1.419 MB / 373.1 MB, free: 7.762 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001856/0.003497, allocations: 27.86 kB / 373.2 MB, free: 7.734 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.59e-05/0.003553, allocations: 4 kB / 373.2 MB, free: 7.73 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 2.648e-05/0.003579, allocations: 7.922 kB / 373.2 MB, free: 7.723 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 3.019e-05/0.003609, allocations: 0 / 373.2 MB, free: 7.723 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002164/0.003826, allocations: 23.97 kB / 373.2 MB, free: 7.699 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 9.677e-05/0.003923, allocations: 35.92 kB / 373.2 MB, free: 7.664 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001019/0.004025, allocations: 11.94 kB / 373.2 MB, free: 7.652 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.766e-05/0.004062, allocations: 11.92 kB / 373.3 MB, free: 7.641 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.916e-05/0.004101, allocations: 15.92 kB / 373.3 MB, free: 7.625 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.419e-05/0.004116, allocations: 0 / 373.3 MB, free: 7.625 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.167e-05/0.004127, allocations: 4 kB / 373.3 MB, free: 7.621 MB / 302.1 MB Notification: Performance of combineBinaries: time 6.904e-05/0.004196, allocations: 51.42 kB / 373.3 MB, free: 7.57 MB / 302.1 MB Notification: Performance of replaceArrayConstructors: time 4.501e-05/0.004241, allocations: 43.41 kB / 373.4 MB, free: 7.527 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 1.925e-05/0.004261, allocations: 4 kB / 373.4 MB, free: 7.523 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.069e-05/0.004271, allocations: 0 / 373.4 MB, free: 7.523 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: 4 (4) * Number of variables: 4 (4) Notification: Performance of [SIM] Bindings: time 0.0004931/0.004764, allocations: 277.3 kB / 373.6 MB, free: 7.133 MB / 302.1 MB Notification: Performance of [SIM] FunctionAlias: time 9.141e-05/0.004856, allocations: 35.95 kB / 373.7 MB, free: 7.086 MB / 302.1 MB Notification: Performance of [SIM] Early Inline: time 0.0001188/0.004974, allocations: 96.33 kB / 373.8 MB, free: 6.965 MB / 302.1 MB Notification: Performance of [SIM] Simplify 1: time 9.633e-05/0.005071, allocations: 80.64 kB / 373.8 MB, free: 6.84 MB / 302.1 MB Notification: Performance of [SIM] Alias: time 0.000409/0.00548, allocations: 192.8 kB / 374 MB, free: 6.586 MB / 302.1 MB Notification: Performance of [SIM] Simplify 2: time 9.092e-05/0.005571, allocations: 64.73 kB / 374.1 MB, free: 6.477 MB / 302.1 MB Notification: Performance of [SIM] Remove Stream: time 4.87e-05/0.005619, allocations: 40.42 kB / 374.1 MB, free: 6.41 MB / 302.1 MB Notification: Performance of [SIM] Detect States: time 0.0001963/0.005816, allocations: 110 kB / 374.2 MB, free: 6.254 MB / 302.1 MB Notification: Performance of [SIM] Events: time 7.039e-05/0.005886, allocations: 32.11 kB / 374.3 MB, free: 6.223 MB / 302.1 MB Notification: Performance of [SIM] Partitioning: time 0.0001203/0.006006, allocations: 50.12 kB / 374.3 MB, free: 6.164 MB / 302.1 MB Notification: Performance of [SIM] Causalize: time 0.0001886/0.006195, allocations: 112 kB / 374.4 MB, free: 6.047 MB / 302.1 MB Notification: Performance of [SIM] After Index Reduction Inline: time 7.994e-05/0.006275, allocations: 79.94 kB / 374.5 MB, free: 5.969 MB / 302.1 MB Notification: Performance of [INI] Simplify: time 0.0001566/0.006432, allocations: 101 kB / 374.6 MB, free: 5.801 MB / 302.1 MB Notification: Performance of [INI] Inline: time 7.796e-05/0.00651, allocations: 79.94 kB / 374.7 MB, free: 5.719 MB / 302.1 MB Notification: Performance of [INI] Partitioning: time 1.203e-05/0.006522, allocations: 8.125 kB / 374.7 MB, free: 5.703 MB / 302.1 MB Notification: Performance of [INI] Cleanup: time 1.379e-05/0.006535, allocations: 4.094 kB / 374.7 MB, free: 5.699 MB / 302.1 MB Notification: Performance of [INI] Causalize: time 7.705e-06/0.006543, allocations: 4 kB / 374.7 MB, free: 5.695 MB / 302.1 MB Notification: Performance of [INI] Tearing: time 6.052e-06/0.006549, allocations: 4 kB / 374.7 MB, free: 5.691 MB / 302.1 MB Notification: Performance of [SIM] Initialization: time 3.4e-07/0.00655, allocations: 0 / 374.7 MB, free: 5.691 MB / 302.1 MB Notification: Performance of [SIM] DAE-Mode: time 4.96e-06/0.006554, allocations: 4 kB / 374.7 MB, free: 5.688 MB / 302.1 MB Notification: Performance of [SIM] Remove Dummies: time 5.26e-06/0.00656, allocations: 0 / 374.7 MB, free: 5.688 MB / 302.1 MB Notification: Performance of [SIM] Tearing: time 1.099e-05/0.006571, allocations: 8 kB / 374.7 MB, free: 5.68 MB / 302.1 MB Notification: Performance of [SIM] Categorize: time 6.262e-06/0.006577, allocations: 0 / 374.7 MB, free: 5.68 MB / 302.1 MB Notification: Performance of [SIM] Solve: time 8.163e-05/0.006659, allocations: 31.97 kB / 374.8 MB, free: 5.648 MB / 302.1 MB Notification: Performance of [SIM] Jacobian: time 5.821e-06/0.006664, allocations: 4 kB / 374.8 MB, free: 5.645 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: ................. 0 * Number of initial(lambda=0) partitions: ....... 0 Notification: Variable statistics after passing the back-end: * Number of states: ............................. 0 (0) {} * Number of discrete states: .................... 1 (1) {assignClock1.y} * Number of clocked states: ..................... 1 (1) {step.counter} * Number of discrete variables: ................. 6 (6) {assignClock1.u, $FUN_1, $SEV_2, $SEV_1, $SEV_0, $TEV_0} * Number of clocks: ............................. 1 (1) {periodicClock1.y} * 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: ........... 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: Performance of backend: time 4.341e-05/0.006708, allocations: 17.92 kB / 374.8 MB, free: 5.633 MB / 302.1 MB Notification: Performance of SimCode: time 0.0004433/0.007151, allocations: 219.7 kB / 375 MB, free: 5.395 MB / 302.1 MB Notification: Performance of Templates: time 0.00315/0.0103, allocations: 477 kB / 375.5 MB, free: 4.934 MB / 302.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/TickBasedStep/TickBasedStep.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep.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,periodicClock1.period,periodicClock1.useSolver,step.startTick,step.startValue,time [Calling sys.exit(0), Time elapsed: 4.900637315004133]