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.001885/0.001885, allocations: 103.6 kB / 21.25 MB, free: 0.5664 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.002109/0.002109, allocations: 211 kB / 24.55 MB, free: 3.824 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.565/1.565, allocations: 230.6 MB / 258.3 MB, free: 7.777 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 2.16e-05/2.16e-05, allocations: 3.828 kB / 379 MB, free: 2.445 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap): time 0.2194/0.2194, allocations: 2.645 MB / 381.7 MB, free: 13.07 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001671/0.2211, allocations: 0.7563 MB / 382.4 MB, free: 13 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001462/0.2212, allocations: 4.469 kB / 382.5 MB, free: 13 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002328/0.2214, allocations: 62.8 kB / 382.5 MB, free: 12.97 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002778/0.2217, allocations: 105.6 kB / 382.6 MB, free: 12.93 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002745/0.222, allocations: 110.7 kB / 382.7 MB, free: 12.92 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004744/0.2225, allocations: 442.3 kB / 383.2 MB, free: 12.85 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002132/0.2227, allocations: 80.19 kB / 383.2 MB, free: 12.84 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003273/0.223, allocations: 168 kB / 383.4 MB, free: 12.8 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002231/0.2232, allocations: 150.9 kB / 383.5 MB, free: 12.76 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 6.676e-05/0.2233, allocations: 36.5 kB / 383.6 MB, free: 12.76 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001121/0.2234, allocations: 43.28 kB / 383.6 MB, free: 12.76 MB / 302.1 MB Notification: Performance of combineBinaries: time 0.0005571/0.224, allocations: 0.6726 MB / 384.3 MB, free: 12.43 MB / 302.1 MB Notification: Performance of replaceArrayConstructors: time 0.0002696/0.2242, allocations: 433.7 kB / 384.7 MB, free: 12.16 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 7.506e-05/0.2243, allocations: 30.72 kB / 384.7 MB, free: 12.16 MB / 302.1 MB Notification: Performance of FrontEnd: time 4.348e-05/0.2244, allocations: 6.812 kB / 384.8 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.002146/0.2265, allocations: 1.735 MB / 386.5 MB, free: 11.18 MB / 302.1 MB Notification: Performance of [SIM] FunctionAlias: time 0.0003967/0.2269, allocations: 251.2 kB / 386.7 MB, free: 11.04 MB / 302.1 MB Notification: Performance of [SIM] Early Inline: time 0.001163/0.2281, allocations: 0.8383 MB / 387.6 MB, free: 10.53 MB / 302.1 MB Notification: Performance of [SIM] Simplify 1: time 0.0004025/0.2285, allocations: 217.8 kB / 387.8 MB, free: 10.4 MB / 302.1 MB Notification: Performance of [SIM] Alias: time 0.002414/0.2309, allocations: 1.598 MB / 389.4 MB, free: 9.539 MB / 302.1 MB Notification: Performance of [SIM] Simplify 2: time 0.000192/0.2311, allocations: 163.5 kB / 389.5 MB, free: 9.418 MB / 302.1 MB Notification: Performance of [SIM] Remove Stream: time 7.739e-05/0.2312, allocations: 81.41 kB / 389.6 MB, free: 9.34 MB / 302.1 MB Notification: Performance of [SIM] Detect States: time 0.0002805/0.2314, allocations: 187.7 kB / 389.8 MB, free: 9.16 MB / 302.1 MB Notification: Performance of [SIM] Events: time 0.0001034/0.2315, allocations: 44.25 kB / 389.9 MB, free: 9.137 MB / 302.1 MB Notification: Performance of [SIM] Partitioning: time 0.0003792/0.2319, allocations: 292.4 kB / 390.1 MB, free: 8.969 MB / 302.1 MB Notification: Performance of [SIM] Causalize: time 0.00337/0.2353, allocations: 2.415 MB / 392.6 MB, free: 8.113 MB / 302.1 MB Notification: Performance of [SIM] After Index Reduction Inline: time 0.0008188/0.2361, allocations: 0.7994 MB / 393.4 MB, free: 7.695 MB / 302.1 MB Notification: Performance of [INI] Simplify: time 0.0009023/0.237, allocations: 0.5904 MB / 393.9 MB, free: 7.344 MB / 302.1 MB Notification: Performance of [INI] Inline: time 0.00124/0.2382, allocations: 1.26 MB / 395.2 MB, free: 6.676 MB / 302.1 MB Notification: Performance of [INI] Partitioning: time 5.927e-05/0.2383, allocations: 33.62 kB / 395.2 MB, free: 6.652 MB / 302.1 MB Notification: Performance of [INI] Cleanup: time 0.00022/0.2385, allocations: 224.3 kB / 395.5 MB, free: 6.527 MB / 302.1 MB Notification: Performance of [INI] Causalize: time 0.002152/0.2407, allocations: 1.487 MB / 396.9 MB, free: 6.184 MB / 302.1 MB Notification: Performance of [INI] Tearing: time 0.0001289/0.2408, allocations: 99.86 kB / 397 MB, free: 6.137 MB / 302.1 MB Notification: Performance of [SIM] Initialization: time 6.12e-07/0.2408, allocations: 0 / 397 MB, free: 6.137 MB / 302.1 MB Notification: Performance of [SIM] DAE-Mode: time 0.0007125/0.2415, allocations: 482 kB / 397.5 MB, free: 5.926 MB / 302.1 MB Notification: Performance of [SIM] Remove Dummies: time 7.945e-06/0.2415, allocations: 1.656 kB / 397.5 MB, free: 5.926 MB / 302.1 MB Notification: Performance of [SIM] Tearing: time 0.0001129/0.2416, allocations: 128.9 kB / 397.6 MB, free: 5.859 MB / 302.1 MB Notification: Performance of [SIM] Categorize: time 1.601e-05/0.2417, allocations: 6.625 kB / 397.6 MB, free: 5.855 MB / 302.1 MB Notification: Performance of [SIM] Solve: time 0.001924/0.2436, allocations: 1.419 MB / 399.1 MB, free: 5.355 MB / 302.1 MB Notification: Performance of [SIM] Jacobian: time 0.00124/0.2448, allocations: 1.872 MB / 400.9 MB, free: 3.688 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 6.761e-05/0.2449, allocations: 44.94 kB / 401 MB, free: 3.648 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.647452275035903] Failed to read output from testmodel.py, exit status != 0: ['time', 'magFluxSensor.Phi', 'voltageSensor.v'] 0.25441167899407446 0.27173057999999994 0.042688201 Calling exit ...