Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonPullInStroke.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001313/0.001313, allocations: 106.8 kB / 21.19 MB, free: 0.6406 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001416/0.001416, allocations: 214.8 kB / 24.49 MB, free: 3.934 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.418/1.418, allocations: 230.6 MB / 258.3 MB, free: 7.777 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+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/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_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_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonPullInStroke") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001537/0.001537, allocations: 47.92 kB / 379 MB, free: 2.547 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2197/0.2212, allocations: 53.37 MB / 432.3 MB, free: 6.699 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonPullInStroke): time 0.0128/0.234, allocations: 9.854 MB / 442.2 MB, free: 12.8 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.006324/0.2403, allocations: 3.799 MB / 446 MB, free: 8.992 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000672/0.241, allocations: 43.81 kB / 446 MB, free: 8.949 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.007949/0.249, allocations: 8.147 MB / 454.2 MB, free: 0.7852 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00548/0.2544, allocations: 4.739 MB / 458.9 MB, free: 12.04 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001673/0.2561, allocations: 0.9283 MB / 459.9 MB, free: 11.11 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.005362/0.2615, allocations: 5.407 MB / 465.3 MB, free: 5.684 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000961/0.2624, allocations: 0.5984 MB / 465.9 MB, free: 5.055 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003198/0.2656, allocations: 2.938 MB / 468.8 MB, free: 2.109 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006471/0.2721, allocations: 5.828 MB / 474.6 MB, free: 12.26 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000695/0.2728, allocations: 364 kB / 475 MB, free: 11.91 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008293/0.2736, allocations: 404 kB / 475.4 MB, free: 11.51 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001454/0.2751, allocations: 1.892 MB / 477.3 MB, free: 9.605 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001818/0.2769, allocations: 2.074 MB / 479.3 MB, free: 7.516 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007155/0.2841, allocations: 7.524 MB / 486.9 MB, free: 15.96 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.779e-06/0.2841, allocations: 0 / 486.9 MB, free: 15.96 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.833e-06/0.2841, allocations: 7.938 kB / 486.9 MB, free: 15.95 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.492e-05/0.2841, allocations: 0 / 486.9 MB, free: 15.95 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.01197/0.2961, allocations: 7.956 MB / 494.8 MB, free: 7.906 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.832e-05/0.2962, allocations: 8.031 kB / 494.8 MB, free: 7.898 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001579/0.2977, allocations: 0.948 MB / 495.8 MB, free: 6.945 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004543/0.3023, allocations: 3.229 MB / 499 MB, free: 3.664 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000143/0.3024, allocations: 156.2 kB / 499.2 MB, free: 3.508 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003337/0.3028, allocations: 211.9 kB / 499.4 MB, free: 3.301 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003987/0.3067, allocations: 2.23 MB / 0.4898 GB, free: 0.9727 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.557e-05/0.3068, allocations: 7.953 kB / 0.4899 GB, free: 0.9648 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002018/0.307, allocations: 84 kB / 0.4899 GB, free: 0.8828 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.731e-05/0.307, allocations: 55.94 kB / 0.49 GB, free: 0.8281 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003721/0.3108, allocations: 1.841 MB / 0.4918 GB, free: 14.98 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01328/0.324, allocations: 7.577 MB / 0.4992 GB, free: 7.293 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003708/0.3278, allocations: 2.025 MB / 0.5012 GB, free: 5.246 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002651/0.3304, allocations: 1.278 MB / 0.5024 GB, free: 3.961 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001181/0.3305, allocations: 26.31 kB / 0.5024 GB, free: 3.938 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002166/0.3327, allocations: 1.266 MB / 0.5037 GB, free: 2.602 MB / 414.1 MB Notification: Performance of pre-optimization done (n=246): time 5.55e-06/0.3327, allocations: 0 / 0.5037 GB, free: 2.602 MB / 414.1 MB [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/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/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAETransform.mo:346:7-346:90:writable] Error: Internal error function analyseStrongComponentBlock failed [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAETransform.mo:196:5-196:89:writable] Error: Internal error function analyseStrongComponentScalar failed [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/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/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAEUtil.mo:8018:5-8018: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.48666376699839] 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.3995129340037238 0.41384705200000005 0.12672170300000002 Calling exit ...