Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine.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.001318/0.001318, 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.001467/0.001467, allocations: 210.8 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.444/1.444, 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.TimeBasedSine,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine") translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.378e-05/2.378e-05, allocations: 2.281 kB / 378.9 MB, free: 2.527 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine): time 0.002725/0.002749, allocations: 1.505 MB / 380.4 MB, free: 1.016 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.000887/0.003636, allocations: 454.8 kB / 380.9 MB, free: 0.5664 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.713e-05/0.003703, allocations: 0 / 380.9 MB, free: 0.5664 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 2.875e-05/0.003732, allocations: 3.938 kB / 380.9 MB, free: 0.5625 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 6.779e-05/0.003799, allocations: 7.938 kB / 380.9 MB, free: 0.5547 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002833/0.004083, allocations: 38.78 kB / 380.9 MB, free: 0.5195 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001044/0.004187, allocations: 47.78 kB / 381 MB, free: 484 kB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001146/0.004302, allocations: 15.97 kB / 381 MB, free: 468 kB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001312/0.004433, allocations: 19.88 kB / 381 MB, free: 448 kB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.698e-05/0.00448, allocations: 19.92 kB / 381 MB, free: 428 kB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.461e-05/0.004494, allocations: 0 / 381 MB, free: 428 kB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.299e-05/0.004547, allocations: 12 kB / 381 MB, free: 416 kB / 302.1 MB Notification: Performance of combineBinaries: time 8.982e-05/0.004637, allocations: 79.09 kB / 381.1 MB, free: 336 kB / 302.1 MB Notification: Performance of replaceArrayConstructors: time 3.299e-05/0.00467, allocations: 51.31 kB / 381.2 MB, free: 284 kB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 1.993e-05/0.00469, allocations: 0 / 381.2 MB, free: 284 kB / 302.1 MB Notification: Performance of FrontEnd: time 1.511e-05/0.004705, allocations: 7.984 kB / 381.2 MB, free: 276 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: 4 (4) * Number of variables: 4 (4) Notification: Performance of [SIM] Bindings: time 0.1739/0.1786, allocations: 320.4 kB / 381.5 MB, free: 13.11 MB / 302.1 MB Notification: Performance of [SIM] FunctionAlias: time 6.561e-05/0.1787, allocations: 34.61 kB / 381.5 MB, free: 13.08 MB / 302.1 MB Notification: Performance of [SIM] Early Inline: time 0.0001542/0.1788, allocations: 126.8 kB / 381.6 MB, free: 13.02 MB / 302.1 MB Notification: Performance of [SIM] Simplify 1: time 5.77e-05/0.1789, allocations: 69.64 kB / 381.7 MB, free: 12.93 MB / 302.1 MB Notification: Performance of [SIM] Alias: time 0.0004174/0.1793, allocations: 197.7 kB / 381.9 MB, free: 12.79 MB / 302.1 MB Notification: Performance of [SIM] Simplify 2: time 4.422e-05/0.1794, allocations: 73.19 kB / 382 MB, free: 12.7 MB / 302.1 MB Notification: Performance of [SIM] Remove Stream: time 2.412e-05/0.1794, allocations: 43.52 kB / 382 MB, free: 12.64 MB / 302.1 MB Notification: Performance of [SIM] Detect States: time 0.0001369/0.1795, allocations: 90.14 kB / 382.1 MB, free: 12.53 MB / 302.1 MB Notification: Performance of [SIM] Events: time 6.393e-05/0.1796, allocations: 12.25 kB / 382.1 MB, free: 12.53 MB / 302.1 MB Notification: Performance of [SIM] Partitioning: time 0.00012/0.1797, allocations: 56.66 kB / 382.2 MB, free: 12.51 MB / 302.1 MB Notification: Performance of [SIM] Causalize: time 0.0001404/0.1798, allocations: 79.95 kB / 382.3 MB, free: 12.49 MB / 302.1 MB Notification: Performance of [SIM] After Index Reduction Inline: time 6.733e-05/0.1799, allocations: 67.98 kB / 382.3 MB, free: 12.49 MB / 302.1 MB Notification: Performance of [INI] Simplify: time 8.503e-05/0.18, allocations: 101.4 kB / 382.4 MB, free: 12.34 MB / 302.1 MB Notification: Performance of [INI] Inline: time 6.402e-05/0.1801, allocations: 76.48 kB / 382.5 MB, free: 12.34 MB / 302.1 MB Notification: Performance of [INI] Partitioning: time 5.55e-06/0.1801, allocations: 8.75 kB / 382.5 MB, free: 12.32 MB / 302.1 MB Notification: Performance of [INI] Cleanup: time 1.707e-05/0.1801, allocations: 13.08 kB / 382.5 MB, free: 12.32 MB / 302.1 MB Notification: Performance of [INI] Causalize: time 9.418e-06/0.1801, allocations: 4.906 kB / 382.5 MB, free: 12.32 MB / 302.1 MB Notification: Performance of [INI] Tearing: time 6.392e-06/0.1801, allocations: 0 / 382.5 MB, free: 12.32 MB / 302.1 MB Notification: Performance of [SIM] Initialization: time 3.31e-07/0.1801, allocations: 1.031 kB / 382.5 MB, free: 12.32 MB / 302.1 MB Notification: Performance of [SIM] Remove Dummies: time 3.266e-06/0.1801, allocations: 0 / 382.5 MB, free: 12.32 MB / 302.1 MB Notification: Performance of [SIM] Tearing: time 7.554e-06/0.1801, allocations: 13.12 kB / 382.5 MB, free: 12.32 MB / 302.1 MB Notification: Performance of [SIM] Categorize: time 5.921e-06/0.1801, allocations: 2.75 kB / 382.5 MB, free: 12.32 MB / 302.1 MB Notification: Performance of [SIM] Solve: time 7.726e-05/0.1802, allocations: 35.47 kB / 382.6 MB, free: 12.32 MB / 302.1 MB Notification: Performance of [SIM] Jacobian: time 4.608e-06/0.1802, allocations: 0 / 382.6 MB, free: 12.32 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: ..................... 0 (0) {} * Number of discrete variables: ................. 2 (2) {$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.084e-05/0.1802, allocations: 28.67 kB / 382.6 MB, free: 12.31 MB / 302.1 MB Notification: Performance of SimCode: time 0.0004735/0.1807, allocations: 217 kB / 382.8 MB, free: 12.18 MB / 302.1 MB Notification: Performance of Templates: time 0.002912/0.1836, allocations: 476.5 kB / 383.3 MB, free: 12.14 MB / 302.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine.sim & ./Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/RealSignals/TimeBasedSine/TimeBasedSine.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine.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.246966837905347]