Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample.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.001381/0.001381, 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.001541/0.001541, 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.607/1.607, allocations: 230.6 MB / 258.2 MB, free: 7.793 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.ClockSignals.SubSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|sample1.y",fileNamePrefix="Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample") translateModel(Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|sample1.y",fileNamePrefix="Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.339e-05/2.339e-05, allocations: 5.375 kB / 378.9 MB, free: 2.52 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample): time 0.002965/0.002988, allocations: 1.572 MB / 380.5 MB, free: 0.9414 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001077/0.004065, allocations: 0.5104 MB / 381 MB, free: 436 kB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.679e-05/0.004152, allocations: 3.938 kB / 381 MB, free: 432 kB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 5.799e-05/0.00421, allocations: 7.922 kB / 381 MB, free: 424 kB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001506/0.00436, allocations: 15.88 kB / 381 MB, free: 408 kB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003142/0.004675, allocations: 55.81 kB / 381.1 MB, free: 352 kB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001459/0.004821, allocations: 67.83 kB / 381.1 MB, free: 284 kB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001204/0.004941, allocations: 16.16 kB / 381.2 MB, free: 268 kB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001333/0.005074, allocations: 39.86 kB / 381.2 MB, free: 228 kB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.233e-05/0.005137, allocations: 27.84 kB / 381.2 MB, free: 200 kB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.515e-05/0.005152, allocations: 0 / 381.2 MB, free: 200 kB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.994e-05/0.005192, allocations: 8 kB / 381.2 MB, free: 192 kB / 302.1 MB Notification: Performance of combineBinaries: time 0.0001093/0.005301, allocations: 106.7 kB / 381.3 MB, free: 84 kB / 302.1 MB Notification: Performance of replaceArrayConstructors: time 4.865e-05/0.00535, allocations: 75 kB / 381.4 MB, free: 8 kB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 1.306e-05/0.005363, allocations: 0 / 381.4 MB, free: 8 kB / 302.1 MB Notification: Performance of FrontEnd: time 1.545e-05/0.005378, allocations: 4 kB / 381.4 MB, free: 4 kB / 302.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 (3) * Number of variables: 3 (3) Notification: Performance of [SIM] Bindings: time 0.2007/0.2061, allocations: 341.4 kB / 381.8 MB, free: 12.96 MB / 302.1 MB Notification: Performance of [SIM] FunctionAlias: time 6.484e-05/0.2061, allocations: 38.73 kB / 381.8 MB, free: 12.94 MB / 302.1 MB Notification: Performance of [SIM] Early Inline: time 0.0001603/0.2063, allocations: 120.8 kB / 381.9 MB, free: 12.88 MB / 302.1 MB Notification: Performance of [SIM] Simplify 1: time 5.76e-05/0.2063, allocations: 72.39 kB / 382 MB, free: 12.79 MB / 302.1 MB Notification: Performance of [SIM] Alias: time 0.000459/0.2068, allocations: 255.7 kB / 382.2 MB, free: 12.62 MB / 302.1 MB Notification: Performance of [SIM] Simplify 2: time 4.042e-05/0.2068, allocations: 67.84 kB / 382.3 MB, free: 12.53 MB / 302.1 MB Notification: Performance of [SIM] Remove Stream: time 2.232e-05/0.2069, allocations: 40.73 kB / 382.3 MB, free: 12.48 MB / 302.1 MB Notification: Performance of [SIM] Detect States: time 6.15e-05/0.2069, allocations: 78.78 kB / 382.4 MB, free: 12.37 MB / 302.1 MB Notification: Performance of [SIM] Events: time 6.46e-05/0.207, allocations: 12.47 kB / 382.4 MB, free: 12.37 MB / 302.1 MB Notification: Performance of [SIM] Partitioning: time 0.0001377/0.2071, allocations: 58.16 kB / 382.5 MB, free: 12.33 MB / 302.1 MB Notification: Performance of [SIM] Causalize: time 0.0001167/0.2072, allocations: 63.02 kB / 382.5 MB, free: 12.3 MB / 302.1 MB Notification: Performance of [SIM] After Index Reduction Inline: time 6.037e-05/0.2073, allocations: 66.61 kB / 382.6 MB, free: 12.29 MB / 302.1 MB Notification: Performance of [INI] Simplify: time 0.0001163/0.2074, allocations: 103.5 kB / 382.7 MB, free: 12.15 MB / 302.1 MB Notification: Performance of [INI] Inline: time 7.967e-05/0.2075, allocations: 90.11 kB / 382.8 MB, free: 12.14 MB / 302.1 MB Notification: Performance of [INI] Partitioning: time 8.887e-06/0.2075, allocations: 10.72 kB / 382.8 MB, free: 12.13 MB / 302.1 MB Notification: Performance of [INI] Cleanup: time 1.881e-05/0.2075, allocations: 15.52 kB / 382.8 MB, free: 12.12 MB / 302.1 MB Notification: Performance of [INI] Causalize: time 9.887e-05/0.2076, allocations: 44.78 kB / 382.9 MB, free: 12.11 MB / 302.1 MB Notification: Performance of [INI] Tearing: time 1.057e-05/0.2076, allocations: 4.25 kB / 382.9 MB, free: 12.11 MB / 302.1 MB Notification: Performance of [SIM] Initialization: time 3.8e-07/0.2076, allocations: 0.5312 kB / 382.9 MB, free: 12.11 MB / 302.1 MB Notification: Performance of [SIM] Remove Dummies: time 3.236e-06/0.2076, allocations: 1.625 kB / 382.9 MB, free: 12.11 MB / 302.1 MB Notification: Performance of [SIM] Tearing: time 1.933e-06/0.2076, allocations: 4.281 kB / 382.9 MB, free: 12.11 MB / 302.1 MB Notification: Performance of [SIM] Categorize: time 8.336e-06/0.2076, allocations: 5.344 kB / 382.9 MB, free: 12.11 MB / 302.1 MB Notification: Performance of [SIM] Solve: time 7.922e-05/0.2077, allocations: 35.88 kB / 382.9 MB, free: 12.11 MB / 302.1 MB Notification: Performance of [SIM] Jacobian: time 9.378e-06/0.2077, allocations: 1.219 kB / 382.9 MB, free: 12.11 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: ......... 1 * 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: ..................... 0 (0) {} * Number of discrete variables: ................. 1 (1) {$TEV_0} * Number of clocks: ............................. 2 (2) {periodicClock.c, subSample1.y} * Number of top-level inputs: ................... 0 (0) {} Notification: [Simulation] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 2 (scalar:2, 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: ........... 2 (scalar:2, 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.283e-05/0.2078, allocations: 21.05 kB / 382.9 MB, free: 12.1 MB / 302.1 MB Notification: Performance of SimCode: time 0.0005428/0.2083, allocations: 251.1 kB / 383.2 MB, free: 11.96 MB / 302.1 MB Notification: Performance of Templates: time 0.002917/0.2112, allocations: 401.7 kB / 383.6 MB, free: 11.92 MB / 302.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample.sim & ./Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/ClockSignals/SubSample/SubSample.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample.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.709701232146472]