Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Controls.OBC.CDL.Discrete.Validation.Sampler.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.0007262/0.0007262, allocations: 80.25 kB / 20.06 MB, free: 4.465 MB / 18.57 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.000735/0.000735, allocations: 173.9 kB / 23.36 MB, free: 1.16 MB / 18.57 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 0.8887/0.8887, allocations: 177.2 MB / 203.7 MB, free: 5.699 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-535:34:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-535:42:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo): time 0.6804/0.6804, allocations: 154.6 MB / 414.7 MB, free: 0.7969 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Utilities/Cryptographics/BaseClasses/sha.mo:2:1-19:8:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/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(IDEAS.Controls.OBC.CDL.Discrete.Validation.Sampler,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Discrete.Validation.Sampler") translateModel(IDEAS.Controls.OBC.CDL.Discrete.Validation.Sampler,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Discrete.Validation.Sampler") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.198e-05/2.198e-05, allocations: 8.453 kB / 0.6195 GB, free: 13.16 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Discrete.Validation.Sampler): time 0.001351/0.001373, allocations: 0.6444 MB / 0.6201 GB, free: 12.51 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.001453/0.002826, allocations: 1.089 MB / 0.6212 GB, free: 11.41 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.968e-05/0.002875, allocations: 0 / 0.6212 GB, free: 11.41 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 2.717e-05/0.002903, allocations: 3.938 kB / 0.6212 GB, free: 11.41 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 6.249e-05/0.002965, allocations: 7.922 kB / 0.6212 GB, free: 11.4 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002974/0.003262, allocations: 47.77 kB / 0.6213 GB, free: 11.35 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.0001011/0.003364, allocations: 55.84 kB / 0.6213 GB, free: 11.3 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001012/0.003465, allocations: 4 kB / 0.6213 GB, free: 11.29 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 7.285e-05/0.003538, allocations: 35.89 kB / 0.6214 GB, free: 11.26 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 3.864e-05/0.003576, allocations: 11.98 kB / 0.6214 GB, free: 11.25 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 1.585e-05/0.003592, allocations: 4 kB / 0.6214 GB, free: 11.24 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 5.775e-05/0.00365, allocations: 23.92 kB / 0.6214 GB, free: 11.22 MB / 0.5886 GB Notification: Performance of combineBinaries: time 6.701e-05/0.003717, allocations: 75.3 kB / 0.6215 GB, free: 11.14 MB / 0.5886 GB Notification: Performance of replaceArrayConstructors: time 1.656e-05/0.003733, allocations: 39.53 kB / 0.6215 GB, free: 11.11 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 1.68e-05/0.00375, allocations: 4 kB / 0.6215 GB, free: 11.1 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.252e-05/0.003763, allocations: 0 / 0.6215 GB, free: 11.1 MB / 0.5886 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 (7) * Number of variables: 7 (7) Notification: Performance of [SIM] Bindings: time 0.0004137/0.004176, allocations: 344.5 kB / 0.6218 GB, free: 10.64 MB / 0.5886 GB Notification: Performance of [SIM] FunctionAlias: time 0.0001195/0.004296, allocations: 63.89 kB / 0.6219 GB, free: 10.57 MB / 0.5886 GB Notification: Performance of [SIM] Early Inline: time 0.0001604/0.004456, allocations: 192.2 kB / 0.6221 GB, free: 10.36 MB / 0.5886 GB Notification: Performance of [SIM] Simplify 1: time 6.095e-05/0.004517, allocations: 56.39 kB / 0.6221 GB, free: 10.27 MB / 0.5886 GB Notification: Performance of [SIM] Alias: time 0.0003868/0.004904, allocations: 228.7 kB / 0.6224 GB, free: 9.984 MB / 0.5886 GB Notification: Performance of [SIM] Simplify 2: time 3.886e-05/0.004943, allocations: 56.34 kB / 0.6224 GB, free: 9.902 MB / 0.5886 GB Notification: Performance of [SIM] Remove Stream: time 2.715e-05/0.00497, allocations: 44.42 kB / 0.6225 GB, free: 9.832 MB / 0.5886 GB Notification: Performance of [SIM] Detect States: time 0.0001707/0.005141, allocations: 143.8 kB / 0.6226 GB, free: 9.629 MB / 0.5886 GB Notification: Performance of [SIM] Events: time 7.28e-05/0.005214, allocations: 39.78 kB / 0.6226 GB, free: 9.59 MB / 0.5886 GB Notification: Performance of [SIM] Partitioning: time 0.0001295/0.005343, allocations: 112.5 kB / 0.6227 GB, free: 9.445 MB / 0.5886 GB Notification: Performance of [SIM] Causalize: time 0.0001719/0.005515, allocations: 132 kB / 0.6229 GB, free: 9.309 MB / 0.5886 GB Notification: Performance of [SIM] After Index Reduction Inline: time 7.419e-05/0.005589, allocations: 127.9 kB / 0.623 GB, free: 9.184 MB / 0.5886 GB Notification: Performance of [INI] Simplify: time 0.0001892/0.005778, allocations: 120.7 kB / 0.6231 GB, free: 9.016 MB / 0.5886 GB Notification: Performance of [INI] Inline: time 0.0001252/0.005904, allocations: 207.8 kB / 0.6233 GB, free: 8.809 MB / 0.5886 GB Notification: Performance of [INI] Partitioning: time 1.197e-05/0.005915, allocations: 12.12 kB / 0.6233 GB, free: 8.789 MB / 0.5886 GB Notification: Performance of [INI] Cleanup: time 3.573e-05/0.005951, allocations: 47.94 kB / 0.6234 GB, free: 8.742 MB / 0.5886 GB Notification: Performance of [INI] Causalize: time 0.000318/0.006269, allocations: 305.4 kB / 0.6236 GB, free: 8.434 MB / 0.5886 GB Notification: Performance of [INI] Tearing: time 1.629e-05/0.006285, allocations: 8 kB / 0.6237 GB, free: 8.426 MB / 0.5886 GB Notification: Performance of [SIM] Initialization: time 4.11e-07/0.006286, allocations: 0 / 0.6237 GB, free: 8.426 MB / 0.5886 GB Notification: Performance of [SIM] DAE-Mode: time 5.911e-05/0.006345, allocations: 28.11 kB / 0.6237 GB, free: 8.391 MB / 0.5886 GB Notification: Performance of [SIM] Remove Dummies: time 5.7e-06/0.006351, allocations: 3.938 kB / 0.6237 GB, free: 8.387 MB / 0.5886 GB Notification: Performance of [SIM] Tearing: time 3.867e-06/0.006355, allocations: 8 kB / 0.6237 GB, free: 8.379 MB / 0.5886 GB Notification: Performance of [SIM] Categorize: time 1.054e-05/0.006365, allocations: 0 / 0.6237 GB, free: 8.379 MB / 0.5886 GB Notification: Performance of [SIM] Solve: time 0.0001301/0.006495, allocations: 99.94 kB / 0.6238 GB, free: 8.281 MB / 0.5886 GB Notification: Performance of [SIM] Jacobian: time 0.0001422/0.006637, allocations: 182.1 kB / 0.624 GB, free: 8.066 MB / 0.5886 GB Notification: Performance of [SIM] Minimize Homotopy System: time 1.102e-06/0.006638, allocations: 0 / 0.624 GB, free: 8.066 MB / 0.5886 GB 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: ......... 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) {sampler1.y, sampler1.firstTrigger} * Number of clocked states: ..................... 0 (0) {} * Number of discrete variables: ................. 4 (4) {sampler1.sampleTrigger, $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: ........... 6 (scalar:6, 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: ............ 1 (algorithm:1, 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 5.398e-05/0.006692, allocations: 30.95 kB / 0.624 GB, free: 8.043 MB / 0.5886 GB Notification: Performance of SimCode: time 0.0005927/0.007285, allocations: 291.8 kB / 0.6243 GB, free: 7.738 MB / 0.5886 GB Notification: Performance of Templates: time 0.002371/0.009656, allocations: 0.7295 MB / 0.625 GB, free: 7.023 MB / 0.5886 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Discrete.Validation.Sampler.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Discrete.Validation.Sampler.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Discrete.Validation.Sampler.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Discrete.Validation.Sampler.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Discrete.Validation.Sampler.sim & ./IDEAS_dev_IDEAS.Controls.OBC.CDL.Discrete.Validation.Sampler -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.OBC.CDL.Discrete.Validation.Sampler.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 6.2747665187343955] Failed to read output from testmodel.py, exit status != 0: 0.014307335019111633 0.022596661 0.017289955000000003 Calling exit ...