Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Blocks.OnDelay.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.001595/0.001595, allocations: 95.66 kB / 21.25 MB, free: 428 kB / 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.002026/0.002026, allocations: 211.2 kB / 24.55 MB, free: 3.723 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.487/1.487, allocations: 230.6 MB / 258.3 MB, free: 7.789 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2302/0.2302, allocations: 46.97 MB / 361.7 MB, free: 4.102 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) 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(ModelicaTest.Blocks.OnDelay,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5020,variableFilter="time|booleanTable.y|onDelay1.delaySignal|onDelay1.t_next|onDelay1.u|onDelay2.delaySignal|onDelay2.t_next|onDelay2.u|onDelay3.delaySignal|onDelay3.t_next|onDelay3.u",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Blocks.OnDelay") translateModel(ModelicaTest.Blocks.OnDelay,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5020,variableFilter="time|booleanTable.y|onDelay1.delaySignal|onDelay1.t_next|onDelay1.u|onDelay2.delaySignal|onDelay2.t_next|onDelay2.u|onDelay3.delaySignal|onDelay3.t_next|onDelay3.u",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Blocks.OnDelay") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.377e-05/2.377e-05, allocations: 2.281 kB / 0.4974 GB, free: 7.262 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.OnDelay): time 0.003982/0.004006, allocations: 1.877 MB / 0.4992 GB, free: 5.367 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002367/0.006373, allocations: 1.126 MB / 0.5003 GB, free: 4.234 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001614/0.006534, allocations: 4 kB / 0.5003 GB, free: 4.23 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000755/0.007289, allocations: 187.4 kB / 0.5005 GB, free: 4.047 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005811/0.00787, allocations: 167.3 kB / 0.5007 GB, free: 3.883 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004949/0.008365, allocations: 167.5 kB / 0.5008 GB, free: 3.719 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005244/0.008889, allocations: 323.3 kB / 0.5011 GB, free: 3.402 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001447/0.009034, allocations: 29.78 kB / 0.5012 GB, free: 3.375 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003255/0.00936, allocations: 135.5 kB / 0.5013 GB, free: 3.242 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002132/0.009573, allocations: 123.5 kB / 0.5014 GB, free: 3.121 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 4.313e-05/0.009616, allocations: 16 kB / 0.5014 GB, free: 3.105 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000181/0.009797, allocations: 67.91 kB / 0.5015 GB, free: 3.039 MB / 366.1 MB Notification: Performance of combineBinaries: time 0.0004126/0.01021, allocations: 400.5 kB / 0.5019 GB, free: 2.645 MB / 366.1 MB Notification: Performance of replaceArrayConstructors: time 0.0002301/0.01044, allocations: 225.1 kB / 0.5021 GB, free: 2.422 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 7.427e-05/0.01051, allocations: 19.94 kB / 0.5021 GB, free: 2.402 MB / 366.1 MB Notification: Performance of FrontEnd: time 4.269e-05/0.01056, allocations: 7.938 kB / 0.5021 GB, free: 2.395 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 21 (18) * Number of variables: 21 (21) Notification: Performance of [SIM] Bindings: time 0.001329/0.01189, allocations: 0.9213 MB / 0.503 GB, free: 1.348 MB / 366.1 MB Notification: Performance of [SIM] FunctionAlias: time 0.0002013/0.01209, allocations: 97.22 kB / 0.5031 GB, free: 1.238 MB / 366.1 MB Notification: Performance of [SIM] Early Inline: time 0.0004963/0.01258, allocations: 428 kB / 0.5035 GB, free: 0.793 MB / 366.1 MB Notification: Performance of [SIM] Simplify 1: time 0.000251/0.01283, allocations: 156.5 kB / 0.5037 GB, free: 0.5938 MB / 366.1 MB Notification: Performance of [SIM] Alias: time 0.0008714/0.01371, allocations: 0.4933 MB / 0.5041 GB, free: 24 kB / 366.1 MB Notification: Performance of [SIM] Simplify 2: time 0.0002124/0.01392, allocations: 137.3 kB / 0.5043 GB, free: 15.84 MB / 382.1 MB Notification: Performance of [SIM] Remove Stream: time 0.0001206/0.01404, allocations: 100.3 kB / 0.5044 GB, free: 15.71 MB / 382.1 MB Notification: Performance of [SIM] Detect States: time 0.0003975/0.01444, allocations: 240.5 kB / 0.5046 GB, free: 15.43 MB / 382.1 MB Notification: Performance of [SIM] Events: time 0.0002207/0.01466, allocations: 102.2 kB / 0.5047 GB, free: 15.33 MB / 382.1 MB Notification: Performance of [SIM] Partitioning: time 0.0003838/0.01504, allocations: 260.7 kB / 0.5049 GB, free: 15.05 MB / 382.1 MB Notification: Performance of [SIM] Causalize: time 0.0007084/0.01575, allocations: 413.8 kB / 0.5053 GB, free: 14.63 MB / 382.1 MB Notification: Performance of [SIM] After Index Reduction Inline: time 0.000488/0.01624, allocations: 447.6 kB / 0.5058 GB, free: 14.2 MB / 382.1 MB Notification: Performance of [INI] Simplify: time 0.002685/0.01892, allocations: 0.5447 MB / 0.5063 GB, free: 13.61 MB / 382.1 MB Notification: Performance of [INI] Inline: time 0.0008162/0.01974, allocations: 0.6181 MB / 0.5069 GB, free: 12.99 MB / 382.1 MB Notification: Performance of [INI] Partitioning: time 4.184e-05/0.01978, allocations: 18.75 kB / 0.5069 GB, free: 12.96 MB / 382.1 MB Notification: Performance of [INI] Cleanup: time 0.0002706/0.02005, allocations: 171.8 kB / 0.5071 GB, free: 12.8 MB / 382.1 MB Notification: Performance of [INI] Causalize: time 0.002169/0.02222, allocations: 1.255 MB / 0.5083 GB, free: 11.53 MB / 382.1 MB Notification: Performance of [INI] Tearing: time 2.627e-05/0.02225, allocations: 20 kB / 0.5083 GB, free: 11.51 MB / 382.1 MB Notification: Performance of [SIM] Initialization: time 1.042e-06/0.02225, allocations: 0 / 0.5083 GB, free: 11.51 MB / 382.1 MB Notification: Performance of [SIM] DAE-Mode: time 0.000102/0.02235, allocations: 64.34 kB / 0.5084 GB, free: 11.42 MB / 382.1 MB Notification: Performance of [SIM] Remove Dummies: time 8.937e-06/0.02236, allocations: 7.938 kB / 0.5084 GB, free: 11.41 MB / 382.1 MB Notification: Performance of [SIM] Tearing: time 1.206e-05/0.02237, allocations: 15.94 kB / 0.5084 GB, free: 11.4 MB / 382.1 MB Notification: Performance of [SIM] Categorize: time 1.352e-05/0.02238, allocations: 4 kB / 0.5084 GB, free: 11.39 MB / 382.1 MB Notification: Performance of [SIM] Solve: time 0.0004475/0.02283, allocations: 251.7 kB / 0.5087 GB, free: 11.15 MB / 382.1 MB Notification: Performance of [SIM] Jacobian: time 0.000191/0.02302, allocations: 182 kB / 0.5088 GB, free: 10.94 MB / 382.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: ......... 3 * 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) {booleanTable.combiTimeTable.nextTimeEvent, booleanTable.combiTimeTable.nextTimeEventScaled} * Number of clocked states: ..................... 0 (0) {} * Number of discrete variables: ................. 27 (27) {onDelay1.u, onDelay1.y, onDelay1.delaySignal, onDelay1.t_next, booleanStep3.y, onDelay3.u, onDelay3.y, onDelay3.delaySignal, onDelay3.t_next, booleanStep2.y, onDelay2.u, onDelay2.y, onDelay2.delaySignal, onDelay2.t_next, $SEV_9, $SEV_8, $SEV_7, $SEV_6, $SEV_5, $SEV_4, $SEV_3, $SEV_2, $SEV_1, $SEV_0, $TEV_2, $TEV_1, $TEV_0} * Number of clocks: ............................. 0 (0) {} * Number of top-level inputs: ................... 0 (0) {} Notification: [Simulation] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 21 (scalar:21, array:0, record:0) * Number of multi strong components: ............ 5 (algorithm:3, 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: ........... 38 (scalar:37, array:1, record:0) * Number of multi strong components: ............ 5 (algorithm:5, 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 6.375e-05/0.02309, allocations: 38.41 kB / 0.5089 GB, free: 10.91 MB / 382.1 MB Notification: Performance of SimCode: time 0.003213/0.0263, allocations: 1.137 MB / 0.51 GB, free: 9.93 MB / 382.1 MB Notification: Performance of Templates: time 0.007134/0.03343, allocations: 2.478 MB / 0.5124 GB, free: 7.461 MB / 382.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Blocks.OnDelay.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Blocks.OnDelay.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Blocks.OnDelay.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Blocks.OnDelay.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Blocks.OnDelay.sim & ./ModelicaTest_4.1.0_ModelicaTest.Blocks.OnDelay -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Blocks.OnDelay.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 5.117879477038514] Failed to read output from testmodel.py, exit status != 0: ['time', 'booleanTable.y', 'onDelay1.delaySignal', 'onDelay1.t_next', 'onDelay1.u', 'onDelay2.delaySignal', 'onDelay2.t_next', 'onDelay2.u', 'onDelay3.delaySignal', 'onDelay3.t_next', 'onDelay3.u'] 0.042237053043209016 0.314472801 0.30099959600000004 Calling exit ...