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.001775/0.001775, allocations: 99.64 kB / 21.25 MB, free: 428 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.00196/0.00196, allocations: 208.7 kB / 24.55 MB, free: 3.73 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.612/1.612, allocations: 230.6 MB / 258.3 MB, free: 7.785 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.287e-05/2.287e-05, allocations: 2.281 kB / 379.1 MB, free: 2.465 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection): time 0.2172/0.2172, allocations: 2.663 MB / 381.7 MB, free: 13.05 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001628/0.2188, allocations: 0.754 MB / 382.5 MB, free: 12.99 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001544/0.219, allocations: 5.375 kB / 382.5 MB, free: 12.99 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00023/0.2192, allocations: 64.67 kB / 382.5 MB, free: 12.95 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002965/0.2195, allocations: 105.9 kB / 382.6 MB, free: 12.91 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00032/0.2198, allocations: 109 kB / 382.7 MB, free: 12.9 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005088/0.2203, allocations: 455.8 kB / 383.2 MB, free: 12.82 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000222/0.2206, allocations: 84.31 kB / 383.3 MB, free: 12.81 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003303/0.2209, allocations: 170.3 kB / 383.4 MB, free: 12.78 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002011/0.2211, allocations: 159 kB / 383.6 MB, free: 12.73 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 6.135e-05/0.2212, allocations: 34.03 kB / 383.6 MB, free: 12.73 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001107/0.2213, allocations: 40.12 kB / 383.7 MB, free: 12.73 MB / 302.1 MB Notification: Performance of combineBinaries: time 0.0005319/0.2218, allocations: 0.7044 MB / 384.4 MB, free: 12.39 MB / 302.1 MB Notification: Performance of replaceArrayConstructors: time 0.0002537/0.2221, allocations: 445.5 kB / 384.8 MB, free: 12.12 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 7.205e-05/0.2221, allocations: 31.66 kB / 384.8 MB, free: 12.12 MB / 302.1 MB Notification: Performance of FrontEnd: time 4.553e-05/0.2222, allocations: 7.562 kB / 384.8 MB, free: 12.12 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.001667/0.2238, allocations: 1.772 MB / 386.6 MB, free: 11.12 MB / 302.1 MB Notification: Performance of [SIM] FunctionAlias: time 0.0003011/0.2241, allocations: 257.5 kB / 386.9 MB, free: 10.97 MB / 302.1 MB Notification: Performance of [SIM] Early Inline: time 0.0008272/0.225, allocations: 0.858 MB / 387.7 MB, free: 10.46 MB / 302.1 MB Notification: Performance of [SIM] Simplify 1: time 0.0003245/0.2253, allocations: 223.1 kB / 387.9 MB, free: 10.32 MB / 302.1 MB Notification: Performance of [SIM] Alias: time 0.002226/0.2275, allocations: 1.612 MB / 389.6 MB, free: 9.461 MB / 302.1 MB Notification: Performance of [SIM] Simplify 2: time 0.0002008/0.2277, allocations: 161.6 kB / 389.7 MB, free: 9.344 MB / 302.1 MB Notification: Performance of [SIM] Remove Stream: time 8.238e-05/0.2278, allocations: 90.91 kB / 389.8 MB, free: 9.258 MB / 302.1 MB Notification: Performance of [SIM] Detect States: time 0.0002388/0.228, allocations: 194.9 kB / 390 MB, free: 9.074 MB / 302.1 MB Notification: Performance of [SIM] Events: time 9.002e-05/0.2281, allocations: 49.22 kB / 390 MB, free: 9.047 MB / 302.1 MB Notification: Performance of [SIM] Partitioning: time 0.0003486/0.2285, allocations: 293.8 kB / 390.3 MB, free: 8.883 MB / 302.1 MB Notification: Performance of [SIM] Causalize: time 0.003123/0.2316, allocations: 2.454 MB / 392.8 MB, free: 8.027 MB / 302.1 MB Notification: Performance of [SIM] After Index Reduction Inline: time 0.0008023/0.2324, allocations: 0.8432 MB / 393.6 MB, free: 7.59 MB / 302.1 MB Notification: Performance of [INI] Simplify: time 0.0009282/0.2333, allocations: 0.6214 MB / 394.2 MB, free: 7.227 MB / 302.1 MB Notification: Performance of [INI] Inline: time 0.001258/0.2346, allocations: 1.333 MB / 395.6 MB, free: 6.527 MB / 302.1 MB Notification: Performance of [INI] Partitioning: time 6.17e-05/0.2347, allocations: 34.42 kB / 395.6 MB, free: 6.504 MB / 302.1 MB Notification: Performance of [INI] Cleanup: time 0.000218/0.2349, allocations: 239.7 kB / 395.8 MB, free: 6.371 MB / 302.1 MB Notification: Performance of [INI] Causalize: time 0.002199/0.2371, allocations: 1.53 MB / 397.4 MB, free: 6.031 MB / 302.1 MB Notification: Performance of [INI] Tearing: time 0.0001161/0.2372, allocations: 96.22 kB / 397.5 MB, free: 5.988 MB / 302.1 MB Notification: Performance of [SIM] Initialization: time 1.643e-06/0.2372, allocations: 5.375 kB / 397.5 MB, free: 5.984 MB / 302.1 MB Notification: Performance of [SIM] DAE-Mode: time 0.0006849/0.2379, allocations: 0.4919 MB / 398 MB, free: 5.762 MB / 302.1 MB Notification: Performance of [SIM] Remove Dummies: time 7.955e-06/0.2379, allocations: 5.5 kB / 398 MB, free: 5.758 MB / 302.1 MB Notification: Performance of [SIM] Tearing: time 9.555e-05/0.238, allocations: 124.3 kB / 398.1 MB, free: 5.695 MB / 302.1 MB Notification: Performance of [SIM] Categorize: time 1.794e-05/0.238, allocations: 6.406 kB / 398.1 MB, free: 5.691 MB / 302.1 MB Notification: Performance of [SIM] Solve: time 0.001995/0.24, allocations: 1.533 MB / 399.6 MB, free: 5.156 MB / 302.1 MB Notification: Performance of [SIM] Jacobian: time 0.001027/0.241, allocations: 1.564 MB / 401.2 MB, free: 3.75 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 6.688e-05/0.2411, allocations: 35.45 kB / 401.2 MB, free: 3.719 MB / 302.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.6807674799929373] Failed to read output from testmodel.py, exit status != 0: ['time', 'magFluxSensor.Phi', 'voltageSensor.v'] 0.25080761802382767 0.26475421800000004 0.039495874 Calling exit ...