Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.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.001644/0.001644, 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.002118/0.002118, allocations: 208.2 kB / 24.55 MB, free: 3.727 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.639/1.639, allocations: 230.7 MB / 258.4 MB, free: 7.781 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.QuadraticCoreAirgap,tolerance=1e-06,outputFormat="mat",numberOfIntervals=500,variableFilter="time|magFluxSensor.Phi|voltageSensor.v",fileNamePrefix="Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap") translateModel(Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap,tolerance=1e-06,outputFormat="mat",numberOfIntervals=500,variableFilter="time|magFluxSensor.Phi|voltageSensor.v",fileNamePrefix="Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 3.311e-05/3.311e-05, allocations: 2.281 kB / 379.1 MB, free: 2.438 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap): time 0.2093/0.2094, allocations: 3.219 MB / 382.3 MB, free: 13.05 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002427/0.2118, allocations: 0.9397 MB / 383.2 MB, free: 12.88 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002417/0.212, allocations: 7.344 kB / 383.2 MB, free: 12.88 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003276/0.2124, allocations: 94.25 kB / 383.3 MB, free: 12.83 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004554/0.2128, allocations: 170.6 kB / 383.5 MB, free: 12.73 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004727/0.2133, allocations: 173.7 kB / 383.7 MB, free: 12.71 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009279/0.2142, allocations: 0.726 MB / 384.4 MB, free: 12.59 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002766/0.2145, allocations: 116.6 kB / 384.5 MB, free: 12.57 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003196/0.2148, allocations: 246.7 kB / 384.7 MB, free: 12.51 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003459/0.2152, allocations: 251.6 kB / 385 MB, free: 12.43 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001077/0.2153, allocations: 53.19 kB / 385 MB, free: 12.43 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001489/0.2154, allocations: 58.72 kB / 385.1 MB, free: 12.43 MB / 302.1 MB Notification: Performance of combineBinaries: time 0.0009534/0.2164, allocations: 1.13 MB / 386.2 MB, free: 11.66 MB / 302.1 MB Notification: Performance of replaceArrayConstructors: time 0.0003637/0.2167, allocations: 0.7245 MB / 386.9 MB, free: 11.16 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001001/0.2168, allocations: 48.84 kB / 387 MB, free: 11.16 MB / 302.1 MB Notification: Performance of FrontEnd: time 6.64e-05/0.2169, allocations: 15.34 kB / 387 MB, free: 11.15 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: 128 (128) * Number of variables: 128 (128) Notification: Performance of [SIM] Bindings: time 0.002999/0.2199, allocations: 2.841 MB / 389.8 MB, free: 9.152 MB / 302.1 MB Notification: Performance of [SIM] FunctionAlias: time 0.0005414/0.2204, allocations: 384.3 kB / 390.2 MB, free: 8.906 MB / 302.1 MB Notification: Performance of [SIM] Early Inline: time 0.001722/0.2222, allocations: 1.317 MB / 391.5 MB, free: 8.117 MB / 302.1 MB Notification: Performance of [SIM] Simplify 1: time 0.0006173/0.2228, allocations: 336 kB / 391.9 MB, free: 7.922 MB / 302.1 MB Notification: Performance of [SIM] Alias: time 0.003896/0.2267, allocations: 2.458 MB / 394.3 MB, free: 6.531 MB / 302.1 MB Notification: Performance of [SIM] Simplify 2: time 0.0003313/0.227, allocations: 245.7 kB / 394.6 MB, free: 6.383 MB / 302.1 MB Notification: Performance of [SIM] Remove Stream: time 0.0001349/0.2271, allocations: 129.8 kB / 394.7 MB, free: 6.273 MB / 302.1 MB Notification: Performance of [SIM] Detect States: time 0.0003428/0.2275, allocations: 278.6 kB / 395 MB, free: 6.031 MB / 302.1 MB Notification: Performance of [SIM] Events: time 0.0001246/0.2276, allocations: 64.03 kB / 395 MB, free: 5.996 MB / 302.1 MB Notification: Performance of [SIM] Partitioning: time 0.000594/0.2282, allocations: 461.6 kB / 395.5 MB, free: 5.781 MB / 302.1 MB Notification: Performance of [SIM] Causalize: time 0.007625/0.2358, allocations: 4.718 MB / 400.2 MB, free: 4.188 MB / 302.1 MB Notification: Performance of [SIM] After Index Reduction Inline: time 0.001585/0.2374, allocations: 1.599 MB / 401.8 MB, free: 3.316 MB / 302.1 MB Notification: Performance of [INI] Simplify: time 0.00169/0.2391, allocations: 1.057 MB / 402.9 MB, free: 2.578 MB / 302.1 MB Notification: Performance of [INI] Inline: time 0.002055/0.2412, allocations: 2.509 MB / 405.4 MB, free: 0.6875 MB / 302.1 MB Notification: Performance of [INI] Partitioning: time 0.0001086/0.2413, allocations: 54.66 kB / 405.4 MB, free: 0.6523 MB / 302.1 MB Notification: Performance of [INI] Cleanup: time 0.0002963/0.2416, allocations: 457.8 kB / 405.9 MB, free: 280 kB / 302.1 MB Notification: Performance of [INI] Causalize: time 0.003934/0.2455, allocations: 2.834 MB / 408.7 MB, free: 14.61 MB / 318.1 MB Notification: Performance of [INI] Tearing: time 0.0003093/0.2458, allocations: 243.7 kB / 408.9 MB, free: 14.38 MB / 318.1 MB Notification: Performance of [SIM] Initialization: time 1.312e-06/0.2458, allocations: 0 / 408.9 MB, free: 14.38 MB / 318.1 MB Notification: Performance of [SIM] DAE-Mode: time 0.001426/0.2472, allocations: 0.8879 MB / 409.8 MB, free: 13.46 MB / 318.1 MB Notification: Performance of [SIM] Remove Dummies: time 9.999e-06/0.2472, allocations: 1 kB / 409.8 MB, free: 13.46 MB / 318.1 MB Notification: Performance of [SIM] Tearing: time 0.0002926/0.2475, allocations: 287.7 kB / 410.1 MB, free: 13.18 MB / 318.1 MB Notification: Performance of [SIM] Categorize: time 3.153e-05/0.2476, allocations: 4 kB / 410.1 MB, free: 13.18 MB / 318.1 MB Notification: Performance of [SIM] Solve: time 0.004458/0.252, allocations: 3.019 MB / 413.1 MB, free: 10.15 MB / 318.1 MB Notification: Performance of [SIM] Jacobian: time 0.004155/0.2562, allocations: 3.568 MB / 416.7 MB, free: 6.344 MB / 318.1 MB Notification: Partition statistics after passing the back-end: * Number of ODE partitions: ..................... 0 * Number of algebraic partitions: ............... 2 * 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: ........... 101 (scalar:101, 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: ........... 132 (scalar:132, 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 0.0001225/0.2563, allocations: 67.23 kB / 416.8 MB, free: 6.281 MB / 318.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.7059347829781473] Failed to read output from testmodel.py, exit status != 0: ['time', 'magFluxSensor.Phi', 'voltageSensor.v'] 0.26875606598332524 0.28344426599999994 0.06337484299999994 Calling exit ...