Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked.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.001433/0.001433, 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.001805/0.001805, allocations: 211.5 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.542/1.542, allocations: 230.6 MB / 258.3 MB, free: 7.797 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.SampleClocked,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|sample1.y",fileNamePrefix="Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked") translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|sample1.y",fileNamePrefix="Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.704e-05/2.704e-05, allocations: 5.516 kB / 378.9 MB, free: 2.613 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked): time 0.002926/0.002953, allocations: 1.583 MB / 380.5 MB, free: 1.023 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001098/0.004051, allocations: 0.4948 MB / 381 MB, free: 0.5234 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.015e-05/0.004131, allocations: 7.938 kB / 381 MB, free: 0.5156 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 6.807e-05/0.004199, allocations: 3.938 kB / 381 MB, free: 0.5117 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001228/0.004322, allocations: 7.922 kB / 381 MB, free: 0.5039 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002984/0.004621, allocations: 57.08 kB / 381.1 MB, free: 460 kB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001312/0.004752, allocations: 67.77 kB / 381.2 MB, free: 392 kB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001155/0.004867, allocations: 15.97 kB / 381.2 MB, free: 376 kB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001238/0.004991, allocations: 27.92 kB / 381.2 MB, free: 348 kB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.597e-05/0.005037, allocations: 19.86 kB / 381.2 MB, free: 328 kB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.36e-05/0.005051, allocations: 4 kB / 381.2 MB, free: 324 kB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.643e-05/0.005087, allocations: 4 kB / 381.2 MB, free: 320 kB / 302.1 MB Notification: Performance of combineBinaries: time 9.891e-05/0.005186, allocations: 94.84 kB / 381.3 MB, free: 224 kB / 302.1 MB Notification: Performance of replaceArrayConstructors: time 4.279e-05/0.005229, allocations: 67.14 kB / 381.4 MB, free: 156 kB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 1.353e-05/0.005242, allocations: 7.938 kB / 381.4 MB, free: 148 kB / 302.1 MB Notification: Performance of FrontEnd: time 1.675e-05/0.005259, allocations: 4 kB / 381.4 MB, free: 144 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.183/0.1882, allocations: 313.1 kB / 381.7 MB, free: 12.98 MB / 302.1 MB Notification: Performance of [SIM] FunctionAlias: time 7.607e-05/0.1883, allocations: 35.16 kB / 381.7 MB, free: 12.95 MB / 302.1 MB Notification: Performance of [SIM] Early Inline: time 0.0001735/0.1885, allocations: 115.7 kB / 381.8 MB, free: 12.89 MB / 302.1 MB Notification: Performance of [SIM] Simplify 1: time 6.142e-05/0.1886, allocations: 73.38 kB / 381.9 MB, free: 12.8 MB / 302.1 MB Notification: Performance of [SIM] Alias: time 0.0004642/0.189, allocations: 207.4 kB / 382.1 MB, free: 12.66 MB / 302.1 MB Notification: Performance of [SIM] Simplify 2: time 4.212e-05/0.1891, allocations: 72.14 kB / 382.2 MB, free: 12.57 MB / 302.1 MB Notification: Performance of [SIM] Remove Stream: time 2.312e-05/0.1891, allocations: 42.97 kB / 382.2 MB, free: 12.52 MB / 302.1 MB Notification: Performance of [SIM] Detect States: time 6.47e-05/0.1892, allocations: 77.73 kB / 382.3 MB, free: 12.41 MB / 302.1 MB Notification: Performance of [SIM] Events: time 7.209e-05/0.1892, allocations: 19.33 kB / 382.3 MB, free: 12.41 MB / 302.1 MB Notification: Performance of [SIM] Partitioning: time 0.0001277/0.1894, allocations: 51.62 kB / 382.4 MB, free: 12.37 MB / 302.1 MB Notification: Performance of [SIM] Causalize: time 0.0001528/0.1895, allocations: 61.12 kB / 382.4 MB, free: 12.34 MB / 302.1 MB Notification: Performance of [SIM] After Index Reduction Inline: time 5.747e-05/0.1896, allocations: 58.97 kB / 382.5 MB, free: 12.34 MB / 302.1 MB Notification: Performance of [INI] Simplify: time 0.0001138/0.1897, allocations: 102.2 kB / 382.6 MB, free: 12.2 MB / 302.1 MB Notification: Performance of [INI] Inline: time 8.526e-05/0.1898, allocations: 88.27 kB / 382.7 MB, free: 12.19 MB / 302.1 MB Notification: Performance of [INI] Partitioning: time 8.967e-06/0.1898, allocations: 12.45 kB / 382.7 MB, free: 12.17 MB / 302.1 MB Notification: Performance of [INI] Cleanup: time 1.779e-05/0.1898, allocations: 10.11 kB / 382.7 MB, free: 12.17 MB / 302.1 MB Notification: Performance of [INI] Causalize: time 0.0001093/0.1899, allocations: 49.88 kB / 382.7 MB, free: 12.15 MB / 302.1 MB Notification: Performance of [INI] Tearing: time 1.212e-05/0.1899, allocations: 1.031 kB / 382.8 MB, free: 12.15 MB / 302.1 MB Notification: Performance of [SIM] Initialization: time 3.91e-07/0.1899, allocations: 0.5 kB / 382.8 MB, free: 12.15 MB / 302.1 MB Notification: Performance of [SIM] Remove Dummies: time 4.138e-06/0.1899, allocations: 1.625 kB / 382.8 MB, free: 12.15 MB / 302.1 MB Notification: Performance of [SIM] Tearing: time 2.785e-06/0.1899, allocations: 1.844 kB / 382.8 MB, free: 12.15 MB / 302.1 MB Notification: Performance of [SIM] Categorize: time 7.525e-06/0.1899, allocations: 3.906 kB / 382.8 MB, free: 12.15 MB / 302.1 MB Notification: Performance of [SIM] Solve: time 8.646e-05/0.19, allocations: 41.45 kB / 382.8 MB, free: 12.15 MB / 302.1 MB Notification: Performance of [SIM] Jacobian: time 7.725e-06/0.19, allocations: 0 / 382.8 MB, free: 12.15 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 3.888e-05/0.1901, allocations: 19.78 kB / 382.8 MB, free: 12.14 MB / 302.1 MB Notification: Performance of SimCode: time 0.0005522/0.1906, allocations: 248.3 kB / 383.1 MB, free: 12 MB / 302.1 MB Notification: Performance of Templates: time 0.02821/0.2188, allocations: 409.9 kB / 383.5 MB, free: 11.97 MB / 302.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked.sim & ./Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/RealSignals/SampleClocked/SampleClocked.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked.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.924591814167798]