Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.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.001452/0.001452, allocations: 104 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.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.001585/0.001585, allocations: 190.7 kB / 24.53 MB, free: 3.852 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.571/1.571, allocations: 225.7 MB / 253.4 MB, free: 12.78 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.ToroidalCoreQuadraticCrossSection,tolerance=1e-06,outputFormat="mat",numberOfIntervals=500,variableFilter="time|magFluxSensor.Phi|voltageSensor.v",fileNamePrefix="Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection") translateModel(Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection,tolerance=1e-06,outputFormat="mat",numberOfIntervals=500,variableFilter="time|magFluxSensor.Phi|voltageSensor.v",fileNamePrefix="Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.682e-05/2.682e-05, allocations: 2.281 kB / 371.7 MB, free: 9.156 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection): time 0.006392/0.006419, allocations: 2.655 MB / 374.4 MB, free: 6.484 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.00194/0.008359, allocations: 0.7127 MB / 375.1 MB, free: 5.766 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001865/0.008545, allocations: 11.94 kB / 375.1 MB, free: 5.754 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003125/0.008858, allocations: 67.42 kB / 375.2 MB, free: 5.688 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003859/0.009244, allocations: 99.17 kB / 375.3 MB, free: 5.59 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000388/0.009632, allocations: 107.8 kB / 375.4 MB, free: 5.484 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006345/0.01027, allocations: 458.2 kB / 375.8 MB, free: 5.035 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002697/0.01054, allocations: 79.28 kB / 375.9 MB, free: 4.957 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003231/0.01086, allocations: 167.4 kB / 376.1 MB, free: 4.793 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000284/0.01114, allocations: 155.2 kB / 376.2 MB, free: 4.641 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 8.083e-05/0.01122, allocations: 32 kB / 376.2 MB, free: 4.609 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001286/0.01135, allocations: 40 kB / 376.3 MB, free: 4.57 MB / 302.1 MB Notification: Performance of combineBinaries: time 0.0008074/0.01216, allocations: 0.6883 MB / 377 MB, free: 3.875 MB / 302.1 MB Notification: Performance of replaceArrayConstructors: time 0.0004035/0.01256, allocations: 442.2 kB / 377.4 MB, free: 3.438 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 6.66e-05/0.01263, allocations: 32 kB / 377.4 MB, free: 3.406 MB / 302.1 MB Notification: Performance of FrontEnd: time 6.237e-05/0.01269, allocations: 8 kB / 377.4 MB, free: 3.398 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.002382/0.01507, allocations: 1.748 MB / 379.2 MB, free: 1.516 MB / 302.1 MB Notification: Performance of [SIM] FunctionAlias: time 0.0004058/0.01548, allocations: 252.8 kB / 379.4 MB, free: 1.254 MB / 302.1 MB Notification: Performance of [SIM] Early Inline: time 0.001217/0.0167, allocations: 0.8511 MB / 380.3 MB, free: 384 kB / 302.1 MB Notification: Performance of [SIM] Simplify 1: time 0.0004797/0.01718, allocations: 232.3 kB / 380.5 MB, free: 96 kB / 302.1 MB Notification: Performance of [SIM] Alias: time 0.2244/0.2415, allocations: 1.602 MB / 382.1 MB, free: 15.7 MB / 302.1 MB Notification: Performance of [SIM] Simplify 2: time 0.000268/0.2418, allocations: 158.2 kB / 382.3 MB, free: 15.59 MB / 302.1 MB Notification: Performance of [SIM] Remove Stream: time 9.506e-05/0.2419, allocations: 98.94 kB / 382.4 MB, free: 15.53 MB / 302.1 MB Notification: Performance of [SIM] Detect States: time 0.0002726/0.2422, allocations: 189.3 kB / 382.6 MB, free: 15.41 MB / 302.1 MB Notification: Performance of [SIM] Events: time 0.0001129/0.2423, allocations: 44.86 kB / 382.6 MB, free: 15.41 MB / 302.1 MB Notification: Performance of [SIM] Partitioning: time 0.0004126/0.2427, allocations: 295.9 kB / 382.9 MB, free: 15.34 MB / 302.1 MB Notification: Performance of [SIM] Causalize: time 0.0038/0.2465, allocations: 2.448 MB / 385.3 MB, free: 14.86 MB / 302.1 MB Notification: Performance of [SIM] After Index Reduction Inline: time 0.0009972/0.2475, allocations: 0.8421 MB / 386.2 MB, free: 14.86 MB / 302.1 MB Notification: Performance of [INI] Simplify: time 0.00109/0.2486, allocations: 0.6231 MB / 386.8 MB, free: 14.62 MB / 302.1 MB Notification: Performance of [INI] Inline: time 0.001469/0.25, allocations: 1.318 MB / 388.1 MB, free: 14.05 MB / 302.1 MB Notification: Performance of [INI] Partitioning: time 7.12e-05/0.2501, allocations: 42.33 kB / 388.2 MB, free: 14.02 MB / 302.1 MB Notification: Performance of [INI] Cleanup: time 0.0002383/0.2504, allocations: 241 kB / 388.4 MB, free: 13.89 MB / 302.1 MB Notification: Performance of [INI] Causalize: time 0.002364/0.2527, allocations: 1.536 MB / 389.9 MB, free: 13.57 MB / 302.1 MB Notification: Performance of [INI] Tearing: time 0.0001347/0.2529, allocations: 106.1 kB / 390 MB, free: 13.52 MB / 302.1 MB Notification: Performance of [SIM] Initialization: time 8.41e-07/0.2529, allocations: 0 / 390 MB, free: 13.52 MB / 302.1 MB Notification: Performance of [SIM] DAE-Mode: time 0.0007495/0.2536, allocations: 0.493 MB / 390.5 MB, free: 13.31 MB / 302.1 MB Notification: Performance of [SIM] Remove Dummies: time 7.223e-06/0.2536, allocations: 1.562 kB / 390.5 MB, free: 13.31 MB / 302.1 MB Notification: Performance of [SIM] Tearing: time 0.000109/0.2537, allocations: 123.2 kB / 390.6 MB, free: 13.25 MB / 302.1 MB Notification: Performance of [SIM] Categorize: time 1.775e-05/0.2537, allocations: 5.109 kB / 390.7 MB, free: 13.25 MB / 302.1 MB Notification: Performance of [SIM] Solve: time 0.002356/0.2561, allocations: 1.536 MB / 392.2 MB, free: 12.73 MB / 302.1 MB Notification: Performance of [SIM] Jacobian: time 0.001244/0.2573, allocations: 1.559 MB / 393.8 MB, free: 11.37 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: ........... 76 (scalar:76, 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.722e-05/0.2574, allocations: 35.08 kB / 393.8 MB, free: 11.34 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.624511118978262] Failed to read output from testmodel.py, exit status != 0: ['time', 'magFluxSensor.Phi', 'voltageSensor.v'] 0.26874532795045525 0.279070013 0.26414491500000004 Calling exit ...