Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001419/0.001419, allocations: 103.6 kB / 21.25 MB, free: 416 kB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00161/0.00161, allocations: 210.4 kB / 24.55 MB, free: 3.715 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.576/1.576, allocations: 230.5 MB / 258.2 MB, free: 7.699 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.156e-05/2.156e-05, allocations: 2.281 kB / 379 MB, free: 2.293 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection): time 0.2129/0.2129, allocations: 2.666 MB / 381.7 MB, free: 13.05 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001775/0.2147, allocations: 0.7513 MB / 382.5 MB, free: 12.98 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001691/0.2148, allocations: 6.281 kB / 382.5 MB, free: 12.98 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000251/0.2151, allocations: 59.7 kB / 382.5 MB, free: 12.95 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003214/0.2154, allocations: 106.7 kB / 382.6 MB, free: 12.9 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003265/0.2157, allocations: 111.7 kB / 382.7 MB, free: 12.89 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005139/0.2162, allocations: 455.5 kB / 383.2 MB, free: 12.82 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002174/0.2165, allocations: 85.17 kB / 383.3 MB, free: 12.81 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003277/0.2168, allocations: 174.4 kB / 383.4 MB, free: 12.77 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002102/0.217, allocations: 159.6 kB / 383.6 MB, free: 12.72 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 5.993e-05/0.2171, allocations: 34 kB / 383.6 MB, free: 12.72 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000105/0.2172, allocations: 43.41 kB / 383.7 MB, free: 12.72 MB / 302.1 MB Notification: Performance of combineBinaries: time 0.0005315/0.2177, allocations: 0.7069 MB / 384.4 MB, free: 12.38 MB / 302.1 MB Notification: Performance of replaceArrayConstructors: time 0.0002338/0.2179, allocations: 437.3 kB / 384.8 MB, free: 12.11 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 6.501e-05/0.218, allocations: 31.84 kB / 384.8 MB, free: 12.11 MB / 302.1 MB Notification: Performance of FrontEnd: time 4.733e-05/0.218, allocations: 6.625 kB / 384.8 MB, free: 12.11 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.001552/0.2196, allocations: 1.772 MB / 386.6 MB, free: 11 MB / 302.1 MB Notification: Performance of [SIM] FunctionAlias: time 0.0002831/0.2199, allocations: 250.1 kB / 386.9 MB, free: 10.85 MB / 302.1 MB Notification: Performance of [SIM] Early Inline: time 0.0007932/0.2207, allocations: 0.862 MB / 387.7 MB, free: 10.33 MB / 302.1 MB Notification: Performance of [SIM] Simplify 1: time 0.000327/0.221, allocations: 224.3 kB / 387.9 MB, free: 10.19 MB / 302.1 MB Notification: Performance of [SIM] Alias: time 0.002197/0.2232, allocations: 1.615 MB / 389.5 MB, free: 9.297 MB / 302.1 MB Notification: Performance of [SIM] Simplify 2: time 0.000205/0.2234, allocations: 163 kB / 389.7 MB, free: 9.176 MB / 302.1 MB Notification: Performance of [SIM] Remove Stream: time 8.09e-05/0.2235, allocations: 84.8 kB / 389.8 MB, free: 9.094 MB / 302.1 MB Notification: Performance of [SIM] Detect States: time 0.0002247/0.2237, allocations: 189.4 kB / 390 MB, free: 8.914 MB / 302.1 MB Notification: Performance of [SIM] Events: time 9.293e-05/0.2238, allocations: 57.25 kB / 390 MB, free: 8.879 MB / 302.1 MB Notification: Performance of [SIM] Partitioning: time 0.0003279/0.2241, allocations: 287.1 kB / 390.3 MB, free: 8.719 MB / 302.1 MB Notification: Performance of [SIM] Causalize: time 0.003145/0.2273, allocations: 2.457 MB / 392.8 MB, free: 7.836 MB / 302.1 MB Notification: Performance of [SIM] After Index Reduction Inline: time 0.0007943/0.2281, allocations: 0.8475 MB / 393.6 MB, free: 7.395 MB / 302.1 MB Notification: Performance of [INI] Simplify: time 0.0009776/0.229, allocations: 0.6245 MB / 394.2 MB, free: 7.027 MB / 302.1 MB Notification: Performance of [INI] Inline: time 0.001279/0.2303, allocations: 1.333 MB / 395.6 MB, free: 6.328 MB / 302.1 MB Notification: Performance of [INI] Partitioning: time 6.734e-05/0.2304, allocations: 33.56 kB / 395.6 MB, free: 6.305 MB / 302.1 MB Notification: Performance of [INI] Cleanup: time 0.0002354/0.2306, allocations: 240.3 kB / 395.8 MB, free: 6.172 MB / 302.1 MB Notification: Performance of [INI] Causalize: time 0.002277/0.2329, allocations: 1.535 MB / 397.4 MB, free: 5.824 MB / 302.1 MB Notification: Performance of [INI] Tearing: time 0.0001198/0.233, allocations: 96.33 kB / 397.5 MB, free: 5.781 MB / 302.1 MB Notification: Performance of [SIM] Initialization: time 1.032e-06/0.233, allocations: 1.188 kB / 397.5 MB, free: 5.781 MB / 302.1 MB Notification: Performance of [SIM] DAE-Mode: time 0.0007513/0.2338, allocations: 494.6 kB / 398 MB, free: 5.566 MB / 302.1 MB Notification: Performance of [SIM] Remove Dummies: time 8.436e-06/0.2338, allocations: 10.66 kB / 398 MB, free: 5.559 MB / 302.1 MB Notification: Performance of [SIM] Tearing: time 8.469e-05/0.2339, allocations: 127 kB / 398.1 MB, free: 5.492 MB / 302.1 MB Notification: Performance of [SIM] Categorize: time 2.003e-05/0.2339, allocations: 3.25 kB / 398.1 MB, free: 5.492 MB / 302.1 MB Notification: Performance of [SIM] Solve: time 0.002141/0.236, allocations: 1.529 MB / 399.6 MB, free: 4.957 MB / 302.1 MB Notification: Performance of [SIM] Jacobian: time 0.001048/0.2371, allocations: 1.554 MB / 401.2 MB, free: 3.566 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 7.378e-05/0.2371, allocations: 41.95 kB / 401.2 MB, free: 3.531 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.5796356429927982] Failed to read output from testmodel.py, exit status != 0: ['time', 'magFluxSensor.Phi', 'voltageSensor.v'] 0.24702895595692098 0.26104371899999995 0.040012273 Calling exit ...