Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.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.001748/0.001748, 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.002064/0.002064, 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.42/1.42, allocations: 230.6 MB / 258.3 MB, free: 7.785 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2285/0.2285, allocations: 44.94 MB / 359.7 MB, free: 6.059 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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.0.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.0.0_ModelicaTest.Blocks.OnDelay") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.19e-05/2.19e-05, allocations: 2.281 kB / 0.4943 GB, free: 10.08 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.OnDelay): time 0.003281/0.003303, allocations: 1.874 MB / 0.4961 GB, free: 8.191 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001966/0.005269, allocations: 1.13 MB / 0.4972 GB, free: 7.055 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.266e-05/0.005352, allocations: 0 / 0.4972 GB, free: 7.055 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006102/0.005962, allocations: 179.5 kB / 0.4974 GB, free: 6.879 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004098/0.006372, allocations: 179.3 kB / 0.4976 GB, free: 6.703 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003514/0.006723, allocations: 162.3 kB / 0.4977 GB, free: 6.547 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003667/0.00709, allocations: 327.3 kB / 0.4981 GB, free: 6.227 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001088/0.007199, allocations: 21.8 kB / 0.4981 GB, free: 6.207 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002206/0.007419, allocations: 143.5 kB / 0.4982 GB, free: 6.066 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001584/0.007578, allocations: 115.6 kB / 0.4983 GB, free: 5.953 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 3.794e-05/0.007615, allocations: 20 kB / 0.4983 GB, free: 5.934 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001368/0.007752, allocations: 67.95 kB / 0.4984 GB, free: 5.867 MB / 366.1 MB Notification: Performance of combineBinaries: time 0.0003491/0.008101, allocations: 404.5 kB / 0.4988 GB, free: 5.469 MB / 366.1 MB Notification: Performance of replaceArrayConstructors: time 0.0001558/0.008257, allocations: 221.1 kB / 0.499 GB, free: 5.25 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 4.601e-05/0.008303, allocations: 20 kB / 0.499 GB, free: 5.23 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.277e-05/0.008326, allocations: 7.938 kB / 0.499 GB, free: 5.223 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.001082/0.009408, allocations: 0.9318 MB / 0.4999 GB, free: 4.168 MB / 366.1 MB Notification: Performance of [SIM] FunctionAlias: time 0.0001333/0.009542, allocations: 85.17 kB / 0.5 GB, free: 4.07 MB / 366.1 MB Notification: Performance of [SIM] Early Inline: time 0.0004204/0.009962, allocations: 436 kB / 0.5004 GB, free: 3.617 MB / 366.1 MB Notification: Performance of [SIM] Simplify 1: time 0.0002015/0.01016, allocations: 156.5 kB / 0.5006 GB, free: 3.418 MB / 366.1 MB Notification: Performance of [SIM] Alias: time 0.0007583/0.01092, allocations: 0.4894 MB / 0.5011 GB, free: 2.852 MB / 366.1 MB Notification: Performance of [SIM] Simplify 2: time 0.0001841/0.01111, allocations: 141.3 kB / 0.5012 GB, free: 2.664 MB / 366.1 MB Notification: Performance of [SIM] Remove Stream: time 0.0001208/0.01123, allocations: 96.36 kB / 0.5013 GB, free: 2.543 MB / 366.1 MB Notification: Performance of [SIM] Detect States: time 0.0003563/0.01158, allocations: 246.9 kB / 0.5015 GB, free: 2.25 MB / 366.1 MB Notification: Performance of [SIM] Events: time 0.0001745/0.01176, allocations: 102.3 kB / 0.5016 GB, free: 2.152 MB / 366.1 MB Notification: Performance of [SIM] Partitioning: time 0.0003344/0.01209, allocations: 260.8 kB / 0.5019 GB, free: 1.875 MB / 366.1 MB Notification: Performance of [SIM] Causalize: time 0.0006044/0.0127, allocations: 388.9 kB / 0.5022 GB, free: 1.473 MB / 366.1 MB Notification: Performance of [SIM] After Index Reduction Inline: time 0.0004447/0.01314, allocations: 455.4 kB / 0.5027 GB, free: 1.027 MB / 366.1 MB Notification: Performance of [INI] Simplify: time 0.002233/0.01537, allocations: 0.5462 MB / 0.5032 GB, free: 456 kB / 366.1 MB Notification: Performance of [INI] Inline: time 0.0006236/0.016, allocations: 0.6297 MB / 0.5038 GB, free: 15.81 MB / 382.1 MB Notification: Performance of [INI] Partitioning: time 3.659e-05/0.01603, allocations: 22.75 kB / 0.5038 GB, free: 15.78 MB / 382.1 MB Notification: Performance of [INI] Cleanup: time 0.0001801/0.01621, allocations: 159.9 kB / 0.504 GB, free: 15.62 MB / 382.1 MB Notification: Performance of [INI] Causalize: time 0.001768/0.01798, allocations: 1.27 MB / 0.5052 GB, free: 14.34 MB / 382.1 MB Notification: Performance of [INI] Tearing: time 2.953e-05/0.01801, allocations: 28 kB / 0.5053 GB, free: 14.31 MB / 382.1 MB Notification: Performance of [SIM] Initialization: time 4.5e-07/0.01801, allocations: 4 kB / 0.5053 GB, free: 14.31 MB / 382.1 MB Notification: Performance of [SIM] DAE-Mode: time 8.69e-05/0.0181, allocations: 52.36 kB / 0.5053 GB, free: 14.23 MB / 382.1 MB Notification: Performance of [SIM] Remove Dummies: time 9.397e-06/0.01811, allocations: 4 kB / 0.5053 GB, free: 14.23 MB / 382.1 MB Notification: Performance of [SIM] Tearing: time 1.174e-05/0.01812, allocations: 11.94 kB / 0.5053 GB, free: 14.22 MB / 382.1 MB Notification: Performance of [SIM] Categorize: time 1.348e-05/0.01813, allocations: 8 kB / 0.5053 GB, free: 14.21 MB / 382.1 MB Notification: Performance of [SIM] Solve: time 0.0003809/0.01851, allocations: 252.2 kB / 0.5056 GB, free: 13.96 MB / 382.1 MB Notification: Performance of [SIM] Jacobian: time 0.0001817/0.0187, allocations: 182 kB / 0.5058 GB, free: 13.75 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.483e-05/0.01876, allocations: 42.91 kB / 0.5058 GB, free: 13.72 MB / 382.1 MB Notification: Performance of SimCode: time 0.002723/0.02148, allocations: 1.14 MB / 0.5069 GB, free: 12.74 MB / 382.1 MB Notification: Performance of Templates: time 0.006156/0.02764, allocations: 2.471 MB / 0.5093 GB, free: 10.28 MB / 382.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Blocks.OnDelay.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Blocks.OnDelay.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Blocks.OnDelay.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Blocks.OnDelay.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Blocks.OnDelay.sim & ./ModelicaTest_4.0.0_ModelicaTest.Blocks.OnDelay -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Blocks.OnDelay.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 5.029412339034025] 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.03564353002002463 0.266599187 0.25516684900000003 Calling exit ...