Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.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.001243/0.001243, allocations: 107.6 kB / 21.2 MB, free: 500 kB / 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.001288/0.001288, allocations: 213.1 kB / 24.49 MB, free: 3.805 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.431/1.431, allocations: 230.6 MB / 258.3 MB, free: 7.797 MB / 206.1 MB " [Timeout remaining time 178] 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(Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection,tolerance=1e-06,outputFormat="mat",numberOfIntervals=500,variableFilter="time|magFluxSensor.Phi|voltageSensor.v",fileNamePrefix="Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection") translateModel(Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection,tolerance=1e-06,outputFormat="mat",numberOfIntervals=500,variableFilter="time|magFluxSensor.Phi|voltageSensor.v",fileNamePrefix="Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.21e-05/2.21e-05, allocations: 2.281 kB / 378.9 MB, free: 2.488 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection): time 0.1687/0.1687, allocations: 2.668 MB / 381.6 MB, free: 13.01 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001405/0.1701, allocations: 0.7516 MB / 382.4 MB, free: 12.95 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001351/0.1703, allocations: 5.062 kB / 382.4 MB, free: 12.95 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002069/0.1705, allocations: 67.95 kB / 382.4 MB, free: 12.91 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002725/0.1707, allocations: 103.1 kB / 382.5 MB, free: 12.87 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002567/0.171, allocations: 114.4 kB / 382.6 MB, free: 12.86 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.000412/0.1714, allocations: 455.7 kB / 383.1 MB, free: 12.79 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001896/0.1716, allocations: 93.98 kB / 383.2 MB, free: 12.78 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002875/0.1719, allocations: 173.1 kB / 383.3 MB, free: 12.75 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001772/0.1721, allocations: 175.3 kB / 383.5 MB, free: 12.71 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 5.561e-05/0.1721, allocations: 33.16 kB / 383.5 MB, free: 12.71 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.225e-05/0.1722, allocations: 40.16 kB / 383.6 MB, free: 12.71 MB / 302.1 MB Notification: Performance of combineBinaries: time 0.0004213/0.1726, allocations: 0.7068 MB / 384.3 MB, free: 12.36 MB / 302.1 MB Notification: Performance of replaceArrayConstructors: time 0.0001924/0.1728, allocations: 448.2 kB / 384.7 MB, free: 12.09 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 5.922e-05/0.1729, allocations: 31.31 kB / 384.8 MB, free: 12.09 MB / 302.1 MB Notification: Performance of FrontEnd: time 3.55e-05/0.1729, allocations: 6.812 kB / 384.8 MB, free: 12.09 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: 79 (79) * Number of variables: 79 (79) Notification: Performance of [SIM] Bindings: time 0.001315/0.1742, allocations: 1.773 MB / 386.5 MB, free: 11.08 MB / 302.1 MB Notification: Performance of [SIM] FunctionAlias: time 0.0002556/0.1745, allocations: 252.1 kB / 386.8 MB, free: 10.93 MB / 302.1 MB Notification: Performance of [SIM] Early Inline: time 0.0007175/0.1752, allocations: 0.8564 MB / 387.6 MB, free: 10.42 MB / 302.1 MB Notification: Performance of [SIM] Simplify 1: time 0.0002984/0.1755, allocations: 250.8 kB / 387.9 MB, free: 10.26 MB / 302.1 MB Notification: Performance of [SIM] Alias: time 0.001886/0.1774, allocations: 1.539 MB / 389.4 MB, free: 9.402 MB / 302.1 MB Notification: Performance of [SIM] Simplify 2: time 0.0001822/0.1776, allocations: 173.1 kB / 389.6 MB, free: 9.277 MB / 302.1 MB Notification: Performance of [SIM] Remove Stream: time 7.443e-05/0.1776, allocations: 87.3 kB / 389.7 MB, free: 9.195 MB / 302.1 MB Notification: Performance of [SIM] Detect States: time 0.0002021/0.1778, allocations: 194.3 kB / 389.9 MB, free: 9.012 MB / 302.1 MB Notification: Performance of [SIM] Events: time 8.607e-05/0.1779, allocations: 47.38 kB / 389.9 MB, free: 8.988 MB / 302.1 MB Notification: Performance of [SIM] Partitioning: time 0.0003291/0.1783, allocations: 290.1 kB / 390.2 MB, free: 8.828 MB / 302.1 MB Notification: Performance of [SIM] Causalize: time 0.002787/0.181, allocations: 2.395 MB / 392.6 MB, free: 8.012 MB / 302.1 MB Notification: Performance of [SIM] After Index Reduction Inline: time 0.00068/0.1817, allocations: 0.8445 MB / 393.4 MB, free: 7.574 MB / 302.1 MB Notification: Performance of [INI] Simplify: time 0.0008552/0.1826, allocations: 0.6517 MB / 394.1 MB, free: 7.195 MB / 302.1 MB Notification: Performance of [INI] Inline: time 0.001163/0.1837, allocations: 1.326 MB / 395.4 MB, free: 6.508 MB / 302.1 MB Notification: Performance of [INI] Partitioning: time 6.013e-05/0.1838, allocations: 37.66 kB / 395.5 MB, free: 6.477 MB / 302.1 MB Notification: Performance of [INI] Cleanup: time 0.000187/0.184, allocations: 242.9 kB / 395.7 MB, free: 6.34 MB / 302.1 MB Notification: Performance of [INI] Causalize: time 0.002034/0.186, allocations: 1.557 MB / 397.2 MB, free: 5.977 MB / 302.1 MB Notification: Performance of [INI] Tearing: time 0.0001039/0.1861, allocations: 103.4 kB / 397.4 MB, free: 5.926 MB / 302.1 MB Notification: Performance of [SIM] Initialization: time 9.72e-07/0.1861, allocations: 1.219 kB / 397.4 MB, free: 5.926 MB / 302.1 MB Notification: Performance of [SIM] Remove Dummies: time 1.097e-05/0.1861, allocations: 1.562 kB / 397.4 MB, free: 5.926 MB / 302.1 MB Notification: Performance of [SIM] Tearing: time 8.081e-05/0.1862, allocations: 90.17 kB / 397.4 MB, free: 5.887 MB / 302.1 MB Notification: Performance of [SIM] Categorize: time 1.633e-05/0.1862, allocations: 6.875 kB / 397.4 MB, free: 5.883 MB / 302.1 MB Notification: Performance of [SIM] Solve: time 0.0008968/0.1871, allocations: 0.6737 MB / 398.1 MB, free: 5.652 MB / 302.1 MB Notification: Performance of [SIM] Jacobian: time 9.288e-06/0.1871, allocations: 1.469 kB / 398.1 MB, free: 5.652 MB / 302.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: ........... 58 (scalar:58, 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: ........... 76 (scalar:76, 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: Performance of backend: time 4.335e-05/0.1872, allocations: 42.39 kB / 398.2 MB, free: 5.621 MB / 302.1 MB [/var/lib/jenkins/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.291900937911123] Failed to read output from testmodel.py, exit status != 0: ['time', 'magFluxSensor.Phi', 'voltageSensor.v'] 0.195589954033494 0.20804452799999995 0.03217615099999994 Calling exit ...