Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.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.001329/0.001329, 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.001518/0.001518, allocations: 188.4 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.679/1.679, allocations: 225.7 MB / 253.4 MB, free: 12.79 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.ToroidalCoreAirgap,tolerance=1e-06,outputFormat="mat",numberOfIntervals=500,variableFilter="time|magFluxSensor.Phi|voltageSensor.v",fileNamePrefix="Modelica_4.0.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.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.812e-05/2.812e-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.ToroidalCoreAirgap): time 0.005097/0.005125, allocations: 2.629 MB / 374.3 MB, free: 6.52 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001762/0.006886, allocations: 0.7087 MB / 375.1 MB, free: 5.805 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003624/0.007249, allocations: 4 kB / 375.1 MB, free: 5.801 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003573/0.007606, allocations: 63.44 kB / 375.1 MB, free: 5.738 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005533/0.00816, allocations: 103.2 kB / 375.2 MB, free: 5.637 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004498/0.008609, allocations: 99.86 kB / 375.3 MB, free: 5.539 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007252/0.009335, allocations: 450.2 kB / 375.8 MB, free: 5.098 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002596/0.009594, allocations: 83.27 kB / 375.8 MB, free: 5.016 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004325/0.01003, allocations: 167.4 kB / 376 MB, free: 4.852 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003876/0.01041, allocations: 147.2 kB / 376.1 MB, free: 4.707 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001146/0.01053, allocations: 32 kB / 376.2 MB, free: 4.676 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001611/0.01069, allocations: 40 kB / 376.2 MB, free: 4.637 MB / 302.1 MB Notification: Performance of combineBinaries: time 0.000702/0.01139, allocations: 0.6651 MB / 376.9 MB, free: 3.965 MB / 302.1 MB Notification: Performance of replaceArrayConstructors: time 0.000424/0.01182, allocations: 426.3 kB / 377.3 MB, free: 3.543 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001159/0.01193, allocations: 31.94 kB / 377.3 MB, free: 3.512 MB / 302.1 MB Notification: Performance of FrontEnd: time 7.113e-05/0.012, allocations: 8 kB / 377.3 MB, free: 3.504 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.002308/0.01431, allocations: 1.709 MB / 379 MB, free: 1.66 MB / 302.1 MB Notification: Performance of [SIM] FunctionAlias: time 0.0004495/0.01476, allocations: 252.8 kB / 379.3 MB, free: 1.402 MB / 302.1 MB Notification: Performance of [SIM] Early Inline: time 0.001051/0.01581, allocations: 0.8316 MB / 380.1 MB, free: 0.543 MB / 302.1 MB Notification: Performance of [SIM] Simplify 1: time 0.0004406/0.01625, allocations: 228.2 kB / 380.4 MB, free: 276 kB / 302.1 MB Notification: Performance of [SIM] Alias: time 0.2226/0.2388, allocations: 1.575 MB / 381.9 MB, free: 15.84 MB / 302.1 MB Notification: Performance of [SIM] Simplify 2: time 0.000238/0.239, allocations: 156.3 kB / 382.1 MB, free: 15.73 MB / 302.1 MB Notification: Performance of [SIM] Remove Stream: time 8.831e-05/0.2391, allocations: 93.12 kB / 382.2 MB, free: 15.67 MB / 302.1 MB Notification: Performance of [SIM] Detect States: time 0.0002626/0.2394, allocations: 180 kB / 382.3 MB, free: 15.56 MB / 302.1 MB Notification: Performance of [SIM] Events: time 0.0001013/0.2395, allocations: 46.12 kB / 382.4 MB, free: 15.55 MB / 302.1 MB Notification: Performance of [SIM] Partitioning: time 0.0004063/0.2399, allocations: 284.1 kB / 382.7 MB, free: 15.48 MB / 302.1 MB Notification: Performance of [SIM] Causalize: time 0.003433/0.2433, allocations: 2.428 MB / 385.1 MB, free: 15 MB / 302.1 MB Notification: Performance of [SIM] After Index Reduction Inline: time 0.0007788/0.2441, allocations: 0.8062 MB / 385.9 MB, free: 15 MB / 302.1 MB Notification: Performance of [INI] Simplify: time 0.0009534/0.2451, allocations: 0.5785 MB / 386.5 MB, free: 14.77 MB / 302.1 MB Notification: Performance of [INI] Inline: time 0.00124/0.2463, allocations: 1.261 MB / 387.7 MB, free: 14.26 MB / 302.1 MB Notification: Performance of [INI] Partitioning: time 6.575e-05/0.2464, allocations: 39.72 kB / 387.8 MB, free: 14.23 MB / 302.1 MB Notification: Performance of [INI] Cleanup: time 0.0002276/0.2466, allocations: 233 kB / 388 MB, free: 14.11 MB / 302.1 MB Notification: Performance of [INI] Causalize: time 0.002257/0.2489, allocations: 1.48 MB / 389.5 MB, free: 13.8 MB / 302.1 MB Notification: Performance of [INI] Tearing: time 0.0001592/0.249, allocations: 93.27 kB / 389.6 MB, free: 13.76 MB / 302.1 MB Notification: Performance of [SIM] Initialization: time 1.583e-06/0.249, allocations: 0 / 389.6 MB, free: 13.76 MB / 302.1 MB Notification: Performance of [SIM] DAE-Mode: time 0.0008322/0.2498, allocations: 483.2 kB / 390.1 MB, free: 13.55 MB / 302.1 MB Notification: Performance of [SIM] Remove Dummies: time 1.12e-05/0.2499, allocations: 5.156 kB / 390.1 MB, free: 13.55 MB / 302.1 MB Notification: Performance of [SIM] Tearing: time 0.0001224/0.25, allocations: 125.5 kB / 390.2 MB, free: 13.49 MB / 302.1 MB Notification: Performance of [SIM] Categorize: time 2.704e-05/0.25, allocations: 7.781 kB / 390.2 MB, free: 13.49 MB / 302.1 MB Notification: Performance of [SIM] Solve: time 0.002227/0.2522, allocations: 1.426 MB / 391.6 MB, free: 13.01 MB / 302.1 MB Notification: Performance of [SIM] Jacobian: time 0.001513/0.2537, allocations: 1.862 MB / 393.5 MB, free: 11.39 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 7.054e-05/0.2538, allocations: 38.78 kB / 393.5 MB, free: 11.36 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.7063897269545123] Failed to read output from testmodel.py, exit status != 0: ['time', 'magFluxSensor.Phi', 'voltageSensor.v'] 0.26538681401871145 0.277965051 0.263641772 Calling exit ...