Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.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.001532/0.001532, allocations: 107.6 kB / 21.2 MB, free: 0.6641 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.001668/0.001668, allocations: 211 kB / 24.49 MB, free: 3.961 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.369/1.369, 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.ToroidalCoreAirgap,tolerance=1e-06,outputFormat="mat",numberOfIntervals=500,variableFilter="time|magFluxSensor.Phi|voltageSensor.v",fileNamePrefix="Modelica_4.1.0_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_4.1.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 3.192e-05/3.192e-05, allocations: 5.375 kB / 378.9 MB, free: 2.496 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap): time 0.1771/0.1772, allocations: 2.635 MB / 381.6 MB, free: 13.04 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001472/0.1786, allocations: 0.7534 MB / 382.3 MB, free: 12.98 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001292/0.1788, allocations: 11.64 kB / 382.3 MB, free: 12.98 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002048/0.179, allocations: 62.23 kB / 382.4 MB, free: 12.95 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002601/0.1792, allocations: 104 kB / 382.5 MB, free: 12.9 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002484/0.1795, allocations: 106.3 kB / 382.6 MB, free: 12.9 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004288/0.1799, allocations: 439.5 kB / 383 MB, free: 12.83 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002053/0.1801, allocations: 92.47 kB / 383.1 MB, free: 12.82 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003367/0.1805, allocations: 169 kB / 383.3 MB, free: 12.79 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002025/0.1807, allocations: 173 kB / 383.5 MB, free: 12.75 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 5.766e-05/0.1807, allocations: 32.19 kB / 383.5 MB, free: 12.75 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001274/0.1808, allocations: 39.19 kB / 383.5 MB, free: 12.75 MB / 302.1 MB Notification: Performance of combineBinaries: time 0.0004971/0.1813, allocations: 0.6774 MB / 384.2 MB, free: 12.41 MB / 302.1 MB Notification: Performance of replaceArrayConstructors: time 0.0002/0.1815, allocations: 433.1 kB / 384.6 MB, free: 12.15 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 6.333e-05/0.1816, allocations: 34.91 kB / 384.7 MB, free: 12.14 MB / 302.1 MB Notification: Performance of FrontEnd: time 3.902e-05/0.1816, allocations: 10.88 kB / 384.7 MB, free: 12.14 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.001438/0.1831, allocations: 1.729 MB / 386.4 MB, free: 11.16 MB / 302.1 MB Notification: Performance of [SIM] FunctionAlias: time 0.0002593/0.1833, allocations: 252.6 kB / 386.6 MB, free: 11.02 MB / 302.1 MB Notification: Performance of [SIM] Early Inline: time 0.0007598/0.1841, allocations: 0.8342 MB / 387.5 MB, free: 10.52 MB / 302.1 MB Notification: Performance of [SIM] Simplify 1: time 0.0002972/0.1844, allocations: 246.1 kB / 387.7 MB, free: 10.36 MB / 302.1 MB Notification: Performance of [SIM] Alias: time 0.002052/0.1865, allocations: 1.531 MB / 389.2 MB, free: 9.5 MB / 302.1 MB Notification: Performance of [SIM] Simplify 2: time 0.0001854/0.1866, allocations: 164.8 kB / 389.4 MB, free: 9.375 MB / 302.1 MB Notification: Performance of [SIM] Remove Stream: time 6.911e-05/0.1867, allocations: 79.05 kB / 389.5 MB, free: 9.297 MB / 302.1 MB Notification: Performance of [SIM] Detect States: time 0.0002051/0.1869, allocations: 191 kB / 389.7 MB, free: 9.113 MB / 302.1 MB Notification: Performance of [SIM] Events: time 8.633e-05/0.187, allocations: 50.02 kB / 389.7 MB, free: 9.09 MB / 302.1 MB Notification: Performance of [SIM] Partitioning: time 0.0003193/0.1873, allocations: 280.2 kB / 390 MB, free: 8.934 MB / 302.1 MB Notification: Performance of [SIM] Causalize: time 0.003209/0.1905, allocations: 2.371 MB / 392.4 MB, free: 8.145 MB / 302.1 MB Notification: Performance of [SIM] After Index Reduction Inline: time 0.0007252/0.1913, allocations: 0.7995 MB / 393.2 MB, free: 7.727 MB / 302.1 MB Notification: Performance of [INI] Simplify: time 0.001052/0.1923, allocations: 0.6215 MB / 393.8 MB, free: 7.352 MB / 302.1 MB Notification: Performance of [INI] Inline: time 0.001529/0.1938, allocations: 1.256 MB / 395 MB, free: 6.691 MB / 302.1 MB Notification: Performance of [INI] Partitioning: time 6.008e-05/0.1939, allocations: 34.28 kB / 395.1 MB, free: 6.664 MB / 302.1 MB Notification: Performance of [INI] Cleanup: time 0.0001812/0.1941, allocations: 227.5 kB / 395.3 MB, free: 6.535 MB / 302.1 MB Notification: Performance of [INI] Causalize: time 0.002056/0.1961, allocations: 1.506 MB / 396.8 MB, free: 6.18 MB / 302.1 MB Notification: Performance of [INI] Tearing: time 0.0001093/0.1962, allocations: 91.23 kB / 396.9 MB, free: 6.141 MB / 302.1 MB Notification: Performance of [SIM] Initialization: time 9.22e-07/0.1962, allocations: 1.188 kB / 396.9 MB, free: 6.141 MB / 302.1 MB Notification: Performance of [SIM] Remove Dummies: time 1.438e-05/0.1963, allocations: 9.812 kB / 396.9 MB, free: 6.133 MB / 302.1 MB Notification: Performance of [SIM] Tearing: time 8.516e-05/0.1963, allocations: 90.02 kB / 397 MB, free: 6.094 MB / 302.1 MB Notification: Performance of [SIM] Categorize: time 1.765e-05/0.1964, allocations: 7.172 kB / 397 MB, free: 6.09 MB / 302.1 MB Notification: Performance of [SIM] Solve: time 0.0008927/0.1973, allocations: 0.6212 MB / 397.6 MB, free: 5.875 MB / 302.1 MB Notification: Performance of [SIM] Jacobian: time 0.0002424/0.1975, allocations: 277.5 kB / 397.9 MB, free: 5.613 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 5.291e-05/0.1975, allocations: 45.7 kB / 397.9 MB, free: 5.578 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.251847723033279] Failed to read output from testmodel.py, exit status != 0: ['time', 'magFluxSensor.Phi', 'voltageSensor.v'] 0.20638230675831437 0.21941422200000002 0.034776368 Calling exit ...