Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AixLib_AixLib.Controls.OBC.CDL.Discrete.Validation.FirstOrderHold.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.001317/0.001317, 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.001397/0.001397, allocations: 170.7 kB / 23.24 MB, free: 4.473 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.404/1.404, allocations: 177.2 MB / 203.6 MB, free: 9.168 MB / 190.1 MB " [Timeout remaining time 178] 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.05898/0.05898, allocations: 9.144 MB / 269.2 MB, free: 7.914 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.0006799/0.0006799, allocations: 27.89 kB / 328.6 MB, free: 42.34 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.334/2.334, allocations: 275.1 MB / 0.6477 GB, free: 6.199 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.Discrete.Validation.FirstOrderHold,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Controls.OBC.CDL.Discrete.Validation.FirstOrderHold") translateModel(AixLib.Controls.OBC.CDL.Discrete.Validation.FirstOrderHold,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Controls.OBC.CDL.Discrete.Validation.FirstOrderHold") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 1.477e-05/1.477e-05, allocations: 5.656 kB / 0.9294 GB, free: 22.5 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(AixLib.Controls.OBC.CDL.Discrete.Validation.FirstOrderHold): time 0.001387/0.001401, allocations: 0.6581 MB / 0.9301 GB, free: 22.1 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.001052/0.002453, allocations: 1.122 MB / 0.9312 GB, free: 21.29 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.397e-05/0.002497, allocations: 0 / 0.9312 GB, free: 21.29 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 2.74e-05/0.002525, allocations: 6.047 kB / 0.9312 GB, free: 21.28 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 6.102e-05/0.002586, allocations: 10.27 kB / 0.9312 GB, free: 21.27 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002577/0.002843, allocations: 57.02 kB / 0.9312 GB, free: 21.24 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 9.554e-05/0.002939, allocations: 71.48 kB / 0.9313 GB, free: 21.21 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 8.793e-05/0.003027, allocations: 14.47 kB / 0.9313 GB, free: 21.2 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 8.344e-05/0.00311, allocations: 46.03 kB / 0.9314 GB, free: 21.18 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 5.113e-05/0.003161, allocations: 28.11 kB / 0.9314 GB, free: 21.16 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.98e-05/0.003181, allocations: 6.344 kB / 0.9314 GB, free: 21.16 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 6.106e-05/0.003242, allocations: 25.47 kB / 0.9314 GB, free: 21.16 MB / 0.7325 GB Notification: Performance of combineBinaries: time 8.207e-05/0.003324, allocations: 94.22 kB / 0.9315 GB, free: 21.1 MB / 0.7325 GB Notification: Performance of replaceArrayConstructors: time 2.202e-05/0.003346, allocations: 50.16 kB / 0.9316 GB, free: 21.07 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 2.465e-05/0.003371, allocations: 7.594 kB / 0.9316 GB, free: 21.07 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.038e-05/0.003381, allocations: 6.156 kB / 0.9316 GB, free: 21.06 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: 11 (11) * Number of variables: 11 (11) Notification: Performance of [SIM] Bindings: time 0.0004214/0.003803, allocations: 425.4 kB / 0.932 GB, free: 20.66 MB / 0.7325 GB Notification: Performance of [SIM] FunctionAlias: time 0.0001209/0.003924, allocations: 89.88 kB / 0.9321 GB, free: 20.59 MB / 0.7325 GB Notification: Performance of [SIM] Early Inline: time 0.0002427/0.004166, allocations: 276.7 kB / 0.9323 GB, free: 20.41 MB / 0.7325 GB Notification: Performance of [SIM] Simplify 1: time 7.101e-05/0.004237, allocations: 65.92 kB / 0.9324 GB, free: 20.35 MB / 0.7325 GB Notification: Performance of [SIM] Alias: time 0.000395/0.004632, allocations: 282.9 kB / 0.9327 GB, free: 20.12 MB / 0.7325 GB Notification: Performance of [SIM] Simplify 2: time 5.954e-05/0.004692, allocations: 64.69 kB / 0.9327 GB, free: 20.05 MB / 0.7325 GB Notification: Performance of [SIM] Remove Stream: time 3.745e-05/0.004729, allocations: 57.62 kB / 0.9328 GB, free: 19.99 MB / 0.7325 GB Notification: Performance of [SIM] Detect States: time 0.0001873/0.004917, allocations: 189.3 kB / 0.933 GB, free: 19.8 MB / 0.7325 GB Notification: Performance of [SIM] Events: time 6.831e-05/0.004985, allocations: 42.03 kB / 0.933 GB, free: 19.78 MB / 0.7325 GB Notification: Performance of [SIM] Partitioning: time 0.0001671/0.005152, allocations: 159.8 kB / 0.9332 GB, free: 19.66 MB / 0.7325 GB Notification: Performance of [SIM] Causalize: time 0.0002582/0.00541, allocations: 182.2 kB / 0.9333 GB, free: 19.61 MB / 0.7325 GB Notification: Performance of [SIM] After Index Reduction Inline: time 0.0001558/0.005566, allocations: 213.6 kB / 0.9335 GB, free: 19.5 MB / 0.7325 GB Notification: Performance of [INI] Simplify: time 0.000187/0.005753, allocations: 168.7 kB / 0.9337 GB, free: 19.35 MB / 0.7325 GB Notification: Performance of [INI] Inline: time 0.0002326/0.005986, allocations: 324.9 kB / 0.934 GB, free: 19.17 MB / 0.7325 GB Notification: Performance of [INI] Partitioning: time 1.681e-05/0.006003, allocations: 17.56 kB / 0.934 GB, free: 19.15 MB / 0.7325 GB Notification: Performance of [INI] Cleanup: time 5.061e-05/0.006053, allocations: 57.58 kB / 0.9341 GB, free: 19.12 MB / 0.7325 GB Notification: Performance of [INI] Causalize: time 0.0003883/0.006441, allocations: 305.1 kB / 0.9344 GB, free: 19.04 MB / 0.7325 GB Notification: Performance of [INI] Tearing: time 1.235e-05/0.006454, allocations: 6.875 kB / 0.9344 GB, free: 19.04 MB / 0.7325 GB Notification: Performance of [SIM] Initialization: time 7.62e-07/0.006455, allocations: 1 kB / 0.9344 GB, free: 19.04 MB / 0.7325 GB Notification: Performance of [SIM] Remove Dummies: time 4.167e-06/0.006459, allocations: 0 / 0.9344 GB, free: 19.04 MB / 0.7325 GB Notification: Performance of [SIM] Tearing: time 3.367e-06/0.006462, allocations: 11.03 kB / 0.9344 GB, free: 19.03 MB / 0.7325 GB Notification: Performance of [SIM] Categorize: time 6.361e-06/0.006469, allocations: 1.531 kB / 0.9344 GB, free: 19.03 MB / 0.7325 GB Notification: Performance of [SIM] Solve: time 0.0001467/0.006615, allocations: 98.83 kB / 0.9345 GB, free: 19 MB / 0.7325 GB Notification: Performance of [SIM] Jacobian: time 7.134e-06/0.006622, allocations: 5.25 kB / 0.9345 GB, free: 18.99 MB / 0.7325 GB Notification: Performance of [SIM] Minimize Homotopy System: time 4.91e-07/0.006623, allocations: 0 / 0.9345 GB, free: 18.99 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: .................... 5 (5) {firOrdHol.c, firOrdHol.pre_uSample, firOrdHol.uSample, firOrdHol.tSample, firOrdHol.firstTrigger} * Number of clocked states: ..................... 0 (0) {} * Number of discrete variables: ................. 5 (5) {firOrdHol.sampleTrigger, $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: ........... 8 (scalar:8, array:0, record:0) * Number of multi strong components: ............ 5 (algorithm:0, when:5, 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: ........... 20 (scalar:20, 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 5.258e-05/0.006675, allocations: 30.73 kB / 0.9345 GB, free: 18.98 MB / 0.7325 GB Notification: Performance of SimCode: time 0.0004846/0.00716, allocations: 329.2 kB / 0.9348 GB, free: 18.78 MB / 0.7325 GB Notification: Performance of Templates: time 0.003481/0.01064, allocations: 0.9294 MB / 0.9357 GB, free: 18.67 MB / 0.7325 GB " [Timeout remaining time 660] make -j1 -f AixLib_AixLib.Controls.OBC.CDL.Discrete.Validation.FirstOrderHold.makefile [Timeout 660] (rm -f AixLib_AixLib.Controls.OBC.CDL.Discrete.Validation.FirstOrderHold.pipe ; mkfifo AixLib_AixLib.Controls.OBC.CDL.Discrete.Validation.FirstOrderHold.pipe ; head -c 1048576 < AixLib_AixLib.Controls.OBC.CDL.Discrete.Validation.FirstOrderHold.pipe >> ../files/AixLib_AixLib.Controls.OBC.CDL.Discrete.Validation.FirstOrderHold.sim & ./AixLib_AixLib.Controls.OBC.CDL.Discrete.Validation.FirstOrderHold -abortSlowSimulation -alarm=480 -lv LOG_STATS > AixLib_AixLib.Controls.OBC.CDL.Discrete.Validation.FirstOrderHold.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.135712545365095] Failed to read output from testmodel.py, exit status != 0: 0.016623932868242264 0.027905100000000002 0.022121011000000003 Calling exit ...