Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AixLib_AixLib.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime.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.001302/0.001302, allocations: 74.72 kB / 19.96 MB, free: 1.453 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.001473/0.001473, allocations: 168.2 kB / 23.23 MB, free: 4.469 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.39/1.39, allocations: 177.2 MB / 203.6 MB, free: 9.176 MB / 190.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/package.mo): time 0.05872/0.05872, allocations: 9.149 MB / 269.2 MB, free: 7.922 MB / 254.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/EmbeddedTargets/STM32F4/Functions/HAL.mo:5:3-11:14:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/Incubate/OperatingSystem/DynamicArray.mo:6:3-94:18:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/Incubate/Utilities/Functions.mo:1041:3-1062:27:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/Incubate/Utilities/Functions.mo:1064:3-1092:25:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF master/package.mo): time 0.0006727/0.0006727, allocations: 27.95 kB / 328.6 MB, free: 42.36 MB / 286.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/EmbeddedTargets/STM32F4/Functions/HAL.mo:5:3-11:14:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/Incubate/OperatingSystem/DynamicArray.mo:6:3-94:18:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/Incubate/Utilities/Functions.mo:1041:3-1062:27:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/Incubate/Utilities/Functions.mo:1064:3-1092:25:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 3.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 3.0.0/package.mo): time 2.315/2.315, allocations: 275.1 MB / 0.6477 GB, free: 6.219 MB / 0.4982 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/EmbeddedTargets/STM32F4/Functions/HAL.mo:5:3-11:14:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/Incubate/OperatingSystem/DynamicArray.mo:6:3-94:18:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/Incubate/Utilities/Functions.mo:1041:3-1062:27:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/Incubate/Utilities/Functions.mo:1064:3-1092:25:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [Timeout remaining time 177] Using package AixLib with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 3.0.0/package.mo) Using package SDF with version 0.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF master/package.mo) Using package Modelica_DeviceDrivers with version 2.2.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/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(AixLib.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime") translateModel(AixLib.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 1.609e-05/1.609e-05, allocations: 7.422 kB / 0.9295 GB, free: 22.48 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(AixLib.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime): time 0.00147/0.001486, allocations: 0.7258 MB / 0.9302 GB, free: 22.03 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.001118/0.002604, allocations: 1.109 MB / 0.9313 GB, free: 21.22 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.367e-05/0.002658, allocations: 1.062 kB / 0.9313 GB, free: 21.22 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 2.832e-05/0.002686, allocations: 8.594 kB / 0.9313 GB, free: 21.21 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 7.582e-05/0.002762, allocations: 16.34 kB / 0.9313 GB, free: 21.2 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002872/0.003049, allocations: 55.2 kB / 0.9313 GB, free: 21.17 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0001192/0.003168, allocations: 83.88 kB / 0.9314 GB, free: 21.13 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 9.865e-05/0.003267, allocations: 16.83 kB / 0.9314 GB, free: 21.12 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 8.499e-05/0.003352, allocations: 42.06 kB / 0.9315 GB, free: 21.1 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 5.769e-05/0.00341, allocations: 21.22 kB / 0.9315 GB, free: 21.09 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 2.079e-05/0.00343, allocations: 5.531 kB / 0.9315 GB, free: 21.09 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 5.845e-05/0.003489, allocations: 23.23 kB / 0.9315 GB, free: 21.09 MB / 0.7325 GB Notification: Performance of combineBinaries: time 9.535e-05/0.003584, allocations: 108.7 kB / 0.9316 GB, free: 21.02 MB / 0.7325 GB Notification: Performance of replaceArrayConstructors: time 2.764e-05/0.003612, allocations: 62.38 kB / 0.9317 GB, free: 20.98 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 2.247e-05/0.003634, allocations: 4.562 kB / 0.9317 GB, free: 20.98 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.32e-05/0.003648, allocations: 9.016 kB / 0.9317 GB, free: 20.97 MB / 0.7325 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 9 (9) * Number of variables: 9 (9) Notification: Performance of [SIM] Bindings: time 0.0004633/0.004111, allocations: 418.6 kB / 0.9321 GB, free: 20.57 MB / 0.7325 GB Notification: Performance of [SIM] FunctionAlias: time 0.0001457/0.004256, allocations: 102.8 kB / 0.9322 GB, free: 20.5 MB / 0.7325 GB Notification: Performance of [SIM] Early Inline: time 0.0001835/0.00444, allocations: 193.9 kB / 0.9324 GB, free: 20.36 MB / 0.7325 GB Notification: Performance of [SIM] Simplify 1: time 7.212e-05/0.004512, allocations: 60.69 kB / 0.9324 GB, free: 20.3 MB / 0.7325 GB Notification: Performance of [SIM] Alias: time 0.0004427/0.004955, allocations: 285.1 kB / 0.9327 GB, free: 20.06 MB / 0.7325 GB Notification: Performance of [SIM] Simplify 2: time 5.262e-05/0.005007, allocations: 54.22 kB / 0.9328 GB, free: 20 MB / 0.7325 GB Notification: Performance of [SIM] Remove Stream: time 3.927e-05/0.005047, allocations: 53.41 kB / 0.9328 GB, free: 19.93 MB / 0.7325 GB Notification: Performance of [SIM] Detect States: time 0.0001789/0.005226, allocations: 153.2 kB / 0.933 GB, free: 19.77 MB / 0.7325 GB Notification: Performance of [SIM] Events: time 7.304e-05/0.005299, allocations: 42.72 kB / 0.933 GB, free: 19.74 MB / 0.7325 GB Notification: Performance of [SIM] Partitioning: time 0.0001405/0.005439, allocations: 127.3 kB / 0.9331 GB, free: 19.63 MB / 0.7325 GB Notification: Performance of [SIM] Causalize: time 0.000192/0.005631, allocations: 121.2 kB / 0.9332 GB, free: 19.59 MB / 0.7325 GB Notification: Performance of [SIM] After Index Reduction Inline: time 0.0001364/0.005768, allocations: 171.5 kB / 0.9334 GB, free: 19.5 MB / 0.7325 GB Notification: Performance of [INI] Simplify: time 0.0001706/0.005938, allocations: 144.6 kB / 0.9335 GB, free: 19.36 MB / 0.7325 GB Notification: Performance of [INI] Inline: time 0.0001651/0.006103, allocations: 203.9 kB / 0.9337 GB, free: 19.25 MB / 0.7325 GB Notification: Performance of [INI] Partitioning: time 1.676e-05/0.00612, allocations: 21.72 kB / 0.9337 GB, free: 19.23 MB / 0.7325 GB Notification: Performance of [INI] Cleanup: time 4.662e-05/0.006167, allocations: 43.97 kB / 0.9338 GB, free: 19.2 MB / 0.7325 GB Notification: Performance of [INI] Causalize: time 0.0003411/0.006508, allocations: 249.6 kB / 0.934 GB, free: 19.14 MB / 0.7325 GB Notification: Performance of [INI] Tearing: time 1.236e-05/0.00652, allocations: 10.81 kB / 0.934 GB, free: 19.13 MB / 0.7325 GB Notification: Performance of [SIM] Initialization: time 3.51e-07/0.006521, allocations: 4 kB / 0.934 GB, free: 19.13 MB / 0.7325 GB Notification: Performance of [SIM] Remove Dummies: time 3.997e-06/0.006524, allocations: 3.938 kB / 0.934 GB, free: 19.12 MB / 0.7325 GB Notification: Performance of [SIM] Tearing: time 3.045e-06/0.006528, allocations: 6.531 kB / 0.9341 GB, free: 19.12 MB / 0.7325 GB Notification: Performance of [SIM] Categorize: time 7.735e-06/0.006535, allocations: 1.344 kB / 0.9341 GB, free: 19.12 MB / 0.7325 GB Notification: Performance of [SIM] Solve: time 0.0001464/0.006682, allocations: 98.78 kB / 0.9341 GB, free: 19.09 MB / 0.7325 GB Notification: Performance of [SIM] Jacobian: time 7.814e-06/0.006689, allocations: 1.219 kB / 0.9341 GB, free: 19.09 MB / 0.7325 GB Notification: Performance of [SIM] Minimize Homotopy System: time 3.5e-07/0.00669, allocations: 0 / 0.9341 GB, free: 19.09 MB / 0.7325 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) {triggeredSampler1.y, triggeredSampler.y} * Number of clocked states: ..................... 0 (0) {} * Number of discrete variables: ................. 6 (6) {samTri.y, samTri1.y, $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: ............ 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: ........... 17 (scalar:17, 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 3.784e-05/0.006728, allocations: 38.89 kB / 0.9342 GB, free: 19.06 MB / 0.7325 GB Notification: Performance of SimCode: time 0.0005144/0.007242, allocations: 330.2 kB / 0.9345 GB, free: 18.87 MB / 0.7325 GB Notification: Performance of Templates: time 0.003352/0.01059, allocations: 0.795 MB / 0.9353 GB, free: 18.79 MB / 0.7325 GB " [Timeout remaining time 660] make -j1 -f AixLib_AixLib.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime.makefile [Timeout 660] (rm -f AixLib_AixLib.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime.pipe ; mkfifo AixLib_AixLib.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime.pipe ; head -c 1048576 < AixLib_AixLib.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime.pipe >> ../files/AixLib_AixLib.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime.sim & ./AixLib_AixLib.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime -abortSlowSimulation -alarm=480 -lv LOG_STATS > AixLib_AixLib.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.093694444745779] Failed to read output from testmodel.py, exit status != 0: 0.01663234829902649 0.028100507 0.022033136000000002 Calling exit ...