Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001501/0.001501, allocations: 114.3 kB / 21.18 MB, free: 0.6211 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001601/0.001601, allocations: 212.9 kB / 24.48 MB, free: 4.031 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.378/1.378, allocations: 230.4 MB / 258.1 MB, free: 8.145 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-beta.om/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|Vtr|Vqs",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit") translateModel(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|Vtr|Vqs",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit") [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001951/0.001951, allocations: 67.83 kB / 378.8 MB, free: 2.871 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2061/0.208, allocations: 53.32 MB / 432.1 MB, free: 7.383 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit): time 0.03585/0.2439, allocations: 31.17 MB / 463.3 MB, free: 8.074 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01663/0.2605, allocations: 8.923 MB / 472.2 MB, free: 15.12 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003307/0.2638, allocations: 187.4 kB / 472.4 MB, free: 14.94 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01093/0.2747, allocations: 5.008 MB / 477.4 MB, free: 9.918 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00688/0.2816, allocations: 3.058 MB / 480.4 MB, free: 6.848 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003574/0.2852, allocations: 1.652 MB / 482.1 MB, free: 5.203 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.009792/0.295, allocations: 8.827 MB / 490.9 MB, free: 12.35 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01105/0.306, allocations: 8.394 MB / 499.3 MB, free: 3.855 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004978/0.311, allocations: 4.254 MB / 0.4918 GB, free: 15.59 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005999/0.317, allocations: 4.889 MB / 0.4965 GB, free: 10.68 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001383/0.3184, allocations: 1.164 MB / 0.4977 GB, free: 9.52 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002485/0.3209, allocations: 1.554 MB / 0.4992 GB, free: 7.965 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00209/0.323, allocations: 2.423 MB / 0.5016 GB, free: 5.535 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004541/0.3275, allocations: 4.673 MB / 0.5061 GB, free: 0.8438 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01566/0.3432, allocations: 15.88 MB / 0.5216 GB, free: 0.9141 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.696e-06/0.3432, allocations: 0 / 0.5216 GB, free: 0.9141 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.222e-06/0.3432, allocations: 4 kB / 0.5216 GB, free: 0.9102 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0001581/0.3433, allocations: 0 / 0.5216 GB, free: 0.9102 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1994 * Number of variables: 1994 Notification: Performance of Generate backend data structure: time 0.02321/0.3665, allocations: 9.975 MB / 0.5314 GB, free: 6.828 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.788e-05/0.3666, allocations: 12.03 kB / 0.5314 GB, free: 6.816 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02902/0.3956, allocations: 5.224 MB / 0.5365 GB, free: 1.582 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1718/0.5674, allocations: 5.133 MB / 0.5415 GB, free: 89.56 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004469/0.5679, allocations: 0.531 MB / 0.542 GB, free: 89.32 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001746/0.5696, allocations: 0.7074 MB / 0.5427 GB, free: 89.09 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01559/0.5852, allocations: 11.36 MB / 0.5538 GB, free: 84.51 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001607/0.5853, allocations: 18.23 kB / 0.5538 GB, free: 84.51 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006983/0.586, allocations: 300.8 kB / 0.5541 GB, free: 84.29 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002949/0.5863, allocations: 447.2 kB / 0.5545 GB, free: 84.24 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01323/0.5996, allocations: 10.87 MB / 0.5651 GB, free: 77 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03831/0.6379, allocations: 38.59 MB / 0.6028 GB, free: 37.86 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01279/0.6507, allocations: 27.98 MB / 0.6301 GB, free: 6.062 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003075/0.6538, allocations: 2.456 MB / 0.6325 GB, free: 3.605 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01311/0.6669, allocations: 8.466 MB / 0.6408 GB, free: 11.09 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.579e-05/0.6669, allocations: 56.56 kB / 0.6409 GB, free: 11.02 MB / 462.1 MB Notification: Performance of pre-optimization done (n=217): time 3.516e-06/0.6669, allocations: 0 / 0.6409 GB, free: 11.02 MB / 462.1 MB [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAETransform.mo:342:7-342:48:writable] Error: Internal error BackendDAETransform.analyseStrongComponentBlock failed variables: equations: 0.0 = smpm.stator.core.Phi.im * smpm.airGap.rotator.re - smpm.stator.core.Phi.re * smpm.airGap.rotator.im [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAETransform.mo:346:7-346:90:writable] Error: Internal error function analyseStrongComponentBlock failed [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAETransform.mo:196:5-196:89:writable] Error: Internal error function analyseStrongComponentScalar failed [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAETransform.mo:107:7-107:113:writable] Error: Internal error function strongComponentsScalar failed (sorting strong components) [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAEUtil.mo:8016:5-8016:89:writable] Error: Internal error Transformation module sort components failed Error: Internal error SimCode DAEmode: The model Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit could not be translated " [Timeout remaining time 659] [Calling sys.exit(0), Time elapsed: 2.696955183055252] Failed to read output from testmodel.py, exit status != 0: ['time', 'Vtr', 'Vqs'] 0.6927631278522313 0.706650145 0.36040915100000004 Calling exit ...