Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler.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.000732/0.000732, allocations: 80.25 kB / 20.05 MB, free: 4.469 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.0007244/0.0007244, allocations: 177.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.851/0.851, allocations: 177.2 MB / 203.7 MB, free: 5.547 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.6718/0.6718, allocations: 154.6 MB / 414.7 MB, free: 0.707 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.TriggeredSampler,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler") translateModel(IDEAS.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.06e-05/2.06e-05, allocations: 6.25 kB / 0.6195 GB, free: 13.11 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler): time 0.001311/0.001331, allocations: 0.7296 MB / 0.6202 GB, free: 12.38 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.001036/0.002367, allocations: 1.19 MB / 0.6214 GB, free: 11.18 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.156e-05/0.002409, allocations: 0 / 0.6214 GB, free: 11.18 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 2.884e-05/0.002438, allocations: 7.922 kB / 0.6214 GB, free: 11.17 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 5.994e-05/0.002498, allocations: 11.88 kB / 0.6214 GB, free: 11.16 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003939/0.002892, allocations: 139.5 kB / 0.6215 GB, free: 11.02 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.0001521/0.003044, allocations: 135.7 kB / 0.6217 GB, free: 10.89 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001075/0.003151, allocations: 16.16 kB / 0.6217 GB, free: 10.87 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001037/0.003255, allocations: 71.89 kB / 0.6218 GB, free: 10.8 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 8.127e-05/0.003336, allocations: 39.92 kB / 0.6218 GB, free: 10.76 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 2.229e-05/0.003359, allocations: 12 kB / 0.6218 GB, free: 10.75 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 5.884e-05/0.003417, allocations: 27.88 kB / 0.6218 GB, free: 10.72 MB / 0.5886 GB Notification: Performance of combineBinaries: time 9.757e-05/0.003515, allocations: 150.9 kB / 0.622 GB, free: 10.57 MB / 0.5886 GB Notification: Performance of replaceArrayConstructors: time 2.457e-05/0.00354, allocations: 63.16 kB / 0.622 GB, free: 10.51 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 3.318e-05/0.003573, allocations: 11.94 kB / 0.6221 GB, free: 10.5 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.236e-05/0.003585, allocations: 3.938 kB / 0.6221 GB, free: 10.49 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: 10 (10) * Number of variables: 10 (10) Notification: Performance of [SIM] Bindings: time 0.0005023/0.004087, allocations: 0.5141 MB / 0.6226 GB, free: 9.859 MB / 0.5886 GB Notification: Performance of [SIM] FunctionAlias: time 0.0001014/0.004189, allocations: 67.95 kB / 0.6226 GB, free: 9.781 MB / 0.5886 GB Notification: Performance of [SIM] Early Inline: time 0.0002677/0.004457, allocations: 352.1 kB / 0.623 GB, free: 9.41 MB / 0.5886 GB Notification: Performance of [SIM] Simplify 1: time 9.723e-05/0.004554, allocations: 116.2 kB / 0.6231 GB, free: 9.27 MB / 0.5886 GB Notification: Performance of [SIM] Alias: time 0.0004392/0.004993, allocations: 384.6 kB / 0.6234 GB, free: 8.82 MB / 0.5886 GB Notification: Performance of [SIM] Simplify 2: time 6.375e-05/0.005057, allocations: 104.7 kB / 0.6235 GB, free: 8.691 MB / 0.5886 GB Notification: Performance of [SIM] Remove Stream: time 6.021e-05/0.005117, allocations: 100.3 kB / 0.6236 GB, free: 8.566 MB / 0.5886 GB Notification: Performance of [SIM] Detect States: time 0.0001759/0.005293, allocations: 213.3 kB / 0.6238 GB, free: 8.297 MB / 0.5886 GB Notification: Performance of [SIM] Events: time 6.325e-05/0.005356, allocations: 51.72 kB / 0.6239 GB, free: 8.246 MB / 0.5886 GB Notification: Performance of [SIM] Partitioning: time 0.0001124/0.005469, allocations: 124.5 kB / 0.624 GB, free: 8.09 MB / 0.5886 GB Notification: Performance of [SIM] Causalize: time 0.0001494/0.005618, allocations: 152 kB / 0.6241 GB, free: 7.934 MB / 0.5886 GB Notification: Performance of [SIM] After Index Reduction Inline: time 0.000143/0.005761, allocations: 271.7 kB / 0.6244 GB, free: 7.668 MB / 0.5886 GB Notification: Performance of [INI] Simplify: time 0.0001849/0.005946, allocations: 200.6 kB / 0.6246 GB, free: 7.422 MB / 0.5886 GB Notification: Performance of [INI] Inline: time 0.0001939/0.00614, allocations: 363.7 kB / 0.6249 GB, free: 7.062 MB / 0.5886 GB Notification: Performance of [INI] Partitioning: time 1.154e-05/0.006151, allocations: 12.12 kB / 0.625 GB, free: 7.043 MB / 0.5886 GB Notification: Performance of [INI] Cleanup: time 6.021e-05/0.006212, allocations: 87.91 kB / 0.625 GB, free: 6.957 MB / 0.5886 GB Notification: Performance of [INI] Causalize: time 0.0002355/0.006447, allocations: 236.2 kB / 0.6253 GB, free: 6.715 MB / 0.5886 GB Notification: Performance of [INI] Tearing: time 8.887e-06/0.006456, allocations: 4 kB / 0.6253 GB, free: 6.711 MB / 0.5886 GB Notification: Performance of [SIM] Initialization: time 5.41e-07/0.006456, allocations: 4 kB / 0.6253 GB, free: 6.707 MB / 0.5886 GB Notification: Performance of [SIM] DAE-Mode: time 3.783e-05/0.006494, allocations: 24.11 kB / 0.6253 GB, free: 6.676 MB / 0.5886 GB Notification: Performance of [SIM] Remove Dummies: time 5.41e-06/0.0065, allocations: 4 kB / 0.6253 GB, free: 6.672 MB / 0.5886 GB Notification: Performance of [SIM] Tearing: time 4.538e-06/0.006504, allocations: 11.94 kB / 0.6253 GB, free: 6.66 MB / 0.5886 GB Notification: Performance of [SIM] Categorize: time 7.424e-06/0.006512, allocations: 0 / 0.6253 GB, free: 6.66 MB / 0.5886 GB Notification: Performance of [SIM] Solve: time 9.812e-05/0.00661, allocations: 99.92 kB / 0.6254 GB, free: 6.562 MB / 0.5886 GB Notification: Performance of [SIM] Jacobian: time 0.0001032/0.006713, allocations: 186 kB / 0.6256 GB, free: 6.344 MB / 0.5886 GB Notification: Performance of [SIM] Minimize Homotopy System: time 2.9e-07/0.006713, allocations: 0 / 0.6256 GB, free: 6.344 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: .................... 3 (3) {triSam1.y, triSam.y, booPul.y} * Number of clocked states: ..................... 0 (0) {} * Number of discrete variables: ................. 5 (5) {triSam.trigger, $TEV_3, $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: ........... 7 (scalar:7, array:0, record:0) * Number of multi strong components: ............ 3 (algorithm:0, when:3, 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: ........... 12 (scalar:12, 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 3.778e-05/0.006751, allocations: 27.36 kB / 0.6256 GB, free: 6.324 MB / 0.5886 GB Notification: Performance of SimCode: time 0.000481/0.007232, allocations: 370.5 kB / 0.626 GB, free: 5.949 MB / 0.5886 GB Notification: Performance of Templates: time 0.002331/0.009563, allocations: 1.308 MB / 0.6272 GB, free: 4.672 MB / 0.5886 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler.sim & ./IDEAS_dev_IDEAS.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 7.693193826824427] Failed to read output from testmodel.py, exit status != 0: 0.013143815100193024 0.019848915 0.014855318000000001 Calling exit ...