Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.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.00135/0.00135, allocations: 99.64 kB / 21.25 MB, free: 424 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.001515/0.001515, allocations: 215.3 kB / 24.55 MB, free: 3.719 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.515/1.515, allocations: 230.5 MB / 258.2 MB, free: 7.727 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.ToroidalCoreAirgap,tolerance=1e-06,outputFormat="mat",numberOfIntervals=500,variableFilter="time|magFluxSensor.Phi|voltageSensor.v",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap") translateModel(Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap,tolerance=1e-06,outputFormat="mat",numberOfIntervals=500,variableFilter="time|magFluxSensor.Phi|voltageSensor.v",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.489e-05/2.489e-05, allocations: 2.281 kB / 379 MB, free: 2.32 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap): time 0.2267/0.2267, allocations: 2.643 MB / 381.7 MB, free: 13.07 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001557/0.2283, allocations: 0.749 MB / 382.4 MB, free: 13 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00014/0.2284, allocations: 7.188 kB / 382.4 MB, free: 13 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002397/0.2287, allocations: 67.14 kB / 382.5 MB, free: 12.96 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002687/0.2289, allocations: 104.7 kB / 382.6 MB, free: 12.92 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002754/0.2292, allocations: 110.5 kB / 382.7 MB, free: 12.91 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004426/0.2297, allocations: 441.4 kB / 383.1 MB, free: 12.84 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002007/0.2299, allocations: 86.69 kB / 383.2 MB, free: 12.83 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003074/0.2302, allocations: 166.2 kB / 383.4 MB, free: 12.8 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001846/0.2304, allocations: 152.7 kB / 383.5 MB, free: 12.75 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 5.843e-05/0.2304, allocations: 32.44 kB / 383.6 MB, free: 12.75 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00011/0.2305, allocations: 38.88 kB / 383.6 MB, free: 12.75 MB / 302.1 MB Notification: Performance of combineBinaries: time 0.0004405/0.231, allocations: 0.6765 MB / 384.3 MB, free: 12.42 MB / 302.1 MB Notification: Performance of replaceArrayConstructors: time 0.0002096/0.2312, allocations: 433.9 kB / 384.7 MB, free: 12.16 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 5.484e-05/0.2312, allocations: 31.06 kB / 384.7 MB, free: 12.16 MB / 302.1 MB Notification: Performance of FrontEnd: time 3.646e-05/0.2313, allocations: 6.438 kB / 384.7 MB, free: 12.16 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.001585/0.2329, allocations: 1.738 MB / 386.5 MB, free: 11.1 MB / 302.1 MB Notification: Performance of [SIM] FunctionAlias: time 0.0002703/0.2331, allocations: 247.1 kB / 386.7 MB, free: 10.96 MB / 302.1 MB Notification: Performance of [SIM] Early Inline: time 0.0007535/0.2339, allocations: 0.8388 MB / 387.6 MB, free: 10.46 MB / 302.1 MB Notification: Performance of [SIM] Simplify 1: time 0.0002986/0.2342, allocations: 222.2 kB / 387.8 MB, free: 10.32 MB / 302.1 MB Notification: Performance of [SIM] Alias: time 0.002169/0.2363, allocations: 1.597 MB / 389.4 MB, free: 9.43 MB / 302.1 MB Notification: Performance of [SIM] Simplify 2: time 0.00018/0.2365, allocations: 160 kB / 389.5 MB, free: 9.309 MB / 302.1 MB Notification: Performance of [SIM] Remove Stream: time 7.728e-05/0.2366, allocations: 84.09 kB / 389.6 MB, free: 9.227 MB / 302.1 MB Notification: Performance of [SIM] Detect States: time 0.0002271/0.2368, allocations: 188.4 kB / 389.8 MB, free: 9.043 MB / 302.1 MB Notification: Performance of [SIM] Events: time 8.874e-05/0.2369, allocations: 47.44 kB / 389.8 MB, free: 9.016 MB / 302.1 MB Notification: Performance of [SIM] Partitioning: time 0.0003243/0.2372, allocations: 284.1 kB / 390.1 MB, free: 8.852 MB / 302.1 MB Notification: Performance of [SIM] Causalize: time 0.003168/0.2404, allocations: 2.415 MB / 392.5 MB, free: 7.984 MB / 302.1 MB Notification: Performance of [SIM] After Index Reduction Inline: time 0.0007586/0.2412, allocations: 0.8031 MB / 393.3 MB, free: 7.562 MB / 302.1 MB Notification: Performance of [INI] Simplify: time 0.0008877/0.2421, allocations: 0.5902 MB / 393.9 MB, free: 7.207 MB / 302.1 MB Notification: Performance of [INI] Inline: time 0.001167/0.2432, allocations: 1.257 MB / 395.2 MB, free: 6.543 MB / 302.1 MB Notification: Performance of [INI] Partitioning: time 6.421e-05/0.2433, allocations: 33.12 kB / 395.2 MB, free: 6.52 MB / 302.1 MB Notification: Performance of [INI] Cleanup: time 0.0002157/0.2435, allocations: 231.4 kB / 395.4 MB, free: 6.387 MB / 302.1 MB Notification: Performance of [INI] Causalize: time 0.002099/0.2456, allocations: 1.492 MB / 396.9 MB, free: 6.039 MB / 302.1 MB Notification: Performance of [INI] Tearing: time 0.0001212/0.2457, allocations: 96.03 kB / 397 MB, free: 5.996 MB / 302.1 MB Notification: Performance of [SIM] Initialization: time 1.764e-06/0.2457, allocations: 1.125 kB / 397 MB, free: 5.996 MB / 302.1 MB Notification: Performance of [SIM] DAE-Mode: time 0.0006937/0.2464, allocations: 468.7 kB / 397.5 MB, free: 5.793 MB / 302.1 MB Notification: Performance of [SIM] Remove Dummies: time 7.494e-06/0.2464, allocations: 0.5 kB / 397.5 MB, free: 5.793 MB / 302.1 MB Notification: Performance of [SIM] Tearing: time 0.0001056/0.2465, allocations: 132.2 kB / 397.6 MB, free: 5.723 MB / 302.1 MB Notification: Performance of [SIM] Categorize: time 1.879e-05/0.2465, allocations: 11.84 kB / 397.6 MB, free: 5.715 MB / 302.1 MB Notification: Performance of [SIM] Solve: time 0.001863/0.2484, allocations: 1.428 MB / 399.1 MB, free: 5.207 MB / 302.1 MB Notification: Performance of [SIM] Jacobian: time 0.00125/0.2497, allocations: 1.859 MB / 400.9 MB, free: 3.555 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: ........... 74 (scalar:74, 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.413e-05/0.2497, allocations: 44.47 kB / 401 MB, free: 3.516 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.5346927710343152] Failed to read output from testmodel.py, exit status != 0: ['time', 'magFluxSensor.Phi', 'voltageSensor.v'] 0.2596776729915291 0.273003637 0.038864771 Calling exit ...