Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockToTriggerHold.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.001693/0.001693, allocations: 103.6 kB / 21.25 MB, free: 0.5664 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.002024/0.002024, allocations: 212.5 kB / 24.55 MB, free: 3.824 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.591/1.591, allocations: 230.6 MB / 258.3 MB, free: 7.766 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.AssignClockToTriggerHold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5010,variableFilter="time|sample1.y|triggeredSampler.y",fileNamePrefix="Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockToTriggerHold") translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockToTriggerHold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5010,variableFilter="time|sample1.y|triggeredSampler.y",fileNamePrefix="Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockToTriggerHold") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 3.272e-05/3.272e-05, allocations: 5.375 kB / 379.1 MB, free: 2.449 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockToTriggerHold): time 0.00466/0.004692, allocations: 1.638 MB / 380.7 MB, free: 0.8008 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001563/0.006255, allocations: 0.5415 MB / 381.2 MB, free: 260 kB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.703e-05/0.006352, allocations: 0 / 381.2 MB, free: 260 kB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 7.493e-05/0.006427, allocations: 11.86 kB / 381.3 MB, free: 248 kB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001737/0.006601, allocations: 11.88 kB / 381.3 MB, free: 236 kB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004709/0.007072, allocations: 75.78 kB / 381.3 MB, free: 160 kB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002129/0.007285, allocations: 91.75 kB / 381.4 MB, free: 68 kB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001751/0.00746, allocations: 32.08 kB / 381.5 MB, free: 32 kB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.2366/0.2441, allocations: 47.47 kB / 381.5 MB, free: 13.07 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001091/0.2442, allocations: 24.05 kB / 381.5 MB, free: 13.07 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.515e-05/0.2442, allocations: 2.875 kB / 381.5 MB, free: 13.07 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.762e-05/0.2443, allocations: 14.59 kB / 381.5 MB, free: 13.07 MB / 302.1 MB Notification: Performance of combineBinaries: time 0.0001728/0.2445, allocations: 141.2 kB / 381.7 MB, free: 13 MB / 302.1 MB Notification: Performance of replaceArrayConstructors: time 6.941e-05/0.2445, allocations: 102.4 kB / 381.8 MB, free: 12.94 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 4.216e-05/0.2446, allocations: 4.375 kB / 381.8 MB, free: 12.94 MB / 302.1 MB Notification: Performance of FrontEnd: time 5.776e-05/0.2446, allocations: 10.31 kB / 381.8 MB, free: 12.94 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: 11 (11) * Number of variables: 11 (11) Notification: Performance of [SIM] Bindings: time 0.0006981/0.2453, allocations: 432.1 kB / 382.2 MB, free: 12.61 MB / 302.1 MB Notification: Performance of [SIM] FunctionAlias: time 0.0001211/0.2455, allocations: 53.86 kB / 382.3 MB, free: 12.57 MB / 302.1 MB Notification: Performance of [SIM] Early Inline: time 0.0002422/0.2457, allocations: 204.2 kB / 382.5 MB, free: 12.52 MB / 302.1 MB Notification: Performance of [SIM] Simplify 1: time 9.27e-05/0.2458, allocations: 83.3 kB / 382.6 MB, free: 12.42 MB / 302.1 MB Notification: Performance of [SIM] Alias: time 0.0007456/0.2465, allocations: 386 kB / 382.9 MB, free: 12.23 MB / 302.1 MB Notification: Performance of [SIM] Simplify 2: time 7.088e-05/0.2466, allocations: 73.78 kB / 383 MB, free: 12.14 MB / 302.1 MB Notification: Performance of [SIM] Remove Stream: time 3.993e-05/0.2466, allocations: 48.52 kB / 383.1 MB, free: 12.08 MB / 302.1 MB Notification: Performance of [SIM] Detect States: time 0.0001974/0.2468, allocations: 124 kB / 383.2 MB, free: 11.97 MB / 302.1 MB Notification: Performance of [SIM] Events: time 7.55e-05/0.2469, allocations: 22.58 kB / 383.2 MB, free: 11.97 MB / 302.1 MB Notification: Performance of [SIM] Partitioning: time 0.0001814/0.2471, allocations: 94.84 kB / 383.3 MB, free: 11.92 MB / 302.1 MB Notification: Performance of [SIM] Causalize: time 0.0002428/0.2473, allocations: 135.2 kB / 383.4 MB, free: 11.87 MB / 302.1 MB Notification: Performance of [SIM] After Index Reduction Inline: time 0.0001105/0.2475, allocations: 112.5 kB / 383.5 MB, free: 11.86 MB / 302.1 MB Notification: Performance of [INI] Simplify: time 0.0002122/0.2477, allocations: 156.6 kB / 383.7 MB, free: 11.71 MB / 302.1 MB Notification: Performance of [INI] Inline: time 0.0001636/0.2478, allocations: 160.8 kB / 383.8 MB, free: 11.71 MB / 302.1 MB Notification: Performance of [INI] Partitioning: time 1.432e-05/0.2478, allocations: 15.53 kB / 383.9 MB, free: 11.69 MB / 302.1 MB Notification: Performance of [INI] Cleanup: time 2.877e-05/0.2479, allocations: 23.91 kB / 383.9 MB, free: 11.69 MB / 302.1 MB Warning: NBResolveSingularities.balanceInitialization reports an overdetermined initialization! Checking for consistency is not yet supported, following equations had to be removed: [SCAL] (1) clockToTrigger.y3 = clockToTrigger.y_start ($RES_SRT_20); Notification: Performance of [INI] Causalize: time 0.0004544/0.2483, allocations: 282.6 kB / 384.2 MB, free: 11.63 MB / 302.1 MB Notification: Performance of [INI] Tearing: time 1.733e-05/0.2483, allocations: 8.188 kB / 384.2 MB, free: 11.62 MB / 302.1 MB Notification: Performance of [SIM] Initialization: time 4e-07/0.2483, allocations: 0 / 384.2 MB, free: 11.62 MB / 302.1 MB Notification: Performance of [SIM] DAE-Mode: time 6.723e-05/0.2484, allocations: 41.83 kB / 384.2 MB, free: 11.59 MB / 302.1 MB Notification: Performance of [SIM] Remove Dummies: time 6.612e-06/0.2484, allocations: 0.75 kB / 384.2 MB, free: 11.59 MB / 302.1 MB Notification: Performance of [SIM] Tearing: time 5.2e-06/0.2484, allocations: 3.219 kB / 384.2 MB, free: 11.59 MB / 302.1 MB Notification: Performance of [SIM] Categorize: time 1.1e-05/0.2484, allocations: 8.375 kB / 384.2 MB, free: 11.59 MB / 302.1 MB Notification: Performance of [SIM] Solve: time 0.0001733/0.2486, allocations: 105.6 kB / 384.3 MB, free: 11.58 MB / 302.1 MB Notification: Performance of [SIM] Jacobian: time 0.0001168/0.2487, allocations: 176.4 kB / 384.5 MB, free: 11.39 MB / 302.1 MB Notification: Partition statistics after passing the back-end: * Number of ODE partitions: ..................... 0 * Number of algebraic partitions: ............... 1 * 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: .................... 2 (2) {clockToTrigger.uu, triggeredSampler.y} * Number of clocked states: ..................... 1 (1) {clockToTrigger.y2} * Number of discrete variables: ................. 4 (4) {triggeredSampler.trigger, clockToTrigger.y3, $SEV_0, $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: ........... 5 (scalar:5, array:0, record:0) * Number of multi strong components: ............ 2 (algorithm:0, when:2, 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: ........... 11 (scalar:11, 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 0.0001146/0.2488, allocations: 29.2 kB / 384.5 MB, free: 11.38 MB / 302.1 MB Notification: Performance of SimCode: time 0.0007716/0.2496, allocations: 341.1 kB / 384.9 MB, free: 11.2 MB / 302.1 MB Notification: Performance of Templates: time 0.003791/0.2534, allocations: 0.6194 MB / 385.5 MB, free: 11.12 MB / 302.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockToTriggerHold.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockToTriggerHold.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockToTriggerHold.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockToTriggerHold.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockToTriggerHold.sim & ./Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockToTriggerHold -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockToTriggerHold.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 4.863438042986672] Failed to read output from testmodel.py, exit status != 0: ['time', 'sample1.y', 'triggeredSampler.y'] 0.26342358998954296 0.27462648100000003 0.027025669000000002 Calling exit ...