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.001304/0.001304, allocations: 104.3 kB / 19.77 MB, free: 2.051 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.001363/0.001363, allocations: 215.5 kB / 23.07 MB, free: 4.844 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.358/1.358, allocations: 230.7 MB / 256.9 MB, free: 7.762 MB / 206.1 MB " [Timeout remaining time 178] 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.008771/0.008771, allocations: 1.233 MB / 314.5 MB, free: 1.715 MB / 238.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.384e-05/1.384e-05, allocations: 5.516 kB / 437.3 MB, free: 15.78 MB / 302.1 MB Notification: Performance of NFInst.instantiate(FluxTubesExtension.Examples.ToroidalCoreAirgap): time 0.002788/0.002802, allocations: 2.816 MB / 440.1 MB, free: 12.94 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001525/0.004327, allocations: 1.331 MB / 441.5 MB, free: 11.6 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001113/0.004439, allocations: 4 kB / 441.5 MB, free: 11.59 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003922/0.004831, allocations: 151 kB / 441.6 MB, free: 11.45 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002296/0.00506, allocations: 127 kB / 441.7 MB, free: 11.32 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005065/0.005567, allocations: 282.4 kB / 442 MB, free: 11.05 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002972/0.005864, allocations: 0.5022 MB / 442.5 MB, free: 10.54 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001475/0.006012, allocations: 83.12 kB / 442.6 MB, free: 10.46 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002008/0.006213, allocations: 211.2 kB / 442.8 MB, free: 10.26 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001412/0.006354, allocations: 163.2 kB / 443 MB, free: 10.1 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 3.647e-05/0.00639, allocations: 36 kB / 443 MB, free: 10.06 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002822/0.006672, allocations: 275.3 kB / 443.3 MB, free: 9.793 MB / 302.1 MB Notification: Performance of combineBinaries: time 0.0003058/0.006978, allocations: 0.7578 MB / 444 MB, free: 9.027 MB / 302.1 MB Notification: Performance of replaceArrayConstructors: time 0.0001268/0.007105, allocations: 0.4896 MB / 444.5 MB, free: 8.531 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 3.812e-05/0.007143, allocations: 32 kB / 444.5 MB, free: 8.5 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.855e-05/0.007172, allocations: 12 kB / 444.5 MB, free: 8.488 MB / 302.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.001095/0.008267, allocations: 2.104 MB / 446.7 MB, free: 6.238 MB / 302.1 MB Notification: Performance of [SIM] FunctionAlias: time 0.0001795/0.008446, allocations: 248.9 kB / 446.9 MB, free: 5.984 MB / 302.1 MB Notification: Performance of [SIM] Early Inline: time 0.0008425/0.009289, allocations: 1.489 MB / 448.4 MB, free: 4.488 MB / 302.1 MB Notification: Performance of [SIM] Simplify 1: time 0.0002893/0.009578, allocations: 361.1 kB / 448.7 MB, free: 4.113 MB / 302.1 MB Notification: Performance of [SIM] Alias: time 0.001471/0.01105, allocations: 1.703 MB / 450.4 MB, free: 2.242 MB / 302.1 MB Notification: Performance of [SIM] Simplify 2: time 0.0002198/0.01127, allocations: 292.3 kB / 450.7 MB, free: 1.93 MB / 302.1 MB Notification: Performance of [SIM] Remove Stream: time 6.416e-05/0.01133, allocations: 100.3 kB / 450.8 MB, free: 1.805 MB / 302.1 MB Notification: Performance of [SIM] Detect States: time 0.0001671/0.0115, allocations: 247.2 kB / 451.1 MB, free: 1.512 MB / 302.1 MB Notification: Performance of [SIM] Events: time 8.374e-05/0.01158, allocations: 63.69 kB / 451.1 MB, free: 1.449 MB / 302.1 MB Notification: Performance of [SIM] Partitioning: time 0.0002628/0.01185, allocations: 379.5 kB / 451.5 MB, free: 1.047 MB / 302.1 MB Notification: Performance of [SIM] Causalize: time 0.00357/0.01542, allocations: 3.264 MB / 454.8 MB, free: 13.8 MB / 318.1 MB Notification: Performance of [SIM] After Index Reduction Inline: time 0.001394/0.01681, allocations: 1.471 MB / 456.2 MB, free: 12.33 MB / 318.1 MB Notification: Performance of [INI] Simplify: time 0.001472/0.01828, allocations: 1.096 MB / 457.3 MB, free: 11.23 MB / 318.1 MB Notification: Performance of [INI] Inline: time 0.002321/0.0206, allocations: 2.576 MB / 459.9 MB, free: 8.652 MB / 318.1 MB Notification: Performance of [INI] Partitioning: time 7.295e-05/0.02068, allocations: 39.98 kB / 459.9 MB, free: 8.605 MB / 318.1 MB Notification: Performance of [INI] Cleanup: time 0.0003098/0.02099, allocations: 363.6 kB / 460.3 MB, free: 8.25 MB / 318.1 MB Notification: Performance of [INI] Causalize: time 0.003732/0.02472, allocations: 2.868 MB / 463.2 MB, free: 5.383 MB / 318.1 MB Notification: Performance of [INI] Tearing: time 0.0005265/0.02525, allocations: 446.8 kB / 463.6 MB, free: 4.965 MB / 318.1 MB Notification: Performance of [SIM] Initialization: time 2.816e-06/0.02525, allocations: 4 kB / 463.6 MB, free: 4.961 MB / 318.1 MB Notification: Performance of [SIM] DAE-Mode: time 0.001286/0.02654, allocations: 1.134 MB / 464.7 MB, free: 3.844 MB / 318.1 MB Notification: Performance of [SIM] Remove Dummies: time 5.61e-06/0.02654, allocations: 0.5 kB / 464.7 MB, free: 3.844 MB / 318.1 MB Notification: Performance of [SIM] Tearing: time 0.0004635/0.027, allocations: 453.9 kB / 465.2 MB, free: 3.41 MB / 318.1 MB Notification: Performance of [SIM] Categorize: time 1.252e-05/0.02702, allocations: 4 kB / 465.2 MB, free: 3.406 MB / 318.1 MB Notification: Performance of [SIM] Solve: time 0.003499/0.03052, allocations: 3.011 MB / 468.2 MB, free: 464 kB / 318.1 MB Notification: Performance of [SIM] Jacobian: time 0.002508/0.03302, allocations: 2.657 MB / 470.9 MB, free: 13.57 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: ................. 3 (3) {$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: ........... 60 (scalar:60, 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: ........... 77 (scalar:77, 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 5.904e-05/0.03308, allocations: 46.39 kB / 470.9 MB, free: 13.53 MB / 334.1 MB [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/NFFrontEnd/NFExpression.mo:2487:11-2487:118:writable] Error: Internal error NFExpression.toDAE got unknown expression '#EMPTY#' " [Timeout remaining time 660] [Calling sys.exit(0), Time elapsed: 2.191069605993107] Failed to read output from testmodel.py, exit status != 0: 0.04157474800013006 0.056045429 0.046085061000000004 Calling exit ...