Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.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.001372/0.001372, allocations: 99.59 kB / 21.2 MB, free: 0.6406 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.001514/0.001514, allocations: 220.4 kB / 24.5 MB, free: 3.922 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.589/1.589, allocations: 230.6 MB / 258.3 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.RealSignals.SubSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|sample1.y|subSample1.y",fileNamePrefix="Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample") translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.SubSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|sample1.y|subSample1.y",fileNamePrefix="Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 3.225e-05/3.225e-05, allocations: 6.219 kB / 378.9 MB, free: 2.496 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.SubSample): time 0.003036/0.003068, allocations: 1.587 MB / 380.5 MB, free: 0.9062 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001037/0.004105, allocations: 0.5104 MB / 381 MB, free: 400 kB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.951e-05/0.004185, allocations: 3.938 kB / 381 MB, free: 396 kB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 5.087e-05/0.004235, allocations: 3.938 kB / 381.1 MB, free: 392 kB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001402/0.004376, allocations: 11.92 kB / 381.1 MB, free: 380 kB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003131/0.004689, allocations: 59.81 kB / 381.1 MB, free: 320 kB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001424/0.004831, allocations: 83.75 kB / 381.2 MB, free: 236 kB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001136/0.004945, allocations: 12.17 kB / 381.2 MB, free: 224 kB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001351/0.00508, allocations: 43.83 kB / 381.3 MB, free: 180 kB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.821e-05/0.005138, allocations: 23.86 kB / 381.3 MB, free: 156 kB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.418e-05/0.005152, allocations: 0 / 381.3 MB, free: 156 kB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.917e-05/0.005191, allocations: 8 kB / 381.3 MB, free: 148 kB / 302.1 MB Notification: Performance of combineBinaries: time 0.0001163/0.005308, allocations: 106.7 kB / 381.4 MB, free: 40 kB / 302.1 MB Notification: Performance of replaceArrayConstructors: time 0.2105/0.2158, allocations: 77.83 kB / 381.5 MB, free: 13.16 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 4.572e-05/0.2158, allocations: 2.625 kB / 381.5 MB, free: 13.16 MB / 302.1 MB Notification: Performance of FrontEnd: time 6.232e-05/0.2159, allocations: 0 / 381.5 MB, free: 13.16 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: 5 (5) * Number of variables: 5 (5) Notification: Performance of [SIM] Bindings: time 0.0006961/0.2166, allocations: 368.6 kB / 381.8 MB, free: 12.89 MB / 302.1 MB Notification: Performance of [SIM] FunctionAlias: time 0.0001019/0.2167, allocations: 40.59 kB / 381.9 MB, free: 12.87 MB / 302.1 MB Notification: Performance of [SIM] Early Inline: time 0.0002612/0.2169, allocations: 138 kB / 382 MB, free: 12.81 MB / 302.1 MB Notification: Performance of [SIM] Simplify 1: time 0.0001116/0.2171, allocations: 75.2 kB / 382.1 MB, free: 12.71 MB / 302.1 MB Notification: Performance of [SIM] Alias: time 0.00075/0.2178, allocations: 246.8 kB / 382.3 MB, free: 12.56 MB / 302.1 MB Notification: Performance of [SIM] Simplify 2: time 9.732e-05/0.2179, allocations: 68.81 kB / 382.4 MB, free: 12.46 MB / 302.1 MB Notification: Performance of [SIM] Remove Stream: time 5.65e-05/0.218, allocations: 42.2 kB / 382.4 MB, free: 12.41 MB / 302.1 MB Notification: Performance of [SIM] Detect States: time 0.000154/0.2181, allocations: 88.59 kB / 382.5 MB, free: 12.3 MB / 302.1 MB Notification: Performance of [SIM] Events: time 0.0001426/0.2183, allocations: 15.14 kB / 382.5 MB, free: 12.3 MB / 302.1 MB Notification: Performance of [SIM] Partitioning: time 0.0003168/0.2186, allocations: 73.06 kB / 382.6 MB, free: 12.24 MB / 302.1 MB Notification: Performance of [SIM] Causalize: time 0.0003006/0.2189, allocations: 85.09 kB / 382.7 MB, free: 12.2 MB / 302.1 MB Notification: Performance of [SIM] After Index Reduction Inline: time 0.0001536/0.219, allocations: 58.78 kB / 382.7 MB, free: 12.19 MB / 302.1 MB Notification: Performance of [INI] Simplify: time 0.0002707/0.2193, allocations: 114.3 kB / 382.9 MB, free: 12.05 MB / 302.1 MB Notification: Performance of [INI] Inline: time 0.0001913/0.2195, allocations: 94.33 kB / 382.9 MB, free: 12.04 MB / 302.1 MB Notification: Performance of [INI] Partitioning: time 1.973e-05/0.2195, allocations: 10.33 kB / 383 MB, free: 12.02 MB / 302.1 MB Notification: Performance of [INI] Cleanup: time 4.295e-05/0.2196, allocations: 14.14 kB / 383 MB, free: 12.02 MB / 302.1 MB Notification: Performance of [INI] Causalize: time 0.0001951/0.2198, allocations: 48.22 kB / 383 MB, free: 12.01 MB / 302.1 MB Notification: Performance of [INI] Tearing: time 1.653e-05/0.2198, allocations: 4 kB / 383 MB, free: 12 MB / 302.1 MB Notification: Performance of [SIM] Initialization: time 3.336e-06/0.2198, allocations: 4.438 kB / 383 MB, free: 12 MB / 302.1 MB Notification: Performance of [SIM] Remove Dummies: time 8.456e-06/0.2198, allocations: 0 / 383 MB, free: 12 MB / 302.1 MB Notification: Performance of [SIM] Tearing: time 5.45e-06/0.2198, allocations: 2.562 kB / 383 MB, free: 12 MB / 302.1 MB Notification: Performance of [SIM] Categorize: time 1.886e-05/0.2198, allocations: 3 kB / 383 MB, free: 12 MB / 302.1 MB Notification: Performance of [SIM] Solve: time 0.0001682/0.22, allocations: 45.88 kB / 383.1 MB, free: 12 MB / 302.1 MB Notification: Performance of [SIM] Jacobian: time 1.787e-05/0.22, allocations: 4 kB / 383.1 MB, free: 12 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: ............................. 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: ........... 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 8.354e-05/0.2201, allocations: 20.7 kB / 383.1 MB, free: 11.99 MB / 302.1 MB Notification: Performance of SimCode: time 0.001189/0.2213, allocations: 266.6 kB / 383.4 MB, free: 11.84 MB / 302.1 MB Notification: Performance of Templates: time 0.01105/0.2323, allocations: 451.7 kB / 383.8 MB, free: 11.79 MB / 302.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample.sim & ./Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/RealSignals/SubSample/SubSample.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.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.595345451962203]