Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001501/0.001501, allocations: 107.6 kB / 21.25 MB, free: 416 kB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001778/0.001778, allocations: 206.7 kB / 24.55 MB, free: 3.727 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.622/1.622, allocations: 230.5 MB / 258.2 MB, free: 7.734 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_trunk_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_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 3.28e-05/3.28e-05, allocations: 2.281 kB / 379 MB, free: 2.426 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine): time 0.003436/0.003468, allocations: 1.508 MB / 380.6 MB, free: 0.9062 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001099/0.004567, allocations: 454.8 kB / 381 MB, free: 468 kB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.567e-05/0.004643, allocations: 4 kB / 381 MB, free: 464 kB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 3.486e-05/0.004678, allocations: 3.938 kB / 381 MB, free: 460 kB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 8.722e-05/0.004765, allocations: 7.875 kB / 381 MB, free: 452 kB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000328/0.005093, allocations: 27.97 kB / 381 MB, free: 424 kB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001176/0.005211, allocations: 43.84 kB / 381.1 MB, free: 380 kB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001193/0.00533, allocations: 11.98 kB / 381.1 MB, free: 368 kB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000168/0.005498, allocations: 35.84 kB / 381.1 MB, free: 332 kB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.654e-05/0.005554, allocations: 15.88 kB / 381.1 MB, free: 316 kB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.644e-05/0.005571, allocations: 4 kB / 381.2 MB, free: 312 kB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.086e-05/0.005612, allocations: 4 kB / 381.2 MB, free: 308 kB / 302.1 MB Notification: Performance of combineBinaries: time 0.0001067/0.005719, allocations: 79.14 kB / 381.2 MB, free: 228 kB / 302.1 MB Notification: Performance of replaceArrayConstructors: time 4.687e-05/0.005765, allocations: 55.25 kB / 381.3 MB, free: 172 kB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 2.482e-05/0.00579, allocations: 4 kB / 381.3 MB, free: 168 kB / 302.1 MB Notification: Performance of FrontEnd: time 1.586e-05/0.005806, allocations: 0 / 381.3 MB, free: 168 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.2435/0.2493, allocations: 311.8 kB / 381.6 MB, free: 13 MB / 302.1 MB Notification: Performance of [SIM] FunctionAlias: time 7.438e-05/0.2494, allocations: 39.31 kB / 381.6 MB, free: 12.98 MB / 302.1 MB Notification: Performance of [SIM] Early Inline: time 0.0001837/0.2496, allocations: 122.7 kB / 381.8 MB, free: 12.92 MB / 302.1 MB Notification: Performance of [SIM] Simplify 1: time 7.898e-05/0.2497, allocations: 72.86 kB / 381.8 MB, free: 12.82 MB / 302.1 MB Notification: Performance of [SIM] Alias: time 0.0004727/0.2502, allocations: 201.7 kB / 382 MB, free: 12.68 MB / 302.1 MB Notification: Performance of [SIM] Simplify 2: time 5.06e-05/0.2502, allocations: 67.45 kB / 382.1 MB, free: 12.59 MB / 302.1 MB Notification: Performance of [SIM] Remove Stream: time 2.85e-05/0.2502, allocations: 47.58 kB / 382.1 MB, free: 12.54 MB / 302.1 MB Notification: Performance of [SIM] Detect States: time 0.0001432/0.2504, allocations: 92.86 kB / 382.2 MB, free: 12.42 MB / 302.1 MB Notification: Performance of [SIM] Events: time 6.5e-05/0.2504, allocations: 15.92 kB / 382.2 MB, free: 12.42 MB / 302.1 MB Notification: Performance of [SIM] Partitioning: time 0.0001312/0.2506, allocations: 48.94 kB / 382.3 MB, free: 12.4 MB / 302.1 MB Notification: Performance of [SIM] Causalize: time 0.0001794/0.2508, allocations: 79.14 kB / 382.4 MB, free: 12.39 MB / 302.1 MB Notification: Performance of [SIM] After Index Reduction Inline: time 7.474e-05/0.2508, allocations: 68.61 kB / 382.4 MB, free: 12.38 MB / 302.1 MB Notification: Performance of [INI] Simplify: time 0.0001084/0.2509, allocations: 109 kB / 382.5 MB, free: 12.24 MB / 302.1 MB Notification: Performance of [INI] Inline: time 7.741e-05/0.251, allocations: 75.14 kB / 382.6 MB, free: 12.23 MB / 302.1 MB Notification: Performance of [INI] Partitioning: time 7.273e-06/0.251, allocations: 9.531 kB / 382.6 MB, free: 12.21 MB / 302.1 MB Notification: Performance of [INI] Cleanup: time 1.916e-05/0.251, allocations: 7.641 kB / 382.6 MB, free: 12.21 MB / 302.1 MB Notification: Performance of [INI] Causalize: time 7.544e-06/0.251, allocations: 2.375 kB / 382.6 MB, free: 12.21 MB / 302.1 MB Notification: Performance of [INI] Tearing: time 6.272e-06/0.2511, allocations: 0.5938 kB / 382.6 MB, free: 12.21 MB / 302.1 MB Notification: Performance of [SIM] Initialization: time 7.22e-07/0.2511, allocations: 0.875 kB / 382.6 MB, free: 12.21 MB / 302.1 MB Notification: Performance of [SIM] DAE-Mode: time 2.314e-06/0.2511, allocations: 1.5 kB / 382.6 MB, free: 12.21 MB / 302.1 MB Notification: Performance of [SIM] Remove Dummies: time 4.368e-06/0.2511, allocations: 4.25 kB / 382.6 MB, free: 12.21 MB / 302.1 MB Notification: Performance of [SIM] Tearing: time 1.024e-05/0.2511, allocations: 12.38 kB / 382.7 MB, free: 12.21 MB / 302.1 MB Notification: Performance of [SIM] Categorize: time 6.953e-06/0.2511, allocations: 0.8438 kB / 382.7 MB, free: 12.21 MB / 302.1 MB Notification: Performance of [SIM] Solve: time 9.341e-05/0.2512, allocations: 35.53 kB / 382.7 MB, free: 12.21 MB / 302.1 MB Notification: Performance of [SIM] Jacobian: time 6.893e-06/0.2512, allocations: 4 kB / 382.7 MB, free: 12.21 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.674e-05/0.2512, allocations: 15.3 kB / 382.7 MB, free: 12.2 MB / 302.1 MB Notification: Performance of SimCode: time 0.0005201/0.2517, allocations: 211.2 kB / 382.9 MB, free: 12.08 MB / 302.1 MB Notification: Performance of Templates: time 0.003443/0.2552, allocations: 451.9 kB / 383.4 MB, free: 12.04 MB / 302.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/RealSignals/TimeBasedSine/TimeBasedSine.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] "" Variables in the reference:time,assignClock1.y Variables in the result:assignClock1.y,periodicClock1.period,periodicClock1.useSolver,sine.amplitude,sine.f,sine.offset,sine.phase,sine.startTime,time [Calling sys.exit(0), Time elapsed: 4.807766801968683]