Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonPullInStroke.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.001281/0.001281, allocations: 114 kB / 21.18 MB, free: 0.7422 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.001619/0.001619, allocations: 214.1 kB / 24.48 MB, free: 4.191 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.361/1.361, allocations: 230.4 MB / 258.1 MB, free: 8.141 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.FluxTubes.Examples.SolenoidActuator.ComparisonPullInStroke,tolerance=1e-07,outputFormat="mat",numberOfIntervals=5545,variableFilter="time|advancedSolenoid.armature.stopper_xMax.v_rel|advancedSolenoid.c_par1.v|advancedSolenoid.c_par2.v|advancedSolenoid.coil1.Phi|advancedSolenoid.coil2.Phi|advancedSolenoid.x|simpleSolenoid.armature.stopper_xMax.v_rel|simpleSolenoid.coil.Phi|simpleSolenoid.x",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonPullInStroke") translateModel(Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonPullInStroke,tolerance=1e-07,outputFormat="mat",numberOfIntervals=5545,variableFilter="time|advancedSolenoid.armature.stopper_xMax.v_rel|advancedSolenoid.c_par1.v|advancedSolenoid.c_par2.v|advancedSolenoid.coil1.Phi|advancedSolenoid.coil2.Phi|advancedSolenoid.x|simpleSolenoid.armature.stopper_xMax.v_rel|simpleSolenoid.coil.Phi|simpleSolenoid.x",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonPullInStroke") [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.001915/0.001915, allocations: 67.83 kB / 378.7 MB, free: 2.914 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2052/0.2071, allocations: 53.32 MB / 432 MB, free: 7.418 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonPullInStroke): time 0.01352/0.2206, allocations: 11.48 MB / 443.5 MB, free: 11.89 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.007152/0.2278, allocations: 3.889 MB / 447.4 MB, free: 7.992 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001444/0.2292, allocations: 39.88 kB / 447.5 MB, free: 7.953 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.008062/0.2373, allocations: 8.151 MB / 455.6 MB, free: 15.79 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005736/0.243, allocations: 4.735 MB / 460.3 MB, free: 11.04 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001703/0.2447, allocations: 0.9089 MB / 461.3 MB, free: 10.13 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.005239/0.2499, allocations: 5.411 MB / 466.7 MB, free: 4.703 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008968/0.2508, allocations: 0.5979 MB / 467.3 MB, free: 4.074 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002707/0.2536, allocations: 2.907 MB / 470.2 MB, free: 1.16 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005677/0.2592, allocations: 5.828 MB / 476 MB, free: 11.31 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005234/0.2598, allocations: 360 kB / 476.3 MB, free: 10.96 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006523/0.2604, allocations: 408 kB / 476.7 MB, free: 10.56 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001433/0.2618, allocations: 1.892 MB / 478.6 MB, free: 8.656 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002244/0.2641, allocations: 2.842 MB / 481.5 MB, free: 5.793 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006777/0.2709, allocations: 7.427 MB / 488.9 MB, free: 14.33 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.098e-06/0.2709, allocations: 0 / 488.9 MB, free: 14.33 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.273e-06/0.2709, allocations: 0 / 488.9 MB, free: 14.33 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.145e-05/0.2709, allocations: 4 kB / 488.9 MB, free: 14.33 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 532 * Number of variables: 532 Notification: Performance of Generate backend data structure: time 0.01139/0.2823, allocations: 8.031 MB / 496.9 MB, free: 6.188 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.585e-05/0.2823, allocations: 11.97 kB / 497 MB, free: 6.176 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00151/0.2839, allocations: 0.9519 MB / 497.9 MB, free: 5.219 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004447/0.2883, allocations: 3.321 MB / 0.4895 GB, free: 1.832 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001406/0.2884, allocations: 160.2 kB / 0.4896 GB, free: 1.672 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003039/0.2887, allocations: 204 kB / 0.4898 GB, free: 1.473 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003736/0.2925, allocations: 2.1 MB / 0.4919 GB, free: 15.3 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.206e-05/0.2925, allocations: 3.953 kB / 0.4919 GB, free: 15.3 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002025/0.2927, allocations: 88 kB / 0.492 GB, free: 15.21 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.405e-05/0.2928, allocations: 56 kB / 0.492 GB, free: 15.16 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00372/0.2965, allocations: 1.841 MB / 0.4938 GB, free: 13.31 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0137/0.3102, allocations: 8.975 MB / 0.5026 GB, free: 4.137 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003721/0.3139, allocations: 2.181 MB / 0.5047 GB, free: 1.891 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002675/0.3166, allocations: 1.264 MB / 0.5059 GB, free: 0.6172 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001209/0.3167, allocations: 42.28 kB / 0.506 GB, free: 0.5742 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001995/0.3187, allocations: 1.128 MB / 0.5071 GB, free: 15.41 MB / 430.1 MB Notification: Performance of pre-optimization done (n=246): time 4.499e-06/0.3187, allocations: 3.938 kB / 0.5071 GB, free: 15.41 MB / 430.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: simpleSolenoid.g_mFeArm.V_m = (-simpleSolenoid.coil.Phi) * simpleSolenoid.g_mFeArm.R_m [/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.FluxTubes.Examples.SolenoidActuator.ComparisonPullInStroke could not be translated " [Timeout remaining time 660] [Calling sys.exit(0), Time elapsed: 2.5213715052232146] Failed to read output from testmodel.py, exit status != 0: ['time', 'advancedSolenoid.armature.stopper_xMax.v_rel', 'advancedSolenoid.c_par1.v', 'advancedSolenoid.c_par2.v', 'advancedSolenoid.coil1.Phi', 'advancedSolenoid.coil2.Phi', 'advancedSolenoid.x', 'simpleSolenoid.armature.stopper_xMax.v_rel', 'simpleSolenoid.coil.Phi', 'simpleSolenoid.x'] 0.3826449289917946 0.532340278 0.25895884799999996 Calling exit ...