Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Derivative.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.0007252/0.0007252, allocations: 84.23 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.0007392/0.0007392, 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.778/0.778, allocations: 177.1 MB / 203.7 MB, free: 5.703 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.03118/0.03118, allocations: 9.126 MB / 269.2 MB, free: 4.422 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.0004104/0.0004104, allocations: 23.95 kB / 328.7 MB, free: 20.6 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.32/1.32, allocations: 275 MB / 0.6476 GB, free: 2.484 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.Derivative,tolerance=1e-07,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Derivative") translateModel(AixLib.Controls.OBC.CDL.Reals.Validation.Derivative,tolerance=1e-07,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Derivative") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 1.669e-05/1.669e-05, allocations: 6.25 kB / 0.9296 GB, free: 8.023 MB / 0.698 GB Notification: Performance of NFInst.instantiate(AixLib.Controls.OBC.CDL.Reals.Validation.Derivative): time 0.001313/0.00133, allocations: 0.9925 MB / 0.9305 GB, free: 7.055 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.0008578/0.002188, allocations: 1.036 MB / 0.9316 GB, free: 6.008 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.614e-05/0.002264, allocations: 7.938 kB / 0.9316 GB, free: 6 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.0001028/0.002366, allocations: 15.8 kB / 0.9316 GB, free: 5.984 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 4.311e-05/0.00241, allocations: 24.83 kB / 0.9316 GB, free: 5.961 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002276/0.002637, allocations: 75.78 kB / 0.9317 GB, free: 5.887 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.0001469/0.002784, allocations: 203.9 kB / 0.9319 GB, free: 5.691 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001243/0.002908, allocations: 56.52 kB / 0.9319 GB, free: 5.633 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 9.026e-05/0.002999, allocations: 99.78 kB / 0.932 GB, free: 5.535 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 6.313e-05/0.003062, allocations: 55.84 kB / 0.9321 GB, free: 5.48 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 2.121e-05/0.003083, allocations: 20 kB / 0.9321 GB, free: 5.461 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 3.937e-05/0.003122, allocations: 20.5 kB / 0.9321 GB, free: 5.441 MB / 0.698 GB Notification: Performance of combineBinaries: time 0.0001257/0.003248, allocations: 277.8 kB / 0.9324 GB, free: 5.168 MB / 0.698 GB Notification: Performance of replaceArrayConstructors: time 5.231e-05/0.0033, allocations: 169.7 kB / 0.9325 GB, free: 5 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 1.667e-05/0.003317, allocations: 8.844 kB / 0.9325 GB, free: 4.992 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.744e-05/0.003335, allocations: 11.88 kB / 0.9326 GB, free: 4.98 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: 36 (36) * Number of variables: 36 (36) Notification: Performance of [SIM] Bindings: time 0.0005639/0.003898, allocations: 0.8302 MB / 0.9334 GB, free: 4.031 MB / 0.698 GB Notification: Performance of [SIM] FunctionAlias: time 0.0001303/0.004029, allocations: 146.5 kB / 0.9335 GB, free: 3.879 MB / 0.698 GB Notification: Performance of [SIM] Early Inline: time 0.0002789/0.004308, allocations: 0.5155 MB / 0.934 GB, free: 3.336 MB / 0.698 GB Notification: Performance of [SIM] Simplify 1: time 9.429e-05/0.004402, allocations: 118.9 kB / 0.9341 GB, free: 3.195 MB / 0.698 GB Notification: Performance of [SIM] Alias: time 0.000721/0.005123, allocations: 0.8821 MB / 0.935 GB, free: 2.172 MB / 0.698 GB Notification: Performance of [SIM] Simplify 2: time 5.777e-05/0.005181, allocations: 91.73 kB / 0.9351 GB, free: 2.059 MB / 0.698 GB Notification: Performance of [SIM] Remove Stream: time 3.556e-05/0.005216, allocations: 68.41 kB / 0.9351 GB, free: 1.965 MB / 0.698 GB Notification: Performance of [SIM] Detect States: time 0.0001738/0.00539, allocations: 209.4 kB / 0.9353 GB, free: 1.695 MB / 0.698 GB Notification: Performance of [SIM] Events: time 7.1e-05/0.005461, allocations: 49.89 kB / 0.9354 GB, free: 1.648 MB / 0.698 GB Notification: Performance of [SIM] Partitioning: time 0.0001562/0.005617, allocations: 189.8 kB / 0.9356 GB, free: 1.426 MB / 0.698 GB Notification: Performance of [SIM] Causalize: time 0.0002124/0.00583, allocations: 255.1 kB / 0.9358 GB, free: 1.172 MB / 0.698 GB Notification: Performance of [SIM] After Index Reduction Inline: time 0.0001369/0.005967, allocations: 299.7 kB / 0.9361 GB, free: 0.8789 MB / 0.698 GB Notification: Performance of [INI] Simplify: time 0.0002169/0.006184, allocations: 262.5 kB / 0.9363 GB, free: 0.5742 MB / 0.698 GB Notification: Performance of [INI] Inline: time 0.0002361/0.00642, allocations: 0.4969 MB / 0.9368 GB, free: 76 kB / 0.698 GB Notification: Performance of [INI] Partitioning: time 1.799e-05/0.006438, allocations: 30.67 kB / 0.9369 GB, free: 36 kB / 0.698 GB Notification: Performance of [INI] Cleanup: time 6.436e-05/0.006502, allocations: 99.98 kB / 0.937 GB, free: 15.93 MB / 0.7137 GB Notification: Performance of [INI] Causalize: time 0.0004071/0.006909, allocations: 0.5278 MB / 0.9375 GB, free: 15.4 MB / 0.7137 GB Notification: Performance of [INI] Tearing: time 1.363e-05/0.006923, allocations: 20 kB / 0.9375 GB, free: 15.38 MB / 0.7137 GB Notification: Performance of [SIM] Initialization: time 3.91e-07/0.006923, allocations: 0 / 0.9375 GB, free: 15.38 MB / 0.7137 GB Notification: Performance of [SIM] DAE-Mode: time 7.477e-05/0.006998, allocations: 84.05 kB / 0.9376 GB, free: 15.29 MB / 0.7137 GB Notification: Performance of [SIM] Remove Dummies: time 3.186e-06/0.007001, allocations: 3.938 kB / 0.9376 GB, free: 15.29 MB / 0.7137 GB Notification: Performance of [SIM] Tearing: time 4.959e-06/0.007006, allocations: 16 kB / 0.9376 GB, free: 15.27 MB / 0.7137 GB Notification: Performance of [SIM] Categorize: time 6.562e-06/0.007013, allocations: 0 / 0.9376 GB, free: 15.27 MB / 0.7137 GB Notification: Performance of [SIM] Solve: time 0.0002479/0.00726, allocations: 341.7 kB / 0.9379 GB, free: 14.94 MB / 0.7137 GB Notification: Performance of [SIM] Jacobian: time 0.0002512/0.007512, allocations: 499.9 kB / 0.9384 GB, free: 14.38 MB / 0.7137 GB Notification: Performance of [SIM] Minimize Homotopy System: time 4.91e-07/0.007512, allocations: 4 kB / 0.9384 GB, free: 14.38 MB / 0.7137 GB Notification: Partition statistics after passing the back-end: * Number of ODE partitions: ..................... 0 * Number of algebraic partitions: ............... 0 * Number of ODE event partitions: ............... 1 * Number of algebraic event partitions: ......... 0 * 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: ............................. 3 (3) {der1.x, der1.u, der2.x} * Number of discrete states: .................... 0 (0) {} * Number of clocked states: ..................... 0 (0) {} * Number of discrete variables: ................. 5 (5) {assMes.u, lesThr.lesHys.y, $SEV_0, $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: ........... 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: [Initialization] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 33 (scalar:33, 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.012e-05/0.007542, allocations: 27.17 kB / 0.9384 GB, free: 14.36 MB / 0.7137 GB Notification: Performance of SimCode: time 0.0006318/0.008174, allocations: 0.7185 MB / 0.9391 GB, free: 13.61 MB / 0.7137 GB Notification: Performance of Templates: time 0.00273/0.0109, allocations: 1.668 MB / 0.9407 GB, free: 11.96 MB / 0.7137 GB " [Timeout remaining time 660] make -j1 -f AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Derivative.makefile [Timeout 660] (rm -f AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Derivative.pipe ; mkfifo AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Derivative.pipe ; head -c 1048576 < AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Derivative.pipe >> ../files/AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Derivative.sim & ./AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Derivative -abortSlowSimulation -alarm=480 -lv LOG_STATS > AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Derivative.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 4.242923305369914] Failed to read output from testmodel.py, exit status != 0: 0.015033804811537266 0.022136106000000003 0.017396916000000002 Calling exit ...