Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001655/0.001655, allocations: 96.03 kB / 21.25 MB, free: 428 kB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002267/0.002267, allocations: 187.9 kB / 24.53 MB, free: 3.746 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.642/1.642, allocations: 225.7 MB / 253.4 MB, free: 12.76 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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.0.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.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.331e-05/2.331e-05, allocations: 2.281 kB / 371.7 MB, free: 9.168 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap): time 0.005561/0.005584, allocations: 3.204 MB / 374.9 MB, free: 5.945 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001978/0.007563, allocations: 0.888 MB / 375.8 MB, free: 5.055 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002072/0.00777, allocations: 11.94 kB / 375.8 MB, free: 5.043 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003064/0.008076, allocations: 95.14 kB / 375.9 MB, free: 4.949 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000423/0.008499, allocations: 162.7 kB / 376.1 MB, free: 4.789 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004098/0.008909, allocations: 167.7 kB / 376.2 MB, free: 4.625 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007924/0.009702, allocations: 0.7246 MB / 377 MB, free: 3.898 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002763/0.009978, allocations: 117.8 kB / 377.1 MB, free: 3.781 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003638/0.01034, allocations: 259 kB / 377.3 MB, free: 3.527 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002933/0.01064, allocations: 242.7 kB / 377.6 MB, free: 3.289 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 8.248e-05/0.01072, allocations: 56 kB / 377.6 MB, free: 3.234 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001301/0.01085, allocations: 56 kB / 377.7 MB, free: 3.18 MB / 302.1 MB Notification: Performance of combineBinaries: time 0.0009758/0.01182, allocations: 1.113 MB / 378.8 MB, free: 2.055 MB / 302.1 MB Notification: Performance of replaceArrayConstructors: time 0.0005512/0.01237, allocations: 0.6976 MB / 379.5 MB, free: 1.348 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 7.98e-05/0.01245, allocations: 52 kB / 379.5 MB, free: 1.297 MB / 302.1 MB Notification: Performance of FrontEnd: time 7.078e-05/0.01253, allocations: 19.86 kB / 379.6 MB, free: 1.277 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.246/0.2585, allocations: 2.78 MB / 382.3 MB, free: 15.86 MB / 302.1 MB Notification: Performance of [SIM] FunctionAlias: time 0.0004955/0.259, allocations: 394.8 kB / 382.7 MB, free: 15.79 MB / 302.1 MB Notification: Performance of [SIM] Early Inline: time 0.001345/0.2603, allocations: 1.311 MB / 384 MB, free: 15.6 MB / 302.1 MB Notification: Performance of [SIM] Simplify 1: time 0.0005623/0.2609, allocations: 329.4 kB / 384.4 MB, free: 15.42 MB / 302.1 MB Notification: Performance of [SIM] Alias: time 0.003428/0.2643, allocations: 2.456 MB / 386.8 MB, free: 14.14 MB / 302.1 MB Notification: Performance of [SIM] Simplify 2: time 0.0003327/0.2647, allocations: 255.3 kB / 387.1 MB, free: 13.99 MB / 302.1 MB Notification: Performance of [SIM] Remove Stream: time 0.0001301/0.2648, allocations: 130.7 kB / 387.2 MB, free: 13.89 MB / 302.1 MB Notification: Performance of [SIM] Detect States: time 0.0003209/0.2651, allocations: 270 kB / 387.5 MB, free: 13.66 MB / 302.1 MB Notification: Performance of [SIM] Events: time 0.000125/0.2652, allocations: 64.06 kB / 387.5 MB, free: 13.63 MB / 302.1 MB Notification: Performance of [SIM] Partitioning: time 0.0005904/0.2658, allocations: 461.7 kB / 388 MB, free: 13.41 MB / 302.1 MB Notification: Performance of [SIM] Causalize: time 0.006665/0.2725, allocations: 4.705 MB / 392.7 MB, free: 11.98 MB / 302.1 MB Notification: Performance of [SIM] After Index Reduction Inline: time 0.001632/0.2741, allocations: 1.601 MB / 394.3 MB, free: 11.14 MB / 302.1 MB Notification: Performance of [INI] Simplify: time 0.001718/0.2758, allocations: 1.059 MB / 395.3 MB, free: 10.6 MB / 302.1 MB Notification: Performance of [INI] Inline: time 0.002071/0.2779, allocations: 2.51 MB / 397.8 MB, free: 9.203 MB / 302.1 MB Notification: Performance of [INI] Partitioning: time 0.0001171/0.278, allocations: 59.09 kB / 397.9 MB, free: 9.164 MB / 302.1 MB Notification: Performance of [INI] Cleanup: time 0.0003268/0.2784, allocations: 456 kB / 398.4 MB, free: 8.789 MB / 302.1 MB Notification: Performance of [INI] Causalize: time 0.003719/0.2821, allocations: 2.836 MB / 401.2 MB, free: 7.824 MB / 302.1 MB Notification: Performance of [INI] Tearing: time 0.0002439/0.2823, allocations: 232 kB / 401.4 MB, free: 7.715 MB / 302.1 MB Notification: Performance of [SIM] Initialization: time 2.244e-06/0.2823, allocations: 5.5 kB / 401.4 MB, free: 7.711 MB / 302.1 MB Notification: Performance of [SIM] DAE-Mode: time 0.00108/0.2834, allocations: 0.8865 MB / 402.3 MB, free: 7.273 MB / 302.1 MB Notification: Performance of [SIM] Remove Dummies: time 1.072e-05/0.2834, allocations: 3.594 kB / 402.3 MB, free: 7.273 MB / 302.1 MB Notification: Performance of [SIM] Tearing: time 0.0001853/0.2836, allocations: 292.5 kB / 402.6 MB, free: 7.125 MB / 302.1 MB Notification: Performance of [SIM] Categorize: time 2.45e-05/0.2836, allocations: 7.688 kB / 402.6 MB, free: 7.121 MB / 302.1 MB Notification: Performance of [SIM] Solve: time 0.003037/0.2867, allocations: 3.001 MB / 405.6 MB, free: 4.73 MB / 302.1 MB Notification: Performance of [SIM] Jacobian: time 0.002536/0.2892, allocations: 3.568 MB / 409.2 MB, free: 0.9727 MB / 302.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 8.891e-05/0.2893, allocations: 62.48 kB / 409.2 MB, free: 0.9219 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.749672673002351] Failed to read output from testmodel.py, exit status != 0: ['time', 'magFluxSensor.Phi', 'voltageSensor.v'] 0.300981389998924 0.31573453700000004 0.300032943 Calling exit ...