Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.LessThreshold.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.0007508/0.0007508, allocations: 80.23 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.0008679/0.0008679, allocations: 174.3 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.7862/0.7862, allocations: 177.2 MB / 203.7 MB, free: 5.711 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.03215/0.03215, allocations: 9.132 MB / 269.3 MB, free: 4.43 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.000381/0.000381, allocations: 27.94 kB / 328.7 MB, free: 5.781 MB / 298.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.362/1.362, allocations: 274.9 MB / 0.6476 GB, free: 2.867 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.Reals.Validation.LessThreshold,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.LessThreshold") translateModel(AixLib.Controls.OBC.CDL.Reals.Validation.LessThreshold,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.LessThreshold") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.442e-05/2.442e-05, allocations: 2.312 kB / 0.9296 GB, free: 20.91 MB / 0.7293 GB Notification: Performance of NFInst.instantiate(AixLib.Controls.OBC.CDL.Reals.Validation.LessThreshold): time 0.001472/0.001496, allocations: 0.7918 MB / 0.9303 GB, free: 20.41 MB / 0.7293 GB Notification: Performance of NFInst.instExpressions: time 0.0007812/0.002278, allocations: 0.9153 MB / 0.9312 GB, free: 19.72 MB / 0.7293 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.45e-05/0.002342, allocations: 2.531 kB / 0.9312 GB, free: 19.72 MB / 0.7293 GB Notification: Performance of NFTyping.typeComponents: time 0.0001329/0.002475, allocations: 11.19 kB / 0.9312 GB, free: 19.71 MB / 0.7293 GB Notification: Performance of NFTyping.typeBindings: time 2.852e-05/0.002504, allocations: 9.688 kB / 0.9313 GB, free: 19.71 MB / 0.7293 GB Notification: Performance of NFTyping.typeClassSections: time 0.000181/0.002685, allocations: 36.61 kB / 0.9313 GB, free: 19.68 MB / 0.7293 GB Notification: Performance of NFFlatten.flatten: time 0.0001006/0.002785, allocations: 88.47 kB / 0.9314 GB, free: 19.64 MB / 0.7293 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001022/0.002887, allocations: 22.31 kB / 0.9314 GB, free: 19.62 MB / 0.7293 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001234/0.003011, allocations: 50.09 kB / 0.9314 GB, free: 19.6 MB / 0.7293 GB Notification: Performance of NFSimplifyModel.simplify: time 5.194e-05/0.003063, allocations: 20.3 kB / 0.9315 GB, free: 19.59 MB / 0.7293 GB Notification: Performance of NFPackage.collectConstants: time 1.535e-05/0.003078, allocations: 5.469 kB / 0.9315 GB, free: 19.59 MB / 0.7293 GB Notification: Performance of NFFlatten.collectFunctions: time 3.477e-05/0.003113, allocations: 8.219 kB / 0.9315 GB, free: 19.59 MB / 0.7293 GB Notification: Performance of combineBinaries: time 6.526e-05/0.003178, allocations: 120.8 kB / 0.9316 GB, free: 19.51 MB / 0.7293 GB Notification: Performance of replaceArrayConstructors: time 2.287e-05/0.003201, allocations: 83.28 kB / 0.9317 GB, free: 19.46 MB / 0.7293 GB Notification: Performance of NFVerifyModel.verify: time 1.11e-05/0.003212, allocations: 4.781 kB / 0.9317 GB, free: 19.46 MB / 0.7293 GB Notification: Performance of FrontEnd: time 1.186e-05/0.003224, allocations: 1.5 kB / 0.9317 GB, free: 19.46 MB / 0.7293 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.0003437/0.003568, allocations: 426 kB / 0.9321 GB, free: 19.04 MB / 0.7293 GB Notification: Performance of [SIM] FunctionAlias: time 0.0001067/0.003674, allocations: 74.88 kB / 0.9322 GB, free: 18.98 MB / 0.7293 GB Notification: Performance of [SIM] Early Inline: time 0.0001444/0.003819, allocations: 203.2 kB / 0.9323 GB, free: 18.83 MB / 0.7293 GB Notification: Performance of [SIM] Simplify 1: time 3.226e-05/0.003851, allocations: 53.8 kB / 0.9324 GB, free: 18.77 MB / 0.7293 GB Notification: Performance of [SIM] Alias: time 0.0003832/0.004234, allocations: 305.3 kB / 0.9327 GB, free: 18.53 MB / 0.7293 GB Notification: Performance of [SIM] Simplify 2: time 2.445e-05/0.004259, allocations: 48.47 kB / 0.9327 GB, free: 18.47 MB / 0.7293 GB Notification: Performance of [SIM] Remove Stream: time 1.945e-05/0.004278, allocations: 42.55 kB / 0.9328 GB, free: 18.41 MB / 0.7293 GB Notification: Performance of [SIM] Detect States: time 0.0001227/0.004401, allocations: 126.6 kB / 0.9329 GB, free: 18.25 MB / 0.7293 GB Notification: Performance of [SIM] Events: time 6.799e-05/0.004469, allocations: 39.72 kB / 0.9329 GB, free: 18.23 MB / 0.7293 GB Notification: Performance of [SIM] Partitioning: time 0.0001002/0.004569, allocations: 111.5 kB / 0.933 GB, free: 18.13 MB / 0.7293 GB Notification: Performance of [SIM] Causalize: time 0.0001481/0.004717, allocations: 125.9 kB / 0.9332 GB, free: 18.09 MB / 0.7293 GB Notification: Performance of [SIM] After Index Reduction Inline: time 7.267e-05/0.00479, allocations: 134.3 kB / 0.9333 GB, free: 18.01 MB / 0.7293 GB Notification: Performance of [INI] Simplify: time 0.0001226/0.004912, allocations: 132.7 kB / 0.9334 GB, free: 17.88 MB / 0.7293 GB Notification: Performance of [INI] Inline: time 0.0001049/0.005017, allocations: 210.6 kB / 0.9336 GB, free: 17.75 MB / 0.7293 GB Notification: Performance of [INI] Partitioning: time 7.454e-06/0.005025, allocations: 10.69 kB / 0.9336 GB, free: 17.73 MB / 0.7293 GB Notification: Performance of [INI] Cleanup: time 2.696e-05/0.005052, allocations: 39.23 kB / 0.9337 GB, free: 17.71 MB / 0.7293 GB Notification: Performance of [INI] Causalize: time 0.0002045/0.005256, allocations: 210.6 kB / 0.9339 GB, free: 17.65 MB / 0.7293 GB Notification: Performance of [INI] Tearing: time 8.777e-06/0.005265, allocations: 9.562 kB / 0.9339 GB, free: 17.64 MB / 0.7293 GB Notification: Performance of [SIM] Initialization: time 3.456e-06/0.005268, allocations: 1.656 kB / 0.9339 GB, free: 17.64 MB / 0.7293 GB Notification: Performance of [SIM] DAE-Mode: time 3.902e-05/0.005307, allocations: 27.66 kB / 0.9339 GB, free: 17.62 MB / 0.7293 GB Notification: Performance of [SIM] Remove Dummies: time 3.516e-06/0.005311, allocations: 1.219 kB / 0.9339 GB, free: 17.62 MB / 0.7293 GB Notification: Performance of [SIM] Tearing: time 2.595e-06/0.005313, allocations: 6.469 kB / 0.9339 GB, free: 17.61 MB / 0.7293 GB Notification: Performance of [SIM] Categorize: time 6.332e-06/0.00532, allocations: 1.281 kB / 0.9339 GB, free: 17.61 MB / 0.7293 GB Notification: Performance of [SIM] Solve: time 0.0001026/0.005422, allocations: 102 kB / 0.934 GB, free: 17.57 MB / 0.7293 GB Notification: Performance of [SIM] Jacobian: time 7.11e-05/0.005493, allocations: 181.5 kB / 0.9342 GB, free: 17.38 MB / 0.7293 GB Notification: Performance of [SIM] Minimize Homotopy System: time 6.01e-07/0.005494, allocations: 0 / 0.9342 GB, free: 17.38 MB / 0.7293 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: .................... 0 (0) {} * Number of clocked states: ..................... 0 (0) {} * Number of discrete variables: ................. 6 (6) {les.y, lesHys.y, lesHys.lesHys.y, $SEV_1, $SEV_0, $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: ............ 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: [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: ............ 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 2.763e-05/0.005522, allocations: 40.06 kB / 0.9342 GB, free: 17.34 MB / 0.7293 GB Notification: Performance of SimCode: time 0.0004607/0.005982, allocations: 358.9 kB / 0.9346 GB, free: 17.14 MB / 0.7293 GB Notification: Performance of Templates: time 0.002099/0.008081, allocations: 0.7307 MB / 0.9353 GB, free: 17.07 MB / 0.7293 GB " [Timeout remaining time 660] make -j1 -f AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.LessThreshold.makefile [Timeout 660] (rm -f AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.LessThreshold.pipe ; mkfifo AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.LessThreshold.pipe ; head -c 1048576 < AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.LessThreshold.pipe >> ../files/AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.LessThreshold.sim & ./AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.LessThreshold -abortSlowSimulation -alarm=480 -lv LOG_STATS > AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.LessThreshold.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 6.9745685225352645] Failed to read output from testmodel.py, exit status != 0: 0.01292419247329235 0.019728479 0.014988138000000002 Calling exit ...