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.001549/0.001549, allocations: 103.6 kB / 21.2 MB, free: 0.6328 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.001712/0.001712, allocations: 217.3 kB / 24.5 MB, free: 3.926 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.38/1.38, allocations: 230.6 MB / 258.3 MB, free: 7.812 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 2.057e-05/2.057e-05, allocations: 2.281 kB / 378.9 MB, free: 2.516 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap): time 0.1484/0.1484, allocations: 3.226 MB / 382.2 MB, free: 13.04 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001601/0.15, allocations: 0.9345 MB / 383.1 MB, free: 12.93 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00017/0.1502, allocations: 7.719 kB / 383.1 MB, free: 12.93 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002201/0.1504, allocations: 92.44 kB / 383.2 MB, free: 12.88 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003348/0.1507, allocations: 172.1 kB / 383.4 MB, free: 12.77 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003168/0.1511, allocations: 173.6 kB / 383.5 MB, free: 12.76 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006063/0.1517, allocations: 0.7297 MB / 384.3 MB, free: 12.64 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002175/0.1519, allocations: 126.7 kB / 384.4 MB, free: 12.62 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002342/0.1521, allocations: 249.1 kB / 384.6 MB, free: 12.56 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002646/0.1524, allocations: 281.8 kB / 384.9 MB, free: 12.43 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 8.208e-05/0.1525, allocations: 52.66 kB / 384.9 MB, free: 12.43 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001273/0.1526, allocations: 58.28 kB / 385 MB, free: 12.43 MB / 302.1 MB Notification: Performance of combineBinaries: time 0.0007084/0.1533, allocations: 1.132 MB / 386.1 MB, free: 11.67 MB / 302.1 MB Notification: Performance of replaceArrayConstructors: time 0.0002814/0.1536, allocations: 0.7238 MB / 386.9 MB, free: 11.16 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 7.533e-05/0.1537, allocations: 49.5 kB / 386.9 MB, free: 11.16 MB / 302.1 MB Notification: Performance of FrontEnd: time 4.711e-05/0.1537, allocations: 12.34 kB / 386.9 MB, free: 11.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: 128 (128) * Number of variables: 128 (128) Notification: Performance of [SIM] Bindings: time 0.001999/0.1557, allocations: 2.844 MB / 389.8 MB, free: 9.156 MB / 302.1 MB Notification: Performance of [SIM] FunctionAlias: time 0.0003528/0.1561, allocations: 384.2 kB / 390.1 MB, free: 8.91 MB / 302.1 MB Notification: Performance of [SIM] Early Inline: time 0.001038/0.1571, allocations: 1.318 MB / 391.5 MB, free: 8.121 MB / 302.1 MB Notification: Performance of [SIM] Simplify 1: time 0.0004306/0.1575, allocations: 358.4 kB / 391.8 MB, free: 7.902 MB / 302.1 MB Notification: Performance of [SIM] Alias: time 0.002695/0.1602, allocations: 2.363 MB / 394.2 MB, free: 6.504 MB / 302.1 MB Notification: Performance of [SIM] Simplify 2: time 0.0002771/0.1605, allocations: 268.9 kB / 394.4 MB, free: 6.332 MB / 302.1 MB Notification: Performance of [SIM] Remove Stream: time 0.0001066/0.1606, allocations: 126.8 kB / 394.6 MB, free: 6.227 MB / 302.1 MB Notification: Performance of [SIM] Detect States: time 0.0002544/0.1609, allocations: 271.5 kB / 394.8 MB, free: 5.992 MB / 302.1 MB Notification: Performance of [SIM] Events: time 9.678e-05/0.161, allocations: 67.17 kB / 394.9 MB, free: 5.953 MB / 302.1 MB Notification: Performance of [SIM] Partitioning: time 0.0004678/0.1614, allocations: 461.9 kB / 395.3 MB, free: 5.738 MB / 302.1 MB Notification: Performance of [SIM] Causalize: time 0.005556/0.167, allocations: 4.596 MB / 399.9 MB, free: 4.258 MB / 302.1 MB Notification: Performance of [SIM] After Index Reduction Inline: time 0.001166/0.1681, allocations: 1.602 MB / 401.5 MB, free: 3.414 MB / 302.1 MB Notification: Performance of [INI] Simplify: time 0.001337/0.1695, allocations: 1.103 MB / 402.6 MB, free: 2.648 MB / 302.1 MB Notification: Performance of [INI] Inline: time 0.001634/0.1711, allocations: 2.506 MB / 405.1 MB, free: 0.7656 MB / 302.1 MB Notification: Performance of [INI] Partitioning: time 9.891e-05/0.1712, allocations: 60.48 kB / 405.2 MB, free: 0.7188 MB / 302.1 MB Notification: Performance of [INI] Cleanup: time 0.0002412/0.1715, allocations: 457 kB / 405.7 MB, free: 348 kB / 302.1 MB Notification: Performance of [INI] Causalize: time 0.003454/0.1749, allocations: 2.869 MB / 408.5 MB, free: 14.76 MB / 318.1 MB Notification: Performance of [INI] Tearing: time 0.0002735/0.1752, allocations: 247.8 kB / 408.8 MB, free: 14.52 MB / 318.1 MB Notification: Performance of [SIM] Initialization: time 1.142e-06/0.1752, allocations: 0 / 408.8 MB, free: 14.52 MB / 318.1 MB Notification: Performance of [SIM] Remove Dummies: time 1.316e-05/0.1752, allocations: 1 kB / 408.8 MB, free: 14.52 MB / 318.1 MB Notification: Performance of [SIM] Tearing: time 0.0002675/0.1755, allocations: 239.8 kB / 409 MB, free: 14.28 MB / 318.1 MB Notification: Performance of [SIM] Categorize: time 2.22e-05/0.1755, allocations: 4 kB / 409 MB, free: 14.28 MB / 318.1 MB Notification: Performance of [SIM] Solve: time 0.001865/0.1774, allocations: 1.327 MB / 410.3 MB, free: 12.94 MB / 318.1 MB Notification: Performance of [SIM] Jacobian: time 0.001119/0.1785, allocations: 0.9536 MB / 411.3 MB, free: 11.9 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 7.376e-05/0.1785, allocations: 63 kB / 411.3 MB, free: 11.84 MB / 318.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.224282938055694] Failed to read output from testmodel.py, exit status != 0: ['time', 'magFluxSensor.Phi', 'voltageSensor.v'] 0.18888024613261223 0.203236188 0.046587832 Calling exit ...