Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.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.001702/0.001702, 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.002049/0.002049, 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.591/1.591, allocations: 225.7 MB / 253.4 MB, free: 12.8 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.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap,tolerance=1e-06,outputFormat="mat",numberOfIntervals=500,variableFilter="time|magFluxSensor.Phi.re|magFluxSensor.Phi.im|voltageSensor.v.re|voltageSensor.v.im",fileNamePrefix="Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap") translateModel(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap,tolerance=1e-06,outputFormat="mat",numberOfIntervals=500,variableFilter="time|magFluxSensor.Phi.re|magFluxSensor.Phi.im|voltageSensor.v.re|voltageSensor.v.im",fileNamePrefix="Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.576e-05/2.576e-05, allocations: 2.281 kB / 371.7 MB, free: 9.148 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap): time 0.007433/0.007458, allocations: 4.526 MB / 376.3 MB, free: 4.598 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.004767/0.01223, allocations: 1.969 MB / 378.2 MB, free: 2.617 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004277/0.01265, allocations: 19.94 kB / 378.3 MB, free: 2.598 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003551/0.0162, allocations: 1.296 MB / 379.5 MB, free: 1.297 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001734/0.01794, allocations: 0.5438 MB / 380.1 MB, free: 0.75 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.2471/0.2651, allocations: 0.9988 MB / 381.1 MB, free: 13.16 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001888/0.267, allocations: 0.9253 MB / 382 MB, free: 13.16 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001068/0.268, allocations: 0.523 MB / 382.5 MB, free: 13.13 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006568/0.2687, allocations: 371.3 kB / 382.9 MB, free: 13.06 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005158/0.2692, allocations: 416.6 kB / 383.3 MB, free: 12.95 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001095/0.2693, allocations: 67.62 kB / 383.4 MB, free: 12.95 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001068/0.2704, allocations: 370.6 kB / 383.7 MB, free: 12.95 MB / 302.1 MB Notification: Performance of combineBinaries: time 0.001258/0.2716, allocations: 1.711 MB / 385.4 MB, free: 12.07 MB / 302.1 MB Notification: Performance of replaceArrayConstructors: time 0.000583/0.2722, allocations: 1.17 MB / 386.6 MB, free: 11.34 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001414/0.2724, allocations: 61.78 kB / 386.7 MB, free: 11.34 MB / 302.1 MB Notification: Performance of FrontEnd: time 9.182e-05/0.2724, allocations: 9.625 kB / 386.7 MB, free: 11.34 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: 212 (165) * Number of variables: 212 (212) Notification: Performance of [SIM] Bindings: time 0.005116/0.2776, allocations: 5.136 MB / 391.8 MB, free: 8.406 MB / 302.1 MB Notification: Performance of [SIM] FunctionAlias: time 0.0008176/0.2784, allocations: 0.6206 MB / 392.4 MB, free: 8.102 MB / 302.1 MB Notification: Performance of [SIM] Early Inline: time 0.005804/0.2842, allocations: 4.467 MB / 396.9 MB, free: 5.742 MB / 302.1 MB Notification: Performance of [SIM] Simplify 1: time 0.001088/0.2853, allocations: 488.7 kB / 397.4 MB, free: 5.52 MB / 302.1 MB Notification: Performance of [SIM] Alias: time 0.002713/0.288, allocations: 1.986 MB / 399.4 MB, free: 4.188 MB / 302.1 MB Notification: Performance of [SIM] Simplify 2: time 0.0007414/0.2887, allocations: 471.4 kB / 399.8 MB, free: 3.965 MB / 302.1 MB Notification: Performance of [SIM] Remove Stream: time 0.0003627/0.2891, allocations: 320.6 kB / 400.1 MB, free: 3.742 MB / 302.1 MB Notification: Performance of [SIM] Detect States: time 0.000721/0.2898, allocations: 0.7621 MB / 400.9 MB, free: 3.184 MB / 302.1 MB Notification: Performance of [SIM] Events: time 0.0002414/0.2901, allocations: 147 kB / 401.1 MB, free: 3.113 MB / 302.1 MB Notification: Performance of [SIM] Partitioning: time 0.001567/0.2916, allocations: 1.312 MB / 402.4 MB, free: 2.512 MB / 302.1 MB Notification: Performance of [SIM] Causalize: time 0.008777/0.3004, allocations: 6.672 MB / 409 MB, free: 52 kB / 302.1 MB Notification: Performance of [SIM] After Index Reduction Inline: time 0.002963/0.3034, allocations: 2.552 MB / 411.6 MB, free: 13.52 MB / 318.1 MB Notification: Performance of [INI] Simplify: time 0.002256/0.3056, allocations: 1.061 MB / 412.7 MB, free: 12.35 MB / 318.1 MB Notification: Performance of [INI] Inline: time 0.004723/0.3103, allocations: 4.51 MB / 417.2 MB, free: 7.867 MB / 318.1 MB Notification: Performance of [INI] Partitioning: time 0.0002188/0.3106, allocations: 72.06 kB / 417.2 MB, free: 7.785 MB / 318.1 MB Notification: Performance of [INI] Cleanup: time 0.0007212/0.3113, allocations: 0.6535 MB / 417.9 MB, free: 7.141 MB / 318.1 MB Notification: Performance of [INI] Causalize: time 0.00685/0.3181, allocations: 4.22 MB / 422.1 MB, free: 2.887 MB / 318.1 MB Notification: Performance of [INI] Tearing: time 0.0003453/0.3185, allocations: 261.7 kB / 422.4 MB, free: 2.637 MB / 318.1 MB Notification: Performance of [SIM] Initialization: time 1.694e-06/0.3185, allocations: 0 / 422.4 MB, free: 2.637 MB / 318.1 MB Notification: Performance of [SIM] DAE-Mode: time 0.001995/0.3205, allocations: 1.15 MB / 423.5 MB, free: 1.52 MB / 318.1 MB Notification: Performance of [SIM] Remove Dummies: time 2.026e-05/0.3205, allocations: 5.656 kB / 423.5 MB, free: 1.516 MB / 318.1 MB Notification: Performance of [SIM] Tearing: time 0.0005333/0.321, allocations: 0.4964 MB / 424 MB, free: 1.031 MB / 318.1 MB Notification: Performance of [SIM] Categorize: time 3.619e-05/0.3211, allocations: 8 kB / 424 MB, free: 1.023 MB / 318.1 MB Notification: Performance of [SIM] Solve: time 0.007309/0.3284, allocations: 4.537 MB / 428.6 MB, free: 12.54 MB / 334.1 MB Error: Internal error NBJacobian.SparsityColoring.PartialD2ColoringAlgC.getIndices failed because cref airGap.port_p.Phi.im is neither a seed nor a partial candidate! " [Timeout remaining time 660] [Calling sys.exit(0), Time elapsed: 2.7771447210107] Failed to read output from testmodel.py, exit status != 0: ['time', 'magFluxSensor.Phi.re', 'magFluxSensor.Phi.im', 'voltageSensor.v.re', 'voltageSensor.v.im'] 0.34014433302218094 0.356311349 0.080463859 Calling exit ...