Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr FluxTubesExtension_FluxTubesExtension.Examples.ToroidalCoreAirgap.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.001438/0.001438, allocations: 81.3 kB / 20.05 MB, free: 1.48 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.001556/0.001556, allocations: 168.5 kB / 23.34 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.285/1.285, allocations: 177.1 MB / 203.7 MB, free: 9.129 MB / 190.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/FluxTubesExtension main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/FluxTubesExtension main/package.mo): time 0.008211/0.008211, allocations: 0.9621 MB / 261 MB, free: 15.78 MB / 254.1 MB " [Timeout remaining time 180] Using package FluxTubesExtension with version 1.2.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/FluxTubesExtension main/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(FluxTubesExtension.Examples.ToroidalCoreAirgap,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="FluxTubesExtension_FluxTubesExtension.Examples.ToroidalCoreAirgap") translateModel(FluxTubesExtension.Examples.ToroidalCoreAirgap,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="FluxTubesExtension_FluxTubesExtension.Examples.ToroidalCoreAirgap") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 1.231e-05/1.231e-05, allocations: 2.281 kB / 384 MB, free: 3.496 MB / 302.1 MB Notification: Performance of NFInst.instantiate(FluxTubesExtension.Examples.ToroidalCoreAirgap): time 0.00394/0.003953, allocations: 2.822 MB / 386.8 MB, free: 0.6445 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002084/0.006036, allocations: 1.335 MB / 388.2 MB, free: 15.3 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001152/0.006151, allocations: 4 kB / 388.2 MB, free: 15.3 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004344/0.006586, allocations: 143 kB / 388.3 MB, free: 15.16 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002873/0.006873, allocations: 130.9 kB / 388.4 MB, free: 15.03 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006259/0.007499, allocations: 283 kB / 388.7 MB, free: 14.75 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005304/0.008029, allocations: 0.5254 MB / 389.2 MB, free: 14.22 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001652/0.008194, allocations: 79.14 kB / 389.3 MB, free: 14.15 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003764/0.008571, allocations: 287.3 kB / 389.6 MB, free: 13.87 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002049/0.008776, allocations: 131.6 kB / 389.7 MB, free: 13.74 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 4.93e-05/0.008825, allocations: 36 kB / 389.8 MB, free: 13.7 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003911/0.009216, allocations: 283.2 kB / 390 MB, free: 13.43 MB / 318.1 MB Notification: Performance of combineBinaries: time 0.0005336/0.00975, allocations: 0.6577 MB / 390.7 MB, free: 12.76 MB / 318.1 MB Notification: Performance of replaceArrayConstructors: time 0.0002874/0.01004, allocations: 430.3 kB / 391.1 MB, free: 12.34 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 5.096e-05/0.01009, allocations: 36 kB / 391.2 MB, free: 12.3 MB / 318.1 MB Notification: Performance of FrontEnd: time 3.018e-05/0.01012, allocations: 8 kB / 391.2 MB, free: 12.29 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 80 (80) * Number of variables: 80 (80) Notification: Performance of [SIM] Bindings: time 0.002017/0.01214, allocations: 2.027 MB / 393.2 MB, free: 10.12 MB / 318.1 MB Notification: Performance of [SIM] FunctionAlias: time 0.0003558/0.01249, allocations: 308.2 kB / 393.5 MB, free: 9.812 MB / 318.1 MB Notification: Performance of [SIM] Early Inline: time 0.00155/0.01404, allocations: 1.583 MB / 395.1 MB, free: 8.207 MB / 318.1 MB Notification: Performance of [SIM] Simplify 1: time 0.0003094/0.01435, allocations: 238.7 kB / 395.3 MB, free: 7.949 MB / 318.1 MB Notification: Performance of [SIM] Alias: time 0.002428/0.01678, allocations: 1.8 MB / 397.1 MB, free: 5.965 MB / 318.1 MB Notification: Performance of [SIM] Simplify 2: time 0.0002671/0.01705, allocations: 200.2 kB / 397.3 MB, free: 5.746 MB / 318.1 MB Notification: Performance of [SIM] Remove Stream: time 0.0001119/0.01716, allocations: 92.33 kB / 397.4 MB, free: 5.629 MB / 318.1 MB Notification: Performance of [SIM] Detect States: time 0.0004175/0.01757, allocations: 367 kB / 397.8 MB, free: 5.207 MB / 318.1 MB Notification: Performance of [SIM] Events: time 9.785e-05/0.01767, allocations: 47.86 kB / 397.8 MB, free: 5.16 MB / 318.1 MB Notification: Performance of [SIM] Partitioning: time 0.0005789/0.01825, allocations: 465.2 kB / 398.3 MB, free: 4.645 MB / 318.1 MB Notification: Performance of [SIM] Causalize: time 0.003875/0.02213, allocations: 3.114 MB / 401.4 MB, free: 1.418 MB / 318.1 MB Notification: Performance of [SIM] After Index Reduction Inline: time 0.0009556/0.02308, allocations: 1.081 MB / 402.4 MB, free: 344 kB / 318.1 MB Notification: Performance of [INI] Simplify: time 0.0008868/0.02397, allocations: 0.6167 MB / 403.1 MB, free: 15.67 MB / 334.1 MB Notification: Performance of [INI] Inline: time 0.001728/0.0257, allocations: 1.928 MB / 405 MB, free: 13.73 MB / 334.1 MB Notification: Performance of [INI] Partitioning: time 5.786e-05/0.02575, allocations: 32 kB / 405 MB, free: 13.7 MB / 334.1 MB Notification: Performance of [INI] Cleanup: time 0.0003085/0.02606, allocations: 343.6 kB / 405.4 MB, free: 13.36 MB / 334.1 MB Notification: Performance of [INI] Causalize: time 0.003092/0.02916, allocations: 2.408 MB / 407.8 MB, free: 10.97 MB / 334.1 MB Notification: Performance of [INI] Tearing: time 0.0002708/0.02943, allocations: 205.9 kB / 408 MB, free: 10.78 MB / 334.1 MB Notification: Performance of [SIM] Initialization: time 4.01e-07/0.02943, allocations: 0 / 408 MB, free: 10.78 MB / 334.1 MB Notification: Performance of [SIM] Remove Dummies: time 8.937e-06/0.02944, allocations: 4 kB / 408 MB, free: 10.77 MB / 334.1 MB Notification: Performance of [SIM] Tearing: time 0.0002364/0.02967, allocations: 203.1 kB / 408.2 MB, free: 10.58 MB / 334.1 MB Notification: Performance of [SIM] Categorize: time 1.583e-05/0.02969, allocations: 12 kB / 408.2 MB, free: 10.57 MB / 334.1 MB Notification: Performance of [SIM] Solve: time 0.0007304/0.03042, allocations: 468.8 kB / 408.6 MB, free: 10.11 MB / 334.1 MB Notification: Performance of [SIM] Jacobian: time 0.001137/0.03156, allocations: 1.081 MB / 409.7 MB, free: 8.965 MB / 334.1 MB Notification: Performance of [SIM] Minimize Homotopy System: time 5.01e-07/0.03156, allocations: 0 / 409.7 MB, free: 8.965 MB / 334.1 MB Notification: Partition statistics after passing the back-end: * Number of ODE partitions: ..................... 0 * Number of algebraic partitions: ............... 3 * 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: ................. 2 (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: ........... 47 (scalar:47, 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: ... 2 (linear: 2, nonlinear:0) Notification: [Initialization] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 64 (scalar:64, array:0, record:0) * Number of multi strong components: ............ 0 (algorithm:0, when:0, if:0, tuple:1) * Number of for-loop strong components: ......... 0 (resizable: 0, generic: 0, entwined:0) * Number of algebraic-loop strong components: ... 2 (linear: 2, nonlinear:0) Notification: Performance of backend: time 4.388e-05/0.0316, allocations: 40.06 kB / 409.8 MB, free: 8.93 MB / 334.1 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/NFFrontEnd/NFExpression.mo:2757:11-2757:118:writable] Error: Internal error NFExpression.toDAE got unknown expression '#EMPTY#' " [Timeout remaining time 660] [Calling sys.exit(0), Time elapsed: 2.0041090920567513] Failed to read output from testmodel.py, exit status != 0: 0.0409742146730423 0.054698405000000005 0.041780505 Calling exit ...