Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AixLib_AixLib.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.0007914/0.0007914, 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.0009564/0.0009564, 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.8252/0.8252, allocations: 177.2 MB / 203.7 MB, free: 5.715 MB / 186.7 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.03199/0.03199, allocations: 9.124 MB / 269.3 MB, free: 4.434 MB / 250.7 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.0003888/0.0003888, allocations: 19.97 kB / 328.7 MB, free: 20.62 MB / 266.7 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 1.395/1.395, allocations: 275 MB / 0.6476 GB, free: 2.508 MB / 0.4949 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 178] 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.Discrete.Validation.TriggeredSampler,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler") translateModel(AixLib.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 1.937e-05/1.937e-05, allocations: 2.312 kB / 0.9295 GB, free: 8.148 MB / 0.698 GB Notification: Performance of NFInst.instantiate(AixLib.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler): time 0.001261/0.00128, allocations: 0.7232 MB / 0.9302 GB, free: 7.445 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.001112/0.002393, allocations: 1.204 MB / 0.9314 GB, free: 6.23 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.004e-05/0.002443, allocations: 4 kB / 0.9314 GB, free: 6.227 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 2.887e-05/0.002472, allocations: 7.922 kB / 0.9314 GB, free: 6.219 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 6.383e-05/0.002535, allocations: 7.875 kB / 0.9314 GB, free: 6.211 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004368/0.002972, allocations: 141.9 kB / 0.9315 GB, free: 6.074 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.000158/0.00313, allocations: 127.7 kB / 0.9316 GB, free: 5.949 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001033/0.003233, allocations: 28.14 kB / 0.9317 GB, free: 5.918 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 9.914e-05/0.003333, allocations: 68.98 kB / 0.9317 GB, free: 5.852 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 7.454e-05/0.003407, allocations: 47.86 kB / 0.9318 GB, free: 5.805 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 2.024e-05/0.003427, allocations: 9.125 kB / 0.9318 GB, free: 5.797 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 6.058e-05/0.003488, allocations: 27.94 kB / 0.9318 GB, free: 5.77 MB / 0.698 GB Notification: Performance of combineBinaries: time 9.183e-05/0.00358, allocations: 143 kB / 0.9319 GB, free: 5.629 MB / 0.698 GB Notification: Performance of replaceArrayConstructors: time 2.301e-05/0.003603, allocations: 67.59 kB / 0.932 GB, free: 5.562 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 2.979e-05/0.003633, allocations: 8 kB / 0.932 GB, free: 5.555 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.416e-05/0.003647, allocations: 6 kB / 0.932 GB, free: 5.551 MB / 0.698 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.0004961/0.004143, allocations: 0.5228 MB / 0.9325 GB, free: 4.91 MB / 0.698 GB Notification: Performance of [SIM] FunctionAlias: time 0.0001005/0.004243, allocations: 65.61 kB / 0.9326 GB, free: 4.836 MB / 0.698 GB Notification: Performance of [SIM] Early Inline: time 0.0002576/0.004501, allocations: 356.1 kB / 0.9329 GB, free: 4.461 MB / 0.698 GB Notification: Performance of [SIM] Simplify 1: time 9.368e-05/0.004595, allocations: 104.8 kB / 0.933 GB, free: 4.332 MB / 0.698 GB Notification: Performance of [SIM] Alias: time 0.0004704/0.005065, allocations: 394.5 kB / 0.9334 GB, free: 3.875 MB / 0.698 GB Notification: Performance of [SIM] Simplify 2: time 6.918e-05/0.005134, allocations: 101.2 kB / 0.9335 GB, free: 3.75 MB / 0.698 GB Notification: Performance of [SIM] Remove Stream: time 5.334e-05/0.005188, allocations: 101 kB / 0.9336 GB, free: 3.625 MB / 0.698 GB Notification: Performance of [SIM] Detect States: time 0.0001845/0.005372, allocations: 214 kB / 0.9338 GB, free: 3.352 MB / 0.698 GB Notification: Performance of [SIM] Events: time 7.227e-05/0.005444, allocations: 57.5 kB / 0.9339 GB, free: 3.301 MB / 0.698 GB Notification: Performance of [SIM] Partitioning: time 0.0001128/0.005557, allocations: 112.5 kB / 0.934 GB, free: 3.156 MB / 0.698 GB Notification: Performance of [SIM] Causalize: time 0.0001635/0.005721, allocations: 155.9 kB / 0.9341 GB, free: 2.996 MB / 0.698 GB Notification: Performance of [SIM] After Index Reduction Inline: time 0.0001386/0.005859, allocations: 271.7 kB / 0.9344 GB, free: 2.73 MB / 0.698 GB Notification: Performance of [INI] Simplify: time 0.0002011/0.00606, allocations: 205.2 kB / 0.9346 GB, free: 2.484 MB / 0.698 GB Notification: Performance of [INI] Inline: time 0.0001874/0.006248, allocations: 368.5 kB / 0.9349 GB, free: 2.121 MB / 0.698 GB Notification: Performance of [INI] Partitioning: time 1.271e-05/0.00626, allocations: 20.75 kB / 0.9349 GB, free: 2.094 MB / 0.698 GB Notification: Performance of [INI] Cleanup: time 5.277e-05/0.006313, allocations: 83.91 kB / 0.935 GB, free: 2.012 MB / 0.698 GB Notification: Performance of [INI] Causalize: time 0.0002343/0.006547, allocations: 231.5 kB / 0.9352 GB, free: 1.777 MB / 0.698 GB Notification: Performance of [INI] Tearing: time 1.072e-05/0.006558, allocations: 4 kB / 0.9353 GB, free: 1.773 MB / 0.698 GB Notification: Performance of [SIM] Initialization: time 6.72e-07/0.006559, allocations: 3.938 kB / 0.9353 GB, free: 1.77 MB / 0.698 GB Notification: Performance of [SIM] DAE-Mode: time 4.676e-05/0.006606, allocations: 26.33 kB / 0.9353 GB, free: 1.738 MB / 0.698 GB Notification: Performance of [SIM] Remove Dummies: time 3.136e-06/0.006609, allocations: 0 / 0.9353 GB, free: 1.738 MB / 0.698 GB Notification: Performance of [SIM] Tearing: time 4.418e-06/0.006613, allocations: 12 kB / 0.9353 GB, free: 1.727 MB / 0.698 GB Notification: Performance of [SIM] Categorize: time 6.693e-06/0.00662, allocations: 0 / 0.9353 GB, free: 1.727 MB / 0.698 GB Notification: Performance of [SIM] Solve: time 0.0001037/0.006724, allocations: 103.9 kB / 0.9354 GB, free: 1.629 MB / 0.698 GB Notification: Performance of [SIM] Jacobian: time 0.0001018/0.006825, allocations: 182.1 kB / 0.9356 GB, free: 1.414 MB / 0.698 GB Notification: Performance of [SIM] Minimize Homotopy System: time 5.11e-07/0.006826, allocations: 0 / 0.9356 GB, free: 1.414 MB / 0.698 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.721e-05/0.006863, allocations: 40.56 kB / 0.9356 GB, free: 1.387 MB / 0.698 GB Notification: Performance of SimCode: time 0.0005237/0.007387, allocations: 368 kB / 0.936 GB, free: 1.012 MB / 0.698 GB Notification: Performance of Templates: time 0.002656/0.01004, allocations: 1.297 MB / 0.9372 GB, free: 15.74 MB / 0.7137 GB " [Timeout remaining time 660] make -j1 -f AixLib_AixLib.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler.makefile [Timeout 660] (rm -f AixLib_AixLib.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler.pipe ; mkfifo AixLib_AixLib.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler.pipe ; head -c 1048576 < AixLib_AixLib.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler.pipe >> ../files/AixLib_AixLib.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler.sim & ./AixLib_AixLib.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler -abortSlowSimulation -alarm=480 -lv LOG_STATS > AixLib_AixLib.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 6.896047835238278] Failed to read output from testmodel.py, exit status != 0: 0.014576214365661144 0.021770437 0.016648078 Calling exit ...