Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep.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.001278/0.001278, allocations: 107.6 kB / 21.2 MB, free: 0.6641 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.00208/0.00208, allocations: 210.2 kB / 24.49 MB, free: 3.961 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.507/1.507, allocations: 230.6 MB / 258.3 MB, free: 7.789 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.TickBasedStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep") translateModel(Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.09e-05/2.09e-05, allocations: 2.281 kB / 378.9 MB, free: 2.539 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep): time 0.002477/0.002497, allocations: 1.443 MB / 380.4 MB, free: 1.09 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001872/0.002685, allocations: 35.84 kB / 380.4 MB, free: 1.055 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.178e-05/0.002746, allocations: 0 / 380.4 MB, free: 1.055 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 2.776e-05/0.002774, allocations: 0 / 380.4 MB, free: 1.055 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 3.485e-05/0.002809, allocations: 3.938 kB / 380.4 MB, free: 1.051 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002494/0.003058, allocations: 25.09 kB / 380.4 MB, free: 1.027 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 9.961e-05/0.003158, allocations: 39.86 kB / 380.5 MB, free: 0.9883 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001119/0.00327, allocations: 11.98 kB / 380.5 MB, free: 0.9766 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.569e-05/0.003316, allocations: 15.94 kB / 380.5 MB, free: 0.9609 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.019e-05/0.003356, allocations: 15.91 kB / 380.5 MB, free: 0.9453 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.848e-05/0.003374, allocations: 4 kB / 380.5 MB, free: 0.9414 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.154e-05/0.003386, allocations: 4 kB / 380.5 MB, free: 0.9375 MB / 302.1 MB Notification: Performance of combineBinaries: time 6.995e-05/0.003456, allocations: 55.33 kB / 380.6 MB, free: 0.8828 MB / 302.1 MB Notification: Performance of replaceArrayConstructors: time 2.723e-05/0.003483, allocations: 47.34 kB / 380.6 MB, free: 0.8359 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 1.666e-05/0.0035, allocations: 0 / 380.6 MB, free: 0.8359 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.592e-05/0.003516, allocations: 15.86 kB / 380.6 MB, free: 0.8203 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.0004566/0.003972, allocations: 273.2 kB / 380.9 MB, free: 444 kB / 302.1 MB Notification: Performance of [SIM] FunctionAlias: time 8.952e-05/0.004062, allocations: 40.02 kB / 380.9 MB, free: 392 kB / 302.1 MB Notification: Performance of [SIM] Early Inline: time 0.0001106/0.004172, allocations: 104.2 kB / 381 MB, free: 260 kB / 302.1 MB Notification: Performance of [SIM] Simplify 1: time 8.393e-05/0.004256, allocations: 68.67 kB / 381.1 MB, free: 144 kB / 302.1 MB Notification: Performance of [SIM] Alias: time 0.1922/0.1965, allocations: 187.8 kB / 381.3 MB, free: 13.31 MB / 302.1 MB Notification: Performance of [SIM] Simplify 2: time 5.594e-05/0.1966, allocations: 68.95 kB / 381.4 MB, free: 13.22 MB / 302.1 MB Notification: Performance of [SIM] Remove Stream: time 2.432e-05/0.1966, allocations: 43.5 kB / 381.4 MB, free: 13.16 MB / 302.1 MB Notification: Performance of [SIM] Detect States: time 0.0001638/0.1967, allocations: 99.91 kB / 381.5 MB, free: 13.05 MB / 302.1 MB Notification: Performance of [SIM] Events: time 6.356e-05/0.1968, allocations: 24.03 kB / 381.5 MB, free: 13.05 MB / 302.1 MB Notification: Performance of [SIM] Partitioning: time 0.0001253/0.1969, allocations: 55.78 kB / 381.6 MB, free: 13.03 MB / 302.1 MB Notification: Performance of [SIM] Causalize: time 0.0001686/0.1971, allocations: 95.94 kB / 381.7 MB, free: 13.02 MB / 302.1 MB Notification: Performance of [SIM] After Index Reduction Inline: time 6.955e-05/0.1972, allocations: 71.7 kB / 381.7 MB, free: 13.01 MB / 302.1 MB Notification: Performance of [INI] Simplify: time 9.094e-05/0.1973, allocations: 106.9 kB / 381.8 MB, free: 12.87 MB / 302.1 MB Notification: Performance of [INI] Inline: time 6.04e-05/0.1973, allocations: 69.69 kB / 381.9 MB, free: 12.86 MB / 302.1 MB Notification: Performance of [INI] Partitioning: time 5.861e-06/0.1973, allocations: 9.188 kB / 381.9 MB, free: 12.85 MB / 302.1 MB Notification: Performance of [INI] Cleanup: time 1.843e-05/0.1973, allocations: 13.27 kB / 381.9 MB, free: 12.85 MB / 302.1 MB Notification: Performance of [INI] Causalize: time 7.645e-06/0.1973, allocations: 0 / 381.9 MB, free: 12.85 MB / 302.1 MB Notification: Performance of [INI] Tearing: time 6.793e-06/0.1974, allocations: 0 / 381.9 MB, free: 12.85 MB / 302.1 MB Notification: Performance of [SIM] Initialization: time 3.41e-07/0.1974, allocations: 0.5 kB / 381.9 MB, free: 12.85 MB / 302.1 MB Notification: Performance of [SIM] Remove Dummies: time 3.577e-06/0.1974, allocations: 1.781 kB / 381.9 MB, free: 12.85 MB / 302.1 MB Notification: Performance of [SIM] Tearing: time 7.814e-06/0.1974, allocations: 6.125 kB / 381.9 MB, free: 12.84 MB / 302.1 MB Notification: Performance of [SIM] Categorize: time 7.774e-06/0.1974, allocations: 2.312 kB / 381.9 MB, free: 12.84 MB / 302.1 MB Notification: Performance of [SIM] Solve: time 6.578e-05/0.1974, allocations: 30.25 kB / 382 MB, free: 12.84 MB / 302.1 MB Notification: Performance of [SIM] Jacobian: time 4.688e-06/0.1974, allocations: 0.8438 kB / 382 MB, free: 12.84 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: ................. 5 (5) {step.y, $FUN_1, $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 3.41e-05/0.1975, allocations: 30.41 kB / 382 MB, free: 12.82 MB / 302.1 MB Notification: Performance of SimCode: time 0.0003516/0.1978, allocations: 201.4 kB / 382.2 MB, free: 12.69 MB / 302.1 MB Notification: Performance of Templates: time 0.03207/0.2299, allocations: 466.5 kB / 382.7 MB, free: 12.65 MB / 302.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep.sim & ./Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/IntegerSignals/TickBasedStep/TickBasedStep.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.887520664837211]