Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedRamp.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.001824/0.001824, 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.002356/0.002356, allocations: 205.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.422/1.422, allocations: 230.6 MB / 258.3 MB, free: 7.801 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.RealSignals.TickBasedRamp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedRamp") translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedRamp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedRamp") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 3.519e-05/3.519e-05, allocations: 6.219 kB / 378.9 MB, free: 2.504 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedRamp): time 0.003035/0.00307, allocations: 1.485 MB / 380.4 MB, free: 1.016 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002086/0.003279, allocations: 31.84 kB / 380.5 MB, free: 0.9844 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.24e-05/0.003351, allocations: 7.938 kB / 380.5 MB, free: 0.9766 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 3.683e-05/0.003388, allocations: 3.938 kB / 380.5 MB, free: 0.9727 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 4.636e-05/0.003435, allocations: 3.938 kB / 380.5 MB, free: 0.9688 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002858/0.00372, allocations: 27.97 kB / 380.5 MB, free: 0.9414 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.000113/0.003833, allocations: 43.91 kB / 380.5 MB, free: 0.8984 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000128/0.003961, allocations: 11.98 kB / 380.6 MB, free: 0.8867 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.089e-05/0.004012, allocations: 11.94 kB / 380.6 MB, free: 0.875 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.168e-05/0.004064, allocations: 23.92 kB / 380.6 MB, free: 0.8516 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.121e-05/0.004085, allocations: 4 kB / 380.6 MB, free: 0.8477 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.055e-05/0.004096, allocations: 0 / 380.6 MB, free: 0.8477 MB / 302.1 MB Notification: Performance of combineBinaries: time 9.88e-05/0.004194, allocations: 79.23 kB / 380.7 MB, free: 0.7695 MB / 302.1 MB Notification: Performance of replaceArrayConstructors: time 3.054e-05/0.004225, allocations: 47.25 kB / 380.7 MB, free: 0.7227 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 2.488e-05/0.00425, allocations: 8 kB / 380.7 MB, free: 0.7148 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.307e-05/0.004263, allocations: 0 / 380.7 MB, free: 0.7148 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.0005447/0.004808, allocations: 312.8 kB / 381 MB, free: 296 kB / 302.1 MB Notification: Performance of [SIM] FunctionAlias: time 0.0001056/0.004913, allocations: 47.94 kB / 381.1 MB, free: 236 kB / 302.1 MB Notification: Performance of [SIM] Early Inline: time 0.0001482/0.005061, allocations: 124.2 kB / 381.2 MB, free: 84 kB / 302.1 MB Notification: Performance of [SIM] Simplify 1: time 0.1914/0.1964, allocations: 82.41 kB / 381.3 MB, free: 13.26 MB / 302.1 MB Notification: Performance of [SIM] Alias: time 0.0005182/0.197, allocations: 202.8 kB / 381.5 MB, free: 13.12 MB / 302.1 MB Notification: Performance of [SIM] Simplify 2: time 8.193e-05/0.197, allocations: 82.3 kB / 381.6 MB, free: 13.03 MB / 302.1 MB Notification: Performance of [SIM] Remove Stream: time 3.038e-05/0.1971, allocations: 43.28 kB / 381.6 MB, free: 12.98 MB / 302.1 MB Notification: Performance of [SIM] Detect States: time 0.0001783/0.1973, allocations: 103.8 kB / 381.7 MB, free: 12.86 MB / 302.1 MB Notification: Performance of [SIM] Events: time 7.426e-05/0.1973, allocations: 28.02 kB / 381.7 MB, free: 12.86 MB / 302.1 MB Notification: Performance of [SIM] Partitioning: time 0.0001471/0.1975, allocations: 63.09 kB / 381.8 MB, free: 12.84 MB / 302.1 MB Notification: Performance of [SIM] Causalize: time 0.0002402/0.1977, allocations: 121.5 kB / 381.9 MB, free: 12.82 MB / 302.1 MB Notification: Performance of [SIM] After Index Reduction Inline: time 0.0001197/0.1978, allocations: 118.5 kB / 382 MB, free: 12.82 MB / 302.1 MB Notification: Performance of [INI] Simplify: time 0.0001156/0.1979, allocations: 109.7 kB / 382.1 MB, free: 12.68 MB / 302.1 MB Notification: Performance of [INI] Inline: time 0.0001016/0.198, allocations: 101.6 kB / 382.2 MB, free: 12.67 MB / 302.1 MB Notification: Performance of [INI] Partitioning: time 6.331e-06/0.1981, allocations: 10.88 kB / 382.2 MB, free: 12.65 MB / 302.1 MB Notification: Performance of [INI] Cleanup: time 2.226e-05/0.1981, allocations: 16.69 kB / 382.3 MB, free: 12.65 MB / 302.1 MB Notification: Performance of [INI] Causalize: time 1.119e-05/0.1981, allocations: 4.938 kB / 382.3 MB, free: 12.65 MB / 302.1 MB Notification: Performance of [INI] Tearing: time 5.511e-06/0.1981, allocations: 1.375 kB / 382.3 MB, free: 12.65 MB / 302.1 MB Notification: Performance of [SIM] Initialization: time 3.2e-07/0.1981, allocations: 0 / 382.3 MB, free: 12.65 MB / 302.1 MB Notification: Performance of [SIM] Remove Dummies: time 4.608e-06/0.1981, allocations: 2.125 kB / 382.3 MB, free: 12.65 MB / 302.1 MB Notification: Performance of [SIM] Tearing: time 7.013e-06/0.1981, allocations: 1.781 kB / 382.3 MB, free: 12.65 MB / 302.1 MB Notification: Performance of [SIM] Categorize: time 8.035e-06/0.1981, allocations: 1.75 kB / 382.3 MB, free: 12.65 MB / 302.1 MB Notification: Performance of [SIM] Solve: time 0.0001137/0.1982, allocations: 63.05 kB / 382.3 MB, free: 12.64 MB / 302.1 MB Notification: Performance of [SIM] Jacobian: time 3.877e-06/0.1982, allocations: 3.281 kB / 382.3 MB, free: 12.64 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) {ramp.counter} * Number of discrete variables: ................. 5 (5) {$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 3.685e-05/0.1983, allocations: 30.58 kB / 382.4 MB, free: 12.63 MB / 302.1 MB Notification: Performance of SimCode: time 0.0004233/0.1987, allocations: 209.4 kB / 382.6 MB, free: 12.5 MB / 302.1 MB Notification: Performance of Templates: time 0.003173/0.2019, allocations: 0.5872 MB / 383.2 MB, free: 12.46 MB / 302.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedRamp.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedRamp.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedRamp.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedRamp.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedRamp.sim & ./Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedRamp -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedRamp.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedRamp_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/RealSignals/TickBasedRamp/TickBasedRamp.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedRamp.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.372582393698394]